/* =========================================================
   Alexander Hartmann — Kommunalwahl Northeim 2026
   Design-System: FDP Niedersachsen Styleguide (Blau/Gelb/Hellblau)
   ========================================================= */

:root {
  /* Brand colors (FDP Niedersachsen Styleguide) */
  --blue-900: #1E2E72;
  --blue-800: #19255f;
  --blue-700: #263a8c;
  --blue-100: #e8eaf6;
  --yellow: #FFE000;
  --yellow-deep: #f2cf00;
  --lightblue: #009DE0;
  --white: #ffffff;

  --ink: #12193a;
  --muted: #5b6475;
  --muted-light: #8890a0;
  --bg: #ffffff;
  --bg-tint: #f5f6fa;
  --border: #e5e7f0;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;

  --shadow-sm: 0 1px 2px rgba(18,25,58,.05), 0 2px 6px rgba(18,25,58,.04);
  --shadow-md: 0 10px 30px rgba(18,25,58,.10);
  --shadow-lg: 0 30px 70px rgba(18,25,58,.20);

  --container: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 7rem;

  --ease: cubic-bezier(.16,.8,.24,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); letter-spacing: -0.01em; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  background: var(--blue-900); color: var(--white);
  padding: .75rem 1.25rem; border-radius: 0 0 10px 10px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 3px solid var(--lightblue); outline-offset: 2px; }

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 640px) { .wrap { padding-inline: 2rem; } }

.eyebrow {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-900);
  margin-bottom: var(--space-3);
}
.eyebrow-light { color: var(--yellow); }

.text-accent { color: var(--lightblue); }
.text-on-dark { color: var(--white); }
.text-on-dark-muted { color: rgba(255,255,255,.92); font-weight: 450; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--yellow);
  color: var(--blue-900);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: var(--yellow-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--blue-900); background: var(--blue-100); }
.btn-sm { padding: .6rem 1.2rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(18,25,58,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  height: 72px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; }

.main-nav { margin-inline: auto; display: none; }
.main-nav ul { display: flex; gap: var(--space-6); }
.main-nav a {
  font-weight: 600; font-size: .96rem; color: var(--ink);
  padding: .4rem 0; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 2px; background: var(--lightblue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-cta { display: none; flex-shrink: 0; }

.nav-toggle {
  margin-left: auto;
  width: 44px; height: 44px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2.4px; background: var(--ink);
  border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 72px 0 0 0; z-index: 99;
  background: var(--blue-900);
  padding: var(--space-8) 1.5rem;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  overflow-y: auto;
}
.mobile-nav.is-open {
  opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.1rem; }
.mobile-nav a { font-size: 1.6rem; font-weight: 800; color: var(--white); letter-spacing: -.01em; }
.mobile-nav-social { display: flex; gap: var(--space-5); margin-top: var(--space-10); }
.mobile-nav-social a { color: var(--yellow); font-weight: 700; }

@media (min-width: 900px) {
  .main-nav { display: block; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-12);
  padding-bottom: var(--space-10);
}
.hero-shape { display: none; }
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  gap: var(--space-12);
  align-items: center;
}
.hero-title {
  font-size: clamp(2.6rem, 2rem + 4.5vw, 5.2rem);
  letter-spacing: -0.03em;
  color: var(--blue-900);
  margin-bottom: var(--space-5);
}
.hero-lead {
  font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: var(--space-6);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero-media { position: relative; justify-self: center; width: min(100%, 420px); z-index: 1; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: -6% -8% -8% 14%;
  background: var(--yellow);
  border-radius: var(--radius-lg);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}
.hero-media picture, .hero-media img {
  position: relative;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.credentials-card {
  position: relative; z-index: 1;
  margin-top: var(--space-12);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-8) var(--space-6);
}
.credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-6);
}
.credentials li { display: flex; flex-direction: column; gap: .5rem; position: relative; }
.credential-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-900);
  margin-bottom: .2rem;
}
.credential-icon svg { width: 22px; height: 22px; }
.credentials strong { font-size: 1.05rem; font-weight: 800; color: var(--blue-900); }
.credentials span { font-size: .88rem; color: var(--muted); line-height: 1.4; }

@media (min-width: 640px) and (max-width: 899px) {
  .credentials li:nth-child(odd) { padding-right: var(--space-6); border-right: 1px solid var(--border); }
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr .85fr; }
  .hero-media { justify-self: end; width: 100%; }
  .hero-media::before { inset: -8% -10% -10% 10%; }
  .credentials { grid-template-columns: repeat(4, 1fr); }
  .credentials li:not(:last-child) { padding-right: var(--space-6); border-right: 1px solid var(--border); }
}

/* ============================================================
   SECTIONS (generic)
   ============================================================ */
.section { padding-block: var(--space-16); }
.section-tint { background: var(--bg-tint); }
.section-yellow { background: var(--yellow); }
.section-yellow h2, .section-yellow .eyebrow { color: var(--blue-900); }

.section-head { max-width: 62ch; margin-bottom: var(--space-10); }
.section-lede { color: var(--muted); font-size: 1.08rem; margin-top: var(--space-4); }
.section-lede.text-on-dark-muted { color: rgba(255,255,255,.92); font-weight: 450; }

.section-dark {
  position: relative;
  background: var(--blue-900);
  color: var(--white);
  overflow: hidden;
}
.section-dark .wrap { position: relative; z-index: 2; }
.feuerwehr-bg {
  position: absolute; inset: 0; z-index: 0;
}
.feuerwehr-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.feuerwehr-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,28,80,.94) 0%, rgba(19,28,80,.88) 40%, var(--blue-900) 100%);
}

.section-navy-solid { background: var(--blue-900); color: var(--white); }

.prose > * + * { margin-top: var(--space-4); }
.prose h3 { margin-top: var(--space-8); color: var(--blue-900); }
.prose p { color: var(--ink); }

.grid-2 { display: grid; gap: var(--space-10); }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1.3fr 1fr; }
  .grid-2.align-start { align-items: start; }
}

.side-stack { display: grid; gap: var(--space-6); }

/* ---------- Pull quotes ---------- */
.pull-quote {
  background: var(--blue-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-6);
  border-left: 6px solid var(--yellow);
}
.pull-quote p { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.45; }
.pull-quote-center { max-width: 68ch; margin: var(--space-12) auto 0; text-align: left; }
.source-note { max-width: 68ch; margin: var(--space-5) auto 0; font-size: .9rem; color: var(--muted); }
.source-note a { color: var(--lightblue); font-weight: 600; }
.pull-quote-accent {
  background: var(--yellow);
  color: var(--blue-900);
  border-left-color: var(--blue-900);
  margin-bottom: var(--space-10);
}

/* ---------- Feature row (Foto + Zitat, z.B. Feuerwehr-Abschnitt) ---------- */
/* Fotogröße/-format bewusst identisch zu .hero-media gehalten (Wiedererkennung). */
.feature-row {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  margin-bottom: var(--space-10);
}
.feature-row-media { justify-self: center; width: min(100%, 420px); }
.feature-row-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}
.feature-row .pull-quote-accent { margin-bottom: 0; }
@media (min-width: 900px) {
  .feature-row { grid-template-columns: .85fr 1.15fr; gap: var(--space-12); }
  .feature-row-media { justify-self: stretch; width: 100%; }
}

/* ---------- Photo caption (Wiedererkennung zu den Plakaten) ---------- */
.photo-caption {
  margin-top: var(--space-4);
  text-align: center;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .02em;
  color: var(--blue-900);
}
.photo-caption::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  background: var(--yellow);
  margin: 0 auto var(--space-3);
  border-radius: 2px;
}
.photo-caption-light { color: var(--white); }


/* ---------- Info card ---------- */
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.info-card h3 { color: var(--blue-900); margin-bottom: var(--space-3); }
.info-card p + p { margin-top: var(--space-3); }
.info-card strong { color: var(--blue-900); }

/* ---------- Card grid ---------- */
.card-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { color: var(--blue-900); margin-bottom: var(--space-3); font-size: 1.08rem; }
.card p { color: var(--muted); font-size: .96rem; }

.card-dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.card-dark h3 { color: var(--yellow); }
.card-dark p { color: rgba(255,255,255,.92); font-weight: 450; }
.card-dark:hover { background: rgba(255,255,255,.09); box-shadow: none; }

/* ---------- Case study (Fahrtkosten) ---------- */
.case-study {
  display: grid;
  gap: var(--space-8);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-block: var(--space-12);
}
.case-study-text h3 { color: var(--white); margin-bottom: var(--space-4); font-size: 1.3rem; }
.case-study-text p { color: rgba(255,255,255,.92); font-weight: 450; }
.case-study-text p + p { margin-top: var(--space-4); }
.case-study-stat {
  background: var(--yellow);
  color: var(--blue-900);
  border-radius: var(--radius);
  padding: var(--space-6);
  align-self: start;
}
.stat-label { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.stat-number { font-size: 3rem; font-weight: 800; letter-spacing: -0.02em; margin-block: .2rem .5rem; }
.stat-detail { font-size: .92rem; line-height: 1.5; }
.stat-footnote { margin-top: var(--space-4); font-weight: 700; font-size: .95rem; border-top: 1.5px solid rgba(18,25,58,.2); padding-top: var(--space-4); }

@media (min-width: 900px) { .case-study { grid-template-columns: 1.4fr 1fr; } }

/* ---------- Numbered list (Feuerwehrprogramm) ---------- */
.numbered-list { display: grid; gap: var(--space-6); margin-top: var(--space-8); }
.numbered-item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); align-items: start; }
.numbered-item .num {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--yellow); color: var(--blue-900);
  font-weight: 800; font-size: 1.3rem;
}
.numbered-item h3 { color: var(--white); margin-bottom: var(--space-2); }
.numbered-item p { color: rgba(255,255,255,.92); font-weight: 450; }

/* ---------- Goals ---------- */
.goal-grid { display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
@media (min-width: 700px) { .goal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .goal-grid { grid-template-columns: repeat(3, 1fr); } }
.goal { padding-top: var(--space-5); border-top: 3px solid var(--yellow); }
.goal h3 { color: var(--blue-900); margin-bottom: var(--space-3); }
.goal p { color: var(--muted); font-size: .97rem; }

.commitment-strip {
  margin-top: var(--space-12);
  background: var(--blue-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.commitment-lede { font-weight: 800; font-size: 1.2rem; color: var(--yellow); margin-bottom: var(--space-5); }
.commitment-strip ul { display: grid; gap: var(--space-3); }
.commitment-strip li { color: rgba(255,255,255,.88); padding-left: 1.6rem; position: relative; }
.commitment-strip li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--yellow);
}
.commitment-strip strong { color: var(--white); }

/* ---------- Principles ---------- */
.principle-list {
  display: grid; gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .principle-list { grid-template-columns: repeat(2, 1fr); gap: var(--space-5) var(--space-8); } }
.principle-list li {
  font-weight: 700; font-size: 1.08rem; color: var(--blue-900);
  padding-left: 2.2rem; position: relative;
  line-height: 1.4;
}
.principle-list li::before {
  content: "";
  position: absolute; left: 0; top: .05em;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-900);
}
.principle-list li::after {
  content: "";
  position: absolute; left: 8px; top: .42em;
  width: 11px; height: 6px;
  border-left: 2.5px solid var(--yellow);
  border-bottom: 2.5px solid var(--yellow);
  transform: rotate(-45deg);
}

/* ---------- Promise ---------- */
.promise-wrap { max-width: 780px; text-align: center; margin-inline: auto; }
.promise-text { font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); color: rgba(255,255,255,.9); font-weight: 600; line-height: 1.5; margin-bottom: var(--space-8); }
.promise-tagline { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.02em; color: var(--white); margin-bottom: var(--space-8); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; gap: var(--space-10); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }

.contact-info { display: flex; flex-direction: column; gap: var(--space-6); }
.contact-line {
  display: flex; flex-direction: column; gap: .3rem;
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.contact-line:hover { border-color: var(--lightblue); background: var(--bg-tint); }
.contact-label { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-value { font-size: 1.15rem; font-weight: 700; color: var(--blue-900); }

.social-links { display: flex; gap: var(--space-4); }
.social-link {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.1rem;
  border: 1px solid var(--border); border-radius: 999px;
  font-weight: 700; font-size: .92rem; color: var(--blue-900);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.social-link:hover { background: var(--blue-900); color: var(--white); border-color: var(--blue-900); transform: translateY(-2px); }

.contact-note { color: var(--muted); font-size: .95rem; max-width: 44ch; }

.download-links { display: flex; flex-direction: column; gap: var(--space-3); padding-top: var(--space-2); }
.downloads-label { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .2rem; }
.download-link {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .8rem 1.1rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-weight: 700; font-size: .95rem; color: var(--blue-900);
  width: fit-content;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.download-link:hover { background: var(--bg-tint); border-color: var(--lightblue); }
.download-link small { font-weight: 700; color: var(--muted-light); margin-left: .3rem; font-size: .75rem; }
.download-link-dark {
  margin-top: var(--space-5);
  color: var(--yellow);
  border-color: rgba(255,255,255,.25);
}
.download-link-dark:hover { background: rgba(255,255,255,.08); border-color: var(--yellow); }
.download-link-dark small { color: rgba(255,255,255,.6); }

.contact-form {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: grid;
  gap: var(--space-5);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: .5rem; }
.field label { font-weight: 700; font-size: .92rem; color: var(--blue-900); }
.field input, .field textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  background: var(--white);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--lightblue);
  box-shadow: 0 0 0 4px rgba(0,157,224,.14);
}
.form-hint { font-size: .84rem; color: var(--muted-light); }
.form-hint a { color: var(--lightblue); font-weight: 600; }
.form-success {
  background: var(--blue-100); color: var(--blue-900);
  border-radius: var(--radius-sm); padding: var(--space-4);
  font-weight: 700; font-size: .95rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.85); padding-top: var(--space-10); }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: var(--space-8);
  align-items: center; justify-content: space-between;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand p { color: rgba(255,255,255,.55); font-size: .85rem; margin-top: .6rem; font-weight: 700; letter-spacing: .03em; }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.footer-nav a { font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.75); }
.footer-nav a:hover { color: var(--yellow); }
.footer-social { display: flex; gap: var(--space-4); }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.85);
  transition: background .2s var(--ease);
}
.footer-social a:hover { background: var(--yellow); color: var(--blue-900); }

.footer-legal { padding-block: var(--space-6) var(--space-8); }
.footer-legal p { font-size: .78rem; color: rgba(255,255,255,.45); line-height: 1.6; max-width: 90ch; }
.footer-legal a { color: rgba(255,255,255,.65); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal-links { margin-top: .5rem; }

/* ============================================================
   Legal pages (Impressum / Datenschutz)
   ============================================================ */
.legal-page { padding-block: var(--space-12) var(--space-16); }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem); color: var(--blue-900); margin-bottom: var(--space-8); }
.legal-page h2 { font-size: 1.35rem; color: var(--blue-900); margin-top: var(--space-10); margin-bottom: var(--space-4); }
.legal-page p, .legal-page li { color: var(--ink); font-size: 1rem; line-height: 1.7; }
.legal-page p + p { margin-top: var(--space-4); }
.legal-page ul { margin-top: var(--space-3); display: grid; gap: .5rem; }
.legal-page li { padding-left: 1.3rem; position: relative; }
.legal-page li::before { content: "–"; position: absolute; left: 0; color: var(--lightblue); }
.legal-page a { color: var(--lightblue); font-weight: 600; }
.legal-page .back-link { display: inline-block; margin-bottom: var(--space-8); font-weight: 700; color: var(--blue-900); }
.legal-page .back-link:hover { color: var(--lightblue); }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
