/* ==========================================================================
   Kommuna - style.css
   Architektur: 1. Tokens  2. Base  3. Utilities  4. Komponenten
                5. Sektionen  6. Responsive  7. Motion
   ========================================================================== */

/* 1. Design-Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Farben - ausschließlich Logofarben (Gelb #ffcf5f, Rot #d71d2c,
     Dunkel #1d2a2c) und Abstufungen davon. Kein Blau/Petrol. */
  /* Aktionsfarbe = Anthrazit (ruhig, edel). Gelb = Signatur.
     Rot = nur Funke (Marker/Punkt). */
  --ink:        #1d2a2c;   /* Logo-Dunkel - Fließtext, Überschriften, Primäraktion */
  --ink-lift:   #2c3d40;   /* Button-Hover (aufgehelltes Anthrazit) */
  --ink-soft:   #4a4a45;   /* gedämpfter Text (warm-neutral) */
  --ink-faint:  #5f5c54;   /* Captions, Meta - AA-konform auf Papier */
  --red:        #d71d2c;   /* Logo-Rot - nur Funke: Marker, Pin, Punkt */
  --gold:       #ffcf5f;   /* Logo-Gelb - Signatur: Highlight, aktive Zustände */
  --gold-warm:  #f0b93a;   /* Gold-Hover / Verlauf */
  --gold-deep:  #8a6410;   /* dunkles Logo-Gelb - Akzenttext (AA auf Papier) */
  --pine:       #1d2a2c;   /* dunkle Bänder, Footer (Logo-Dunkel) */
  --pine-soft:  #2b3a3c;   /* Karten auf dunklem Band */
  --sand:       #f3ecd9;   /* helles Gelb-Tint, Flächen */
  --sand-soft:  #faf4e4;   /* zarter Gelb-Tint */
  --paper:      #f8f7f3;   /* Seitenhintergrund */
  --card:       #ffffff;
  --schild:     #ffcf5f;   /* Logo-Gelb - Ortsschild & Highlights */
  --sun-deep:   #e5a92e;   /* Gelb-Akzent auf hellen Flächen */
  --brand-red:  #d71d2c;   /* Logo-Rot - Marke & Marker */
  --line:       #e6e1d6;   /* Hairlines (warm) */
  --line-dark:  #34413f;   /* Hairlines auf dunklem Band */
  --on-dark:      #eceae2; /* Text auf dunklem Band */
  --on-dark-soft: #b7b2a4; /* gedämpft auf dunkel */
  --on-dark-faint:#9a9484; /* faint auf dunkel - AA-konform (≥4.5:1) auf Pine */

  /* Typografie */
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --text-xs:  0.8125rem;
  --text-sm:  0.9375rem;
  --text-md:  1.0625rem;
  --text-lg:  clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl:  clamp(1.375rem, 1.1rem + 1.3vw, 2rem);
  --text-2xl: clamp(1.85rem, 1.35rem + 2.2vw, 3rem);
  --text-3xl: clamp(2.4rem, 1.5rem + 3.6vw, 4.25rem);

  /* Layout - bewusst flachere Radien & dezentere Schatten (redaktionell statt „friendly SaaS") */
  --container: 72rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.875rem;
  --radius-btn: 0.55rem;
  --shadow-sm: 0 1px 2px rgba(15, 39, 43, 0.05), 0 1px 3px rgba(15, 39, 43, 0.04);
  --shadow-md: 0 1px 3px rgba(15, 39, 43, 0.05), 0 6px 16px rgba(15, 39, 43, 0.07);
  --shadow-lg: 0 2px 6px rgba(15, 39, 43, 0.06), 0 14px 36px rgba(15, 39, 43, 0.11);

  --space-section: clamp(4.5rem, 3rem + 6vw, 8rem);
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/bricolage-latin.woff2") format("woff2");
}

/* 2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 { font-size: var(--text-3xl); font-weight: 800; }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-lg); line-height: 1.3; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }

img, svg { max-width: 100%; height: auto; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

button, input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Auf dunklen Flächen wäre der Ink-Fokusring unsichtbar → Gold */
.statement :focus-visible,
.card-dark :focus-visible,
.cta-panel :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}

::selection { background: var(--sand); color: var(--pine); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--pine);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; color: #fff; }

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

/* 3. Utilities
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.section { padding-block: var(--space-section); }
/* Sektionen, die direkt an die vorige anschließen */
.section--tight { padding-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  border-radius: 1px;
  background: var(--brand-red);
}

.section-head { max-width: 38rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head p { color: var(--ink-soft); font-size: var(--text-lg); }

.muted { color: var(--ink-soft); }
.small { font-size: var(--text-sm); }

/* Signatur - Ortsschild-Gelb als Textmarker unter Schlüsselwörtern */
.mark {
  background-image: linear-gradient(transparent 55%, var(--gold) 55%, var(--gold) 94%, transparent 94%);
  background-repeat: no-repeat;
  background-size: 0 100%;
  padding: 0 0.1em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-size 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) 0.15s;
}
.mark.is-inked { background-size: 100% 100%; }
@media (prefers-reduced-motion: reduce) {
  .mark { background-size: 100% 100%; transition: none; }
}

/* 4. Komponenten
   -------------------------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: var(--text-sm);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 1px 2px rgba(15, 39, 43, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.btn-primary:hover {
  background: var(--ink-lift);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 39, 43, 0.22);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--sand-soft);
}

.btn-light {
  background: #fff;
  color: var(--pine);
}
.btn-light:hover { background: var(--sand); color: var(--pine); transform: translateY(-1px); }

.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 247, 243, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(15, 39, 43, 0.05);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: auto; height: 1.85rem; }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a:not(.btn) {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.site-nav a:not(.btn):hover { background: var(--sand-soft); color: var(--ink); }
.header-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.6rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.nav-toggle:hover { background: var(--sand-soft); border-color: var(--ink-soft); }
.nav-toggle:active { transform: scale(0.94); }
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Ortsschild - Signature-Element */
/* "In" und Schild dürfen nie getrennt umbrechen */
.schild-zeile { white-space: nowrap; }
.ortsschild {
  display: inline-block;
  padding: 0.05em 0.35em 0.08em;
  background: var(--schild);
  color: #211c0b;
  border: 0.045em solid #211c0b;
  border-radius: 0.18em;
  box-shadow: 0.06em 0.09em 0 rgba(15, 39, 43, 0.18);
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
  transform: rotate(-1.2deg);
}
.ortsschild .town {
  display: inline-block;
  min-width: 4.6em;
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease, width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.ortsschild .town.is-out { opacity: 0; transform: translateY(0.35em); }
/* Unsichtbarer Zwilling zum Messen der Zielbreite - nimmt keinen Platz ein */
.ortsschild .town-measure {
  position: absolute;
  visibility: hidden;
  pointer-events: none;
}

/* Karten - flach, Trennung über Border statt Schlagschatten */
.card {
  background: var(--sand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #d9cfb6;
}

/* Icon: keine gefüllte Kit-Kachel, sondern gezeichnetes Zeichen mit Ortsschild-Ring */
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: inset 0 0 0 1.5px var(--gold);
  color: var(--gold-deep);
  margin-bottom: 1.15rem;
  transition: transform 0.2s ease, background 0.2s ease;
}
.icon-tile svg { width: 1.55rem; height: 1.55rem; }
.card:hover .icon-tile { transform: scale(1.06) rotate(-4deg); background: var(--sand); }

.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--gold-deep);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Phone-Mockup */
.phone {
  width: min(20.5rem, 86vw);
  background: var(--pine);
  border-radius: 2.6rem;
  padding: 0.55rem;
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  background: #fbfaf7;
  border-radius: 2.1rem;
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.45;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 1.3rem 0.3rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.1rem 0.65rem;
}
.phone-header .place {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.phone-header .place svg { width: 0.95rem; height: 0.95rem; color: var(--brand-red); }
.phone-avatar {
  width: 1.7rem; height: 1.7rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}
.phone-chips {
  display: flex;
  gap: 0.4rem;
  padding: 0 1.1rem 0.75rem;
  flex-wrap: wrap;
}
.phone-chip {
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.phone-chip:hover { border-color: var(--gold); color: var(--ink); }
.phone-chip:active { transform: scale(0.96); }
.phone-chip.active { background: var(--gold); border-color: var(--gold); color: #1d2a2c; }
.phone-feed { padding: 0 0.8rem 0.9rem; display: grid; gap: 0.55rem; }
/* Feed-Wechsel beim Chip-Klick: kurzer, weicher Übergang; feste Mindesthöhe
   verhindert Layout-Springen zwischen den Interessen-Feeds */
#hero-feed {
  min-height: 17.5rem;
  align-content: start;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
#hero-feed.is-switching { opacity: 0; transform: translateY(6px); }
.feed-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 0.8rem 0.9rem;
  box-shadow: 0 1px 3px rgba(15, 39, 43, 0.05);
}
.feed-card .meta {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.15rem;
}
.feed-card .title { font-weight: 700; font-size: 0.82rem; margin-bottom: 0.1rem; }
.feed-card .sub { color: var(--ink-faint); font-size: 0.7rem; }
.feed-card .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.55rem;
}
.feed-card .row .pill { flex: none; }
.avatars { display: flex; align-items: center; }
.avatars span:not(.count) {
  width: 1.35rem; height: 1.35rem;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -0.4rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 700; color: #fff;
}
.avatars span:not(.count):first-child { margin-left: 0; }
.avatars .a1 { background: #d71d2c; }
.avatars .a2 { background: #c08e2d; }
.avatars .a3 { background: #1d2a2c; }
.avatars .count { font-size: 0.65rem; color: var(--ink-faint); margin-left: 0.45rem; font-weight: 600; white-space: nowrap; }
.feed-card .pill {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold-deep);
  background: var(--sand);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.phone-nav {
  display: flex;
  justify-content: space-around;
  padding: 0.55rem 0.9rem 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--ink-faint);
}
.phone-nav .on { color: var(--gold-deep); }
.phone-nav div { display: grid; justify-items: center; gap: 0.15rem; }
.phone-nav svg { width: 1.05rem; height: 1.05rem; }

/* Chat-Bubbles (Frag Kommuna) */
.chat { padding: 0.4rem 0.9rem 0.9rem; display: grid; gap: 0.5rem; }
.bubble {
  max-width: 85%;
  padding: 0.6rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.74rem;
}
.bubble.user {
  justify-self: end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 0.3rem;
}
.bubble.bot {
  justify-self: start;
  background: var(--sand-soft);
  border: 1px solid var(--line);
  border-bottom-left-radius: 0.3rem;
}

/* Formular */
.waitlist-form {
  display: flex;
  gap: 0.6rem;
  max-width: 30rem;
}
.waitlist-form input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.waitlist-form input::placeholder { color: var(--ink-faint); }
.waitlist-form input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(29, 42, 44, 0.15);
}
.form-note { font-size: var(--text-xs); color: var(--ink-faint); margin-top: 0.75rem; }

/* Toast - Formular-Feedback unten rechts (sonner-Muster) */
.toast-region {
  position: fixed;
  inset: auto 1rem 1rem auto;
  z-index: 90;
  display: grid;
  gap: 0.5rem;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 23rem;
  padding: 0.85rem 0.75rem 0.9rem 1.1rem;
  background: var(--pine);
  color: var(--on-dark);
  border: 1px solid var(--pine-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(0.6rem);
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.toast.is-visible { opacity: 1; transform: none; }
.toast p { margin: 0; }
.toast-close {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: -0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--on-dark-faint);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.toast-close:hover { background: var(--pine-soft); color: #fff; }
.toast :focus-visible { outline-color: var(--gold); }
@media (max-width: 40rem) {
  .toast-region { inset: auto 1rem 1rem 1rem; }
  .toast { max-width: none; }
}

/* Accordion - redaktionelles Zwei-Spalten-Layout */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 5vw, 5.5rem);
  align-items: start;
}
.faq-intro { position: sticky; top: 6rem; }
.faq-intro h2 { margin: 0.5rem 0 0; }
.faq-intro-text {
  color: var(--ink-soft);
  font-size: var(--text-lg);
  max-width: 20rem;
  margin: 1.1rem 0 1.6rem;
}

.faq-list { border-top: 1px solid var(--line); }
.faq-heading { margin: 0; }
.faq-item { position: relative; border-bottom: 1px solid var(--line); }
.faq-item.is-open { background: var(--sand-soft); }
/* Marken-Funke: roter Akzentbalken am offenen Eintrag */
.faq-item.is-open::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--red);
}
.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.4rem 1.1rem;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: 1.25;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.faq-item:not(.is-open) .faq-trigger:hover { color: var(--gold-deep); }
/* Plus-Icon aus zwei Balken - wird beim Öffnen zum Minus */
.faq-trigger .chev {
  flex: none;
  position: relative;
  width: 1.8rem; height: 1.8rem;
  border-radius: 50%;
  background: var(--sand);
  font-size: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.faq-item:not(.is-open) .faq-trigger:hover .chev { transform: rotate(90deg); }
.faq-trigger .chev::before,
.faq-trigger .chev::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0.72rem; height: 2px;
  border-radius: 2px;
  background: var(--gold-deep);
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.25s ease;
}
.faq-trigger .chev::before { transform: translate(-50%, -50%) rotate(90deg); }
.faq-trigger .chev::after  { transform: translate(-50%, -50%); }
.faq-item.is-open .faq-trigger .chev { background: var(--ink); }
.faq-item.is-open .faq-trigger .chev::before { opacity: 0; }
.faq-item.is-open .faq-trigger .chev::before,
.faq-item.is-open .faq-trigger .chev::after { background: var(--gold); }
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.is-open .faq-panel { grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; }
.faq-panel p, .faq-panel ul {
  padding: 0 1.1rem 1.4rem;
  margin: 0;
  max-width: 44rem;
  color: var(--ink-soft);
}

@media (max-width: 52rem) {
  .faq-layout { grid-template-columns: 1fr; gap: clamp(1.75rem, 1rem + 3vw, 2.5rem); }
  .faq-intro { position: static; }
  .faq-intro-text { max-width: 34rem; }
}

/* Scroll-Reveal - greift nur, wenn JS läuft (html.js), damit Inhalte
   ohne JS oder bei einem JS-Fehler niemals unsichtbar bleiben */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.09s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.27s; }

/* 5. Sektionen
   -------------------------------------------------------------------------- */

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) clamp(4rem, 3rem + 4vw, 7rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: #c08e2d;
  opacity: 0.12;
}
.hero-bg svg { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(248, 247, 243, 0), var(--paper));
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 2rem + 3vw, 5rem);
  align-items: center;
}
.hero-copy .eyebrow { color: var(--gold-deep); }
.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-copy .lede {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 33rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.1rem; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  font-size: var(--text-xs);
  color: var(--ink-faint);
  font-weight: 500;
}
.hero-proof li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-proof svg { width: 0.9rem; height: 0.9rem; color: var(--gold-deep); flex: none; }
.hero-visual { position: relative; display: flex; justify-content: center; }
/* Warmer Lichtschein verankert das Phone statt es schweben zu lassen */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 4%;
  background: radial-gradient(58% 52% at 50% 44%, rgba(255, 207, 95, 0.30), rgba(255, 207, 95, 0) 70%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}
.hero-visual .phone { position: relative; z-index: 1; transform: rotate(2deg); }

@keyframes phone-float {
  0%, 100% { transform: rotate(2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-9px); }
}
@media (min-width: 52.0625rem) {
  .hero-visual .phone { animation: phone-float 7s ease-in-out infinite; }
}

/* Bekannt aus - durchlaufende Logo-Leiste */
.known-from {
  --logo-gap: 2.75rem;
  padding: 1.5rem 0 3.25rem;
}
.known-from-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin: 0 0 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.known-from-label::before,
.known-from-label::after {
  content: "";
  height: 1px;
  width: clamp(2rem, 6vw, 4rem);
  background: var(--line);
}
.logo-marquee {
  display: flex;
  gap: var(--logo-gap);
  overflow: hidden;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-track {
  display: flex;
  align-items: stretch;
  gap: var(--logo-gap);
  flex: none;
  min-width: max-content;
  animation: logo-scroll 45s linear infinite;
}
.logo-track li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4rem;
  padding: 0.85rem 1.7rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
/* Punkt in der Lücke zwischen den Karten - läuft über die Track-Grenze hinweg mit */
.logo-track li::before {
  content: "";
  position: absolute;
  left: calc(var(--logo-gap) / -2);
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
  transform: translate(-50%, -50%);
}
.logo-track img {
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.logo-track img[src*="jugend-gruendet"] { opacity: 0.85; }
.logo-track li:hover img {
  filter: none;
  opacity: 1;
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-100% - var(--logo-gap))); }
}

/* Statement / Problem */
.statement {
  position: relative;
  overflow: hidden;
  background: var(--pine);
  color: var(--on-dark);
}
.statement > .container { position: relative; z-index: 1; }
/* Interaktive Minimap - Eifelkreis Bitburg-Prüm mit umliegenden Kommunen */
.statement-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(18rem, 38%, 30rem);
  gap: clamp(2rem, 3.5vw, 4rem);
  align-items: center;
}
.statement-map {
  width: 100%;
  margin: 0;
  /* auf breiten Screens aus dem Container nach rechts ausbrechen */
  transform: translateX(clamp(0rem, calc((100vw - 73rem) / 2 - 1rem), 3rem));
  pointer-events: none;
}
/* SVG malt größer als seine Spalte - der Überstand läuft weich aus (Fade-Maske) */
.statement-map svg {
  width: 135%;
  max-width: none;
  margin-left: -13%;
  height: auto;
  display: block;
  overflow: visible;
}
.statement-map .map-town { pointer-events: auto; }
.statement-map path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.map-district-fill { fill: rgba(255, 207, 95, 0.05); stroke: none; }
.map-district { stroke: rgba(255, 207, 95, 0.6); stroke-width: 2.2; }
.map-road-a { stroke: rgba(255, 207, 95, 0.8); stroke-width: 2.8; }
.map-road-b { stroke: rgba(255, 207, 95, 0.3); stroke-width: 1.5; }
.map-town { cursor: default; outline: none; }
.map-hit { fill: transparent; }
.map-dot { transition: r 0.15s ease; }
.map-town-in .map-dot { fill: var(--gold); }
.map-town-out .map-dot { fill: rgba(183, 178, 164, 0.55); }
.map-town .map-name {
  font-family: var(--font-body);
  font-size: 17px;
  letter-spacing: 0.01em;
  fill: rgba(236, 234, 226, 0.68);
  paint-order: stroke;
  stroke: rgba(29, 42, 44, 0.85);
  stroke-width: 3.5px;
  transition: fill 0.15s ease;
}
.map-town-out .map-name { fill: rgba(183, 178, 164, 0.55); font-size: 15px; }
.map-town:hover .map-dot,
.map-town:focus .map-dot { r: 7; }
.map-town:hover .map-name,
.map-town:focus .map-name { fill: var(--gold); }
.map-town-home .map-dot { fill: var(--brand-red); }
.map-town-home .map-name { fill: var(--on-dark); font-weight: 600; font-size: 19px; }
.map-town-home:hover .map-name,
.map-town-home:focus .map-name { fill: #fff; }
/* Tooltip: Einwohnerzahl */
.map-tip {
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.map-tip rect {
  fill: rgba(18, 27, 29, 0.95);
  stroke: rgba(255, 207, 95, 0.45);
  stroke-width: 1;
}
.map-tip text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  fill: var(--gold);
}
.map-town:hover .map-tip,
.map-town:focus .map-tip { opacity: 1; }
.map-pulse {
  fill: none;
  stroke: var(--brand-red);
  stroke-width: 1.5;
  animation: map-pulse 2.6s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes map-pulse {
  0%   { opacity: 0.9; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(3.2); }
  100% { opacity: 0;   transform: scale(3.2); }
}
.map-caption {
  /* gleiche Überbreite wie das SVG, damit die Zentrierung zur Kartenmitte passt */
  width: 135%;
  margin-left: -13%;
  margin-top: 0.9rem;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(183, 178, 164, 0.55);
}
@media (prefers-reduced-motion: reduce) { .map-pulse { animation: none; opacity: 0; } }
@media (max-width: 56rem) {
  .statement-layout { grid-template-columns: 1fr; }
  .statement-map {
    max-width: 30rem;
    margin: 1.5rem auto 0;
    transform: none;
  }
  .statement-map svg { width: 100%; margin-left: 0; }
  .map-caption { width: 100%; margin-left: 0; }
}
.statement .eyebrow { color: var(--gold); }
.statement .eyebrow::before { background: var(--brand-red); }
.statement-claim {
  margin: 0 0 1.25rem;
  font-size: var(--text-2xl);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 46rem;
}
.statement-claim em {
  font-style: normal;
  color: var(--schild);
}
.statement .statement-sub {
  color: var(--on-dark-soft);
  max-width: 40rem;
  font-size: var(--text-lg);
}
/* Stat-Band - eine erzählte Großzahl statt drei gleicher Kacheln */
.stat-band {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-top: clamp(2rem, 3vw, 3rem);
  border-top: 1px solid var(--line-dark);
}
.stat-figure {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  line-height: 0.85;
}
.stat-num {
  font-size: clamp(3.75rem, 1.5rem + 10vw, 7.5rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-size: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  font-weight: 700;
  color: var(--gold);
}
.stat-caption {
  color: var(--on-dark);
  font-size: var(--text-lg);
  max-width: 20ch;
  margin: 0;
}
.stat-side { display: grid; gap: 1.25rem; }
.stat-side li {
  color: var(--on-dark-soft);
  font-size: var(--text-sm);
  line-height: 1.55;
  padding-left: 1.1rem;
  border-left: 2px solid var(--gold);
}
.stat-side strong { color: #fff; font-weight: 700; }
.statement .source {
  margin-top: 1.5rem;
  font-size: var(--text-xs);
  color: var(--on-dark-faint);
}

/* Features - Bento: unterschiedliche Kartengewichte statt 6 identischer Kacheln */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.features-grid .card p { color: var(--ink-soft); font-size: var(--text-sm); }
.features-grid .card h3 { margin-bottom: 0.5rem; }

/* Breite Karten: horizontales Layout (Icon links, Text rechts) für echten Rhythmus */
.features-grid .card--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.3rem;
  align-content: center;
}
.features-grid .card--wide .icon-tile { grid-row: span 2; margin-bottom: 0; }
.features-grid .card--wide h3 { align-self: end; }
.features-grid .card--wide p { max-width: 40ch; }

.card-soon { position: relative; }
.card-soon .tag { position: absolute; top: 1.4rem; right: 1.4rem; background: #fff1cf; color: #8a6410; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--sand-soft);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #d9cfb6;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); font-size: var(--text-sm); }

/* App-Preview */
.preview { background: var(--paper); }
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: start;
}
.preview-grid figure { margin: 0; display: grid; gap: 1rem; justify-items: center; }
.preview-grid .phone { width: min(17rem, 86vw); }
.preview-grid figcaption { font-size: var(--text-sm); color: var(--ink-soft); font-weight: 500; text-align: center; }
.preview-grid figure:nth-child(2) { margin-top: 0; } /* alle drei Telefone auf einer Höhe */

/* Carousel-Punkte - nur sichtbar, wenn das Grid zum Carousel wird (≤64rem) */
.preview-dots { display: none; }
@media (max-width: 64rem) {
  .preview-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
  }
  .preview-dots button {
    width: 0.6rem;
    height: 0.6rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #d9cfb6;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
  .preview-dots button:hover { background: var(--gold-warm); }
  .preview-dots button.is-active { background: var(--sun-deep); transform: scale(1.25); }
}

/* Zielgruppen */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.audience-grid .card h3 { display: flex; align-items: center; gap: 0.6rem; }
.audience-grid .card p { color: var(--ink-soft); font-size: var(--text-sm); }
.audience-grid .card ul { display: grid; gap: 0.5rem; margin-top: 0.9rem; }
.audience-grid .card li {
  display: flex;
  gap: 0.55rem;
  font-size: var(--text-sm);
  color: var(--ink-soft);
}
.audience-grid .card li svg { flex: none; width: 1rem; height: 1rem; color: var(--gold-deep); margin-top: 0.25rem; }
.card-dark {
  background: var(--pine);
  border-color: var(--pine);
  color: var(--on-dark);
}
.card-dark:hover { border-color: var(--pine-soft); }
.card-dark h3 { color: #fff; }
.card-dark p, .card-dark li { color: var(--on-dark-soft) !important; }
.card-dark li svg { color: var(--gold) !important; }
.card-dark .price-hint {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--text-sm);
  color: var(--on-dark-soft) !important;
}
.card-dark .price-hint strong { color: #fff; }
.card-dark a { color: var(--schild); }

/* Kosten-Rechner (Für Kommunen) - erscheint nur mit JS */
.calc[hidden] { display: none; }
.calc {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-dark);
}
.calc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  margin-bottom: 0.7rem;
}
.calc-head label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.calc-pop {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
}
.calc-pop output { color: var(--gold); }
.calc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  margin: 0.35rem 0 0.8rem;
  border: 0;
  border-radius: 2px;
  background: var(--line-dark);
  cursor: pointer;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #1d2a2c;
  box-shadow: 0 0 0 1.5px var(--gold), 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}
.calc-range::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc-range::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #1d2a2c;
  box-shadow: 0 0 0 1.5px var(--gold), 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}
.calc-range::-moz-range-thumb:hover { transform: scale(1.12); }
.calc-range:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.calc-result {
  font-size: var(--text-sm);
  color: var(--on-dark-soft);
  font-variant-numeric: tabular-nums;
}
.calc-result strong { color: var(--gold); font-size: var(--text-md); }

/* Testimonials */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
/* Jede Stimme bekommt eine eigene Marken-Farbe (rot / ink / gold) */
.quote-card {
  --accent: var(--gold-deep);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-top: 3.4rem;
  background: var(--sand-soft);
}
.quote-card:has(.q-avatar--red)  { --accent: var(--red); }
.quote-card:has(.q-avatar--ink)  { --accent: var(--ink); }
.quote-card:has(.q-avatar--gold) { --accent: #b07f22; }
/* Oberkante-Akzent in der Stimm-Farbe */
.quote-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 2.75rem; height: 3px;
  margin: 1.75rem 0 0 1.75rem;
  background: var(--accent);
  border-radius: 2px;
}
.quote-card blockquote {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  flex: 1;
}
/* Großes Anführungszeichen als Signature */
.quote-card blockquote::before {
  content: "\201C";
  position: absolute;
  top: 1.9rem; right: 1.7rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
  pointer-events: none;
}
.quote-card figcaption {
  display: flex; align-items: center; gap: 0.8rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.quote-card .q-avatar {
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  flex: none;
}
.q-avatar--red  { background: var(--red); }
.q-avatar--ink  { background: var(--ink); }
.q-avatar--gold { background: #c08e2d; }
.quote-card .q-name { font-weight: 600; font-size: var(--text-sm); }
.quote-card .q-role { font-size: var(--text-xs); color: var(--ink-faint); }
.quotes-note { margin-top: 1.75rem; font-size: var(--text-xs); color: var(--ink-faint); }

/* CTA-Finale */
.cta-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1d2a2c, #24312f 55%, #1a2426);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 2rem + 3vw, 5rem);
  color: #fff;
  text-align: center;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(40rem 22rem at 85% -25%, rgba(255, 207, 95, 0.28), transparent 60%),
              radial-gradient(30rem 18rem at 8% 125%, rgba(255, 207, 95, 0.16), transparent 60%);
  pointer-events: none;
}
.cta-panel > * { position: relative; }
/* Konturlinien wie im Hero - schließen den Bogen zum Seitenanfang */
.cta-panel .cta-lines {
  position: absolute;
  inset: 0;
  color: var(--gold);
  opacity: 0.1;
  pointer-events: none;
}
.cta-lines svg { width: 100%; height: 100%; }
.cta-panel .eyebrow { color: var(--gold); }
.cta-panel h2 { color: #fff; max-width: 26ch; margin-inline: auto; }
.cta-panel .cta-lede { color: var(--on-dark-soft); max-width: 36rem; margin: 0 auto 2rem; font-size: var(--text-lg); }
/* Formular als weiße Capsule: Input + Gold-Button in einer Pill */
.cta-panel .waitlist-form {
  margin-inline: auto;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem;
  gap: 0.35rem;
  box-shadow: var(--shadow-lg);
}
.cta-panel .waitlist-form:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 207, 95, 0.45), var(--shadow-lg);
}
.cta-panel .waitlist-form input { border-color: transparent; }
.cta-panel .waitlist-form input:focus { border-color: transparent; box-shadow: none; }
.cta-panel .waitlist-form .btn { border-radius: 999px; }
.cta-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.4rem;
  margin-top: 1.5rem;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--on-dark-faint);
}
.cta-proof li { display: inline-flex; align-items: center; gap: 0.4rem; }
.cta-proof svg { width: 0.9rem; height: 0.9rem; color: var(--gold); flex: none; }
.cta-panel .form-note { color: var(--on-dark-faint); font-size: var(--text-xs); margin-top: 0.9rem; }
.cta-panel .form-note a { color: inherit; }
.cta-panel .form-note a:hover { color: #fff; }
.cta-panel .btn-primary { background: var(--gold); color: #1d2a2c; }
.cta-panel .btn-primary:hover { background: var(--gold-warm); color: #1d2a2c; }

/* Footer */
.site-footer {
  background: var(--pine);
  color: var(--on-dark-soft);
  padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) 2rem;
  font-size: var(--text-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.site-footer .brand { color: #fff; margin-bottom: 0.9rem; }
.footer-claim { max-width: 20rem; }
.footer-roadmap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--on-dark-faint);
}
.footer-roadmap .is-now {
  color: #1d2a2c;
  background: var(--gold);
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
}
.footer-roadmap .sep { color: var(--on-dark-faint); }
.site-footer h2 {
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
  margin-bottom: 1rem;
}
.site-footer ul { display: grid; gap: 0.6rem; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.75rem;
  font-size: var(--text-xs);
  color: var(--on-dark-faint);
}
/* Schlanker Footer der Rechtsseiten (ohne Footer-Grid darüber) */
.footer-meta--plain { border-top: 0; padding-top: 0; }
.footer-defyne { display: inline-flex; align-items: center; opacity: 0.75; }
.footer-defyne:hover { opacity: 1; }
.footer-defyne img { display: block; height: 0.85rem; width: auto; }

/* Rechtsseiten */
.legal-main { padding-block: clamp(3rem, 2.5rem + 3vw, 5.5rem); }
.legal-main .container { max-width: 46rem; }
.legal-main h1 { margin-bottom: 0.5rem; }
.legal-main .legal-updated { color: var(--ink-faint); font-size: var(--text-sm); margin-bottom: 2.5rem; }
.legal-main h2 { font-size: var(--text-xl); margin-top: 2.75rem; }
.legal-main h3 { margin-top: 1.75rem; }
.legal-main p, .legal-main li { color: var(--ink-soft); }
.legal-main ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: 0.4rem; }
.legal-main address { font-style: normal; color: var(--ink-soft); }
.legal-main .legal-divider { border: 0; border-top: 1px solid var(--ink-faint); opacity: 0.35; margin-block: 2.75rem; }

/* Impressum - breites, redaktionelles Layout (Überschriften links, Inhalt rechts) */
.legal-main--wide .container { max-width: var(--container); }

.legal-main .legal-project {
  background: var(--sand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 1.25rem + 2.5vw, 3.5rem);
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem);
  display: grid;
  gap: 1.5rem clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.legal-main .legal-project h2 { margin: 0; font-size: var(--text-2xl); }
.legal-main .legal-project .eyebrow { margin-bottom: 0.75rem; }
.legal-main .legal-project-facts { display: grid; gap: 0.75rem; align-content: center; }
.legal-main .legal-project-facts p { margin: 0; }
@media (min-width: 56rem) {
  .legal-main .legal-project { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .legal-main .legal-project-facts {
    border-left: 1px solid var(--line);
    padding-left: clamp(1.5rem, 3vw, 3rem);
  }
}

.legal-main .legal-section { border-top: 1px solid var(--line); padding-block: 1.6rem; }
.legal-main .legal-section h2 { margin: 0 0 0.75rem; font-size: var(--text-lg); }
.legal-main .legal-section-body { max-width: 52rem; }
.legal-main .legal-section-body p,
.legal-main .legal-section-body li { font-size: var(--text-sm); }
@media (min-width: 56rem) {
  .legal-main .legal-section {
    display: grid;
    grid-template-columns: minmax(15rem, 20rem) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 6vw, 6rem);
  }
  .legal-main .legal-section h2 { margin-bottom: 0; }
}
.legal-main .legal-closing {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  font-size: var(--text-sm);
}
.legal-main .legal-section-body a { overflow-wrap: anywhere; }
.legal-main .legal-intro {
  max-width: 52rem;
  font-size: var(--text-lg);
  color: var(--ink-soft);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}

/* Mobile - kompaktere Abstände, Banner einspaltig mit Trennlinie */
@media (max-width: 40rem) {
  .legal-main { padding-block: 2.25rem; }
  .legal-main .legal-updated { margin-bottom: 1.75rem; }
  .legal-main .legal-project {
    padding: 1.5rem 1.25rem;
    margin-bottom: 2rem;
    gap: 1.25rem;
  }
  .legal-main .legal-project h2 { font-size: var(--text-xl); }
  .legal-main .legal-project .eyebrow { margin-bottom: 0.5rem; }
  .legal-main .legal-project-facts {
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
  }
  .legal-main .legal-section { padding-block: 1.25rem; }
  .legal-main .legal-section h2 { margin-bottom: 0.5rem; }
  .legal-main .legal-closing { padding-top: 1.25rem; }
}

/* Fehlerseite (404) */
.error-main {
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.error-main .container { text-align: center; }
.error-main .eyebrow { justify-content: center; }
.error-main .error-text { max-width: 26rem; margin: 0 auto 2rem; }

/* 6. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 64rem) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  /* Bento nur auf Desktop - auf Tablet gleichwertige 2-Spalten */
  .features-grid .card--wide { grid-column: auto; display: block; }
  .features-grid .card--wide .icon-tile { margin-bottom: 1.15rem; }
  .quotes-grid { grid-template-columns: 1fr; max-width: 34rem; }

  /* Einblicke als wischbares Carousel - alle drei Ansichten bleiben erreichbar */
  .preview-grid {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.25rem;
    padding-block: 0.25rem 0.75rem;
    scrollbar-width: none;
  }
  .preview-grid::-webkit-scrollbar { display: none; }
  .preview-grid figure { flex: 0 0 auto; scroll-snap-align: center; }
  .preview-grid figure:nth-child(2) { margin-top: 0; }
}

@media (max-width: 52rem) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .hero-visual .phone { transform: none; }
  .stat-band { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    background: rgba(248, 247, 243, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(15, 39, 43, 0.08);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.6rem);
    pointer-events: none;
    /* visibility springt erst nach dem Ausblenden auf hidden */
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .site-nav a {
    padding: 0.75rem 1rem;
    opacity: 0;
    transform: translateY(-0.4rem);
    transition: opacity 0.18s ease, transform 0.18s ease,
      background-color 0.15s ease, color 0.15s ease;
  }
  .site-nav.is-open a {
    opacity: 1;
    transform: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      background-color 0.15s ease, color 0.15s ease;
  }
  .site-nav.is-open a:nth-child(1) { transition-delay: 0.03s; }
  .site-nav.is-open a:nth-child(2) { transition-delay: 0.06s; }
  .site-nav.is-open a:nth-child(3) { transition-delay: 0.09s; }
  .site-nav.is-open a:nth-child(4) { transition-delay: 0.12s; }
  .site-nav.is-open a:nth-child(5) { transition-delay: 0.15s; }
  .site-nav.is-open a:nth-child(6) { transition-delay: 0.18s; }
  .header-cta { margin: 0.5rem 0 0; text-align: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 40rem) {
  /* Schmale Geräte: Headline so skalieren, dass "In deiner Stadt" samt Schild
     immer in eine Zeile passt (breitester Rotator-Eintrag) */
  .hero-copy h1 { font-size: clamp(1.8rem, 10.5vw, 2.4rem); }
  .features-grid { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }

  /* CTA: Capsule löst sich mobil auf - Input & Button gestapelt */
  .cta-panel .waitlist-form {
    background: transparent;
    border-radius: 0;
    padding: 0;
    gap: 0.6rem;
    box-shadow: none;
  }
  .cta-panel .waitlist-form:focus-within { box-shadow: none; }
  .cta-panel .waitlist-form input { background: #fff; text-align: center; padding-block: 0.95rem; }
  .cta-panel .waitlist-form input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 207, 95, 0.35);
  }
}

/* 7. Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

/* 8. Cookie-Consent
   (portiert aus ui-foundry „cookie-consent", Variante floating-card)
   -------------------------------------------------------------------------- */
.cookie-consent {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  z-index: 110;
  width: calc(100vw - 2rem);
  max-width: 24rem;
  padding: 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 1rem);
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-consent.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 40rem) {
  .cookie-consent { bottom: 1.5rem; }
}

.cookie-consent-head { display: flex; align-items: flex-start; gap: 0.75rem; }

/* Der eine Markenmoment: Gold-Chip mit Cookie-Glyphe */
.cookie-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold), var(--gold-warm));
  color: var(--pine);
}
.cookie-chip svg { width: 1.15rem; height: 1.15rem; }

.cookie-consent-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cookie-consent-text {
  margin: 0.25rem 0 0;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--ink-soft);
}

.cookie-consent-options {
  display: grid;
  gap: 1rem;
  padding-top: 1rem;
}
.cookie-consent-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.cookie-consent-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 600;
}
.cookie-consent-tag {
  padding: 0.05rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.cookie-consent-desc {
  margin: 0.2rem 0 0;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--ink-faint);
}

/* Switch - echtes Formularelement, als Kippschalter gezeichnet */
.cookie-switch {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 2.4rem;
  height: 1.4rem;
  margin: 0.1rem 0 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sand);
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.cookie-switch::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 39, 43, 0.25);
  transition: left 0.2s ease;
}
.cookie-switch:checked { background: var(--ink); border-color: var(--ink); }
.cookie-switch:checked::after { left: calc(100% - 1.05rem - 2px); }
.cookie-switch:disabled { opacity: 0.55; cursor: default; }

.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.cookie-consent-actions .btn { padding: 0.55rem 1rem; }
.cookie-consent-customize {
  padding: 0.55rem 0.75rem;
  border: 0;
  background: none;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-faint);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.cookie-consent-customize:hover { color: var(--ink); background: var(--sand-soft); }

/* „Cookie-Einstellungen" - Button im Link-Gewand (Footer & Datenschutzseite) */
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  cursor: pointer;
}
main .link-button { color: var(--gold-deep); }
main .link-button:hover { color: var(--ink); }
.site-footer .link-button { color: var(--on-dark-soft); text-decoration: none; }
.site-footer .link-button:hover { color: #fff; text-decoration: underline; }
/* display:grid/inline-flex der Klassen darf das hidden-Attribut nicht aushebeln */
.cookie-consent [hidden] { display: none !important; }

/* Echte MVP-Screenshots (Bitburg Connect) in den Telefonrahmen */
.phone-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2.1rem;
}

/* 9. Blog
   -------------------------------------------------------------------------- */

/* Übersicht - Hero-Band mit Konturlinien wie im Seiten-Hero */
.blog-main { padding-block: 0 var(--space-section); }
.blog-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.25rem, 2.5rem + 3.5vw, 5.5rem) clamp(2.5rem, 2rem + 2vw, 4rem);
  margin-bottom: clamp(2.25rem, 1.75rem + 2vw, 3.5rem);
}
.blog-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(248, 247, 243, 0), var(--paper));
  pointer-events: none;
}
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero h1 { margin-bottom: 1.25rem; }
.blog-lede {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0;
}

/* Beitragsliste - Featured-Karte oben, darunter zwei gleichwertige */
.post-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  padding: 2rem;
}
.post-card h2 {
  font-size: var(--text-xl);
  line-height: 1.22;
  margin: 0;
}
/* Karte komplett klickbar - Link überspannt die Karte */
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-card:hover h2 a { color: var(--gold-deep); }
.post-card p { color: var(--ink-soft); font-size: var(--text-sm); flex: 1; margin: 0; }
.post-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-deep);
}
.post-more .arrow { transition: transform 0.2s ease; }
.post-card:hover .post-more .arrow { transform: translateX(3px); }

/* Featured: breite Karte mit Ergebnis-Stat als zweiter Spalte */
.post-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem clamp(2rem, 4vw, 4rem);
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.post-card-copy { display: flex; flex-direction: column; gap: 0.7rem; }
.post-card--featured h2 { font-size: var(--text-2xl); line-height: 1.12; letter-spacing: -0.015em; }
.post-card--featured p { flex: none; }
.post-stat {
  align-self: center;
  border-left: 1px solid var(--line);
  padding-left: clamp(1.75rem, 3vw, 3rem);
  display: grid;
  gap: 0.75rem;
}
/* Doppelte Klasse schlägt „.post-card p" (0,1,1) in der Spezifität */
.post-stat .post-stat-num {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.post-stat .post-stat-label {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-faint);
  max-width: 24ch;
}

/* Meta-Zeile: Tag-Pill, Datum, Lesezeit */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.post-meta .post-tag {
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--gold-deep);
  letter-spacing: 0.04em;
}
.post-meta a { color: inherit; text-decoration: none; }
.post-meta a:hover { color: var(--ink); text-decoration: underline; }
/* „Weiterlesen"-Links im Abbinder: normale Groß-/Kleinschreibung */
.post-next .post-meta { text-transform: none; letter-spacing: 0; font-size: var(--text-sm); }
.post-next .post-meta a { color: var(--gold-deep); }
.post-next .post-meta a:hover { color: var(--ink); }

/* Artikelseite - Kopf als Konturlinien-Band im vollen Seitenraster;
   Fließtext läuft in einer 54rem-Spalte, Einbauten brechen breiter aus */
.post-main { padding-block: 0 clamp(3rem, 2.5rem + 3vw, 5.5rem); }
.post-main .container { max-width: var(--container); }
.post-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2.5rem + 3vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}
.post-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(248, 247, 243, 0), var(--paper));
  pointer-events: none;
}
.post-hero .container { position: relative; z-index: 1; }
.post-header { margin: 0; }
.post-header h1 {
  font-size: clamp(2rem, 1.35rem + 2.9vw, 3.6rem);
  max-width: 24ch;
  margin-bottom: 1.25rem;
}
.post-header .post-lede {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 52rem;
  margin: 0;
}
.post-header .post-meta { margin-bottom: 1.4rem; }

/* Textraster: schmale Lesespalte mittig, Einbauten (Zitat, Fakten,
   Presse, CTA) laufen auf Breakout-Breite */
.post-body {
  display: grid;
  grid-template-columns:
    [breakout-start] minmax(0, 1fr)
    [text-start] minmax(0, 54rem)
    [text-end] minmax(0, 1fr)
    [breakout-end];
}
.post-body > * { grid-column: text; min-width: 0; }
.post-body > blockquote,
.post-body > .post-fact,
.post-body > .press-card {
  grid-column: breakout;
  width: min(100%, 66rem);
  justify-self: center;
}

.post-body h2 {
  font-size: var(--text-xl);
  margin-top: 2.75rem;
}
.post-body h3 { margin-top: 2rem; }
.post-body p, .post-body li { color: var(--ink-soft); }
.post-body ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.post-body strong { color: var(--ink); }
/* Zitat - Display-Satz mit „-Glyphe wie in den Testimonial-Karten */
.post-body blockquote {
  margin: 2.25rem 0;
  padding: 0;
  border: 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.post-body blockquote::before {
  content: "„";
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 0.6;
  color: var(--sun-deep);
  margin-bottom: 0.6rem;
}
.post-body blockquote p { color: var(--ink); margin: 0; }
.post-body blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-faint);
}
.post-body .post-fact {
  margin: 1.9rem 0;
  padding: 1.15rem 1.4rem;
  background: var(--sand-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}
.post-body .post-fact strong { color: var(--ink); }

/* Presse-Kachel - klickbare Eigengestaltung statt fremdem Artikelbild
   (Foto/Screenshot des Verlags wäre urheberrechtlich nicht zulässig) */
.press-card {
  display: block;
  margin: 1.9rem 0;
  padding: 1.4rem 1.6rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-red);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.press-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #d9cfb6;
  border-left-color: var(--brand-red);
  color: var(--ink);
}
.press-source {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.press-title {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
  text-wrap: balance;
}
.press-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-deep);
}
.press-cta .arrow { transition: transform 0.2s ease; }
.press-card:hover .press-cta .arrow { transform: translateX(3px); }
@media (max-width: 40rem) {
  .press-card { padding: 1.2rem 1.25rem 1.3rem; }
}

/* Abbinder: Quellen, Weiterlesen, CTA */
.post-footer {
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.post-sources { font-size: var(--text-xs); color: var(--ink-faint); }
.post-sources a { color: inherit; }
.post-sources a:hover { color: var(--ink); }
.post-next {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.post-next h2 {
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}
/* CTA - kleines dunkles Panel, Echo des Seitenfinales */
.post-cta {
  position: relative;
  overflow: hidden;
  margin-top: 2.25rem;
  padding: clamp(1.75rem, 1.5rem + 1.5vw, 2.5rem);
  background: linear-gradient(135deg, #1d2a2c, #24312f 55%, #1a2426);
  border-radius: var(--radius-lg);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}
.post-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(28rem 16rem at 90% -30%, rgba(255, 207, 95, 0.25), transparent 60%);
  pointer-events: none;
}
.post-cta > * { position: relative; }
.post-cta p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  max-width: 22rem;
  text-wrap: balance;
}
.post-cta .btn-primary { background: var(--gold); color: #1d2a2c; }
.post-cta .btn-primary:hover { background: var(--gold-warm); color: #1d2a2c; }
.post-cta :focus-visible { outline-color: var(--gold); }

@media (max-width: 64rem) {
  .post-list { grid-template-columns: 1fr; max-width: 34rem; }
  .post-card--featured { display: flex; flex-direction: column; align-items: stretch; }
  .post-card--featured h2 { font-size: var(--text-xl); line-height: 1.22; }
  .post-stat {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1.25rem 0 0;
    gap: 0.4rem;
  }
  .post-stat-num { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.4rem); }
}
@media (max-width: 40rem) {
  .post-card { padding: 1.5rem 1.25rem; }
  .post-body blockquote { font-size: var(--text-lg); }
  .post-cta { flex-direction: column; align-items: stretch; }
  .post-cta .btn { width: 100%; }
}
/* Siebter Nav-Eintrag (Blog) - Stagger-Delay im Mobilmenü */
@media (max-width: 52rem) {
  .site-nav.is-open a:nth-child(7) { transition-delay: 0.21s; }
}
