/* ==========================================================================
   Girls'Day & Boys'Day – Relaunch-Demo
   Design-System / Stylesheet (Vanilla CSS, kein Build-Tool)
   Schwerpunkt FdG Labs UG (haftungsbeschränkt) – Angebotsdemonstration
   Barrierefreiheit: BITV 2.0 / EN 301 549 / WCAG 2.1 AA
   ========================================================================== */

/* ---------- 1. Design Tokens ---------------------------------------------- */
:root {
  /* Neutrale Farben (Ink-Skala) */
  --ink-900: #0f172a;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;

  /* Flächen */
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-softer: #eef2f8;
  --surface: #ffffff;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  /* Marke – Standard: Girls'Day (Petrol/Teal, klischeefrei) */
  --brand-800: #0b4f4a;
  --brand-700: #0f766e;
  --brand-600: #0d9488;
  --brand-500: #14b8a6;
  --brand-100: #d1fae5;
  --brand-50:  #ecfdf5;
  --brand-contrast: #ffffff;      /* Text auf --brand-700 (AA geprüft) */
  --brand-tintink: #0b4f4a;       /* dunkler Marken-Text auf Weiß */

  /* Zweite Marke wird via [data-brand] gesetzt (siehe unten) */

  /* Akzent (Energie/Highlight) – dunkel genug für Text auf Weiß */
  --accent-700: #b4460b;
  --accent-600: #ea580c;
  --accent-100: #ffedd5;
  --accent-50:  #fff7ed;

  /* Status */
  --ok-700: #15803d;
  --ok-50:  #f0fdf4;
  --warn-700: #a15c07;
  --warn-50: #fffbeb;
  --danger-700: #b91c1c;

  /* Fokus-Ring (starker Kontrast, markenunabhängig) */
  --focus: #1d4ed8;
  --focus-contrast: #ffffff;

  /* Typografie */
  --font-sans: "Segoe UI", system-ui, -apple-system, "Roboto",
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --fs-base: 1rem;          /* 16px – über html font-size skalierbar */
  --lh-base: 1.6;
  --lh-tight: 1.2;

  /* Radien */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Schatten (dezent) */
  --sh-1: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --sh-2: 0 4px 12px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .06);
  --sh-3: 0 12px 32px rgba(15, 23, 42, .14);

  /* Layout */
  --wrap: 1180px;
  --wrap-narrow: 820px;
  --gap: 1.25rem;
  --tap: 44px;              /* Mindest-Klickfläche (WCAG 2.5.5) */

  --header-h: 66px;
  --transition: 180ms ease;
}

/* Zweite Marke: Boys'Day (Violett/Aubergine, klischeefrei – nicht Blau) */
:root[data-brand="boys"] {
  --brand-800: #4c1d95;
  --brand-700: #6d28d9;
  --brand-600: #7c3aed;
  --brand-500: #8b5cf6;
  --brand-100: #ede9fe;
  --brand-50:  #f5f3ff;
  --brand-tintink: #4c1d95;
}

/* Beide Aktionstage: gemeinsame Dachmarke (Indigo, neutral verbindend) */
:root[data-brand="both"] {
  --brand-800: #312e81;
  --brand-700: #4338ca;
  --brand-600: #4f46e5;
  --brand-500: #6366f1;
  --brand-100: #e0e7ff;
  --brand-50:  #eef2ff;
  --brand-tintink: #312e81;
}

/* Optionaler, technisch im Code umgesetzter Hochkontrast-Modus
   (unabhängig vom optionalen Eye-Able-Overlay) */
:root.hc {
  --ink-900: #000000;
  --ink-800: #000000;
  --ink-700: #111111;
  --ink-600: #1a1a1a;
  --ink-500: #262626;
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --bg-softer: #f2f2f2;
  --line: #6b7280;
  --line-strong: #374151;
  --brand-700: #0b3d38;
  --brand-800: #073430;
  --focus: #0000ee;
}
:root.hc[data-brand="boys"] { --brand-700: #3b0f73; --brand-800: #2c0a58; }
:root.hc[data-brand="both"] { --brand-700: #1f1b70; --brand-800: #171456; }

/* ---------- 2. Reset & Basis ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 100%;           /* Textgröße via .fs-* Klassen skalierbar */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.fs-lg  { font-size: 112.5%; }   /* A+  = 18px */
html.fs-xl  { font-size: 125%; }     /* A++ = 20px */

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: var(--lh-tight);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.9rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin: .3em 0; }

a { color: var(--brand-700); text-underline-offset: .18em; }
a:hover { color: var(--brand-800); }

strong { color: var(--ink-900); }
small { font-size: .84rem; }

/* ---------- 3. Fokus-Sichtbarkeit ----------------------------------------- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
/* Dickerer Ring auf dunklen/farbigen Flächen */
.btn:focus-visible,
.chip:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(29, 78, 216, .28);
}

/* ---------- 4. Skip-Link --------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink-900);
  color: #fff;
  padding: .7rem 1.1rem;
  border-radius: var(--r-md);
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 5. Layout-Hilfen ---------------------------------------------- */
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) 0; }
.section-soft { background: var(--bg-soft); }
.section-softer { background: var(--bg-softer); }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.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;
}

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: .6rem;
}

/* ---------- 6. Demo-Band (Impersonation-Schutz, persistent) --------------- */
.demo-bar {
  background: repeating-linear-gradient(
    45deg, #1e293b, #1e293b 14px, #111827 14px, #111827 28px);
  color: #fff;
  font-size: .82rem;
  text-align: center;
  padding: .4rem 1rem;
  line-height: 1.35;
}
.demo-bar strong { color: #fde68a; }
.demo-bar a { color: #fff; }

/* ---------- 7. Header & Navigation ---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: .4rem;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 800;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.brand-logo:hover { color: var(--ink-900); }
.brand-logo .logo-mark { width: 40px; height: 40px; flex: none; }
.brand-logo .logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-logo .logo-text b { font-size: 1.02rem; }
.brand-logo .logo-text span { font-size: .72rem; font-weight: 600; color: var(--ink-500); }

/* Primäre Navigation – auf Desktop SICHTBAR (Befund: Nav hinter Burger) */
.primary-nav { margin-left: auto; }
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .15rem;
  margin: 0; padding: 0;
}
.nav-list a,
.nav-disclosure > button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: var(--tap);
  padding: .5rem .7rem;
  border-radius: var(--r-md);
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-list a:hover,
.nav-disclosure > button:hover { background: var(--bg-softer); color: var(--ink-900); }
.nav-list a[aria-current="page"] {
  color: var(--brand-800);
  background: var(--brand-50);
}
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
}

/* CTA im Header: Radar / Platz finden */
.nav-cta {
  background: var(--brand-700) !important;
  color: var(--brand-contrast) !important;
  box-shadow: var(--sh-1);
}
.nav-cta:hover { background: var(--brand-800) !important; color: #fff !important; }

/* Disclosure „Für Sie“ (Zielgruppen) */
.nav-disclosure { position: relative; }
.nav-disclosure > button[aria-expanded="true"] { background: var(--bg-softer); color: var(--ink-900); }
.disclosure-caret { transition: transform var(--transition); }
.nav-disclosure > button[aria-expanded="true"] .disclosure-caret { transform: rotate(180deg); }
.disclosure-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  padding: .4rem;
  display: none;
}
.disclosure-panel.open { display: block; }
.disclosure-panel ul { list-style: none; margin: 0; padding: 0; }
.disclosure-panel a {
  display: block;
  padding: .6rem .7rem;
  border-radius: var(--r-sm);
  min-height: var(--tap);
}
.disclosure-panel a small { display: block; color: var(--ink-500); font-weight: 500; }

/* Header-Werkzeuge: Marke wechseln, Konzept-Hinweise, A11y */
.header-tools { display: flex; align-items: center; gap: .4rem; }
.tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 .6rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink-700);
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
}
.tool-btn:hover { background: var(--bg-softer); color: var(--ink-900); }
.tool-btn[aria-pressed="true"] {
  background: var(--brand-700);
  color: var(--brand-contrast);
  border-color: var(--brand-700);
}

/* Burger nur mobil */
.nav-toggle { display: none; }

@media (max-width: 1040px) {
  .primary-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 360px);
    background: var(--surface);
    border-left: 1px solid var(--line);
    box-shadow: var(--sh-3);
    padding: 5rem 1rem 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    margin-left: 0;
  }
  .primary-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav-list a, .nav-disclosure > button { width: 100%; justify-content: flex-start; }
  .nav-disclosure { position: static; }
  .disclosure-panel {
    position: static; box-shadow: none; border: none;
    border-left: 3px solid var(--brand-100);
    border-radius: 0; margin-left: .6rem;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    gap: .4rem;
    min-width: var(--tap); min-height: var(--tap);
    margin-left: auto;
    padding: 0 .7rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-md);
    background: var(--surface);
    font: inherit; font-weight: 700; cursor: pointer;
    color: var(--ink-800);
  }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(15, 23, 42, .45);
    z-index: 99; display: none;
  }
  .nav-backdrop.open { display: block; }
  .header-tools .tool-label { display: none; }
}

/* ---------- 8. Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: var(--tap);
  padding: .7rem 1.25rem;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition);
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand-700); color: var(--brand-contrast); }
.btn-primary:hover { background: var(--brand-800); color: #fff; }
.btn-secondary {
  background: var(--surface);
  color: var(--brand-800);
  border-color: var(--brand-600);
}
.btn-secondary:hover { background: var(--brand-50); color: var(--brand-800); }
.btn-ghost { background: transparent; color: var(--ink-800); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--bg-softer); color: var(--ink-900); }
.btn-accent { background: var(--accent-700); color: #fff; }
.btn-accent:hover { background: #93380a; color: #fff; }
.btn-lg { font-size: 1.08rem; padding: .9rem 1.6rem; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: .4rem .8rem; font-size: .9rem; }

/* ---------- 9. Chips / Badges / Tags -------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  font-size: .84rem;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-700);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .2rem .6rem;
  border-radius: var(--r-pill);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.badge-girls { background: #ccfbf1; color: #0b4f4a; }
.badge-boys  { background: #ede9fe; color: #4c1d95; }
.badge-both  { background: #e0e7ff; color: #312e81; }
.badge-info  { background: var(--bg-softer); color: var(--ink-700); }
.badge-open  { background: var(--ok-50); color: var(--ok-700); border: 1px solid #bbf7d0; }
.badge-soon  { background: var(--warn-50); color: var(--warn-700); border: 1px solid #fde68a; }
.badge-prio-hoch  { background: #fee2e2; color: #991b1b; }
.badge-prio-mittel{ background: #fef3c7; color: #92400e; }

.pill-demo {
  background: #fde68a;
  color: #7c2d12;
  font-weight: 800;
  padding: .15rem .55rem;
  border-radius: var(--r-sm);
  font-size: .72rem;
  letter-spacing: .04em;
}

/* ---------- 10. Cards ------------------------------------------------------ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--sh-1);
}
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}
.card-link:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--brand-500); color: inherit; }
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--ink-700); margin-bottom: 0; }
.card .card-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  background: var(--brand-50);
  color: var(--brand-700);
  margin-bottom: .9rem;
}
.card .card-icon svg { width: 28px; height: 28px; }

/* Aufgaben-Karten (Task-Orientierung) */
.task-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.6rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--sh-1);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.task-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--brand-500); color: inherit; }
.task-card .task-num {
  font-size: .78rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-700);
}
.task-card h3 { font-size: 1.3rem; margin: 0; }
.task-card .arrow { margin-top: auto; font-weight: 700; color: var(--brand-700); }

/* ---------- 11. Hero ------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, var(--brand-50), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  overflow: hidden;
  padding-top: clamp(2rem, 1rem + 3vw, 3.2rem);
  padding-bottom: clamp(2rem, 1rem + 3vw, 3.2rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: .5rem; }
.hero .lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--ink-700); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.3rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 1.6rem; }
.hero-fact b { display: block; font-size: 1.5rem; color: var(--brand-800); line-height: 1; }
.hero-fact span { font-size: .85rem; color: var(--ink-600); }

/* Illustration */
.hero-illu {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
  border: 1px solid var(--line);
  background: var(--surface);
}

/* Eingebettete Radar-Sofortsuche im ersten Viewport (Befund hoch) */
.hero-search {
  margin-top: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
  padding: 1.1rem;
}
.hero-search h2 { font-size: 1.05rem; margin-bottom: .2rem; }
.hero-search .search-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: .6rem;
  align-items: end;
}
@media (max-width: 560px) { .hero-search .search-row { grid-template-columns: 1fr; } }

/* ---------- 12. Formular-Elemente ----------------------------------------- */
.field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .1rem; }
.field > label { font-weight: 600; font-size: .92rem; color: var(--ink-800); }
.field .hint { font-size: .82rem; color: var(--ink-600); }
.input, .select, .textarea {
  width: 100%;
  min-height: var(--tap);
  padding: .6rem .75rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink-900);
  font: inherit;
  font-size: 1rem;
}
.textarea { min-height: 120px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-400); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  border-color: var(--focus);
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}
.select { appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  padding-right: 2.2rem;
}
fieldset { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.1rem; margin: 0 0 1rem; }
legend { font-weight: 700; padding: 0 .4rem; color: var(--ink-900); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.check {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .55rem .7rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  cursor: pointer;
  min-height: var(--tap);
}
.check:hover { background: var(--bg-soft); }
.check input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--brand-700); }
.check:has(input:checked) { border-color: var(--brand-600); background: var(--brand-50); }
.check:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

.required-star { color: var(--danger-700); }

/* ---------- 13. Ablauf (3 Schritte) --------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.3rem 1.3rem;
  box-shadow: var(--sh-1);
}
.step .step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-700);
  color: var(--brand-contrast);
  font-weight: 800; font-size: 1.15rem;
  margin-bottom: .8rem;
}
.step h3 { margin-bottom: .3rem; }
.step p { margin-bottom: 0; color: var(--ink-700); }

/* ---------- 14. Aktionsphasen-Zeitstrahl ---------------------------------- */
.phase-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem;
  padding: 1rem 1.2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
}
.phase-banner .phase-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ok-700); flex: none;
  box-shadow: 0 0 0 4px rgba(21,128,61,.18);
}
.phase-banner.soon .phase-dot { background: var(--warn-700); box-shadow: 0 0 0 4px rgba(161,92,7,.18); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.timeline-track {
  display: grid; grid-template-columns: repeat(12, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.timeline-track .tl-cell {
  padding: .5rem .3rem; text-align: center; font-size: .72rem; font-weight: 600;
  border-right: 1px solid var(--line); color: var(--ink-600); background: var(--surface);
}
.timeline-track .tl-cell:last-child { border-right: none; }
.timeline-track .tl-cell.is-action { background: var(--brand-50); color: var(--brand-800); }
.timeline-track .tl-cell.is-now { outline: 2px solid var(--accent-700); outline-offset: -2px; }

/* ---------- 15. FAQ (Accordion) ------------------------------------------- */
.faq-group { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item > button {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  text-align: left;
  padding: 1rem 1.2rem;
  min-height: var(--tap);
  background: none; border: none; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1.02rem; color: var(--ink-900);
}
.faq-item > button:hover { background: var(--bg-soft); }
.faq-item .faq-icon { flex: none; transition: transform var(--transition); color: var(--brand-700); }
.faq-item > button[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 1.2rem 1.2rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer[hidden] { display: none; }

/* ---------- 16. Tabellen --------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; }
table.data caption { text-align: left; padding: .8rem 1rem; font-weight: 700; color: var(--ink-900); }
table.data th, table.data td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--bg-softer); font-size: .88rem; color: var(--ink-800); position: sticky; top: 0; }
table.data tbody tr:hover { background: var(--bg-soft); }

/* ---------- 17. Callouts / Notes ------------------------------------------ */
.callout {
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand-600);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  background: var(--bg-soft);
}
.callout h3 { margin-bottom: .3rem; }
.callout.info    { border-left-color: var(--brand-600); }
.callout.warn    { border-left-color: var(--warn-700); background: var(--warn-50); }
.callout.success { border-left-color: var(--ok-700); background: var(--ok-50); }

/* UX-Konzept-Hinweise (nur im Konzeptmodus sichtbar) */
.ux-note {
  display: none;
  margin: 1rem 0;
  border: 1px dashed #6d28d9;
  border-left: 5px solid #6d28d9;
  background: #faf5ff;
  border-radius: var(--r-md);
  padding: .9rem 1.1rem;
  font-size: .92rem;
}
body.show-ux-notes .ux-note { display: block; }
.ux-note .ux-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .74rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: #6d28d9; margin-bottom: .3rem;
}
.ux-note p { margin: 0; color: var(--ink-800); }
.ux-note strong { color: #5b21b6; }

/* Kleiner, dauerhaft sichtbarer Konzept-Hinweis-Umschalter im Body */
.concept-tip {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  padding: .7rem 1rem; border-radius: var(--r-md);
  background: #faf5ff; border: 1px dashed #c4b5fd; color: #5b21b6;
  font-size: .9rem; font-weight: 600;
}

/* ---------- 18. Content-Marken-Steuerung (girls/boys/both) ---------------- */
/* Standard: alles sichtbar (= „Beide“). JS blendet gemäß Auswahl aus. */
[data-brand-content] { }
.brand-hidden { display: none !important; }

.brand-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 3px;
  background: var(--surface);
  gap: 2px;
}
.brand-switch button {
  min-height: 38px;
  padding: 0 .85rem;
  border: none; background: none; cursor: pointer;
  border-radius: var(--r-pill);
  font: inherit; font-weight: 700; font-size: .85rem; color: var(--ink-600);
}
.brand-switch button[aria-pressed="true"] { background: var(--brand-700); color: var(--brand-contrast); }
.brand-switch button:hover:not([aria-pressed="true"]) { background: var(--bg-softer); color: var(--ink-900); }

/* ---------- 19. Radar (Platzsuche) ---------------------------------------- */
.radar-layout { display: grid; grid-template-columns: 320px 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 940px) { .radar-layout { grid-template-columns: 1fr; } }

.filter-panel {
  position: sticky; top: calc(var(--header-h) + 12px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.2rem;
  box-shadow: var(--sh-1);
}
@media (max-width: 940px) { .filter-panel { position: static; } }
.filter-panel h2 { font-size: 1.1rem; }
.filter-panel .field { margin-bottom: .9rem; }

.radar-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem;
  justify-content: space-between; margin-bottom: 1rem;
}
.result-count { font-weight: 700; color: var(--ink-900); }
.view-toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; }
.view-toggle button {
  min-height: var(--tap); padding: 0 .9rem; border: none; background: var(--surface);
  cursor: pointer; font: inherit; font-weight: 600; color: var(--ink-700);
  display: inline-flex; align-items: center; gap: .4rem;
}
.view-toggle button + button { border-left: 1px solid var(--line-strong); }
.view-toggle button[aria-pressed="true"] { background: var(--brand-700); color: var(--brand-contrast); }

.offer-list { display: grid; gap: 1rem; }
.offer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-1);
}
@media (max-width: 620px) { .offer { grid-template-columns: 1fr; } }
.offer .offer-field {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: grid; place-items: center; flex: none;
  background: var(--brand-50); color: var(--brand-700);
}
.offer .offer-field svg { width: 30px; height: 30px; }
.offer h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.offer .offer-org { color: var(--ink-600); font-size: .92rem; margin-bottom: .5rem; }
.offer .offer-meta { display: flex; flex-wrap: wrap; gap: .4rem .6rem; margin-bottom: .3rem; }
.offer .offer-actions { display: flex; flex-direction: column; gap: .5rem; align-items: stretch; min-width: 150px; }
@media (max-width: 620px) { .offer .offer-actions { min-width: 0; } }
.offer.is-active { border-color: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-100); }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--ink-600); }

/* Schematische Deutschland-Karte (offline, ohne Kartendienst) */
.map-wrap {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1rem;
  overflow: hidden;
}
.map-svg { width: 100%; height: auto; display: block; }
.map-svg .de-outline { fill: #eaf2f0; stroke: var(--line-strong); stroke-width: 1.2; }
:root[data-brand="boys"] .map-svg .de-outline { fill: #f0edfb; }
:root[data-brand="both"] .map-svg .de-outline { fill: #edeefb; }
.map-pin {
  cursor: pointer;
  transition: transform var(--transition);
  transform-box: fill-box;
  transform-origin: center;
}
.map-pin circle { fill: var(--brand-700); stroke: #fff; stroke-width: 2; }
.map-pin:hover { transform: scale(1.25); }
.map-pin:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.map-pin.is-active circle { fill: var(--accent-700); }
.map-legend { display: flex; flex-wrap: wrap; gap: .6rem 1rem; margin-top: .8rem; font-size: .85rem; color: var(--ink-600); }

/* ---------- 20. Modal (Anmeldefluss-Demo) --------------------------------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .55);
  display: none;
  align-items: center; justify-content: center;
  padding: 1rem; z-index: 300;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface);
  border-radius: var(--r-xl);
  max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--sh-3);
  padding: 1.6rem;
}
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.modal h2 { margin: 0; }
.modal-close {
  min-width: var(--tap); min-height: var(--tap);
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  background: var(--surface); cursor: pointer; font-size: 1.2rem; color: var(--ink-700);
}
.modal-close:hover { background: var(--bg-softer); }
.step-dots { display: flex; gap: .4rem; margin-bottom: 1rem; }
.step-dots .dot { flex: 1; height: 6px; border-radius: var(--r-pill); background: var(--line); }
.step-dots .dot.done { background: var(--brand-700); }

/* ---------- 21. Berufe-Karten (klischeefrei) ------------------------------ */
.beruf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.beruf {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); overflow: hidden; box-shadow: var(--sh-1);
  display: flex; flex-direction: column;
}
.beruf .beruf-top { padding: 1.1rem 1.1rem .3rem; display: flex; gap: .7rem; align-items: center; }
.beruf .beruf-ico { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); flex: none; }
.beruf .beruf-body { padding: .4rem 1.1rem 1.1rem; }
.beruf h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.beruf p { font-size: .92rem; color: var(--ink-700); margin-bottom: .6rem; }

/* Stat-Kacheln */
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.stat-tile { text-align: center; padding: 1.4rem 1rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.stat-tile b { display: block; font-size: 2rem; color: var(--brand-800); line-height: 1; margin-bottom: .3rem; }
.stat-tile span { font-size: .9rem; color: var(--ink-600); }

/* ---------- 22. Breadcrumb & Page-Header ---------------------------------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 1.6rem 0 2rem; }
.breadcrumb { font-size: .85rem; margin-bottom: .6rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; padding: 0; margin: 0; }
.breadcrumb li::after { content: "›"; margin-left: .4rem; color: var(--ink-400); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--ink-600); }
.breadcrumb [aria-current="page"] { color: var(--ink-800); font-weight: 600; }

/* ---------- 23. Footer ----------------------------------------------------- */
.site-footer { background: var(--ink-900); color: #cbd5e1; margin-top: 3rem; }
.site-footer a { color: #e2e8f0; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: .35rem 0; }
.footer-grid a { text-decoration: none; }
.footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text span { color: #94a3b8; }
.footer-disclaimer {
  border-top: 1px solid #1e293b;
  padding: 1.2rem 0 2rem;
  font-size: .82rem; color: #94a3b8;
}
.footer-disclaimer strong { color: #fde68a; }

/* ---------- 24. Sonstiges -------------------------------------------------- */
.hr { height: 1px; background: var(--line); border: 0; margin: 2rem 0; }
.lead { font-size: 1.15rem; color: var(--ink-700); }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.icon-inline { width: 1.1em; height: 1.1em; vertical-align: -.15em; }
.list-check { list-style: none; padding: 0; }
.list-check li { position: relative; padding-left: 1.9rem; margin: .5rem 0; }
.list-check li::before {
  content: ""; position: absolute; left: 0; top: .15rem;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.audio-player {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1rem 1.2rem; background: var(--surface);
}
.audio-player .audio-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-700); color: #fff; display: grid; place-items: center; flex: none; }

.social-embed {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface);
}
.social-embed .se-head { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); font-weight: 700; }
.social-embed .se-body { padding: 1rem; }
.social-embed .se-consent {
  background: var(--bg-softer); border: 1px dashed var(--line-strong);
  border-radius: var(--r-md); padding: 1rem; text-align: center; font-size: .9rem; color: var(--ink-700);
}

/* ---------- 25. Reduced Motion -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * , *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 26. Print ------------------------------------------------------ */
@media print {
  .site-header, .site-footer, .demo-bar, .nav-toggle, .header-tools, .filter-panel { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ---------- 27. Ansicht-/A11y-Panel (Textgröße, Kontrast) ----------------- */
.a11y-menu { position: relative; }
.a11y-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 250px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  padding: 1rem;
  z-index: 120;
}
@media (max-width: 480px) { .a11y-panel { right: -60px; } }
.a11y-panel h3 { font-size: .95rem; margin-bottom: .5rem; }
.a11y-panel .a11y-group + .a11y-group { margin-top: 1rem; }
.a11y-panel .btn-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.a11y-panel .btn-row .tool-btn { flex: 1; min-width: 60px; }
.a11y-panel .note { font-size: .78rem; color: var(--ink-600); margin: .6rem 0 0; }

/* Marken-Umschalter im mobilen Navigationspanel */
.mobile-only { display: none; }
@media (max-width: 1040px) {
  .header-tools .brand-switch { display: none; }
  .primary-nav .mobile-only { display: flex; margin-bottom: 1.2rem; width: 100%; }
  .primary-nav .mobile-only.brand-switch button { flex: 1; }
  .nav-tools-label { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--ink-500); margin: 0 0 .4rem; }
}

/* ---------- 28. Hero-Illustration (Inline-SVG, dekorativ) ----------------- */
.hero-illu-inner { display: block; width: 100%; height: auto; }
.hero-illu-caption { padding: .7rem 1rem; font-size: .8rem; color: var(--ink-600); border-top: 1px solid var(--line); background: var(--bg-soft); }

/* ---------- 29. Aufgaben-Splash (3 Kern-Aufgaben) ------------------------- */
.task-splash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 820px) { .task-splash { grid-template-columns: 1fr; } }
.task-splash .task-card .card-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: grid; place-items: center; background: var(--brand-50); color: var(--brand-700); margin-bottom: .3rem;
}

/* ---------- 30. Definitionsliste / Fakten -------------------------------- */
dl.facts { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; margin: 0; }
dl.facts dt { font-weight: 700; color: var(--ink-900); }
dl.facts dd { margin: 0; color: var(--ink-700); }

/* ---------- 31. Zwei-Spalten-Text ---------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3rem); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- 32. Prozessliste (nummeriert, groß) -------------------------- */
ol.big-steps { list-style: none; counter-reset: bs; padding: 0; margin: 0; display: grid; gap: 1rem; }
ol.big-steps > li { counter-increment: bs; position: relative; padding-left: 3.4rem; }
ol.big-steps > li::before {
  content: counter(bs); position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--brand-700); color: var(--brand-contrast);
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}
ol.big-steps h3 { margin-bottom: .2rem; }
ol.big-steps p { margin-bottom: 0; }

/* ---------- 33. Prüfschritt-Liste (Barrierefreiheit) --------------------- */
.audit-item { display: grid; grid-template-columns: auto 1fr; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.audit-item:last-child { border-bottom: 0; }
.audit-item .audit-state {
  font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  padding: .25rem .55rem; border-radius: var(--r-pill); height: fit-content; white-space: nowrap;
}
.audit-item .audit-state.ok { background: var(--ok-50); color: var(--ok-700); border: 1px solid #bbf7d0; }

/* ---------- 34. Radar-Anmelde-Formular (Modal-Inhalt) -------------------- */
.confirm-box { text-align: center; padding: 1rem 0; }
.confirm-box .confirm-ico {
  width: 64px; height: 64px; border-radius: 50%; background: var(--ok-50); color: var(--ok-700);
  display: grid; place-items: center; margin: 0 auto 1rem; border: 2px solid #bbf7d0;
}
.confirm-box .confirm-ico svg { width: 34px; height: 34px; }
