/* styles.css */
:root{
  --bg: #0b0d10;
  --headerBg: #000000;
  --text: #e9edf2;
  --muted: rgba(233,237,242,.78);
  --cardBorder: rgba(255,255,255,.16);
  --glass: rgba(0,0,0,.34);
  --glass2: rgba(0,0,0,.26);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --accent: #f0c46b;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% 30%, rgba(160,120,255,.18), transparent 55%),
              radial-gradient(900px 600px at 80% 60%, rgba(255,80,80,.10), transparent 60%),
              linear-gradient(180deg, #090b0e 0%, #0b0d10 50%, #07080a 100%);
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================================
   HEADER – sticky, integriert, schwarz, shrink
   ========================================= */

.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  padding: 14px 0;
  transition: padding 220ms ease;
}

.header__inner{
  display: flex;
  align-items: center;
  gap: 22px;

  background: rgba(0,0,0,.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.35);

  transition: padding 220ms ease, border-radius 220ms ease, box-shadow 220ms ease;
}

.brand{
  display: inline-flex;
  align-items: center;
}

.brand__logo{
  display: block;
  height: 70px;
  width: auto;
  max-width: 46vw;
  transition: height 220ms ease;
}

/* MOTTO gross */
.mottoWrap{
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand__motto{
  display: block;
  height: 64px;
  width: auto;
  max-width: 62vw;
  opacity: .95;
  transition: height 220ms ease;
}

.nav{
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

.nav a{
  color: rgba(233,237,242,.96);
  font-size: 15px;
  letter-spacing: .2px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 160ms ease, color 160ms ease;
}
.nav a:hover{
  color: #ffffff;
  background: rgba(255,255,255,.08);
  text-decoration: none;
}

/* shrink */
body.is-scrolled .header{ padding: 8px 0; }

body.is-scrolled .header__inner{
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.40);
}

body.is-scrolled .brand__logo{ height: 58px; }
body.is-scrolled .brand__motto{ height: 52px; }

/* =========================================
   HERO – Background Foto_Korridor_breit + Panel rechts + Typing links frei
   ========================================= */

.hero{
  position: relative;
  padding: 54px 0 48px;
  min-height: clamp(520px, 74vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background Bild */
.hero--korridor{
  background-image: url("assets/Foto_Korridor_breit.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Background Bild Support */
.hero--support{
  background-image: url("assets/Foto_Support_breit.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--consulting{
  background-image: url("assets/Foto_Consulting_breit.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--collage{
  background-image: url("assets/Foto_Collage_breit.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* dunkle Lesbarkeits-Overlays */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 600px at 18% 45%, rgba(0,0,0,.55), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.30) 55%, rgba(0,0,0,.62) 100%),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.55) 100%);
  z-index: 0;
}
.hero__grid{
  position: relative;
  z-index: 1;
  display: grid;

  /* links bekommt Mindestbreite -> Typing wird nicht mehr weggeschnitten */
  grid-template-columns: minmax(560px, 1fr) minmax(0, 520px);

  align-items: center;
  gap: 34px;
}
/* LINKS */
.hero__left{ min-width: 0; overflow: visible; }

/* NEU: Kontext-Zeilen über dem Typing */
.heroIntro{
  margin: 0 0 18px;
  display: inline-block;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(0,0,0,.44);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  text-shadow: 0 14px 40px rgba(0,0,0,.65);
}

.heroIntro__top{
  font-weight: 700;
  font-size: clamp(22px, 2.15vw, 34px);
  letter-spacing: .2px;
  color: rgba(233,237,242,1);
}

.heroIntro__sub{
  margin-top: 6px;
  font-weight: 600;
  font-size: clamp(16px, 1.55vw, 24px);
  color: rgba(233,237,242,.96);
}

.heroTyping{
  margin: 0;
  font-size: clamp(1.05rem, 1.55vw, 1.55rem); /* kleiner */
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 14px 40px rgba(0,0,0,.55);

  /* Anti-Huepfen: feste Zeilenbox + Flex */
  display: flex;
  align-items: center;
  height: 1.14em;        /* FIXED -> kein Springen mehr */
  overflow: hidden;      /* bleibt clean */
  white-space: nowrap;
}
.heroTyping strong{
  font-weight: 700;
  color: rgba(233,237,242,1);
  text-shadow: 0 18px 55px rgba(0,0,0,.75);
}

/* WICHTIG: kein Umbruch, konstante Breite (Index stabil, kein Hüpfen) */
.typingWrap{
  margin-left: 18px;   /* war 10px */
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.typingWord{
  display: inline-flex;
  align-items: center;

  padding: 0.18em 0.30em;   /* minimal mehr Luft -> kein Abschneiden */
  border-radius: 12px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  width: auto;
  min-width: 0;
  line-height: 1;           /* verhindert vertikale Font-Schwankung */
  text-align: left;
}

/* Support: lange Saetze duerfen umbrechen */
.pageSupport .typingWrap{
  display: inline;
  white-space: normal;
}

.pageSupport .typingWord{
  display: inline;
  width: auto;
  min-width: 0;
  white-space: normal;
}

.typingCursor{
  display: inline-block;
  width: 1ch; /* stabilisiert minimal */
  margin-left: 6px;
  animation: blink 1s steps(2, start) infinite;
}

@keyframes blink{
  to{ visibility: hidden; }
}

/* RECHTS Panel: Rahmen bleibt, aber transparent (Bild scheint durch) */
.hero__panel{
  justify-self: end;
  width: min(560px, 100%);
  max-width: 100%;

  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 28px 32px;
  box-shadow: var(--shadow);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero__panel h1{
  margin: 0 0 10px;
  font-weight: 400;
  font-size: clamp(26px, 2.2vw, 38px);
  letter-spacing: .2px;
}

.lead{
  margin: 0 0 14px;
  color: rgba(233,237,242,.85);
  font-size: 16px;
  line-height: 1.6;
}

.heroTag{
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(233,237,242,.95);
}
.heroTag strong{ font-weight: 600; }

/* Schwarzer Trenner */
.dividerBlack{
  background: #000000;
  height: 46px;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* =====================================================
   Support: dynamischer Text darf umbrechen (nur hier)
   ===================================================== */

.pageSupport .heroTyping{
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.12;
}

.pageSupport .typingWrap{
  display: inline;
  white-space: normal;
}

.pageSupport .typingWord{
  display: inline;
  min-width: 0;
}

/* =========================================
   SECTIONS
   ========================================= */

.section{ padding: 26px 0 52px; }

.section h2{
  margin: 0 0 14px;
  font-weight: 400;
  font-size: 22px;
  color: rgba(233,237,242,.94);
}

/* =========================================
   OFFER – Background Foto_FM_breit
   ========================================= */

.offer{
  position: relative;
  padding-top: 42px;
  padding-bottom: 62px;
  overflow: hidden;
}

/* Background Bild Offer */
.offer--fm{
  background-image: url("assets/Foto_FM_breit.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay fuer Lesbarkeit */
.offer::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.70) 0%, rgba(0,0,0,.55) 40%, rgba(0,0,0,.72) 100%),
    radial-gradient(900px 600px at 75% 40%, rgba(0,0,0,.30), transparent 60%);
  z-index:0;
}

.offer__inner{
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 34px;
  align-items: start;
}

.offer__left h2{
  margin: 0 0 12px;
  font-size: clamp(34px, 3.3vw, 54px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.offer__sub{
  margin: 0;
  color: rgba(233,237,242,.82);
  line-height: 1.6;
  font-size: 16px;
  max-width: 40ch;
}

.offer__right{ min-width: 0; }

.offerGrid{
  display: grid;
  grid-template-columns: repeat(2, 264px);
  gap: 22px;
  justify-content: start;
  align-items: stretch;
}

.card{
  display: block;
  border-radius: 18px;
  border: 1px solid var(--cardBorder);
  overflow: hidden;
  background: rgba(0,0,0,.28);
  box-shadow: 0 18px 48px rgba(0,0,0,.32);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 22px 58px rgba(0,0,0,.42);
  text-decoration: none;
}

/* Standard img */
.card__img{
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  object-position: center;
  background: #000000;
  padding: 16px;
}

/* NEU: Logo-Kacheln sollen die Kachel voll ausfuellen (ohne Padding), Groesse der Kacheln bleibt */
.offerGrid .card__img{
  height: 195px;
}

.card__img--tile{
  padding: 0;
  background: transparent;
  object-fit: contain;
}

@media (min-width: 1100px){
  .offerGrid{ grid-template-columns: repeat(3, 264px); }
}

/* =========================================
   SUPPORT – 2 Kacheln (Interims / Operativer Support)
   ========================================= */

.supportOffers{
  padding: 46px 0 64px;
}

.supportGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.supportMeta{
  margin: 0 0 12px;
  text-shadow: 0 14px 40px rgba(0,0,0,.45);
}

.supportMeta__title{
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .2px;
  color: rgba(233,237,242,1);
}

.supportMeta__sub{
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(233,237,242,.86);
  line-height: 1.55;
}

.supportMeta__sub + .supportMeta__sub{
  margin-top: 6px;
}

.supportCard{
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(0,0,0,.30), rgba(0,0,0,.22));
  box-shadow: var(--shadow);
  padding: 22px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.supportCard h3{
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .2px;
}

.supportCard ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(233,237,242,.86);
  line-height: 1.7;
}

.supportCard li{ margin: 6px 0; }

@media (max-width: 980px){
  .supportGrid{ grid-template-columns: 1fr; }
}

/* =========================================
   FORM
   ========================================= */

.formCard{
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, var(--glass), var(--glass2));
  box-shadow: var(--shadow);
  padding: 20px;
}

.formGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label{
  display: block;
  font-size: 13px;
  color: rgba(233,237,242,.82);
  margin: 0 0 6px;
}

.field input,
.field select,
.field textarea{
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  padding: 12px 12px;
  outline: none;
}

.field textarea{
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(255,255,255,.28);
}

.actions{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

button{
  font-family: inherit;
  font-size: 16px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: var(--text);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

button:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.26);
}

.note{
  color: rgba(233,237,242,.72);
  font-size: 13px;
}

.page{ padding: 36px 0 64px; }

.page h1{
  margin: 0 0 12px;
  font-weight: 400;
  font-size: 30px;
}

.page p{
  color: rgba(233,237,242,.86);
  line-height: 1.7;
}

.footer{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  color: rgba(233,237,242,.70);
  font-size: 13px;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 980px){
  .header__inner{
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .brand__logo{
    height: 64px;
    max-width: 86vw;
  }

  .brand__motto{
    height: 56px;
    max-width: 92vw;
  }

  .nav{
    width: 100%;
    justify-content: center;
  }

  .hero{
    min-height: auto;
    padding: 38px 0 34px;
  }

  .hero__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero__panel{
    justify-self: stretch;
    width: 100%;
  }

  .offer__inner{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .offerGrid{
    grid-template-columns: repeat(2, 1fr);
  }

  .offerGrid .card__img{
    height: 170px;
  }

  .formGrid{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .offerGrid{ grid-template-columns: 1fr; }
}

/* ===== HERO: Desktop/Tablet zweispaltig, Panel rechts ===== */
@media (min-width: 861px){
  .hero__grid{
    grid-template-columns: minmax(560px, 1fr) minmax(0, 520px);
    gap: 34px;
  }

  .hero__panel{
    justify-self: end;
    width: min(520px, 100%);
  }
}

/* ===== HERO: Mobil stapeln ===== */
@media (max-width: 860px){
  .hero__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero__panel{
    justify-self: stretch;
    width: 100%;
  }
}

/* Support: wieder 1 Zeile (keine Umbrueche) */
.pageSupport .heroTyping{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.pageSupport .typingWrap{
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.pageSupport .typingWord{
  display: inline-block;
  white-space: nowrap;
}

/* =========================================
   FULLWIDTH CLAIM (Scharnier-Block)
   ========================================= */

.fullwidthClaim{
  position: relative;
  background: #000;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 64px 0 70px;
}

.fullwidthClaim__inner{
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  text-align: left;
}

.fullwidthClaim__kicker{
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  color: rgba(233,237,242,.68);
  text-transform: uppercase;
}

.fullwidthClaim__title{
  margin: 0 0 14px;
  font-weight: 600;
  font-size: clamp(28px, 3.0vw, 44px);
  letter-spacing: -0.02em;
  color: rgba(233,237,242,1);
  text-shadow: 0 14px 40px rgba(0,0,0,.55);
  line-height: 1.12;
}

.fullwidthClaim__text{
  margin: 0;
  max-width: 85ch;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(233,237,242,.82);
}

@media (max-width: 860px){
  .fullwidthClaim{
    padding: 48px 0 54px;
  }
  .fullwidthClaim__inner{
    text-align: left;
  }
}

/* =========================================
   CONSULTING: 2/3 - 1/3 Layout (Kacheln)
   ========================================= */

.supportGrid--consulting{
  grid-template-columns: 2fr 1fr;
}

@media (max-width: 980px){
  .supportGrid--consulting{
    grid-template-columns: 1fr;
  }
}

/* =========================================
   CONSULTING: 4-Phasen-Mandat in Kachel
   ========================================= */

.supportCard--mandat h3{
  margin: 0 0 14px;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: .2px;
}

.mandat{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mandatPhase{
  display: grid;
  grid-template-columns: 44px 1fr minmax(220px, 0.52fr);
  gap: 16px;
  align-items: start;

  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

.mandatPhase__num{
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  opacity: 1;
  margin-top: 2px;
}

.mandatPhase__title{
  font-weight: 600;
  font-size: 16px;
  color: rgba(233,237,242,.98);
  margin: 0 0 6px;
}

.mandatPhase__ziel{
  font-size: 14px;
  line-height: 1.55;
  color: rgba(233,237,242,.84);
  margin: 0 0 10px;
}

.mandatPhase__ziel strong{
  font-weight: 600;
  color: rgba(233,237,242,.95);
}

.mandatPhase__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(233,237,242,.82);
  line-height: 1.65;
  font-size: 14px;
}

.mandatPhase__list li{ margin: 5px 0; }

.mandatPhase__result{
  border-left: 1px solid rgba(255,255,255,.10);
  padding-left: 14px;
}

.mandatPhase__resultLabel{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 2px 0 8px;
}

.mandatPhase__resultText{
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
  color: rgba(233,237,242,.95);
}

.mandatFooter{
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-weight: 600;
  color: var(--accent);
}

/* Mobil: Ergebnis unter den Inhalt */
@media (max-width: 860px){
  .mandatPhase{
    grid-template-columns: 40px 1fr;
  }
  .mandatPhase__result{
    grid-column: 1 / -1;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255,255,255,.10);
    padding-top: 10px;
    margin-top: 10px;
  }
}

/* CONSULTING: Kacheln gleiche Höhe */
.supportGrid--consulting > div{
  display: flex;
  flex-direction: column;
}

.supportGrid--consulting .supportCard{
  flex: 1;
}

/* Footer rechts optisch absetzen */
.deliverableFooter{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-weight: 600;
  color: var(--accent);
}

/* =========================================
   Deliverables: What -> Why Liste
   ========================================= */

.deliverablesList{
  list-style: none;
  padding: 0;
  margin: 0;
}

.deliverablesList li{
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.deliverablesList li:last-child{
  border-bottom: none;
}

.delWhat{
  display: block;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}

.delWhy{
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(233,237,242,.78);
}

/* =========================================
   SUPPORT: Einsatz- und Wirkungskarte
   ========================================= */

.supportCard--supportkit h3.supportBlock__title{
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .2px;
}

.supportBlock{
  margin-bottom: 16px;
}

.supportBlock__label{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

.supportMiniList{
  margin: 0;
  padding-left: 18px;
  color: rgba(233,237,242,.82);
  line-height: 1.65;
  font-size: 14px;
}

.supportMiniList li{ margin: 6px 0; }

.supportMiniList strong{
  font-weight: 700;
  color: rgba(233,237,242,.92);
}

.supportOutcome{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.supportOutcome__label{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

.supportOutcome__text{
  font-size: 14px;
  line-height: 1.6;
  color: rgba(233,237,242,.86);
}

.supportConclusion{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-weight: 600;
  color: var(--accent);
}

/* =========================================
   Ueber-Seite: Editorial/Dossier Layout (ohne Kachel-Zwang)
   ========================================= */

.pageUeber .supportOffers{
  padding: 56px 0 78px;
}

/* 2-Spalten Layout bleibt, aber klarer Rhythmus */
.pageUeber .supportLayout{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 64px;
  align-items: start;
}

@media (max-width: 980px){
  .pageUeber .supportLayout{
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

/* Linke Seite: nicht Grid, sondern Kapitelfluss */
.pageUeber .supportGrid{
  display: flex;
  flex-direction: column;
  gap: 34px;
  width: 100%;
  margin: 0;
}

/* Kapitel-Header (Meta) wie Editorial */
.pageUeber .supportMeta{
  margin: 0 0 10px;
  text-shadow: none;
}

.pageUeber .supportMeta__title{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2px;
  margin: 0 0 6px;
}

.pageUeber .supportMeta__sub{
  font-size: 13px;
  font-weight: 600;
  color: rgba(233,237,242,.72);
  margin: 0;
  line-height: 1.55;
}

/* Body: keine Kacheloptik, sondern Dossier */
.pageUeber .supportCard{
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* „Kapiteltrennlinie“ */
.pageUeber .supportGrid > div{
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pageUeber .supportGrid > div:last-child{
  padding-bottom: 0;
  border-bottom: none;
}

/* Textoptik */
.pageUeber .supportCard h3{
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
}

.pageUeber .supportCard ul{
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(233,237,242,.84);
  line-height: 1.75;
}

.pageUeber .supportCard ul br{
  display: block;
  content: "";
  margin: 10px 0;
}

/* Rechter Bereich: ruhige Sidebar */
.pageUeber .ueberRight{
  width: 100%;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.10);
}

@media (max-width: 980px){
  .pageUeber .ueberRight{
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,.10);
    padding-top: 22px;
  }
}

/* Sticky nur Desktop */
@media (min-width: 981px){
  .pageUeber .ueberRight{
    position: sticky;
    top: 92px;
    align-self: start;
  }
}

/* Bild: clean + Rahmen */
.pageUeber .ueberImage{
  width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.10);
}

/* CV Typografie (ohne Inhaltseingriff) */
.pageUeber .ueberCV{
  text-align: left;
  line-height: 1.75;
  color: rgba(233,237,242,.84);
}

.pageUeber .ueberCV h3{
  margin: 18px 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
  color: rgba(233,237,242,.96);
}

.pageUeber .ueberCV p{
  margin: 0 0 12px;
}

.pageUeber .ueberCV p:last-child{
  margin-bottom: 0;
}

/* --- MOBILE PATCH: Header / Nav --- */
@media (max-width: 900px){
  .header__inner{
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand{
    flex: 0 0 auto;
  }

  .mottoWrap{
    flex: 1 1 100%;
    order: 3;              /* Motto unter Logo/Nav, falls noetig */
  }

  .nav{
    flex: 1 1 auto;
    order: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }

  .nav a{
    font-size: 14px;
    line-height: 1.1;
    padding: 8px 8px;
    white-space: nowrap;   /* einzelne Links bleiben sauber */
  }
}

@media (max-width: 520px){
  .nav{
    justify-content: flex-start; /* auf sehr klein lieber links */
    gap: 8px;
  }

  .nav a{
    font-size: 13px;
    padding: 7px 7px;
  }

  .brand__logo{
    max-width: 165px;      /* verhindert Header-Overflow */
    height: auto;
  }

  .brand__motto{
    max-width: 100%;
    height: auto;
  }
}

/* ========== HAMBURGER NAV (Desktop scroll + Mobile) ========== */

/* Burger Button */
.navToggle{
  display: none;                 /* Desktop oben: hidden */
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
  line-height: 0;
  color: rgba(233,237,242,.96);
}

.navToggle:focus-visible{
  outline: 2px solid rgba(255,255,255,.6);
  outline-offset: 2px;
}

/* 3 Balken */
.navToggle__bars{
  display: inline-block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.navToggle__bars::before,
.navToggle__bars::after{
  content:"";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.navToggle__bars::before{ top: -7px; }
.navToggle__bars::after{ top: 7px; }

/* wichtig: Dropdown soll sich am Header ausrichten */
.header__inner{ position: relative; }

/* MOBILE: immer Burger, Nav standardmaessig zu */
@media (max-width: 900px){
  .navToggle{ display: inline-flex; align-items:center; justify-content:center; }

  .nav{ display: none; }

  body.nav-open .nav{
    display: flex;
    flex-direction: column;
    gap: 8px;

    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;

    padding: 12px;
    border-radius: 16px;

    background: rgba(0,0,0,.72);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
  }

  .nav a{
    padding: 10px 10px;
    border-radius: 12px;
  }
}

/* DESKTOP: beim Scroll Burger anzeigen, Links verstecken */
@media (min-width: 901px){
  body.is-scrolled .navToggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body.is-scrolled .nav{ display: none; }

  body.is-scrolled.nav-open .nav{
    display: flex;
    flex-direction: column;
    gap: 8px;

    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 240px;

    padding: 12px;
    border-radius: 16px;

    background: rgba(0,0,0,.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
  }
}

/* Burger -> X wenn offen */
body.nav-open .navToggle__bars{ background: transparent; }

body.nav-open .navToggle__bars::before{
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .navToggle__bars::after{
  top: 0;
  transform: rotate(-45deg);
}

/* FIX: Header immer klickbar / oberste Ebene */
.header{
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* FIX: sicherstellen, dass Header-Inhalt Klicks bekommt */
.header, .header *{
  pointer-events: auto;
}

/* falls ein pseudo overlay im header existiert */
.header::before,
.header::after{
  pointer-events: none;
}

/* Klick-Blocker entfernen: Overlays duerfen nie Pointer-Events fressen */
.hero::before,
.offer::before{
  pointer-events: none;
}

/* Header in eigenen Stacking Context zwingen */
.header{
  position: sticky;
  top: 0;
  z-index: 999999;
  isolation: isolate;   /* sehr wirksam gegen fremde Stacking Contexts */
}

/* Burger: sicherstellen, dass Header-Elemente klickbar bleiben */
.mottoWrap{ pointer-events: none; }
.navToggle, .nav{ position: relative; z-index: 2; }
/* =========================================
   Fachspezifische Aufklapper (Consulting)
   ========================================= */

.fachDetails{
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 12px;
}

.fachDetails__summary{
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--accent);
  list-style: none;
}

.fachDetails__summary::-webkit-details-marker{
  display: none;
}

.fachDetails__summary::after{
  content: " ▸";
  font-weight: 600;
  transition: transform .2s ease;
}

.fachDetails[open] .fachDetails__summary::after{
  content: " ▾";
}

.fachDetails__content{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.fachBlock h4{
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(233,237,242,.96);
}

.fachBlock ul{
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(233,237,242,.78);
}

.fachBlock li{
  margin: 4px 0;
}
/* ====== FIX: Fachdetails muessen volle Breite der Mandat-Kachel nutzen ====== */
.mandatPhase{
  display: grid; /* erzwingt Grid auch dann, wenn irgendwo ueberschrieben */
}

.mandatPhase > details.fachDetails{
  grid-column: 1 / -1 !important; /* erzwingt volle Grid-Spanne */
  width: 100% !important;
  justify-self: stretch !important;
  align-self: stretch !important;
}

/* Summary soll nicht "in einer Ecke" kleben */
details.fachDetails > summary.fachDetails__summary{
  display: block;
  width: 100%;
}