/* ==========================================================================
   style.css — Wahlkampf-Website Carlos (SBV-Wiederwahl fib e.V.)
   --------------------------------------------------------------------------
   Aufbau (Sektionen):
     1. Design-Tokens (Farben, Schrift, Abstände) als CSS-Variablen
     2. Reset & Grundlagen
     3. Typografie
     4. Layout-Helfer (Container, Section, Grid)
     5. Komponenten (Buttons, Cards, Badges, Kicker …)
     6. Kopf/Navigation
     7. Hero (mit Hintergrund-Video-Unterstützung)
     8. Inhalts-Sektionen
     9. Footer
    10. Bewegung/Animation (+ prefers-reduced-motion)
    11. Responsive (Breakpoints)
   Marken-Vorgabe: fib-Blau #0065BA, Schrift Ubuntu (siehe fonts.css).
   ========================================================================== */

/* === 1. DESIGN-TOKENS === */
:root {
  /* fib-Markenblau + abgeleitete Abstufungen (aus #0065BA berechnet) */
  --fib-blau:        #0065BA;
  --fib-blau-hell:   #2E86D4;
  --fib-blau-dunkel: #004E8F;
  --fib-blau-tief:   #06325C;   /* sehr dunkles Navy für Video-Overlay/Footer */
  --fib-blau-tint:   #EAF3FB;   /* zarter blauer Flächen-Hintergrund */
  --fib-blau-tint2:  #D6E7F7;

  /* Warmer Kampagnen-Akzent (Aufbruch/Optimismus) */
  --akzent:          #F4B740;
  --akzent-dunkel:   #D99A1C;
  --akzent-tint:     #FDF3DA;

  /* Positiv/Erfolg (für Häkchen "erreicht") */
  --gruen:           #2E9E5B;

  /* Schrift-/Textfarben (weiches Navy statt hartem Schwarz) */
  --ink:      #16232F;
  --ink-soft: #3C4C5A;
  --muted:    #66788A;

  /* Flächen & Linien */
  --bg:       #FFFFFF;
  --bg-soft:  #F4F8FC;
  --line:     #E1E9F1;
  --line-2:   #CFDDEA;

  /* Schriftfamilien (Ubuntu = fib-Schrift) */
  --font-display: 'Ubuntu Condensed', 'Ubuntu', system-ui, sans-serif;
  --font-body:    'Ubuntu', system-ui, -apple-system, sans-serif;

  /* Fluide Schriftgrößen (clamp = min, ideal, max — skaliert mit Viewport) */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1.05rem, 1.00rem + 0.25vw, 1.20rem);
  --step-1:  clamp(1.28rem, 1.18rem + 0.50vw, 1.60rem);
  --step-2:  clamp(1.55rem, 1.36rem + 0.95vw, 2.20rem);
  --step-3:  clamp(1.90rem, 1.55rem + 1.75vw, 3.10rem);
  --step-4:  clamp(2.30rem, 1.70rem + 3.00vw, 4.30rem);
  --step-5:  clamp(2.80rem, 1.90rem + 4.50vw, 5.80rem);

  /* Abstände */
  --space-xs: 0.5rem;
  --space-s:  1rem;
  --space-m:  1.75rem;
  --space-l:  3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  /* Radius & Schatten */
  --radius:    16px;
  --radius-s:  10px;
  --radius-pill: 999px;
  --shadow-s:  0 1px 3px rgba(6,50,92,0.06), 0 4px 12px rgba(6,50,92,0.05);
  --shadow-m:  0 8px 24px rgba(6,50,92,0.10), 0 2px 6px rgba(6,50,92,0.06);
  --shadow-l:  0 20px 50px rgba(6,50,92,0.16), 0 6px 16px rgba(6,50,92,0.08);

  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === 2. RESET & GRUNDLAGEN === */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px; /* Anker nicht unter fixe Navi rutschen lassen */
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--fib-blau); text-decoration-thickness: 2px; text-underline-offset: 3px; }
ul { list-style: none; padding: 0; }

/* Barrierefreiheit: sichtbarer Sprunglink & Fokus */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 0.8rem 1.2rem;
  border-radius: 0 0 var(--radius-s) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }
:focus-visible {
  outline: 3px solid var(--akzent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* === 3. TYPOGRAFIE === */
h1, h2, h3 { line-height: 1.08; font-weight: 700; color: var(--ink); text-wrap: balance; }
h1 { font-family: var(--font-display); font-size: var(--step-5); letter-spacing: -0.01em; }
h2 { font-family: var(--font-display); font-size: var(--step-4); letter-spacing: -0.01em; }
h3 { font-family: var(--font-body); font-size: var(--step-2); }
p  { text-wrap: pretty; }
strong { font-weight: 700; color: var(--ink); }
.lead { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.55; }

/* === 4. LAYOUT-HELFER === */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--fib-blau-tint); }
.section--blue {
  background: linear-gradient(160deg, var(--fib-blau) 0%, var(--fib-blau-dunkel) 100%);
  color: #fff;
}
.section--blue h2, .section--blue h3 { color: #fff; }
.section--dark {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(46,134,212,0.35), transparent 60%),
    linear-gradient(180deg, var(--fib-blau-tief) 0%, #041f3a 100%);
  color: #fff;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: var(--space-m); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* Sektions-Kopf: Kicker (kleine Überzeile) + Titel + Intro */
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-size: var(--step--1); font-weight: 400;
  color: var(--fib-blau);
  margin-bottom: 0.9rem;
}
.section--blue .kicker, .section--dark .kicker { color: var(--akzent); }
.kicker::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px;
  background: currentColor;
}
.section-head p { margin-top: 1rem; color: var(--ink-soft); }
.section--blue .section-head p, .section--dark .section-head p { color: rgba(255,255,255,0.85); }

/* === 5. KOMPONENTEN === */
/* Buttons */
.btn {
  --btn-bg: var(--fib-blau); --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body); font-weight: 700; font-size: var(--step-0);
  line-height: 1; color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid transparent; border-radius: var(--radius-pill);
  cursor: pointer; text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
  box-shadow: var(--shadow-s);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--akzent); --btn-fg: var(--ink); }
.btn--accent:hover { background: var(--akzent-dunkel); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255,255,255,0.55);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--fib-blau);
  border-color: var(--line-2); box-shadow: none;
}
.btn--outline:hover { background: var(--fib-blau-tint); border-color: var(--fib-blau); }
.btn__icon { width: 1.1em; height: 1.1em; }

/* Karten */
.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-s);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); border-color: var(--line-2); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); }

/* Rollen-Karte mit farbiger Kopfleiste */
.role-card { position: relative; overflow: hidden; }
.role-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--fib-blau), var(--fib-blau-hell));
}
.role-card--accent::before { background: linear-gradient(90deg, var(--akzent), var(--akzent-dunkel)); }
.role-card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--fib-blau-tint); color: var(--fib-blau);
}
.role-card--accent .role-card__icon { background: var(--akzent-tint); color: var(--akzent-dunkel); }
.role-card__icon svg { width: 28px; height: 28px; }

/* Badge / Chip */
.badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
  font-size: var(--step--1); font-weight: 700;
  background: var(--fib-blau-tint); color: var(--fib-blau-dunkel);
}
.section--blue .badge, .section--dark .badge {
  background: rgba(255,255,255,0.15); color: #fff;
}

/* Aufgaben-/Feature-Liste mit Häkchen */
.check-list { display: grid; gap: 0.9rem; }
.check-list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 0.8rem;
  align-items: start;
}
.check-list li::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%;
  background: var(--fib-blau-tint) 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='%230065BA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 16px no-repeat;
  margin-top: 2px;
}
.section--blue .check-list li::before, .section--dark .check-list li::before {
  background-color: rgba(255,255,255,0.18);
  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='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Kennzahlen (Stat-Tiles) */
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display); font-size: var(--step-4);
  color: var(--akzent); line-height: 1; font-weight: 700;
}
.section:not(.section--blue):not(.section--dark) .stat__num { color: var(--fib-blau); }
.stat__label { color: inherit; opacity: 0.85; font-size: var(--step--1); margin-top: 0.4rem; }

/* === 6. KOPF / NAVIGATION === */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, transform 0.4s var(--ease);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.7rem;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-s);
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand__text {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.02em;
  color: #fff; font-size: 1.05rem; line-height: 1;
}
.site-header.scrolled .brand__text { color: var(--ink); }
.main-nav ul { display: flex; align-items: center; gap: 0.4rem; }
.main-nav a {
  padding: 0.55rem 0.85rem; border-radius: var(--radius-pill);
  color: #fff; text-decoration: none; font-weight: 500; font-size: var(--step--1);
  transition: background 0.2s, color 0.2s;
}
.site-header.scrolled .main-nav a { color: var(--ink-soft); }
.main-nav a:hover { background: rgba(255,255,255,0.15); }
.site-header.scrolled .main-nav a:hover { background: var(--fib-blau-tint); color: var(--fib-blau); }
.main-nav .btn { color: var(--ink); padding: 0.6rem 1.1rem; }

/* Mobile-Navigation */
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,0.15); cursor: pointer; align-items: center; justify-content: center;
}
.site-header.scrolled .nav-toggle { background: var(--fib-blau-tint); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2.5px; border-radius: 2px;
  background: #fff; transition: transform 0.3s, opacity 0.2s;
}
.site-header.scrolled .nav-toggle span,
.site-header.scrolled .nav-toggle span::before,
.site-header.scrolled .nav-toggle span::after { background: var(--ink); }
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after  { transform: translateY(4.5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1.7px); }

/* === 7. HERO (mit Hintergrund-Video) === */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
/* Fallback-Hintergrund (falls Video noch fehlt): fib-Blau-Verlauf + weiche Lichter */
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 600px at 78% 15%, rgba(46,134,212,0.55), transparent 55%),
    radial-gradient(700px 500px at 10% 90%, rgba(6,50,92,0.6), transparent 55%),
    linear-gradient(155deg, var(--fib-blau) 0%, var(--fib-blau-dunkel) 55%, var(--fib-blau-tief) 100%);
}
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
/* Overlay-Scrim: sorgt für Lesbarkeit der Schrift über beliebigem Video */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4,20,38,0.78) 0%, rgba(4,20,38,0.45) 45%, rgba(4,20,38,0.15) 100%),
    linear-gradient(0deg, rgba(4,20,38,0.65) 0%, transparent 45%);
}
/* dezente Rasterstruktur für Tiefe */
.hero__grain {
  position: absolute; inset: 0; z-index: -1; opacity: 0.06; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.9) 1px, transparent 1px);
  background-size: 4px 4px;
}
.hero__inner { padding-block: 8rem 4rem; max-width: 40ch; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1rem; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.25);
  font-weight: 700; font-size: var(--step--1);
  backdrop-filter: blur(4px);
  margin-bottom: 1.4rem;
}
.hero__eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--akzent); box-shadow: 0 0 0 4px rgba(244,183,64,0.3); }
.hero h1 { font-size: var(--step-5); margin-bottom: 1.2rem; }
.hero h1 .hl { color: var(--akzent); }
.hero__sub { font-size: var(--step-1); color: rgba(255,255,255,0.92); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.8); font-size: var(--step--1);
  display: grid; justify-items: center; gap: 0.4rem; z-index: 1;
}
.hero__scroll .mouse {
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.6); border-radius: 14px;
  position: relative;
}
.hero__scroll .mouse::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px; background: #fff;
  animation: scrolldot 1.6s var(--ease) infinite;
}
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} }

/* === 8. INHALTS-SEKTIONEN === */
/* Über Carlos: Bild + Text nebeneinander */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__figure { position: relative; }
.about__photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-l);
  background: var(--fib-blau-tint);
}
.about__badge {
  position: absolute; bottom: -18px; right: -18px;
  background: var(--akzent); color: var(--ink);
  padding: 0.9rem 1.2rem; border-radius: var(--radius-s);
  font-family: var(--font-display); font-weight: 700; line-height: 1.05;
  box-shadow: var(--shadow-m); max-width: 220px;
}
.about__badge small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.7em; opacity: 0.85; }
.about h2 { margin-bottom: 1rem; }
.about p + p { margin-top: 1rem; }
.about .quote {
  margin-top: 1.6rem; padding-left: 1.2rem; border-left: 4px solid var(--akzent);
  font-style: italic; color: var(--ink); font-size: var(--step-1);
}

/* Timeline (Bilanz / Weg des ersten SBV) */
.timeline { position: relative; display: grid; gap: 1.6rem; }
.timeline::before {
  content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--fib-blau), transparent);
}
.timeline__item { position: relative; padding-left: 3.4rem; }
.timeline__dot {
  position: absolute; left: 8px; top: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid var(--fib-blau); z-index: 1;
}
.section--dark .timeline__dot { background: var(--fib-blau-tief); border-color: var(--akzent); }
.section--dark .timeline::before { background: linear-gradient(var(--akzent), transparent); }
.timeline__item h3 { font-size: var(--step-1); }
.timeline__item p { color: var(--ink-soft); margin-top: 0.3rem; }
.section--dark .timeline__item p { color: rgba(255,255,255,0.82); }

/* Zitat-Block groß */
.pullquote { max-width: 40ch; margin-inline: auto; text-align: center; }
.pullquote blockquote {
  font-family: var(--font-display); font-size: var(--step-3); line-height: 1.2;
}
.pullquote cite { display: block; margin-top: 1.2rem; font-style: normal; font-weight: 700; opacity: 0.85; }
.pullquote .mark { font-size: 3rem; color: var(--akzent); line-height: 0; }

/* Kontakt-Karte */
.contact-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,220px),1fr));
  gap: 1.2rem;
}
.contact-item { display: flex; align-items: center; gap: 0.9rem; }
.contact-item .ci-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,0.15); color: #fff;
}
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item b { display: block; font-size: var(--step--1); opacity: 0.8; font-weight: 500; }

/* Wahl-Aufruf Callout */
.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 1rem; }
.cta-final .btn { margin-top: 1.5rem; font-size: var(--step-1); padding: 1.1rem 2.2rem; }

/* Platzhalter-Markierung (für später vom User zu liefernde Inhalte) */
.placeholder {
  border: 2px dashed var(--line-2); border-radius: var(--radius-s);
  padding: 0.6rem 1rem; color: var(--muted); font-size: var(--step--1);
  background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,101,186,0.03) 10px, rgba(0,101,186,0.03) 20px);
}

/* FAQ (natives <details> — barrierefrei & ohne JavaScript aufklappbar) */
.faq { display: grid; gap: 0.9rem; max-width: 820px; margin-inline: auto; }
.faq details {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-s);
  box-shadow: var(--shadow-s); overflow: hidden; transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem;
  font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%230065BA' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--fib-blau); }
.faq .faq-body { padding: 0 1.3rem 1.2rem; color: var(--ink-soft); }

/* Info-Situationen (wobei die SBV hilft) — kompaktere Icon-Karten */
.info-item { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; }
.info-item .info-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--fib-blau-tint); color: var(--fib-blau);
}
.info-item .info-ico svg { width: 24px; height: 24px; }
.info-item h3 { font-size: var(--step-1); margin-bottom: 0.25rem; }
.info-item p { color: var(--ink-soft); }

/* Dezenter Hinweis-Block (z. B. zur Wahl) — bewusst zurückhaltend */
.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  max-width: 760px; margin-inline: auto;
  padding: 1.3rem 1.5rem; border-radius: var(--radius);
  background: var(--fib-blau-tint); border: 1px solid var(--line-2);
}
.notice .notice-ico { flex: none; color: var(--fib-blau); }
.notice .notice-ico svg { width: 26px; height: 26px; }
.notice h3 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.notice p { color: var(--ink-soft); }

/* === 9. FOOTER === */
.site-footer {
  background: var(--fib-blau-tief); color: rgba(255,255,255,0.8);
  padding-block: 3rem 2rem;
}
.site-footer a { color: rgba(255,255,255,0.9); }
.footer-top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; }
.footer-brand img { height: 40px; }
.footer-legal {
  margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: space-between;
  font-size: var(--step--1);
}
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* === 10. BEWEGUNG === */
/* Progressive Enhancement: Nur wenn JavaScript läuft (Klasse .js am <html>),
   werden Elemente zuerst versteckt und dann beim Scrollen eingeblendet.
   Ohne JS bleibt ALLES sichtbar — Inhalt hängt nie von Skripten ab. */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* Hero-Ladeanimation (gestaffelt) */
.hero [data-hero] { opacity: 0; transform: translateY(20px); animation: heroIn 0.9s var(--ease) forwards; }
.hero [data-hero="1"] { animation-delay: 0.15s; }
.hero [data-hero="2"] { animation-delay: 0.30s; }
.hero [data-hero="3"] { animation-delay: 0.45s; }
.hero [data-hero="4"] { animation-delay: 0.60s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Rücksicht auf Nutzer:innen, die Bewegung reduzieren wollen (Schwindel/Migräne) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero [data-hero] { opacity: 1; transform: none; }
}

/* === 11. RESPONSIVE === */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__figure { max-width: 380px; margin-inline: auto; }
  .about__badge { right: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px);
    background: #fff; box-shadow: var(--shadow-l);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    padding: 5.5rem 1.5rem 2rem; z-index: 90;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0.3rem; }
  .main-nav a { color: var(--ink-soft); padding: 0.9rem 1rem; font-size: var(--step-0); }
  .main-nav .btn { justify-content: center; margin-top: 0.8rem; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(6,50,92,0.5); z-index: 80;
    opacity: 0; visibility: hidden; transition: opacity 0.3s;
  }
  .nav-backdrop.show { opacity: 1; visibility: visible; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
}
