/* ============================================================
   TGOA — The Group of Advisors (seit 8.0 Astro-Statiksite, vorher WordPress-Theme)
   Design-System 7.0 „Tageslicht"
   ------------------------------------------------------------
   Auftrag Philipp 16.09.2026: kein dunkles Design; Vorbilder
   elixirr.com und sypartners.com — helles Papier, eine grosse
   Grotesk in Gemischtschreibung, viel Weissraum, Fotografie mit
   Menschen, farbige Vollbreite-Baender als Kapitel.

   Was TGOA bleibt: Logo, Wortlaut, Schwarz / Weiss / Gold.

   Vier Regeln dieser Richtung:
   1. EINE Schrift (Schibsted Grotesk, 400–800 variabel). Keine
      Versalien-Sperrung, keine Kapitaelchen — Gemischtschreibung.
   2. Der Grund ist weiss. Schwarz und Gold sind Baender und Knoepfe,
      nie der Grundton der Seite.
   3. Kicker sind klein und grau, ohne Verzierung.
   4. Gutenberg-Innencontainer sind `display: contents` — jedes Raster
      haengt an der Klasse der Gruppe, nie am Innencontainer.
   ============================================================ */

@import url('../fonts/schibsted-grotesk/font.css');

/* ---------- Tokens ---------- */
:root {
  --paper:     #FFFFFF;
  --paper-2:   #F4F3EF;
  --paper-3:   #E9E7E1;
  --ink:       #111111;
  --txt:       #1B1B1B;
  --txt-mid:   #3D3D39;
  --txt-soft:  #5E5E58;
  --line:      #E4E2DC;
  --line-ink:  rgba(255, 255, 255, .18);

  --gold:      #F5C518;
  --gold-hell: #FFD84D;
  --gold-ink:  #7A5C00;   /* Gold als Kleintext auf Weiss: 6,2:1 */
  --gold-soft: #FFF4C4;

  /* Alt-Token aus dem Datenbank-Inhalt */
  --panel: var(--ink);
  --grund: var(--paper);
  --tinte: var(--txt);
  --gold-deep: var(--gold-ink);
  --gold-bright: var(--gold-hell);
  --line-dark: var(--line-ink);

  --sans:    'Schibsted Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --display: var(--sans);
  --text:    var(--sans);
  --disp:    var(--sans);

  --w: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --rand: max(var(--gutter), calc((100vw - var(--w)) / 2 + var(--gutter)));
  --sektion: clamp(80px, 9.5vw, 128px);
  --spalte: minmax(0, 300px);          /* die linke Kicker-Spalte */
  --spalt: clamp(32px, 5vw, 80px);     /* Abstand Kicker → Inhalt */
  --r: 12px;
  --pill: 999px;
  --dauer: 360ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--txt);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-width: 0;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }

.container, .wrap {
  max-width: var(--w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}

/* Gutenberg schiebt zwischen Gruppe und Kindern einen Innencontainer.
   Er wird durchsichtig — dann greifen alle Raster direkt an der Gruppe. */
.wp-block-group > .wp-block-group__inner-container { display: contents; }
/* Der Innencontainer traegt WPs Blockabstand (:where, Spezifitaet 0). Diese
   Regel hat (0,0,1) — sie schlaegt WP, verliert aber gegen jede Klassenregel,
   damit .highlight-box & Co. ihren eigenen Abstand behalten. */
body :where(.wp-block-group__inner-container.is-layout-flow) > * { margin-block-start: 0; margin-block-end: 0; }
.wp-block-group.section, .wp-block-group.kapitel, .wp-block-group.section-tight { padding-inline: 0; }
/* 7.4.1: Gruppe mit container UND section-tight (Zitatband Unternehmen) behält den
   Seitenrand — sonst stand das Zitat 48px links neben der Inhaltskante. */
.wp-block-group.container.section-tight { padding-inline: var(--gutter); }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.875rem); line-height: 1.1; }
h3 { font-size: 1.375rem; line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: 1.125rem; line-height: 1.3; }
h1 .gold, h2 .gold, .accent { color: var(--gold-ink); }

p { text-wrap: pretty; }
p + p { margin-top: 1em; }
strong { font-weight: 600; color: var(--ink); }
/* Nicht umbrechende Wortgruppe (z. B. „KI-Readiness-Check" in CTA-Headlines) */
.nb { white-space: nowrap; }

/* Kicker: klein, grau, ohne Verzierung (Klammern auf Wunsch Philipp entfernt) */
.kicker, .eyebrow, .lm-label, .hub-label {
  display: block;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  color: var(--txt-soft);
}

/* Kleine Auszeichnungen ohne Klammern */
.t-num, .d-dom, .case-meta-item strong, .stat .lbl, .f-head, .crumbs {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}
.t-num, .d-dom, .case-meta-item strong { color: var(--gold-ink); }

.lead, .sub, .hub-intro p, .contact-intro {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--txt-soft);
  max-width: 58ch;
}
.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); padding: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.25rem; padding: 1.6rem 0 .5rem; }
.prose p, .prose li { color: var(--txt-mid); }
.prose ul { padding-left: 1.2rem; list-style: disc; }
.prose li + li { margin-top: .4rem; }

/* ---------- Knoepfe & Textlinks ---------- */
.btn,
.wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  padding: 1rem 1.5rem;
  border-radius: var(--pill);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--dauer) var(--ease), color var(--dauer) var(--ease), border-color var(--dauer) var(--ease);
}
.btn:hover, .wp-block-button .wp-block-button__link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink) !important;
}
.btn-ghost, .btn-ghost-dark,
.wp-block-button.btn-ghost .wp-block-button__link {
  background: transparent;
  border-color: rgba(17, 17, 17, .28);
  color: var(--ink) !important;
}
.btn-ghost:hover, .btn-ghost-dark:hover,
.wp-block-button.btn-ghost .wp-block-button__link:hover {
  background: var(--paper-2);
  border-color: var(--ink);
  color: var(--ink) !important;
}
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; }
.btn-gold:hover { background: #fff; border-color: #fff; color: var(--ink) !important; }
/* Auf dunklem Grund: Gold, im Hover Weiss */
.on-dark .btn, .on-dark .wp-block-button .wp-block-button__link,
.band--ink .btn, .finale .btn {
  background: var(--gold); border-color: var(--gold); color: var(--ink) !important;
}
.on-dark .btn:hover, .on-dark .wp-block-button .wp-block-button__link:hover,
.band--ink .btn:hover, .finale .btn:hover {
  background: #fff; border-color: #fff; color: var(--ink) !important;
}
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-buttons .wp-block-button { margin: 0; }

.textlink, .mehr, .card-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: border-color var(--dauer) var(--ease), color var(--dauer) var(--ease);
}
.textlink:hover, .mehr:hover, .card-link:hover { border-color: var(--gold); }
.arr { display: inline-block; transition: transform var(--dauer) var(--ease); }
.textlink:hover .arr, .btn:hover .arr, .feld:hover .arr, .wp-block-button__link:hover .arr { transform: translateX(4px); }

/* ---------- Kopf ---------- */
.site-header {
  position: sticky; top: 0; z-index: 110;
  /* 7.4.1: deckend — halbtransparent schimmerten dunkle Buttons als Schmierfleck durch */
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dauer) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { max-width: none; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand-logo { display: block; height: 34px; width: auto; flex: 0 0 auto; min-width: 60px; }
.main-navigation { display: flex; align-items: center; gap: clamp(16px, 2vw, 32px); }
.nav-main { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.nav-main > li { list-style: none; }
.nav-main a.nav-link {
  position: relative;
  display: block;
  font-size: 1rem; font-weight: 500;
  color: var(--txt);
  padding: 6px 0;
  white-space: nowrap;
}
.nav-main a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dauer) var(--ease);
}
.nav-main a.nav-link:hover::after,
.nav-main li.current-menu-item > a.nav-link::after,
.nav-main li.current_page_item > a.nav-link::after { transform: scaleX(1); }
.btn.nav-cta { padding: .8rem 1.25rem; font-size: .9375rem; }

/* Untermenü (7.14, Seitenstruktur „Beratungshaus“): ruhiges Textpanel unter dem Punkt.
   Live hat noch keine Unterpunkte; die Regeln greifen erst mit dem neuen Menü. */
.nav-main > li { position: relative; }
.nav-main .menu-item-has-children > a.nav-link { padding-right: 18px; }
.nav-main .menu-item-has-children > a.nav-link::before {
  content: ""; position: absolute; right: 2px; top: 50%;
  width: 6px; height: 6px; margin-top: -5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform var(--dauer) var(--ease);
}
.nav-main .menu-item-has-children:hover > a.nav-link::before,
.nav-main .menu-item-has-children:focus-within > a.nav-link::before { transform: translateY(3px) rotate(225deg); }
.nav-main .sub-menu {
  position: absolute; left: -22px; top: calc(100% + 20px); z-index: 5;
  min-width: 250px; padding: 10px 0;
  background: var(--paper);
  border: 1px solid var(--line); border-top: 2px solid var(--ink);
  box-shadow: 0 24px 48px -28px rgba(17, 17, 17, .35);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s ease, transform .25s var(--ease), visibility 0s linear .25s;
}
.nav-main .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav-main li:hover > .sub-menu,
.nav-main li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .25s var(--ease); }
.nav-main .sub-menu li { list-style: none; }
.nav-main .sub-menu a.nav-link { padding: 10px 22px; font-size: .98rem; color: var(--txt); }
.nav-main .sub-menu a.nav-link::after { content: none; }
.nav-main .sub-menu a.nav-link:hover { background: var(--paper-2); color: var(--ink); }
.nav-main .sub-menu li.current-menu-item > a.nav-link { color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); }
.nav-main li.current-menu-parent > a.nav-link::after,
.nav-main li.current-menu-ancestor > a.nav-link::after { transform: scaleX(1); }

/* 8.0 (Astro, 23.09.2026): Feld unter „Beratung“ mit dem Weg zur Übersichtsseite. Vorher
   erschienen beim Überfahren nur die vier Leistungen, und /beratung/ erreichte nur, wer auf
   „Beratung“ selbst klickte. Muster: Roland Berger (Überschrift im Feld führt zur Übersicht),
   BearingPoint und MHP (Übersicht als eigener Eintrag). Das Feld hängt an der Kopfleiste,
   nicht am Menüpunkt: rechtsbündig mit dem Erstgespräch-Knopf, so bleibt es bei jeder
   Desktop-Breite ab 1081 px im Bild. */
.nav-bar { position: relative; }
.nav-main > li.menu-item-has-children { position: static; }
.nav-main .nav-feld {
  left: auto; right: var(--gutter); top: 100%;
  width: min(760px, calc(100vw - 2 * var(--gutter)));
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  padding: 0;
}
/* Brücke zwischen Link und Feld: beginnt unter dem Link (Unterkante 56,8 px bei 76 px Kopf),
   sonst deckt sie im offenen Zustand die untere Hälfte von „Beratung“ ab und schluckt den Klick. */
.nav-main .nav-feld::before { top: -19px; height: 19px; }
.nav-feld-kopf {
  display: flex; flex-direction: column; gap: 10px;
  padding: 26px 28px 24px; background: var(--paper-2);
}
.nav-feld-titel { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); align-self: flex-start; }
.nav-feld-text { font-size: .9375rem; line-height: 1.45; color: var(--txt-mid); }
.nav-feld-alle {
  margin-top: auto; align-self: flex-start; padding-bottom: 3px;
  font-size: .9375rem; font-weight: 600; color: var(--ink);
  border-bottom: 1.5px solid var(--gold);
}
.nav-feld-alle .arr { display: inline-block; transition: transform var(--dauer) var(--ease); }
.nav-feld-alle:hover .arr { transform: translateX(4px); }
.nav-feld-titel:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.nav-feld-liste { padding: 10px 0; }
.nav-main .nav-feld-liste a.nav-link { display: grid; gap: 3px; padding: 12px 24px; white-space: normal; }
.nav-feld-name { font-size: 1rem; font-weight: 600; color: var(--ink); }
.nav-feld-satz { font-size: .875rem; font-weight: 400; line-height: 1.4; color: var(--txt-soft); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--pill); width: 46px; height: 46px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 1.05rem; height: 1.5px; background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform .28s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translate(-50%, calc(-50% - 6px)); }
.nav-toggle span::after  { transform: translate(-50%, calc(-50% + 6px)); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translate(-50%, -50%) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.menue-schluss { display: none; }

@media (max-width: 1080px) {
  /* Ohne backdrop-filter: sonst wird der Kopf zum Containing-Block des
     fixen Vollbildmenues (gemessen 15.09.). Das Panel ist das ganze <nav>,
     damit CTA und Schliesser mitwandern. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
  .nav-bar { height: 68px; }
  .nav-toggle { display: block; }
  .main-navigation {
    position: fixed; inset: 0; z-index: 105; background: var(--paper);
    flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: 96px var(--gutter) 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  body.nav-open .main-navigation { transform: translateX(0); }
  body.nav-open { overflow: hidden; }
  .nav-main { flex-direction: column; align-items: stretch; gap: 0; }
  .menue-schluss {
    display: block; position: absolute; top: 11px; right: var(--gutter);
    width: 46px; height: 46px; background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--pill); color: var(--ink); font-size: 1rem; cursor: pointer;
  }
  .nav-main a.nav-link {
    font-size: clamp(1.75rem, 6vw, 2.25rem); font-weight: 500; letter-spacing: -.02em;
    padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .nav-main a.nav-link::after { content: none; }
  .nav-main li.current-menu-item > a.nav-link { color: var(--gold-ink); }
  .nav-main .menu-item-has-children > a.nav-link::before { content: none; }
  .nav-main .sub-menu {
    position: static; min-width: 0; padding: 4px 0 14px;
    background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
    border-bottom: 1px solid var(--line);
  }
  .nav-main .sub-menu::before { content: none; }
  .nav-main .menu-item-has-children > a.nav-link { border-bottom: 0; padding-bottom: 6px; }
  .nav-main .sub-menu a.nav-link {
    padding: 7px 0 7px 18px; border-bottom: 0;
    font-size: clamp(1.1rem, 4.4vw, 1.3rem); letter-spacing: 0; color: var(--txt-mid);
  }
  .nav-main .sub-menu a.nav-link:hover { background: none; color: var(--ink); }
  .nav-main .sub-menu li.current-menu-item > a.nav-link { box-shadow: inset 3px 0 0 var(--gold); color: var(--ink); }
  .main-navigation .nav-cta { margin-top: 28px; align-self: flex-start; padding: 1rem 1.5rem; font-size: 1rem; }
  /* 8.0: Im Vollbildmenü ist die Übersicht der erste Unterpunkt, ohne Einleitung und Sätze. */
  .nav-main .nav-feld { display: block; width: auto; }
  .nav-feld-kopf { display: block; padding: 0; background: none; }
  .nav-feld-titel, .nav-feld-text, .nav-feld-satz, .nav-feld-alle .arr { display: none; }
  .nav-feld-alle {
    display: block; padding: 7px 0 7px 18px; border: 0;
    font-size: clamp(1.1rem, 4.4vw, 1.3rem); font-weight: 500; color: var(--txt-mid);
  }
  .nav-feld-alle.aktiv { box-shadow: inset 3px 0 0 var(--gold); color: var(--ink); }
  .nav-feld-liste { padding: 0; }
  .nav-main .nav-feld-liste a.nav-link { display: block; padding: 7px 0 7px 18px; }
  .nav-feld-name { font-size: inherit; font-weight: inherit; color: inherit; }
}

/* ---------- Sektionsrhythmus ---------- */
.section, .kapitel { padding-block: calc(var(--sektion) * .62); }
.section-tight { padding-block: calc(var(--sektion) * .45); }
.section + .section-tight, .section-tight + .section { padding-top: 0; }
/* 7.4.1: Ein Farbband beginnt nie ohne Innenabstand (Fachgebiete: CTA-Headline klebte an der Oberkante). */
.section-tight + .section:is(.bg-ink, .bg-paper2) { padding-top: calc(var(--sektion) * .62); }
.bg-paper2 { background: var(--paper-2); }
.bg-ink, .bg-navy, .on-dark { background: var(--ink); color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark strong { color: #fff; }
.on-dark p, .on-dark .sub, .on-dark .lead { color: rgba(255, 255, 255, .74); }

/* Sektionskopf: Kicker links, Aussage rechts — der Grundtakt der Seite */
.hub-intro {
  display: grid;
  grid-template-columns: var(--spalte) minmax(0, 1fr);
  gap: 20px var(--spalt);
  align-items: start;
  padding-bottom: clamp(48px, 6vw, 80px);
}
.hub-intro p:not(.eyebrow) {
  font-size: clamp(1.375rem, 2.4vw, 2.125rem);
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--ink);
  max-width: 32ch;
}
.section-head { max-width: 64ch; padding-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { padding-top: 1rem; }

/* ---------- Seiten-Hero (Unterseiten) ---------- */
.page-hero { background: var(--paper); color: var(--txt); border-bottom: 1px solid var(--line); }
.page-hero h1, .page-hero h2 { color: var(--ink); }
.page-hero p, .page-hero .sub { color: var(--txt-soft); }
.page-hero-inner { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 8vw, 104px); max-width: 1040px; }
.page-hero h1 { font-size: clamp(2.5rem, 5.6vw, 5rem); line-height: 1; letter-spacing: -.035em; max-width: 18ch; }
.page-hero .sub { padding-top: clamp(20px, 3vw, 32px); font-size: clamp(1.125rem, 1.5vw, 1.375rem); max-width: 56ch; }
.page-hero-inner .wp-block-buttons { padding-top: clamp(24px, 4vh, 36px); }
.crumbs { display: flex; flex-wrap: wrap; gap: .6rem; padding-bottom: clamp(28px, 4vw, 48px); color: var(--txt-soft); }
.crumbs a { color: var(--txt-soft); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--txt-soft); }
.crumbs .sep { color: var(--gold-ink); }

/* ---------- Kacheln ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile {
  background: var(--paper-2);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column;
  min-width: 0;
}
.bg-paper2 .tile { background: var(--paper); }
.tile--photo { padding: 0; overflow: hidden; }
.tile--photo .wp-block-image, .tile--photo figure { margin: 0; }
.tile--photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile--photo .tile-body { padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; flex: 1; }
.tile h3 { padding-top: 6px; }
.tile p { color: var(--txt-mid); font-size: 1rem; padding-top: 10px; }
.tile p.t-num { padding-top: 0; }
.tile ul { padding-top: 14px; display: grid; gap: 8px; }
.tile ul li { position: relative; padding-left: 1.3rem; font-size: .9375rem; color: var(--txt-mid); line-height: 1.5; }
.tile ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: .7rem; height: 2px; background: var(--gold); }
.tile .textlink, .tile p.textlink { margin-top: auto; padding-top: 22px; align-self: flex-start; }
.tile p.textlink a { display: inline-flex; align-items: center; gap: .5em; border-bottom: 1px solid var(--ink); padding-bottom: 3px; font-weight: 500; transition: border-color var(--dauer) var(--ease); }
.tile p.textlink a:hover { border-color: var(--gold); }
p.textlink { border: 0; padding-bottom: 0; }
p.textlink a { display: inline-flex; align-items: center; gap: .5em; border-bottom: 1px solid var(--ink); padding-bottom: 3px; font-weight: 500; }
p.textlink a:hover { border-color: var(--gold); }

/* Unterseiten-Karten (page.php) */
.subpages-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.subpage-card { background: var(--paper-2); border-radius: var(--r); padding: 28px; display: block; }
.subpage-card h3 { padding-bottom: 14px; }

/* ---------- Prozess-Schritte ---------- */
.steps { counter-reset: step; border-top: 1px solid var(--line); }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 96px minmax(0, 1fr);
  gap: 6px 32px;
  padding: clamp(24px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
}
.step::before {
  content: "0" counter(step);
  grid-row: span 2;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500; letter-spacing: -.03em; line-height: 1;
  color: var(--ink);
}
.step h3, .step p { grid-column: 2; }
.step h3 { font-size: 1.25rem; }
.step p { color: var(--txt-mid); max-width: 62ch; font-size: 1rem; }
.steps + .split, .steps + .highlight-box { padding-top: clamp(32px, 4vw, 48px); }

/* ---------- Kennzahlen ---------- */
.values-grid, .stat-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  padding-top: clamp(40px, 5vw, 64px);
}
.value-item, .stat-strip .stat { background: var(--paper-2); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); }
.bg-paper2 .value-item, .bg-paper2 .stat-strip .stat { background: var(--paper); }
.value-item strong, .stat .num {
  display: block;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 500; letter-spacing: -.03em; line-height: 1;
  color: var(--ink);
}
.value-item span, .stat .lbl { display: block; padding-top: 14px; color: var(--txt-soft); font-size: .9375rem; line-height: 1.4; }
.section-tight .values-grid { padding-top: 0; }

/* ---------- Hervorhebung ---------- */
.highlight-box, .lead-module {
  background: transparent;
  border: 0; border-top: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(20px, 2.6vw, 28px) 0 0;
  margin-top: clamp(32px, 4vw, 48px);
  max-width: 70ch;
}
.highlight-box p, .lead-module p { color: var(--txt-mid); max-width: 70ch; }
.section-tight .highlight-box { margin-top: 0; }
.lead-module h2 { padding-bottom: 1rem; }
.lead-module .lm-cta { margin-top: 1.6rem; display: inline-block; }

/* ---------- Tabellen ---------- */
.matrix-wrap { overflow-x: auto; padding-top: clamp(32px, 4vw, 48px); }
table.matrix, table.kpi-table, .wp-block-table.kpi-table table, .wp-block-table table { width: 100%; border-collapse: collapse; min-width: 640px; border: 0; }
.wp-block-table { margin: 0; }
.wp-block-table thead, .wp-block-table tfoot, .wp-block-table tbody { border: 0; }
.matrix-wrap .wp-block-table th, .matrix-wrap .wp-block-table td, .wp-block-table th, .wp-block-table td { border-left: 0; border-right: 0; border-top: 0; background: transparent; }
.matrix th, .kpi-table th, .wp-block-table th {
  text-align: left; font-size: .875rem; font-weight: 500; color: var(--txt-soft);
  padding: 12px 16px 12px 0; border-bottom: 1px solid var(--ink);
}
.matrix td, .kpi-table td, .wp-block-table td {
  padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line);
  vertical-align: top; font-size: 1rem; line-height: 1.5; color: var(--txt-mid);
}
.matrix td:first-child, .kpi-table td:first-child, .wp-block-table td:first-child { color: var(--ink); font-weight: 500; }

/* ---------- Zweispalter ---------- */
.split, .split-text-wide, .contact-page-grid, .exp-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px); align-items: start;
}
.split-text-wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split > .wp-block-group__inner-container > :only-child,
.split > :only-child { grid-column: 1 / -1; }
.split figure, .split .wp-block-image { margin: 0; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.split .highlight-box { margin-top: 0; }
.split .prose h2 { padding-top: 0; }
.split + .values-grid, .split + .tile-grid { padding-top: clamp(48px, 6vw, 80px); }

/* ---------- Fallstudien ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-card { background: var(--paper-2); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.case-card .wp-block-image, .case-card figure { margin: 0; }
.case-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case-card-body { padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; }
.case-card h3 { font-size: 1.25rem; padding-bottom: 18px; }
.case-meta { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.case-meta-item strong { padding-bottom: 3px; }
.case-meta-item p { font-size: .9375rem; color: var(--txt-mid); }

/* ---------- Partner (Unternehmen) ---------- */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.duo-card { background: var(--paper-2); border-radius: var(--r); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.duo-card h3 { padding: 8px 0 10px; }
.duo-card p { color: var(--txt-mid); font-size: 1rem; }
.duo-card p.textlink { margin-top: auto; padding-top: 22px; }
.duo + .highlight-box { margin-top: 20px; }

/* ---------- Zitatband (Unternehmen) ---------- */
.quote-band { background: var(--gold); color: var(--ink); }
.quote-band.on-dark { background: var(--gold); color: var(--ink); }
.quote-band .container { padding-block: calc(var(--sektion) * .6); }
.quote-band blockquote, .quote-band .wp-block-quote { border: 0; margin: 0; padding: 0; }
.quote-band blockquote p, .quote-band .wp-block-quote p {
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1.18; letter-spacing: -.02em; font-weight: 500;
  color: var(--ink); max-width: 30ch; font-style: normal;
}
.quote-band cite, .quote-band .wp-block-quote cite {
  display: block; padding-top: 24px; font-style: normal; font-size: 1rem; color: rgba(17, 17, 17, .7);
}

/* ---------- Schluss-Sektionen (Unterseiten) ---------- */
.cta-photo, .section.bg-ink { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
/* 7.4: Der cta-photo-Container bleibt bewusst statisch — sonst klaut er dem
   absolut positionierten section-bg-Foto das right:0 (Section) und es endet
   144px vor dem Bandrand mit harter Kante. */
.section.bg-ink:not(.cta-photo) .container { position: relative; }
.cta-photo .section-bg {
  /* 7.4.1: volle Bandhöhe — mit top/bottom -40% und height:auto nahm das Bild seine
     Eigenhöhe und endete 117px (Desktop) bzw. 265px (mobil) über der Unterkante. */
  position: absolute; top: 0; right: 0; bottom: 0; width: 46%; height: 100%;
  object-fit: cover; opacity: .32; filter: grayscale(1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  pointer-events: none; z-index: 0;
}
.cta-block { position: relative; z-index: 1; max-width: 62ch; }
.cta-block h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 3.5rem); letter-spacing: -.03em; line-height: 1.02; max-width: 18ch; }
.cta-block p { color: rgba(255, 255, 255, .72); padding-top: 18px; max-width: 48ch; font-size: 1.125rem; }
.cta-block .wp-block-buttons { padding-top: clamp(28px, 4vh, 40px); }
/* 7.4.1: Die Unterseiten-CTAs haben einen einzelnen Button ohne .wp-block-buttons-Hülle —
   ohne diese Regel stand er 4px unter dem Text. */
.cta-block .wp-block-button { margin-top: clamp(28px, 4vh, 40px); }

/* ---------- Kontakt & Formular ---------- */
.contact-page-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.contact-page-info .wp-block-image, .contact-page-info figure { margin: 0; }
.contact-page-info img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.contact-page-info h2, .contact-page-form h2 { font-size: 1.5rem; padding: 28px 0 18px; }
.contact-page-form h2 { padding-top: 0; }
.contact-details { font-size: 1rem; line-height: 1.7; color: var(--txt-mid); }
.contact-details p + p { margin-top: .8rem; }
.contact-details a { color: var(--ink); border-bottom: 1px solid var(--line); transition: border-color var(--dauer) var(--ease); }
.contact-details a:hover { border-color: var(--gold); }
.contact-details--page { background: var(--paper-2); border-radius: var(--r); padding: clamp(24px, 3vw, 32px); }
.bg-paper2 .contact-details--page { background: var(--paper); }
.contact-page-info .contact-intro { padding-top: 24px; }
.contact-company strong { color: var(--ink); }
.contact-address { font-style: normal; }
.contact-details--footer a { border: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .tgoa-contact-form .form-row label {
  display: block; font-size: .9375rem; font-weight: 500; color: var(--txt); margin-bottom: .5rem;
}
.field input, .field select, .field textarea,
.tgoa-contact-form .form-row input, .tgoa-contact-form .form-row textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--txt);
  background: var(--paper); border: 1px solid var(--line); border-radius: 8px;
  padding: .9rem 1rem;
  transition: border-color var(--dauer) var(--ease), box-shadow var(--dauer) var(--ease);
}
.field input:focus, .field textarea:focus,
.tgoa-contact-form .form-row input:focus, .tgoa-contact-form .form-row textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--gold-soft);
}
.field textarea, .tgoa-contact-form textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: .875rem; color: var(--txt-soft); padding-bottom: 1.2rem; }
.tgoa-contact-form { max-width: 560px; }
.tgoa-contact-form .form-row { margin-bottom: 1.2rem; }
.tgoa-hp-field { position: absolute !important; left: -9999px !important; }
.notice-success, .notice-error {
  padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 1.4rem; font-size: 1rem;
  background: var(--paper-2); border-left: 4px solid var(--gold); color: var(--txt);
}
.notice-error { border-left-color: #C2554A; }

/* ---------- Fuss ---------- */
.site-footer { background: var(--paper); color: var(--txt-soft); border-top: 1px solid var(--line); }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px clamp(28px, 4vw, 56px);
  padding-block: clamp(56px, 7vw, 96px);
}
.footer-brand .brand-logo { height: 32px; margin-bottom: 22px; }
.footer-brand p { font-size: .9375rem; line-height: 1.6; max-width: 36ch; color: var(--txt-soft); }
.footer-brand .contact-details { padding-top: 22px; font-size: .9375rem; }
.footer-brand .contact-details p + p { margin-top: .5rem; }
.f-head { color: var(--ink); margin-bottom: 14px; }
.f-list { display: grid; gap: 10px; }
.f-list a { font-size: .9375rem; color: var(--txt-mid); transition: color var(--dauer) var(--ease); }
.f-list a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.footer-note {
  border-top: 1px solid var(--line); padding: 20px 0 clamp(28px, 4vw, 40px);
  font-size: .8125rem; color: var(--txt-soft);
  display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between;
}
.footer-note a:hover { color: var(--ink); }

/* ============================================================
   STARTSEITE — eigene Bausteine (content-live/startseite.html)
   ============================================================ */

/* Eroeffnung: die grosse, versetzte Zeile */
.hero { padding-top: clamp(40px, 6vw, 80px); }
.hero-titel {
  font-size: clamp(2.75rem, 7.4vw, 7rem);
  font-weight: 500; line-height: .98; letter-spacing: -.045em;
  color: var(--ink); text-wrap: initial;
}
.hero-titel span { display: block; }
.hero-titel .z2 { text-align: right; }
.hero-titel .z3 { padding-left: 24%; }
.hero-unten {
  display: grid; grid-template-columns: var(--spalte) minmax(0, 1fr);
  gap: 20px var(--spalt); align-items: start;
  padding-top: clamp(40px, 5vw, 64px);
}
/* Ohne Kicker bleibt die linke Spalte leer — der Absatz sitzt bewusst versetzt rechts. */
.hero-text { grid-column: 2; }
.hero-text .sub { font-size: clamp(1.125rem, 1.5vw, 1.375rem); color: var(--txt-mid); max-width: 52ch; }
.aktionen, .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 28px; }
.hero-bild { margin: clamp(48px, 6vw, 88px) var(--gutter) 0; }
.hero-bild img {
  width: 100%; aspect-ratio: 21 / 9; max-height: 78vh; object-fit: cover; object-position: center 40%;
  border-radius: var(--r);
}

/* Erscheinen beim Laden — einmal, gestaffelt */
@keyframes aufsteigen {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
html.js .hero-titel span { animation: aufsteigen .9s var(--ease) both; }
html.js .hero-titel .z2 { animation-delay: .08s; }
html.js .hero-titel .z3 { animation-delay: .16s; }
html.js .hero-unten { animation: aufsteigen .9s var(--ease) .3s both; }
html.js .hero-bild { animation: aufsteigen 1s var(--ease) .42s both; }

/* Aussage */
.statement { padding-block: var(--sektion); }
.statement-grid, .zitat-grid, .felder-kopf, .verbund-grid {
  display: grid; grid-template-columns: var(--spalte) minmax(0, 1fr);
  gap: 20px var(--spalt); align-items: start;
}
/* 7.4: Kicker „Unsere Haltung" und „Fachgebiete & Technologien" sind raus (Wunsch
   Philipp 17.09.) — Zitat und Felder-Kopf behalten trotzdem die Inhaltsspalte,
   versetzt wie .hero-text. Mobil (≤900px) wird unten auf auto zurückgesetzt. */
.zitat-grid > blockquote, .felder-kopf > div { grid-column: 2; }
.statement h2 { font-size: clamp(1.875rem, 3.6vw, 3.25rem); letter-spacing: -.03em; max-width: 22ch; }
.statement .sub { padding-top: 28px; max-width: 60ch; }

/* Die drei Baender */
.band { padding-block: clamp(64px, 8vw, 112px); }
.band + .band { margin-top: clamp(48px, 6vw, 96px); }
.band--ink  { background: var(--ink); color: #fff; }
.band--gold { background: var(--gold); color: var(--ink); }
.band--sand { background: var(--paper-2); color: var(--ink); }
.band-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.band-titel, .band-nr {
  font-size: clamp(2.75rem, 9vw, 8.75rem);
  line-height: .92; letter-spacing: -.045em; color: inherit;
  text-wrap: initial;
}
.band-titel { font-weight: 500; }
.band-nr { font-weight: 400; flex: 0 0 auto; }
.band--ink .band-nr { color: var(--gold); }
/* 7.5: lesbare Kapitelnummern — Weiß auf Gold hatte 1,6:1, Hellgrau auf Sand war kaum sichtbar */
.band--gold .band-nr { color: var(--ink); }
.band--sand .band-nr { color: var(--gold-ink); }
.band-body {
  display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 40px clamp(48px, 8vw, 160px);
  padding-top: clamp(56px, 8vw, 120px); align-items: start;
}
.band-bild { margin: 0; }
.band-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.band-satz {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.18; letter-spacing: -.02em; font-weight: 500;
  max-width: 22ch; color: inherit;
}
.band-liste { padding-top: 32px; display: grid; gap: 10px; font-size: 1.0625rem; }
.band--ink .band-liste { color: rgba(255, 255, 255, .82); }
.band--gold .band-liste, .band--sand .band-liste { color: var(--txt-mid); }
.band .textlink { margin-top: 36px; color: inherit; border-color: currentColor; }
.band .textlink:hover { border-color: var(--gold); }
.band--gold .textlink:hover { border-color: #fff; }

/* Zitat */
.zitat { padding-block: var(--sektion) calc(var(--sektion) * .8); }
.zitat blockquote { border: 0; margin: 0; padding: 0; }
.zitat blockquote p {
  font-size: clamp(1.5rem, 2.9vw, 2.625rem);
  line-height: 1.18; letter-spacing: -.02em; font-weight: 500;
  color: var(--ink); max-width: 26ch;
}
.zitat cite { display: block; font-style: normal; padding-top: 28px; color: var(--txt-soft); font-size: 1rem; }

/* Fachgebiete */
.felder { padding-bottom: var(--sektion); }
.felder-kopf { padding-bottom: clamp(40px, 5vw, 64px); }
.felder-kopf h2 { font-size: clamp(2rem, 4.2vw, 3.75rem); letter-spacing: -.03em; }
.felder-kopf .sub { padding-top: 20px; }
.felder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
.feld { display: block; min-width: 0; }
.feld figure { margin: 0; overflow: hidden; border-radius: 6px; }
.feld img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.feld:hover img { transform: scale(1.03); }
.feld-meta { display: flex; align-items: baseline; gap: 12px; padding-top: 16px; }
.feld-nr { color: var(--gold-ink); font-size: .875rem; font-weight: 500; flex: 0 0 auto; }
.feld h3 { font-size: 1.25rem; flex: 1 1 auto; }
.feld .arr { color: var(--ink); }
.feld p { padding-top: 6px; color: var(--txt-soft); font-size: .9375rem; }

/* Verbund */
.verbund { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 5vw, 64px); }
.verbund-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.verbund-liste a { display: block; }
.verbund-name { display: block; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.verbund-name .arr { font-size: .8em; margin-left: .3em; }
.verbund-was { display: block; padding-top: 8px; color: var(--txt-soft); font-size: .9375rem; }
.verbund-liste a:hover .verbund-name { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }

/* Finale */
.finale { background: var(--ink); color: #fff; padding-block: var(--sektion); }
.finale-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: end; }
.finale h2 { color: #fff; font-size: clamp(2.25rem, 5vw, 4.25rem); letter-spacing: -.035em; line-height: 1; max-width: 14ch; }
.finale .sub { color: rgba(255, 255, 255, .72); padding-top: 24px; }
.finale-tat { padding-top: 36px; }
.finale-kontakt { color: rgba(255, 255, 255, .7); font-size: 1rem; line-height: 1.7; justify-self: end; text-align: right; }
.finale-kontakt strong { color: #fff; font-weight: 500; }
.finale-kontakt a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color var(--dauer) var(--ease); }
.finale-kontakt a:hover { border-color: var(--gold); }

/* ---------- 404 & Hilfsklassen ---------- */
.error-404 { text-align: center; padding-block: clamp(80px, 12vw, 140px); }
.error-404 .code { font-size: clamp(4rem, 12vw, 9rem); font-weight: 500; letter-spacing: -.05em; color: var(--ink); line-height: 1; padding-bottom: 1rem; }
.error-404 .lead { margin-inline: auto; padding-top: 1rem; }
.error-404 .hero-ctas { justify-content: center; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
  background: var(--gold); color: var(--ink);
  left: 12px; top: 12px; padding: .8em 1.4em; border-radius: var(--pill);
  clip: auto; clip-path: none; height: auto; width: auto;
  position: fixed; z-index: 400; font-weight: 500;
}
.legal-content { max-width: 70ch; }
.legal-content h2 { font-size: clamp(1.375rem, 2vw, 1.75rem); padding: 2.4rem 0 .8rem; }
.legal-content h3 { font-size: 1.125rem; padding: 1.6rem 0 .5rem; }
.legal-content p, .legal-content li { color: var(--txt-mid); }
.legal-content a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.legal-content ul { list-style: disc; padding-left: 1.2rem; }

/* ---------- Seitenstruktur „Beratungshaus“ (7.14) ---------- */
.tile-grid + .highlight-box { margin-top: clamp(28px, 3.4vw, 44px); }
/* ---------- Bewegung ---------- */
html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .rv { opacity: 1; transform: none; transition: none; }
  html.js .hero-titel span, html.js .hero-unten, html.js .hero-bild { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Umbrueche ---------- */
@media (max-width: 1100px) {
  .tile-grid, .case-grid, .subpages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .felder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hub-intro, .statement-grid, .zitat-grid, .felder-kopf, .verbund-grid, .hero-unten,
  .split, .split-text-wide, .contact-page-grid, .exp-grid, .duo, .finale-grid,
  .band-body, .verbund-liste { grid-template-columns: minmax(0, 1fr); }
  .hero-text { grid-column: auto; }
  .zitat-grid > blockquote, .felder-kopf > div { grid-column: auto; }
  .hero-titel .z2 { text-align: left; }
  .hero-titel .z3 { padding-left: 0; }
  .hero-bild img { aspect-ratio: 4 / 3; }
  .band-bild img { aspect-ratio: 16 / 10; }
  .band-body { padding-top: clamp(40px, 6vw, 64px); }
  .finale-kontakt { justify-self: start; text-align: left; }
  .values-grid, .stat-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-photo .section-bg { width: 70%; opacity: .2; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .tile-grid, .tile-grid.cols-2, .case-grid, .subpages-grid, .felder-grid,
  .values-grid, .stat-strip, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .step::before { grid-row: auto; padding-bottom: 6px; }
  .step h3, .step p { grid-column: 1; }
  .band-kopf { flex-direction: column; gap: 4px; }
  .band-nr { font-size: clamp(1.5rem, 6vw, 2.5rem); order: -1; }
  .btn, .wp-block-button .wp-block-button__link { white-space: normal; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-bild { margin-inline: 0; }
  .hero-bild img { border-radius: 0; }
}
