/* =====================================================================
   Bofinger Studio — Theme-Stylesheet
   Brand-Tokens-Quelle: bofingerstudio.de/styleguide.html (lokal:
   ~/Desktop/bofinger-studio/styleguide.html)
   Extrahiert aus den vier Standalone-Previews (Pillar, Launch-Liste,
   Anmeldung-Bestätigen, Launch-Liste-Bestätigt) — 2026-05-21.
   ===================================================================== */

:root {
  --w: #FFFFFF;
  --k: #000000;
  --blue: #1B3DFF;
  --blue-deep: #0F26B5;
  --coral: #FF5A5F;
  /* AA-konforme Variante (5.34:1 auf Weiß) für Korall in kleinem Text.
     Original-Korall bleibt für H1-Em (Large), Button-Background (mit Weiß), Focus-Outline. */
  --coral-text: #C5302C;
  --muted: #4A4A52;
  --placeholder-bg: #EFEEE9;
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --reading-width: 42rem;
  --reading-width-wide: 48rem;
  --reading-width-prose: 38rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

html { font-size: 100%; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--k);
  background: var(--w);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Skip-Link */
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--k); color: var(--w);
  padding: 0.6rem 1rem; font-weight: 700;
  z-index: 9999;
}
.skip:focus { left: 0; top: 0; }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }

/* Screenreader-only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =====================================================================
   Links — Königsblau-Underline, Korall-Hover
   ===================================================================== */
a {
  color: var(--k);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}
a:hover, a:focus-visible {
  color: inherit;
  text-decoration-color: var(--coral);
}

/* =====================================================================
   Header — sticky am oberen Rand, immer sichtbar.
   Trennstrich nur in Content-Breite (auf .head__inner), nicht über volle
   Viewport-Breite.
   ===================================================================== */
/* Header: position: fixed → von Anfang an oben angedockt, keine
   Sticky-Wandererei. Body bekommt unten ein padding-top, damit der
   Content nicht unter dem Header verschwindet. */
.head {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 50 !important;
  padding: 3rem clamp(1.5rem, 4vw, 3rem) 1.75rem !important;
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.head__inner,
.head__row {
  border: 0 !important;
  box-shadow: none !important;
  padding-bottom: 0 !important;
}
/* Platz für den fixed Header reservieren (Header-Höhe ≈ 7rem) */
body { padding-top: 6rem; }
.admin-bar body { padding-top: calc(6rem + 32px); }
@media (max-width: 782px) {
  .admin-bar body { padding-top: calc(6rem + 46px); }
}
.admin-bar .head { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .head { top: 46px; }
}
.head__inner {
  max-width: 64rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.25rem;
  /* Keine border-bottom — die erste Content-Section hat eine eigene
     blaue Trennlinie (border-top). Doppelte Linie vermeiden. */
}
.logo {
  display: inline-flex; align-items: center; gap: 0.85rem;
  text-decoration: none; color: var(--k);
}
.logo:hover, .logo:focus-visible { color: var(--k); }
.logo__mark {
  height: 2.6rem; width: auto;
  color: var(--blue);
  flex-shrink: 0; overflow: visible;
}
.logo__type { display: inline-flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-weight: 700; font-size: 1.0625rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.logo__sub {
  font-weight: 400; font-size: 0.75rem;
  letter-spacing: 0.24em; text-transform: uppercase;
  margin-top: 0.3rem; opacity: 0.85;
}
.logo__sub::after {
  content: ".";
  color: var(--blue);
  font-weight: 700;
  margin-left: 0.02em;
}

/* Topnav unterstützt zwei Markup-Varianten:
   1) wp_nav_menu rendert <ul><li><a>...</a></li></ul>
   2) Fallback in header.php rendert <a>...</a><a>...</a> direkt */
.topnav,
.topnav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.topnav li {
  display: inline-flex;
}
.topnav a {
  font-size: 0.875rem; font-weight: 400;
  text-decoration: none;
  color: var(--k);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 0.15em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
/* Blaue Unterstreichung NUR bei Mouseover/Focus — kein dauerhafter Marker
   für die aktuelle Seite mehr (war zu laut). */
.topnav a:hover, .topnav a:focus-visible {
  border-bottom-color: var(--blue);
  color: var(--k);
}

/* =====================================================================
   Burger-Menü (Mobile/Tablet) — barrierefrei
   - Toggle nur < 60rem (960px), darüber Inline-Nav.
   - Button: <button> mit aria-expanded + aria-controls, sichtbares „Menü".
   - Panel: full-width unter der fixierten Kopfzeile, große Tap-Targets.
   - Eckig (CD), kein border-radius. State-Wechsel via footer.php-Skript.
   ===================================================================== */
.nav-toggle { display: none; } /* Desktop: kein Burger */

@media (max-width: 60rem) {
  /* Kopfzeile kompakter + Logo links / Burger rechts in einer Reihe */
  .head {
    padding-top: 1.5rem !important;
    padding-bottom: 1.25rem !important;
  }
  .head__inner {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;          /* 44px Touch-Target (WCAG 2.5.8) */
    padding: 0.5rem 0.85rem;
    background: transparent;
    color: var(--k);
    border: 1.5px solid var(--blue);
    border-radius: 0;             /* eckig (CD) */
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    line-height: 1;
    cursor: pointer;
    -webkit-appearance: none; appearance: none;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
  }
  .nav-toggle:hover, .nav-toggle:focus-visible { background: var(--blue); color: var(--w); }

  .nav-toggle__box {
    position: relative;
    width: 1.25rem; height: 0.9rem;
    flex-shrink: 0;
  }
  .nav-toggle__bar {
    position: absolute; left: 0; right: 0; height: 2px;
    background: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
  }
  .nav-toggle__bar:nth-child(1) { top: 0; }
  .nav-toggle__bar:nth-child(2) { top: 50%; transform: translateY(-50%); }
  .nav-toggle__bar:nth-child(3) { top: auto; bottom: 0; }
  /* Offen → X */
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { top: 50%; bottom: auto; transform: translateY(-50%) rotate(-45deg); }

  /* Nav-Panel: per Default geschlossen, öffnet als Vollbreite-Block */
  .topnav,
  .topnav ul {
    flex-basis: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
  }
  .topnav {
    display: none;
    margin-top: 1rem;
    border-top: 1px solid var(--blue);
    max-height: calc(100dvh - 6rem);
    overflow-y: auto;
  }
  .topnav.is-open { display: flex; }
  .topnav li { display: block; width: 100%; }
  .topnav a,
  .topnav li a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 3rem;             /* 48px Tap-Target */
    padding: 0.85rem 0.25rem;
    font-size: 1.0625rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .topnav a:hover,
  .topnav a:focus-visible,
  .topnav li a:hover,
  .topnav li a:focus-visible {
    color: inherit;
    border-bottom-color: var(--coral);
  }
}

/* =====================================================================
   TEMPORÄR (2026-06-10): Menüpunkt „Portfolio" ausblenden, bis es echte
   Projekte/Fotos zu zeigen gibt. Zum Wieder-Einblenden diesen Block löschen.
   Die zugehörige Section #portfolio wird im Page-191-Content ausgeblendet
   (Style-Block id="bs-portfolio-hidden-2026").
   ===================================================================== */
.topnav li:has(a[href*="/portfolio/"]) { display: none !important; }

/* =====================================================================
   Logo-Animation
   ===================================================================== */
.bs-page { transform-box: fill-box; }
.bs-page--left  { transform-origin: 100% 50%; animation: bsOpenLeft  1.4s var(--ease) both; }
.bs-page--right { transform-origin:   0% 50%; animation: bsOpenRight 1.4s var(--ease) 0.05s both; }
.bs-iris-wrap   { transform-box: fill-box; transform-origin: center; opacity: 0; animation: bsIrisAppear 0.6s ease-out 1.2s forwards; }
.bs-iris        { transform-box: fill-box; transform-origin: center; animation: bsBlink 5.5s ease-in-out 2.4s infinite; }

@keyframes bsOpenLeft   { 0% { transform: scaleX(0.18); opacity: 0; } 25% { opacity: 1; } 100% { transform: scaleX(1); opacity: 1; } }
@keyframes bsOpenRight  { 0% { transform: scaleX(0.18); opacity: 0; } 25% { opacity: 1; } 100% { transform: scaleX(1); opacity: 1; } }
@keyframes bsIrisAppear { 0% { opacity: 0; transform: scale(0.2); } 100% { opacity: 1; transform: scale(1); } }
@keyframes bsBlink      { 0%, 88%, 100% { transform: scaleY(1); } 92% { transform: scaleY(0.08); } 96% { transform: scaleY(1); } }

@media (prefers-reduced-motion: reduce) {
  .bs-page, .bs-iris-wrap, .bs-iris {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =====================================================================
   Main + Container
   ===================================================================== */
main {
  flex: 1;
}

.container {
  max-width: var(--reading-width-wide);
  width: 100%;
  margin: 0 auto;
}
.container--prose {
  max-width: var(--reading-width);
}

/* =====================================================================
   Hero (Startseite, is_front_page)
   ===================================================================== */
.hero {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 4vw, 3rem);
}
.hero__container {
  max-width: 60rem;
  width: 100%;
  margin: 0 auto;
}
.hero__content > h1,
.hero__content > .wp-block-heading {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin: 0 0 2.5rem;
}
.hero__content > p {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.5;
  max-width: 36ch;
  margin: 0 0 1.5rem;
}
/* Letzter Paragraph vor Button-Block bekommt mehr Luft */
.hero__content > p + .wp-block-buttons,
.hero__content > .wp-block-buttons {
  margin-top: 4rem;
}

/* =====================================================================
   WP-Block-Button → Brand-Button (Korall, eckig)
   ===================================================================== */
.wp-block-buttons {
  margin: 3rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.wp-block-button__link,
.wp-block-button .wp-element-button {
  display: inline-flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.75rem !important;
  font-family: var(--font) !important;
  font-weight: 700 !important;
  font-size: 0.9375rem !important;
  letter-spacing: 0.02em !important;
  color: var(--w) !important;
  background: var(--coral) !important;
  text-decoration: none !important;
  border: 1.5px solid var(--coral) !important;
  border-radius: 0 !important;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), gap 0.25s var(--ease) !important;
}
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.wp-block-button .wp-element-button:hover,
.wp-block-button .wp-element-button:focus-visible {
  background: var(--blue-deep) !important;
  border-color: var(--blue-deep) !important;
  color: var(--w) !important;
  gap: 1rem !important;
}

/* Königsblau-Trennlinie am Anfang einer Lesespalte (nur Funnel-Pages) */
.container--lined::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--blue);
  margin-bottom: 3rem;
}

/* =====================================================================
   Headlines
   ===================================================================== */
h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--k);
  margin: 0 0 2rem;
  max-width: 22ch;
}
h1 em {
  font-style: italic;
  color: var(--coral);
  font-weight: 700;
}

/* H2 Section-Headline mit Königsblau-Trennlinie (innerhalb Artikel) */
.article h2:not(.deck) {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--k);
  margin: 3.5rem 0 1.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--blue);
  max-width: 22ch;
}

/* Deck — Sub-Headline unter H1 */
h2.deck {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--k);
  margin: 0 0 3rem;
  padding: 0;
  border: none;
  max-width: 28ch;
}

/* =====================================================================
   Eyebrow (Funnel-Pages — Confirmation, Section-Marker)
   ===================================================================== */
/* Einheitliches Eyebrow-Pattern für ALLE Sektion-Marker.
   .kontakt-eyebrow ist eine page-spezifische Klasse, die hier mit
   abgedeckt wird, damit alle Seiten identisch aussehen. */
.eyebrow,
.section__no,
.bs-eyebrow,
.kontakt-eyebrow {
  display: inline-block !important;
  font-family: var(--font) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--blue) !important;
  margin: 0 0 1.25rem !important;
  gap: 0 !important;
}
.eyebrow::before,
.bs-eyebrow::before,
.kontakt-eyebrow::before {
  content: "— " !important;
  color: var(--blue) !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  margin: 0 !important;
}
/* .section__no kommt aus dem v15-Inline-CSS und hat bereits "01 — "
   im Text. Da kein zusätzliches Em-Dash. */

/* =====================================================================
   Body Text
   ===================================================================== */
p {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  color: var(--k);
}
p:last-child { margin-bottom: 0; }
p strong { font-weight: 700; color: var(--k); }

.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  color: var(--k);
  margin: 0 0 3rem;
  max-width: 32ch;
}
.lead--large {
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  line-height: 1.45;
  margin: 0 0 2rem;
}

.muted {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* =====================================================================
   Article (Pillar)
   ===================================================================== */
.article {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem) 0;
}
.article__container {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}
/* Innen-Typografie bleibt komfortabel lesbreit, auch wenn der Outer-Container
   die volle Seitenbreite ausnutzt. */
.article__container > p,
.article__container > ul,
.article__container > ol,
.article__container > blockquote {
  max-width: var(--reading-width);
}
.article__container > h2,
.article__container > h3,
.article__container > h4 {
  max-width: 28ch;
}

/* WP-Block-Editor — Default-Paragraph in Article-Kontext */
.article p,
.article ul,
.article ol {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  color: var(--k);
}
.article ul, .article ol {
  padding-left: 1.5em;
}
.article li {
  margin-bottom: 0.5rem;
}

/* =====================================================================
   Article TOC — Sticky Side-TOC (Desktop), Inline-Block (Mobile)
   ===================================================================== */
.article--with-toc {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 0;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
  padding-left: clamp(1.5rem, 4vw, 3rem);
}
.article--with-toc .article__container {
  padding: 0;
}

/* Mobile: TOC oben mit Border-Box, dann content */
.article--with-toc .article__toc {
  max-width: var(--reading-width);
  margin: 0 auto 3rem;
  padding: 1.5rem;
  border: 1px solid var(--blue);
}

/* Desktop: TOC sticky — beim Seitenstart auf H1-Höhe, beim Scrollen pinned unterhalb des Headers */
@media (min-width: 64rem) {
  .article--with-toc {
    display: grid;
    grid-template-columns: minmax(0, 14rem) minmax(0, var(--reading-width)) minmax(0, 14rem);
    justify-content: center;
    column-gap: 3rem;
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-left: clamp(1.5rem, 4vw, 3rem);
    padding-right: clamp(1.5rem, 4vw, 3rem);
  }
  .article--with-toc .article__toc {
    grid-column: 1 / 2;
    /* Komplett eingefroren (kein Mitrutschen): fixed statt sticky.
       left-Formel folgt der zentrierten Grid-Spalte 1 über alle Desktop-Breiten. */
    position: fixed;
    top: clamp(3rem, 6vw, 5rem); /* Oberkante bündig mit der Headline (= Article-Padding-Top) */
    left: max(clamp(1.5rem, 4vw, 3rem), calc((100vw - 76rem) / 2));
    width: 14rem;
    align-self: start;
    margin: 0;
    padding: 0 1.5rem 0 0;
    border: none;
    border-right: 1px solid var(--blue);
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
  }
  /* Eingeloggt (WP-Admin-Bar 32px) den fixen TOC darunter schieben.
     Echte Besucher:innen ohne Admin-Bar behalten den reinen Headline-Offset. */
  .admin-bar .article--with-toc .article__toc {
    top: calc(clamp(3rem, 6vw, 5rem) + 32px);
  }
  .article--with-toc .article__container {
    grid-column: 2 / 3;
    max-width: var(--reading-width);
    margin: 0;
    padding: 0;
  }
}

.toc__heading {
  /* Sichtbare „In diesem Artikel"-Zeile entfernt (auf Wunsch).
     Screenreader-Kontext bleibt über aria-label="Inhaltsverzeichnis" am <nav>. */
  display: none;
}

.toc__list {
  list-style: none;
  counter-reset: toc;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.toc__list li {
  counter-increment: toc;
  position: relative;
  padding-left: 2.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

.toc__list li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-weight: 700;
  color: var(--blue);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.toc__list a {
  color: var(--k);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.toc__list a:hover,
.toc__list a:focus-visible {
  color: inherit;
  border-bottom-color: var(--coral);
}
.toc__list a em {
  font-style: italic;
  color: var(--coral-text);
}

/* Smooth Scroll für Anchor-Links — H2-Sprünge bekommen Offset */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Pull-Quote
   ===================================================================== */
blockquote.pullquote,
.article .wp-block-quote {
  margin: 3rem 0;
  padding: 0.5em 0 0.5em 1.5em;
  border-left: 4px solid var(--blue);
  border-top: none;
  border-bottom: none;
  font-style: italic;
  font-weight: 400;
}
blockquote.pullquote p,
.article .wp-block-quote p {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.4;
  margin: 0;
}
.article .wp-block-quote cite {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--muted);
  display: block;
  margin-top: 0.75rem;
}

/* =====================================================================
   CTA-Block (NUR in Article-Templates — NICHT auf der Startseite,
   die hat ihren eigenen .cta-Stil in der Page-191-Inline-CSS).
   ===================================================================== */
.article .cta {
  margin: 4rem 0 2rem;
  padding: 0;
}
.article .cta p { margin-bottom: 1.25rem; }
.article .cta p:last-of-type { margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.95rem 1.75rem;
  margin: 1.5rem 0 0;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  background: var(--coral);
  color: var(--w);
  text-decoration: none;
  border: 1.5px solid var(--coral);
  border-radius: 0;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), gap 0.25s var(--ease);
}
.btn:hover, .btn:focus-visible {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--w);
  gap: 1rem;
  text-decoration: none;
}
.btn .arr { font-style: italic; }

.cta__sub {
  margin-top: 4rem;
  font-size: 0.9375rem;
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
}
.cta__sub a {
  color: var(--muted);
  text-decoration-color: var(--blue);
}
.cta__sub a:hover, .cta__sub a:focus-visible {
  color: inherit;
  text-decoration-color: var(--coral);
}

/* =====================================================================
   Page-Layout-Variant: zentrierte Funnel-Page (Launch + Confirmation)
   ===================================================================== */
.page-funnel {
  flex: 1;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-funnel h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin: 0 0 1.5rem;
  max-width: 18ch;
}

.page-funnel--confirmation h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  margin: 0 0 2rem;
}

/* =====================================================================
   Folge-Links-Block (Launch-Liste-Bestätigt)
   ===================================================================== */
.next-block {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--blue);
}
.next-block h2 {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.25rem;
  padding: 0;
  border: none;
}
.next-block ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 0.75rem;
  font-size: 1.0625rem;
  padding: 0;
}
.next-block a { color: var(--k); }

/* Actions-Block (Anmeldung-Bestätigen — Back-Link) */
.actions {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--placeholder-bg);
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-size: 0.9375rem;
}
.actions a { color: var(--k); }

/* =====================================================================
   FORM-Styling (Brevo-Embed in Launch-Liste)
   ===================================================================== */
.form-wrap { margin: 0 0 2rem; }

#sib-form-container { width: 100%; }

.sib-form,
#sib-container {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  max-width: 100% !important;
  text-align: left !important;
  border-radius: 0 !important;
}

.sib-form-block {
  background: transparent !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
}

.form__entry {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.entry__label {
  font-family: var(--font) !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--k) !important;
  margin: 0 !important;
}

.entry__field { width: 100%; }

input.input,
input[type="text"]#EMAIL {
  width: 100% !important;
  padding: 1rem 1.25rem !important;
  font-family: var(--font) !important;
  font-size: 1.0625rem !important;
  line-height: 1.4 !important;
  color: var(--k) !important;
  background: var(--w) !important;
  border: 1.5px solid var(--k) !important;
  border-radius: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  transition: border-color 0.2s var(--ease) !important;
}
input.input::placeholder,
input[type="text"]#EMAIL::placeholder {
  color: var(--muted) !important;
  opacity: 0.7;
}
input.input:focus,
input[type="text"]#EMAIL:focus {
  outline: 2px solid var(--coral) !important;
  outline-offset: 2px !important;
  border-color: var(--blue) !important;
}

.sib-form-block__button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-top: 1.25rem !important;
  padding: 0.95rem 1.75rem !important;
  font-family: var(--font) !important;
  font-weight: 700 !important;
  font-size: 0.9375rem !important;
  letter-spacing: 0.02em !important;
  color: var(--w) !important;
  background: var(--coral) !important;
  border: 1.5px solid var(--coral) !important;
  border-radius: 0 !important;
  cursor: pointer;
  text-align: left !important;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease) !important;
}
.sib-form-block__button:hover,
.sib-form-block__button:focus-visible {
  background: var(--blue-deep) !important;
  border-color: var(--blue-deep) !important;
}
.sib-form-block__button .sib-hide-loader-icon { display: none !important; }

.sib-form-message-panel {
  margin: 0 0 1.5rem !important;
  padding: 1rem 1.25rem !important;
  border-radius: 0 !important;
  border: none !important;
  border-left: 4px solid !important;
  font-family: var(--font) !important;
  font-size: 0.9375rem !important;
  max-width: 100% !important;
}
#error-message {
  color: var(--k) !important;
  background-color: #FFE9E9 !important;
  border-left-color: var(--coral) !important;
}
#success-message {
  color: var(--k) !important;
  background-color: #E9F5EE !important;
  border-left-color: var(--blue) !important;
}
.sib-notification__icon { display: none !important; }
.sib-form-message-panel__inner-text {
  font-family: var(--font) !important;
  font-weight: 400 !important;
}

.entry__error {
  font-family: var(--font) !important;
  font-size: 0.875rem !important;
  color: var(--coral) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin-top: 0.5rem !important;
  padding: 0 !important;
}

.sib-form__declaration {
  margin-top: 2rem !important;
  padding-top: 1.5rem !important;
  border-top: 1px solid var(--placeholder-bg) !important;
  display: flex !important;
  gap: 1rem !important;
  align-items: flex-start !important;
}
.declaration-block-icon {
  flex-shrink: 0;
  width: 32px;
  opacity: 0.6;
}
.declaration-block-icon .svgIcon-sphere { width: 32px !important; height: 32px !important; }
.sib-form__declaration > div:last-child {
  font-family: var(--font) !important;
  font-size: 0.8125rem !important;
  line-height: 1.5 !important;
  color: var(--muted) !important;
}
.sib-form__declaration > div:last-child a { color: var(--muted) !important; }

.input--hidden { display: none !important; }

/* Brevo-Default-Header neutralisieren */
.sib-form form > div:first-of-type .sib-form-block .sib-text-form-block {
  display: none !important;
}

/* =====================================================================
   Footer
   ===================================================================== */
.footer-wrap {
  padding: 4rem clamp(1.5rem, 4vw, 3rem) 2rem;
  font-family: var(--font);
}
.foot__inner {
  max-width: 64rem;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--blue);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between; align-items: center;
  font-size: 0.875rem;
  color: var(--k);
}
.foot__inner nav ul {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 1.75rem;
  padding: 0; margin: 0;
}
.foot__inner nav a {
  color: var(--k);
  text-decoration: none;
  font-weight: 400;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 0.15em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.foot__inner nav a:hover, .foot__inner nav a:focus-visible {
  border-bottom-color: var(--blue);
  color: var(--k);
}
.copyright {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--k);
  margin: 0;
}

/* =====================================================================
   Mobile
   ===================================================================== */
@media (max-width: 640px) {
  .article h2:not(.deck) { margin-top: 2.5rem; padding-top: 2rem; }
  /* Platz für die schwebenden Buttons (Scroll-Top links, A11y-Widget rechts),
     damit sie die Copyright-Zeile nicht überdecken */
  .footer-wrap { padding-bottom: 6rem; }
  /* Footer auf Mobil: Rechtslinks untereinander statt nebeneinander,
     Copyright darunter */
  .foot__inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .foot__inner nav ul { flex-direction: column; gap: 0.25rem; width: 100%; }
  .foot__inner nav a { display: inline-block; padding: 0.5rem 0; }
}

/* =====================================================================
   WP-Admin-Bar Kompensation
   ===================================================================== */
/* =====================================================================
   Legacy „bs-*" Markup-Aliase (Datenschutz #3, Über mich #192).
   Sorgt dafür, dass alter Page-Content ohne Inhalts-Rewrite im v15-Stil
   gerendert wird. Kein Cream-Background, kein Orange — nur saubere
   Editorial-Typo mit den Brand-Tokens.
   ===================================================================== */
.bs-hero, .bs-intro, .bs-tagline {
  max-width: 64rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  position: static !important;
}
.bs-tagline {
  padding-top: 2rem;
  padding-bottom: 3rem;
  border-top: 1px solid #E5E5E5 !important;
  margin-top: 2.5rem;
}
.bs-tagline p {
  font-size: 0.875rem;
  color: #666 !important;
  margin: 0;
  max-width: none;
}
.bs-tagline a { color: var(--blue); }
.bs-hero {
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.bs-hero::before, .bs-hero::after,
.bs-intro::before, .bs-intro::after { display: none !important; content: none !important; }
.bs-hero h1, h1.bs-page-title, #bs-page-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  color: var(--k);
  margin: 0 0 1.25rem;
  max-width: 22ch;
}
.bs-hero h1 em, h1.bs-page-title em, #bs-page-title em {
  font-style: italic;
  color: var(--coral);
  font-weight: 700;
}
.bs-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.25rem;
}
.bs-eyebrow::before { content: "— "; color: var(--blue); }
.bs-tagline, .bs-lead {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.5;
  color: var(--k);
  margin: 0 0 1.5rem;
  max-width: 40rem;
}
.bs-intro {
  border-top: 1px solid var(--blue) !important;
  padding-top: clamp(3rem, 5vw, 4.5rem);
}
.bs-intro h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: var(--k);
}
.bs-intro h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 2rem 0 0.75rem;
  color: var(--k);
}
.bs-intro p, .bs-intro li {
  font-size: 1.0625rem;
  line-height: 1.65;
  max-width: 42rem;
  color: var(--k);
}
.bs-intro a { color: var(--blue); }
.bs-intro--split { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 56rem) {
  .bs-intro--split { grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }
}
.bs-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =====================================================================
   Scroll-to-Top — Korall-Quadrat unten links, weißer Pfeil
   ===================================================================== */
.bs-scroll-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 60;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--coral);
  color: #ffffff;
  border: 2px solid var(--coral);
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.bs-scroll-top:hover, .bs-scroll-top:focus-visible {
  background: var(--k);
  border-color: var(--k);
  color: #ffffff;
  transform: translateY(-2px);
}
.bs-scroll-top[hidden] { display: none; }
@media (max-width: 640px) {
  .bs-scroll-top { bottom: 1rem; left: 1rem; width: 2.5rem; height: 2.5rem; }
}

.admin-bar .skip { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .skip { top: 46px; }
}

/* =====================================================================
   METHODE — Step-Workflow „Mitgedacht" (Onepager-Sektion)
   Königsblau-Vollsektion, weiße Headlines, Atkinson italic Bold Ziffern.
   Schritt 2 (Fundament) ist als einmaliges Onboarding aus dem Loop
   gehoben (gestrichelter Korall-Rahmen + „Einmalig"-Pille). Die Korall-
   Track-Linie verbindet die wiederkehrenden Schritte 3 → 4 → 5.
   Einbau: als Custom-HTML-Block — Markup in
   wp-snippets/methode-section.html. Tokens stammen aus :root oben.
   ===================================================================== */
.methode {
  background: var(--blue);
  color: var(--w);
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem);
}
.methode__inner { max-width: 64rem; margin: 0 auto; }

.methode__eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--w);
  margin: 0 0 1.25rem;
}
.methode__eyebrow::before { content: "— "; color: var(--coral); }

.methode__title {
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--w);
  margin: 0 0 1.25rem;
  max-width: 20ch;
}
.methode__title em { font-style: italic; color: var(--coral); font-weight: 700; }

.methode__lead {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  max-width: 42rem;
  margin: 0 0 1rem;
}

.methode__triad {
  display: inline-flex; flex-wrap: wrap; gap: 0.5rem 0.75rem;
  align-items: baseline;
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin: 0 0 3rem;
}
.methode__triad span { white-space: nowrap; }
.methode__triad span::before { content: "· "; color: var(--coral); }
.methode__triad span:first-child::before { content: none; }

.methode__steps { list-style: none; counter-reset: ms; padding: 0; margin: 0; }
.method-step {
  counter-increment: ms;
  position: relative;
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0 1.5rem;
  align-items: start;
  padding-bottom: 3rem;
}
.method-step:last-child { padding-bottom: 0; }

.method-step__num-col { position: relative; }
.method-step__num {
  font-style: italic; font-weight: 700;
  font-size: clamp(3.75rem, 7vw, 6rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--w);
  display: block;
  margin-top: -0.4rem;
}
/* Korall-Verbindungslinie: senkrechter Track durch die wiederkehrenden
   Schritte (beginnt unter der Ziffer, läuft bis zum nächsten Schritt). */
.method-step__num-col::after {
  content: "";
  position: absolute;
  left: 0.6rem; top: 4.25rem; bottom: -3rem;
  width: 2px;
  background: var(--coral);
}
.method-step:last-child .method-step__num-col::after { content: none; }
/* Der Track überspringt das Fundament: Schritt 1 zeichnet keine Linie
   nach unten (Fundament zweigt seitlich ab), das Fundament selbst auch
   nicht — so threadet der Track sichtbar 1 → 3 → 4 → 5. */
.method-step--branch-before .method-step__num-col::after,
.method-step--once .method-step__num-col::after { content: none; }

.method-step__title {
  font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--w);
  margin: 0.4rem 0 0.6rem;
}
.method-step__desc {
  color: rgba(255,255,255,0.86);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 34rem;
  margin: 0;
}
.method-step__desc strong { color: var(--w); font-weight: 700; }

/* === Fundament: das einmalige Onboarding === */
.method-step--once {
  margin: 0 0 3rem;
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  border: 2px dashed var(--coral);
  background: rgba(255,255,255,0.05);
}
.method-step--once .method-step__num { color: rgba(255,255,255,0.78); }

.once-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--w);
  border: 1.5px solid var(--w);
  padding: 0.3rem 0.7rem;
  margin: 0.4rem 0 0.75rem;
}
.once-badge::before {
  content: "";
  width: 0.55rem; height: 0.55rem;
  background: var(--coral);
  flex-shrink: 0;
}
.once-note {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  font-style: italic;
  color: rgba(255,255,255,0.78);
}

/* === Loop-Strip: ab dem zweiten Projekt vier Schritte === */
.methode__loop {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.35);
}
.methode__loop-head {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--w);
  margin: 0 0 1rem;
}
.methode__loop-head .loop-glyph {
  font-style: normal; color: var(--coral); font-size: 1.15rem; line-height: 1;
}
.methode__loop p {
  color: rgba(255,255,255,0.86);
  font-size: 1rem; line-height: 1.55;
  max-width: 42rem; margin: 0 0 1.25rem;
}
.methode__loop p strong { color: var(--w); }
.loop-cycle {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.5rem 0.75rem;
}
.loop-cycle li {
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: var(--w);
}
.loop-cycle li:not(:last-child)::after {
  content: "→";
  color: var(--coral);
  margin-left: 0.75rem;
  font-style: italic;
}

@media (max-width: 640px) {
  .method-step { grid-template-columns: 1fr; gap: 0; }
  .method-step__num-col::after,
  .method-step:last-child .method-step__num-col::after { content: none; }
  .method-step__num { font-size: 3.5rem; margin-bottom: 0.25rem; }
}

/* =====================================================================
   FRONT-PAGE: kein zusätzliches .home main-Wrapping mehr.
   Der v15-Inline-Content in page-191 bringt eigene .hero/.section-Container
   mit jeweils max-width var(--measure) = 64rem. Die früheren .home main-
   Regeln waren für eine alte Front-Page-Variante mit direkten H1/P-Kindern
   und full-bleed .methode-Section — Stand 2026-06-04 obsolet, entfernt.
   ===================================================================== */
body.home { overflow-x: clip; }            /* fängt die 100vw-Breakout-Breite ab */
