/* ==========================================================================
   BNI-Plattform · Einheit: setzt die Seiten auf die Tokens aus bni-tokens.css
   Stand 21.11.2026 (Freigaben Louis b05, b08–b11, b13). Nach bni-tokens.css
   und NACH allen kw-Stilblöcken einbinden (letztes Stylesheet im <head>).
   Präfix :root:not(#kw-t1):not(#kw-t2) body = Spezifität (2,1,1): schlägt die
   bisherigen Blöcke (html:not(#kw-z) body …, 1 ID) ohne !important.
   NICHT hier: Kopf/Navigation, Fuß, Konto, Rechtstexte, 404 (macht BNI-an).
   ========================================================================== */

/* 1 · Brücke: Webflow-Variablen lesen die Tokens ------------------------- */
:root:not(#kw-t1) {
  --_typography---fonts--primary-font:   var(--font-ueberschrift);
  --_typography---fonts--secondary-font: var(--font-text);
  --_typography---paragraph-body--font-size: var(--fs-text);
  --_typography---paragraph-body--line-height: var(--lh-text);
  --_typography---paragraph-lead--font:      var(--font-text);
  --_typography---paragraph-lead--font-size: var(--fs-lead);
  --_typography---paragraph-lead--line-height: var(--lh-lead);
  --_typography---eyebrow--font-size:        var(--fs-label);
  --_typography---eyebrow--letter-spacing:   var(--ls-label);
  --_components---section--padding:          var(--abschnitt);
  --_components---button--border-radius:     var(--r-knopf);
  --_components---card--border-radius:       var(--r-karte);
}

/* 2 · Überschriften: eine Skala, eine Familie, ein Gewicht ------------- */
:root:not(#kw-t1):not(#kw-t2) body :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-ueberschrift);
  font-weight: var(--fw-ueberschrift);
  letter-spacing: var(--ls-ueberschrift);
  color: var(--t-ueberschrift);
}
:root:not(#kw-t1):not(#kw-t2) body h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
:root:not(#kw-t1):not(#kw-t2) body h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
:root:not(#kw-t1):not(#kw-t2) body h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
:root:not(#kw-t1):not(#kw-t2) body h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
:root:not(#kw-t1):not(#kw-t2) body h5 { font-size: var(--fs-h5); line-height: var(--lh-h5); }
:root:not(#kw-t1):not(#kw-t2) body h6 { font-size: var(--fs-h6); line-height: var(--lh-h6); }
/* Kartennamen der Mitgliederkacheln (h3 im Raster) tragen den H5-Stil */
:root:not(#kw-t1):not(#kw-t2) body :is(.pitch_grid-item h3, h3.w-variant-b1ee5d40-f1e3-742d-08e8-7dcdfdc3ce1c) {
  font-size: var(--fs-h5); line-height: var(--lh-h5); letter-spacing: 0;
}

/* Dunkle Bereiche: Überschriften weiß, Text #e6e6e6, Nebentext Hellgrau, Akzent aufgehellt.
   Der Foto-Hero (.section.cc-hero) ist nur ab 992 px dunkel – darunter steht sein Text auf Weiß. */
:root:not(#kw-t1):not(#kw-t2) body :is(.bk, .kw-cta, .sfh, .kw-foto-abschnitt, .kc-hero, .kc-nah, .kc-mit, .kw-teilen-box, .kw-teilen) :is(h1, h2, h3, h4, h5, h6) {
  color: var(--t-ueberschrift-dunkel);
}
@media (min-width: 992px) {
  :root:not(#kw-t1):not(#kw-t2) body .section.cc-hero :is(h1, h2, h3, h4, h5, h6) { color: var(--t-ueberschrift-dunkel); }
}
:root:not(#kw-t1):not(#kw-t2) body :is(.kh-ort, .kh-fakten, .kh-trenn, .kc-mit-satz, .sfh-lead, .kw-teilen-box p:not([class])) {
  color: var(--t-text-dunkel);
}
:root:not(#kw-t1):not(#kw-t2) body :is(.bk-zahl, .bk-hinweis, .bk-legende span) { color: var(--t-leise-dunkel); }

/* 3 · Text auf hell ----------------------------------------------------- */
/* Einleitungen der Chapter-Seiten: Rolle „Einleitung“, Farbe Text */
:root:not(#kw-t1):not(#kw-t2) body :is(.kc-lead, .kc-tag-satz) {
  font-family: var(--font-text); font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--t-text);
}
/* Kartentext im Slider (Personenseite, „Webdesign/SEO/GEO/Events“): Rolle Fließtext, nicht Einleitung –
   in 20 px Raleway bricht er um und der Slider schneidet die zweite Zeile ab */
:root:not(#kw-t1):not(#kw-t2) body .swiper .rich-text { font-size: var(--fs-text); line-height: var(--lh-text); }
/* Nebentext */
:root:not(#kw-t1):not(#kw-t2) body :is(.kc-bganz, .kc-b a, .kw-dauer) {
  font-family: var(--font-text); font-size: var(--fs-klein); line-height: var(--lh-klein); color: var(--t-leise);
}

/* 4 · Labels / Überzeilen: 13 px, Roboto 600, Versalien, Akzentfarbe ---- */
:root:not(#kw-t1):not(#kw-t2) body :is(.kc-ueber, .sfh-ueber, .bk-ueber, .kw-teilen-ueber) {
  font-family: var(--font-ueberschrift); font-size: var(--fs-label); font-weight: var(--fw-ui);
  line-height: var(--lh-label); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--t-akzent);
}
:root:not(#kw-t1):not(#kw-t2) body :is(.bk, .sfh, .kc-hero, .kc-nah, .kc-mit, .kw-teilen-box) :is(.kc-ueber, .sfh-ueber, .bk-ueber, .kw-teilen-ueber) {
  color: var(--t-akzent-dunkel);
}
/* Überzeile im Teilen-Kasten der Personenseite bleibt grau wie bisher (Rot dort nicht beauftragt, Frage an Louis) */
:root:not(#kw-t1):not(#kw-t2) body .kw-teilen-box .kw-teilen-ueber { color: var(--t-leise-dunkel); }

/* 5 · Rot: Brotkrumen ---------------------------------------------------- */
:root:not(#kw-t1):not(#kw-t2) body .kw-pfad a { color: var(--t-akzent); }
:root:not(#kw-t1):not(#kw-t2) body .kw-pfad.kh-pfad a { color: var(--t-akzent-dunkel); }
/* B10 (21.11.2026): Handy – Scrollfläche bis an den Bildschirmrand, Inhalt bleibt auf der Fluchtlinie.
   Sonst schiebt schon 1–2 px Überlänge „Start“ unter die Blende am linken Rand. */
@media (max-width: 767px) {
  :root:not(#kw-t1):not(#kw-t2) body .kw-pfad ol { margin-inline: calc(-1 * var(--rand-seite)); padding-inline: var(--rand-seite); }
}

/* 6 · Abstände der Abschnitte (Skala 48 / 64 / 96) ---------------------- */
:root:not(#kw-t1):not(#kw-t2) body :is(.kc-teil, .kc-mit) {
  padding-top: var(--abschnitt-gross); padding-bottom: var(--abschnitt-gross);
}
:root:not(#kw-t1):not(#kw-t2) body section.kw-teilen { padding-top: var(--sp-7); padding-bottom: var(--sp-7); }

/* 7 · Buttons: Inhalt 56 px, am Handy volle Breite ----------------------- */
/* Gilt für Rot und weiße Kontur; nicht für den Textlink (w-variant-2fa17242…) und nicht für Slider-Pfeile */
:root:not(#kw-t1):not(#kw-t2) body .button:not(.w-variant-2fa17242-8202-3d03-3f3f-a8025ed83202):not([data-slider]):not(.slider-pagination_button) {
  box-sizing: border-box; min-height: var(--knopf-hoehe); height: var(--knopf-hoehe);
  padding: 0 var(--knopf-pad-x); display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ueberschrift); font-size: var(--fs-knopf); font-weight: var(--fw-ui);
  border-radius: var(--r-knopf);
}
@media (max-width: 767px) {
  :root:not(#kw-t1):not(#kw-t2) body .button:not(.w-variant-2fa17242-8202-3d03-3f3f-a8025ed83202):not([data-slider]):not(.slider-pagination_button) {
    width: var(--knopf-breite-mobil); display: flex;
  }
  :root:not(#kw-t1):not(#kw-t2) body a:has(> .button:not(.w-variant-2fa17242-8202-3d03-3f3f-a8025ed83202)) {
    display: block; width: 100%;
  }
  /* Webflow-Spalte „shrink“ würde den Button auf Textbreite halten */
  :root:not(#kw-t1):not(#kw-t2) body .col:has(> .slot > .button:not(.w-variant-2fa17242-8202-3d03-3f3f-a8025ed83202)) {
    flex: 0 0 100%; width: 100%; max-width: 100%;
  }
  /* Abspiel-Knopf auf dem Video bleibt kompakt (liegt mittig auf dem Bild) */
  :root:not(#kw-t1):not(#kw-t2) body .cc-video-modal .button { width: auto; display: inline-flex; }
}

/* ==========================================================================
   21.11.2026 · Roter Knopf: drei Zustände (Louis, Entscheidung Frage 2 = A)
   normal #cf2030 · Darüberfahren/Tastatur-Fokus #b81c2b · gedrückt #a8182a – auch der Kopf-Knopf „Pitch aufnehmen“.
   Gleiche Knopf-Auswahl wie Regel 1 der KW-Zustände; zwei IDs, damit ältere Regeln (Kopf-Knopf 20.11., Hover beim Drücken)
   nicht mehr greifen. Konturknöpfe (gedrückt #9e1825) bleiben bei ihren Regeln.
   ========================================================================== */
html:not(#kw-z):not(#kw-y) body :is(.button:not([data-wf--button--button-variant="default-link"]):not(.k-zweit):not(.kw-hero-knopf):not(.k-editor-lieber-offline),a.styles__nav-link.cc-cta,
  .w-pagination-next,.w-pagination-previous,a.kw-sf-start):not(.bk *):not([disabled]):not(.swiper-button-disabled):is(:hover,:focus-visible,:has(:focus-visible)){
  background-color:#b81c2b;border-color:#b81c2b;color:#fff}
html:not(#kw-z):not(#kw-y) body :is(.button:not([data-wf--button--button-variant="default-link"]):not(.k-zweit):not(.kw-hero-knopf):not(.k-editor-lieber-offline),a.styles__nav-link.cc-cta,
  .w-pagination-next,.w-pagination-previous,a.kw-sf-start):not(.bk *):not([disabled]):not(.swiper-button-disabled):active{
  background-color:#a8182a;border-color:#a8182a;color:#fff}
