/* =========================================================
   Ferdinand Friedensburg Stiftung e.V. — Design System
   Brand: European blue (#003399, EU Reflex Blue) + EU gold (#FFCC00)
   Logo bleibt unverändert (Bordeaux).
   ========================================================= */

:root {
  /* Brand — EU Reflex Blue */
  --blue:        #003399;
  --blue-deep:   #00257A;
  --blue-darker: #001A55;
  --blue-soft:   #2E5BC0;
  --blue-tint:   #E8EDFA;

  /* Accent — EU Gold */
  --gold:       #FFCC00;
  --gold-soft:  #FFDB4D;
  --gold-tint:  #FFF6D2;
  --gold-ink:   #7A5E00; /* readable gold for text on light backgrounds; vorher #8A6A00 (4.48:1 auf Cream-2) */

  /* Neutrals (cool) */
  --ink:        #15203A;
  --ink-2:      #3B4769;
  --ink-3:      #566180; /* vorher #6C7798 – Kontrast auf Weiß/Cream < 4.5:1 (WCAG AA) */
  --cream:      #F6F8FC;
  --cream-2:    #EDF1F9;
  --paper:      #FFFFFF;
  --line:       rgba(0,30,90,0.12);
  --line-2:     rgba(0,30,90,0.07);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(0,26,85,.07);
  --shadow:    0 14px 40px -18px rgba(0,26,85,.26);
  --shadow-lg: 0 30px 70px -30px rgba(0,26,85,.42);

  --header-h: 96px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; } /* width/height-Attribute reservieren nur das Seitenverhältnis (CLS) */
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--blue); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.h-xl { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; hyphens: manual; overflow-wrap: normal; } /* manual: weiche Trennstellen (&shy;) erlaubt */
/* Fließtext: überlange Wörter (z. B. „Energieversorgungssicherheit“) dürfen umbrechen statt überzulaufen */
p, li, summary, dd { overflow-wrap: break-word; }
.accordion-item p { hyphens: auto; }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.h-md { font-size: clamp(1.5rem, 3vw, 2.1rem); }
p { color: var(--ink-2); }
.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; color: var(--ink-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); display: inline-block; }
.eyebrow.center::after { content: ""; width: 28px; height: 2px; background: var(--gold); display: inline-block; }

.text-gold { color: var(--gold); }
.text-red  { color: var(--blue); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.bg-cream2 { background: var(--cream-2); }
.bg-paper  { background: var(--paper); }
.bg-ink    { background: var(--ink); color: #fff; }
.bg-red    { background: var(--blue); color: #fff; }

.stack-sm > * + * { margin-top: .7rem; }
.stack    > * + * { margin-top: 1.2rem; }
.stack-lg > * + * { margin-top: 2rem; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h-lg { margin-top: .5rem; }
.section-head p { margin-top: 1rem; }

.grid { display: grid; gap: clamp(20px, 3vw, 34px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.5em; border-radius: 100px;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(0,51,153,.7); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0,51,153,.85); }
.btn-gold { background: var(--gold); color: #3a2e00; box-shadow: 0 10px 24px -10px rgba(214,172,0,.6); }
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.04); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; color: var(--blue);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  overflow: visible;
  display: flex; align-items: center;
  background: rgba(246,248,252,.82);
  border-bottom: 1px solid var(--line-2);
  transition: background .35s, box-shadow .35s, height .35s;
}
/* Glas-Effekt liegt auf einem Pseudo-Element: backdrop-filter direkt auf dem
   Header würde ihn zum Containing Block für das fixed positionierte
   Mobilmenü machen (.nav würde am Header statt am Viewport clippen) */
.site-header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
}
.site-header.scrolled {
  background: rgba(246,248,252,.94);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px -22px rgba(0,26,85,.4);
  height: 70px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; align-self: flex-start; padding-top: 34px; position: relative; z-index: 1; }
.brand img { height: 105px; width: auto; border-radius: 8px; box-shadow: 0 12px 32px -8px rgba(20,30,60,.55); transition: height .4s var(--ease), box-shadow .4s; }
.scrolled .brand { padding-top: 0; align-self: center; }
.scrolled .brand img { height: 50px; box-shadow: 0 4px 14px -6px rgba(20,30,60,.35); }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a {
  position: relative; padding: 10px 18px; border-radius: 8px;
  font-weight: 500; font-size: 1.05rem; color: var(--ink); white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--blue); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--blue); }

/* CTA inside nav: only in the mobile slide-in menu */
.nav-cta { display: none; }

.header-cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 10px; position: relative; z-index: 96; /* über .nav (95), sonst verdeckt das offene Menü den Schließen-Button */ }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; padding-top: calc(var(--header-h) + clamp(48px, 8vw, 100px));
  padding-bottom: clamp(64px, 9vw, 120px);
  background:
    linear-gradient(96deg, rgba(0,18,60,.95) 0%, rgba(0,22,72,.86) 34%, rgba(0,26,85,.55) 62%, rgba(0,30,99,.42) 100%),
    var(--blue-darker) url("../assets/images/hero.webp") center right / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr min-content; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold); }
.hero h1 { margin-top: 1rem; color: #fff; }
.hero h1 .accent { color: var(--gold-soft); font-style: italic; }
.hero .lead { margin-top: 1.4rem; max-width: 52ch; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.hero-meta { display: flex; gap: 30px; margin-top: 2.8rem; flex-wrap: wrap; }
.hero-meta .num { font-family: var(--font-display); font-size: 2rem; color: var(--gold-soft); font-weight: 600; }
.hero-meta .lbl { font-size: .85rem; color: rgba(255,255,255,.7); }

.hero-visual { position: relative; align-self: start; margin-top: 22%; justify-self: end; margin-right: calc(-1 * var(--gutter)); width: fit-content; }
.hero-card {
  background: var(--paper); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line-2);
}
.hero-card .tag { display: inline-block; background: var(--blue-tint); color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; }
.hero-card h2, .hero-card h3 { margin: 14px 0 6px; font-size: 1.35rem; }
.hero-card .date { color: var(--gold-ink); font-weight: 700; font-size: .92rem; }
.hero-card p { margin-top: 12px; font-size: .96rem; }
.hero-quote {
  position: absolute; bottom: -28px; left: -28px; background: var(--ink); color: #fff;
  padding: 20px 24px; border-radius: var(--radius); max-width: 260px; box-shadow: var(--shadow);
  font-family: var(--font-display); font-style: italic; font-size: 1.02rem; line-height: 1.4;
}
.hero-quote::before { content: none; }

/* =========================================================
   Cards
   ========================================================= */
.card {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue); margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { font-size: .98rem; }

/* Preisträger-Karten (Förderpreis-Abschnitt) */
.preistraeger-card {
  padding: 24px 28px 20px; display: flex; flex-direction: column; gap: 12px;
  border-left: 3px solid var(--blue);
  box-shadow: 0 2px 16px -4px rgba(0,0,0,.10), 0 1px 4px -2px rgba(0,0,0,.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s var(--ease);
}
.preistraeger-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px -10px rgba(0,0,0,.18), 0 2px 8px -2px rgba(0,0,0,.08);
  border-left-color: var(--gold);
  border-color: var(--line);
  border-left-color: var(--gold); /* re-assert after border-color shorthand */
}

/* Header row: photo + meta */
.winner-header { display: flex; gap: 18px; align-items: flex-start; }

.winner-photo {
  flex-shrink: 0;
  width: 90px; aspect-ratio: 2/3; overflow: hidden;
  border-radius: 6px; background: var(--cream);
}
.winner-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 15%;
  display: block; transition: transform .4s var(--ease);
}
.preistraeger-card:hover .winner-photo img { transform: scale(1.06); }

.winner-meta { flex: 1; min-width: 0; padding-top: 2px; hyphens: auto; overflow-wrap: break-word; }
.winner-meta .pill { margin-bottom: 7px; }
.winner-meta h3 { font-size: 1.1rem; margin: 6px 0 4px; line-height: 1.25; }
.winner-meta .who { font-size: .82rem; color: var(--ink-3); font-style: italic; line-height: 1.4; }

/* Lead sentence */
.winner-lead { font-size: .92rem; line-height: 1.6; margin: 0; color: var(--ink-2); }

/* Expandable full text */
.winner-details { border-top: 1px solid var(--line-2); margin-top: auto; padding-top: 4px; }
.winner-more {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold); cursor: pointer; list-style: none; user-select: none;
  padding: 8px 0; transition: color .2s;
}
.winner-more::-webkit-details-marker { display: none; }
.winner-more:hover { color: var(--blue); }
.wd-chevron { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.wd-chevron svg { width: 14px; height: 14px; }
.winner-details[open] .wd-chevron { transform: rotate(180deg); }
.winner-details[open] .winner-more { color: var(--blue); }
.winner-body { padding: 10px 0 4px; display: flex; flex-direction: column; gap: 10px; }
.winner-body p { font-size: .9rem; line-height: 1.7; margin: 0; color: var(--ink-2); }

/* =========================================================
   Project pillars — full-bleed four-column overview
   ========================================================= */
.proj-pillars-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 500px;
  margin-top: 0;
}

.proj-pillar {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 40px 32px 36px;
  text-decoration: none; color: #fff;
  transition: flex-grow .5s var(--ease);
  flex: 1;
  cursor: pointer;
}

/* Photo layer — zooms on hover */
.proj-pillar .pillar-photo {
  position: absolute; inset: 0;
  background-image: var(--pillar-img);
  background-size: cover; background-position: center;
  transition: transform .7s var(--ease);
  z-index: 0;
}
.proj-pillar:hover .pillar-photo { transform: scale(1.08); }

/* Dark gradient overlay for legibility */
.proj-pillar .pillar-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,10,40,.93) 0%,
    rgba(0,10,40,.72) 45%,
    rgba(0,10,40,.52) 100%
  );
  transition: background .4s var(--ease);
  z-index: 1;
}
.proj-pillar:hover .pillar-overlay {
  background: linear-gradient(
    to top,
    rgba(0,10,40,.95) 0%,
    rgba(0,10,40,.78) 45%,
    rgba(0,10,40,.58) 100%
  );
}

/* Gold accent bar at top */
.proj-pillar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--pillar-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
  z-index: 3;
}
.proj-pillar:hover { flex-grow: 1.6; }
.proj-pillar:hover::before { transform: scaleX(1); }

.pillar-body { position: relative; z-index: 2; }

.pillar-num {
  display: block;
  font-family: var(--font-display); font-size: 3.2rem; font-weight: 700;
  line-height: 1; letter-spacing: -.04em;
  color: var(--pillar-accent); opacity: .4;
  margin-bottom: 18px;
  transition: opacity .3s var(--ease);
}
.proj-pillar:hover .pillar-num { opacity: .75; }

.pillar-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
  display: grid; place-items: center; margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.25);
  transition: background .3s var(--ease);
}
.pillar-icon svg { width: 26px; height: 26px; color: #fff; }
.proj-pillar:hover .pillar-icon { background: rgba(255,255,255,.25); }

.pillar-title {
  font-size: 1.2rem; font-weight: 700; color: #fff;
  margin-bottom: 8px; line-height: 1.25;
}

.pillar-sub {
  font-size: .9rem; color: rgba(255,255,255,.7);
  font-weight: 400; line-height: 1.4;
  transition: color .3s var(--ease);
}
.proj-pillar:hover .pillar-sub { color: rgba(255,255,255,.92); }

.pillar-cta {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 24px;
  font-size: .88rem; font-weight: 600;
  color: var(--pillar-accent);
  letter-spacing: .02em;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), gap .25s var(--ease);
}
.pillar-cta svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.proj-pillar:hover .pillar-cta { opacity: 1; transform: translateY(0); }
.proj-pillar:hover .pillar-cta svg { transform: translateX(3px); }

/* Wave transition: dark pillars → light section */
.pillars-wave {
  background: rgba(0,10,40,1); /* same dark tone as pillar overlay bottom */
  line-height: 0; margin: 0; padding: 0;
}
.pillars-wave svg { display: block; width: 100%; height: 64px; }

@media (max-width: 900px) {
  .proj-pillars-section { grid-template-columns: repeat(2, 1fr); min-height: auto; }
  .proj-pillar { min-height: 300px; flex-grow: 1 !important; }
}
@media (max-width: 540px) {
  /* Hero-/Seitentitel auf schmalen Handys kleiner, sonst werden lange Wörter („Meinungsfreiheit,“) abgeschnitten */
  .h-xl { font-size: clamp(2rem, 9.5vw, 2.6rem); }
  .proj-pillars-section { grid-template-columns: 1fr; }
  .proj-pillar { min-height: 240px; }
}

/* =========================================================
   Accordion (Top-Referent program & Rückblick)
   ========================================================= */
.accordion {
  display: flex; flex-direction: column; gap: 6px;
}

.accordion-item {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.accordion-item[open] {
  border-color: var(--blue);
  box-shadow: 0 4px 20px -8px rgba(0,51,153,.15);
}

.accordion-trigger {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .2s var(--ease);
}
.accordion-trigger::-webkit-details-marker { display: none; }
.accordion-trigger:hover { background: var(--cream); }
.accordion-item[open] .accordion-trigger { background: var(--blue-tint); }

.acc-header {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 3px;
}
.acc-meta {
  font-size: .78rem; font-weight: 500;
  color: var(--blue); letter-spacing: .02em;
  text-transform: none;
}
.acc-title {
  font-size: 1rem; font-weight: 600; color: var(--ink);
  line-height: 1.3;
}
.accordion-item[open] .acc-title { color: var(--blue-deep); }

.acc-chevron {
  flex-shrink: 0; width: 20px; height: 20px;
  color: var(--blue); opacity: .6;
  transition: transform .3s var(--ease), opacity .2s;
}
.acc-chevron svg { width: 20px; height: 20px; }
.accordion-item[open] .acc-chevron { transform: rotate(180deg); opacity: 1; }

.accordion-body {
  padding: 0 22px 22px 22px;
  border-top: 1px solid var(--line-2);
}
.accordion-item[open] .accordion-body { border-top-color: rgba(0,51,153,.12); }

.acc-subtitle {
  font-size: .82rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blue);
  margin: 16px 0 12px;
  font-family: var(--font-body);
}
.accordion-body p {
  font-size: .97rem; line-height: 1.75; color: var(--ink-2);
  margin-bottom: .9rem;
}
.accordion-body p:last-child { margin-bottom: 0; }

/* Rückblick section heading */
.rueckblick-heading {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold-ink); /* Gold (#FFCC00) auf hellem Grund war 1.3:1 */
  margin: 64px 0 0;
}

/* =========================================================
   HES Hero (Hambach full-bleed)
   ========================================================= */
.hes-hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 10vw, 110px) 0 clamp(52px, 8vw, 88px);
  background-image: url('../assets/images/hes-hambach.webp');
  background-size: cover; background-position: center 40%;
}
.hes-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(10, 22, 55, .62) 0%,
    rgba(20, 45, 90, .48) 60%,
    rgba(30, 55, 80, .38) 100%);
}
.hes-hero-content { position: relative; z-index: 1; }
.hes-hero-content .eyebrow::before { background: var(--gold-soft); }
/* Lead text in hero: etwas kleiner, volle Breite */
.hes-hero-content .lead {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  max-width: none;
}

/* =========================================================
   HES scrolling film-strip band
   ========================================================= */
.hes-strip-outer {
  overflow: hidden;
  height: clamp(200px, 22vw, 340px);
  background: #1b1b1b; /* fills the 4px gaps between frames */
}

.hes-strip-track {
  display: flex;
  gap: 4px;
  width: max-content;
  animation: hes-scroll 55s linear infinite;
  position: relative; /* anchors the film-rail pseudo-elements */
}
.hes-strip-outer:hover .hes-strip-track { animation-play-state: paused; }

/* Film rails — solid dark bar, same color and width as inter-frame gaps */
.hes-strip-track::before,
.hes-strip-track::after {
  content: '';
  position: absolute; left: 0; width: 100%;
  height: 4px; z-index: 3; pointer-events: none;
  background: #1b1b1b;
}
.hes-strip-track::before { top: 0; }
.hes-strip-track::after  { bottom: 0; }

.hes-strip-track figure {
  flex-shrink: 0;
  margin: 0; overflow: hidden; position: relative;
  height: clamp(200px, 22vw, 340px);
  aspect-ratio: 3 / 2;
}
.hes-strip-track figure::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(12, 24, 58, .52);
}
.hes-strip-track img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  filter: saturate(.25) blur(1.8px) brightness(.85);
  display: block;
}
/* Gruppenbild: leicht hereingezoomt, Fokus etwas höher */
.hes-img-group img { transform: scale(1.2); object-position: center 35%; }
/* hes18-4 / hes18-6: Ausschnitt nach oben */
.hes-img-18-4 img, .hes-img-18-6 img { object-position: center 20%; }

@keyframes hes-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Announcement date/location block */
.hes-date-block { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
.hes-date {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700; color: var(--gold);
  line-height: 1.1; letter-spacing: -.01em;
}
.hes-location {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  font-weight: 600; color: rgba(255,255,255,.75);
  line-height: 1.1; letter-spacing: .02em;
}
.tr-past-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 8px 0; color: var(--ink-3); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
}
.tr-past-divider::before, .tr-past-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.tr-past-divider ~ details.accordion-item {
  background: var(--cream-2);
  opacity: .9;
}

.hes-announce-band::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: url('../assets/images/dresden-panorama.webp');
  background-size: cover; background-position: center 60%;
  opacity: .15;
  pointer-events: none;
}
.hes-announce-band .container { position: relative; z-index: 1; }

.hes-speaker-list {
  list-style: none; padding: 0; margin: 10px 0 0;
  display: flex; flex-direction: column; gap: 0;
}
.hes-speaker-list li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.18);
}
.hes-speaker-list li:first-child { border-top: none; padding-top: 0; }
.hes-speaker-list strong {
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 700; color: #fff;
}
.hes-speaker-list span {
  font-size: .78rem; color: rgba(255,255,255,.75); line-height: 1.5;
}

/* =========================================================
   HES Rückblick list
   ========================================================= */
.hes-list {
  margin-top: 16px;
  border-top: 1px solid var(--line-2);
}
.hes-year { border-bottom: 1px solid var(--line-2); }
.hes-year-trigger {
  display: grid;
  grid-template-columns: 64px 1fr 24px;
  align-items: center; gap: 20px;
  padding: 20px 6px;
  cursor: pointer; list-style: none; user-select: none;
  transition: background .2s var(--ease);
}
.hes-year-trigger::-webkit-details-marker { display: none; }
.hes-year-trigger:hover { background: var(--cream); border-radius: var(--radius); }
.hes-year[open] .hes-year-trigger { background: var(--cream-2, #f5f0e8); border-radius: var(--radius) var(--radius) 0 0; }
.hes-year-num {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--gold); line-height: 1; text-align: center;
}
.hes-year[open] .hes-year-num { color: var(--blue); }
.hes-year-info { min-width: 0; }
.hes-year-location {
  display: block;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 5px;
}
.hes-year-theme {
  font-size: .97rem; font-weight: 600; color: var(--ink);
  line-height: 1.35;
}
.hes-year[open] .hes-year-theme { color: var(--blue); }
.hes-chevron {
  flex-shrink: 0; width: 20px; height: 20px;
  color: var(--gold); opacity: .7;
  transition: transform .3s var(--ease), opacity .2s;
}
.hes-chevron svg { width: 20px; height: 20px; }
.hes-year[open] .hes-chevron { transform: rotate(180deg); opacity: 1; }
.hes-year-body {
  padding: 4px 6px 24px calc(64px + 20px);
}
.hes-year-body p {
  font-size: .93rem; line-height: 1.75; color: var(--ink-2); margin: 0;
}

/* Year-level collapsible panels (Rückblick) */
.year-panel {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.year-panel[open] {
  border-color: var(--gold);
  box-shadow: 0 4px 24px -8px rgba(0,0,0,.08);
}
.year-panel-trigger {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 28px;
  cursor: pointer; list-style: none; user-select: none;
  transition: background .2s var(--ease);
}
.year-panel-trigger::-webkit-details-marker { display: none; }
.year-panel-trigger:hover { background: var(--cream); }
.year-panel[open] .year-panel-trigger { background: var(--cream-2, #f5f0e8); }
.year-panel-head { flex: 1; min-width: 0; }
.year-panel-eyebrow {
  display: block;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 2px;
}
.year-panel-label {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700; color: var(--ink);
  line-height: 1.2;
}
.year-panel[open] .year-panel-label { color: var(--blue-deep); }
.year-panel-chevron {
  flex-shrink: 0; width: 22px; height: 22px;
  color: var(--gold); opacity: .7;
  transition: transform .3s var(--ease), opacity .2s;
}
.year-panel-chevron svg { width: 22px; height: 22px; }
.year-panel[open] .year-panel-chevron { transform: rotate(180deg); opacity: 1; }
.year-panel-body { padding: 0 28px 28px; }
.year-panel-body .accordion { margin-top: 20px; }

/* Lecture / talk cards */
.talk-card {
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  height: 100%;
}
.talk-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.talk-card .bar { height: 6px; background: linear-gradient(90deg, var(--blue), var(--gold)); }
.talk-card .body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.talk-card .date { font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--gold-ink); text-transform: uppercase; }
.talk-card h3 { font-size: 1.32rem; margin: 10px 0; }
.talk-card .who { font-size: .92rem; color: var(--ink-3); margin-bottom: 12px; }
.talk-card p { font-size: .96rem; flex: 1; }

.pill { display:inline-block; background: var(--gold-tint); color: #6b4e16; font-size:.72rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; padding:5px 11px; border-radius:100px; }

/* =========================================================
   Mission split
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 80px); align-items: center; }
.split--reverse .split-media { order: 2; }
.values-list { display: grid; gap: 18px; }
.values-list li { display: flex; gap: 16px; align-items: flex-start; }
.values-list .dot { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color:#fff; display: grid; place-items: center; }
.values-list .dot svg { width: 18px; height: 18px; }
.values-list h3, .values-list h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin-bottom: 2px; }
.values-list p { font-size: .95rem; }
.values-list--prominent { gap: 28px; }
.values-list--prominent li { gap: 20px; padding: 20px 24px; background: var(--surface); border-radius: 12px; box-shadow: 0 2px 12px rgba(20,30,60,.07); }
.values-list--prominent .dot { width: 44px; height: 44px; flex-shrink: 0; }
.values-list--prominent .dot svg { width: 22px; height: 22px; }
.values-list--prominent h3, .values-list--prominent h4 { font-size: 1.1rem; margin-bottom: 4px; }
.values-list--prominent p { font-size: .95rem; color: var(--ink-2); }

.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(140deg, rgba(0,40,128,.84), rgba(0,20,66,.92)), var(--blue-darker) url("../assets/images/mission.webp") center / cover no-repeat;
  aspect-ratio: 4/3; box-shadow: var(--shadow-lg); display: grid; place-items: center; padding: 40px; text-align: center; color:#fff;
}
.media-frame::after { content:""; position:absolute; inset:0; }
.media-frame .qmark { font-family: var(--font-display); font-size: 6rem; color: var(--gold-soft); line-height: .8; }
.media-frame blockquote { position: relative; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.35; font-style: italic; }
.media-frame cite { display:block; margin-top:18px; font-style: normal; font-family: var(--font-body); font-size:.9rem; letter-spacing:.04em; opacity:.85; }

/* =========================================================
   Prize highlight band
   ========================================================= */
.prize-band {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--blue-darker), var(--blue));
}
.prize-band::before { content:""; position:absolute; left:-120px; top:-120px; width:340px; height:340px; border-radius:50%; background: radial-gradient(circle, rgba(255,204,0,.45), transparent 65%); }
.prize-band .container { position: relative; }
.prize-flex { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px,5vw,70px); align-items:center; }
.prize-band .eyebrow { color: var(--gold-soft); }
.prize-band .eyebrow::before { background: var(--gold-soft); }
.prize-band h2 { color:#fff; }
.prize-band p { color: rgba(255,255,255,.82); }
.winner-card { background: rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.16); border-radius: var(--radius); padding: 22px 24px; backdrop-filter: blur(4px); }
.winner-card + .winner-card { margin-top: 16px; }
.winner-card .yr { color: var(--gold-soft); font-weight:700; font-size:.8rem; letter-spacing:.1em; }
.winner-card h3, .winner-card h4 { color:#fff; font-family: var(--font-body); font-weight:700; font-size:1.08rem; margin:4px 0; }
.winner-card p { font-size:.92rem; }

/* =========================================================
   CTA band
   ========================================================= */
.cta {
  text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--cream), var(--cream-2));
}
.cta-box {
  background: var(--ink); color:#fff; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-box::before { content:""; position:absolute; inset:0; }
.cta-box::after { content:""; position:absolute; width:360px; height:360px; border-radius:50%; right:-100px; bottom:-160px; background: radial-gradient(circle, rgba(255,204,0,.4), transparent 60%); }
.cta-box > * { position: relative; }
/* Deko-Pseudo-Elemente duerfen keine Taps/Klicks abfangen (Mobil: ::after-Kreis lag ueber den CTA-Buttons) */
.cta-box::before, .cta-box::after, .page-hero::before, .page-hero::after,
.media-frame::after, .prize-band::before { pointer-events: none; }
.cta-box h2 { color:#fff; }
.cta-box p { color: rgba(255,255,255,.8); max-width: 56ch; margin-inline:auto; margin-top:14px; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:30px; }

/* =========================================================
   Page hero (interior pages)
   ========================================================= */
.page-hero {
  position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: 48px;
  background: linear-gradient(120deg, rgba(0,18,60,.94) 12%, rgba(0,30,99,.78) 70%, rgba(0,40,128,.66) 100%), var(--blue-darker) url("../assets/images/hero.webp") center right / cover no-repeat;
  color:#fff; overflow:hidden;
}
.page-hero::before { content:""; position:absolute; inset:0; }
.page-hero::after { content:""; position:absolute; right:-140px; top:-140px; width:460px; height:460px; border-radius:50%; background: radial-gradient(circle, rgba(255,204,0,.4), transparent 65%);}
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero h1 { color:#fff; margin-top: .6rem; }
.page-hero p { color: rgba(255,255,255,.85); max-width: 60ch; margin-top: 1rem; font-size: 1.12rem; }
.breadcrumb { font-size:.85rem; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.breadcrumb a:hover { color:#fff; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose p { margin-bottom: 1.1rem; font-size: 1.06rem; line-height: 1.75; }
.prose h2 { font-size: 1.7rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.3rem; margin: 1.8rem 0 .6rem; }
.prose ul { margin: 0 0 1.2rem; display: grid; gap: .55rem; }
.prose ul li { position: relative; padding-left: 1.6rem; color: var(--ink-2); }
.prose ul li::before { content:""; position:absolute; left:0; top:.65em; width:8px; height:8px; border-radius:50%; background: var(--gold); }
.prose a { color: var(--blue); font-weight:600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold-soft); }
.prose strong { color: var(--ink); }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 760px; margin-inline:auto; padding-left: 30px; }
.timeline::before { content:""; position:absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--blue), var(--gold)); }
.tl-item { position: relative; padding: 0 0 30px 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item:last-child::after {
  content: ""; position: absolute;
  left: -26px; top: 20px; bottom: -8px; width: 6px;
  background: var(--tl-bg, var(--paper));
}
.timeline        { --tl-bg: var(--paper); }
.bg-cream2 .timeline { --tl-bg: var(--cream-2); }
.timeline-on-dark { --tl-bg: var(--ink); }
.tl-item::before { content:""; position:absolute; left:-30px; top:4px; width:16px; height:16px; border-radius:50%; background:#fff; border: 3px solid var(--blue); box-shadow: 0 0 0 4px var(--cream); }
.tl-item .yr { font-family: var(--font-display); font-weight:600; color: var(--blue); font-size: 1.1rem; }
.tl-item p { margin-top: 2px; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background:#fff; }
table.program { width: 100%; border-collapse: collapse; min-width: 640px; }
table.program th { text-align: left; background: var(--blue); color:#fff; font-weight:600; font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; padding: 14px 18px; }
table.program td { padding: 15px 18px; border-top: 1px solid var(--line-2); font-size:.96rem; vertical-align: top; }
table.program tr:hover td { background: var(--blue-tint); }
table.program .when { white-space: nowrap; font-weight:600; color: var(--ink); }
table.program .role { color: var(--ink-3); font-size:.86rem; }

/* ---------- Namensgeber Portrait & Quote ---------- */
.ff-portrait-wrap {
  margin-top: clamp(36px, 5vw, 64px);
  margin-bottom: clamp(36px, 5vw, 64px);
}
.ff-portrait {
  width: 100%; max-width: 320px;
  border-radius: var(--radius);
  border: 3px solid rgba(255,204,0,.35);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.7);
  display: block;
}
.ff-portrait-caption {
  font-size: .82rem !important;
  color: rgba(255,255,255,.72) !important; /* vorher .45 – Kontrast 4.3:1 auf Dunkelblau */
  margin-top: 8px !important;
  font-style: italic;
}
.ff-quote {
  border-left: 3px solid var(--gold);
  margin: 0 0 clamp(36px, 5vw, 64px) 0;
  padding: 16px 20px;
  background: rgba(255,255,255,.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.5;
  color: rgba(255,255,255,.9);
}
.ff-quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: var(--font-body);
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--gold-soft);
}

.prose-on-dark p { color: rgba(255,255,255,.78); }
.prose-on-dark strong { color: #fff; }
.prose-on-dark h2, .prose-on-dark h3 { color: #fff; }

.tl-hidden { display: none; }
.tl-expanded .tl-hidden { display: block; }

.tl-toggle {
  margin-top: 16px; padding: 10px 20px;
  border-radius: 100px; border: 1.5px solid rgba(255,255,255,.25);
  background: transparent; color: rgba(255,255,255,.7);
  font: 600 .85rem var(--font-body); letter-spacing: .04em;
  cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.tl-toggle:hover { border-color: var(--gold-soft); color: var(--gold-soft); background: rgba(255,204,0,.06); }

.timeline-on-dark::before { background: linear-gradient(var(--gold), var(--blue-soft)); }
.timeline-on-dark .tl-item::before { background: var(--ink); border-color: var(--gold-soft); box-shadow: 0 0 0 4px var(--ink); }
.timeline-on-dark .tl-item .yr { color: var(--gold-soft); }
.timeline-on-dark .tl-item p { color: rgba(255,255,255,.72); }

/* ---------- People / Vorstand ---------- */
.people { display:grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person {
  background:#fff; border:1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 28px 22px 24px; text-align:center; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex; flex-direction: column; align-items: center;
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person .ava {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--blue-darker));
  color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  border: 3px solid var(--line-2);
  flex-shrink: 0;
}
.person .ava img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  display: block;
}
.person .nm { font-weight: 700; font-size: 1rem; line-height: 1.25; }
.person .rl {
  display: inline-block; margin-top: 6px;
  background: var(--blue-tint); color: var(--blue);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.person .job { font-size: .8rem; color: var(--ink-3); margin-top: 8px; line-height: 1.4; }

/* ---------- Member card ---------- */
.member-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.member-card::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  right: -100px; bottom: -120px;
  background: radial-gradient(circle, rgba(255,204,0,.35), transparent 65%);
  pointer-events: none;
}
.member-card > * { position: relative; }
.member-card-header { margin-bottom: 24px; }

.member-benefits { display: grid; gap: 16px; }
.member-benefits li { display: flex; gap: 14px; align-items: flex-start; }
.benefit-check {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); color: #3a2e00;
  display: grid; place-items: center;
  font-size: .9rem; font-weight: 700; line-height: 1;
}
.member-benefits h3, .member-benefits h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: 2px; }
.member-benefits p { font-size: .9rem; color: rgba(255,255,255,.65); }

.member-fee {
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: grid; gap: 10px;
}
.fee-row { display: flex; justify-content: space-between; align-items: baseline; }
.fee-label { font-size: .9rem; color: rgba(255,255,255,.7); }
.fee-amount { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--gold-soft); }
.fee-period { font-family: var(--font-body); font-size: .85rem; color: rgba(255,255,255,.5); margin-left: 3px; }
.fee-reduced .fee-amount { font-size: 1.25rem; color: rgba(255,204,0,.7); }
.fee-note { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: 4px; }

/* ---------- Info / Contact cards ---------- */
.info-card { background:#fff; border:1px solid var(--line-2); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.info-card .icon { width:48px;height:48px;border-radius:12px;background:var(--blue-tint);color:var(--blue);display:grid;place-items:center;margin-bottom:16px; }
.info-card .icon svg{width:24px;height:24px;}
.info-card h3 { font-size:1.15rem; margin-bottom:6px; }
.info-card a { color: var(--blue); font-weight:600; }
.info-card .btn { color: #fff; }
.info-card a:hover { text-decoration: underline; }

.iban-box { background: var(--blue-tint); border:1px dashed var(--blue-soft); border-radius: var(--radius); padding: 20px 24px; }
.iban-box .lbl { font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; color: var(--blue); font-weight:700; }
.iban-box .val { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); letter-spacing:.02em; margin-top:4px; }

/* ---------- Forms ---------- */
.form { background:#fff; border:1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(24px,4vw,40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:600; font-size:.9rem; margin-bottom:7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width:100%; padding: 13px 16px; border:1.5px solid var(--line); border-radius: 10px;
  font: inherit; background: var(--cream); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--blue); background:#fff; box-shadow: 0 0 0 4px var(--blue-tint); }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checkrow { display:flex; gap:12px; align-items:flex-start; font-size:.88rem; color: var(--ink-2); }
.checkrow input { width:18px; height:18px; margin-top:3px; accent-color: var(--blue); flex-shrink:0; }
.form-note { font-size:.82rem; color: var(--ink-3); margin-top: 12px; }
.form-note a { text-decoration: underline; text-underline-offset: 2px; } /* Link nicht nur über Farbe erkennbar (WCAG 1.4.1) */

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(50px,7vw,80px); }
.footer-brand img { height: 52px; width:auto; border-radius:6px; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size:.95rem; max-width: 32ch; }
.footer-col h2, .footer-col h4 { color:#fff; font-family: var(--font-body); font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom: 16px; }
.footer-col ul { display:grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.7); font-size:.96rem; transition: color .2s, padding .2s; }
.footer-col a:hover { color:#fff; padding-left: 4px; }
.footer-contact li { display:flex; gap:10px; align-items:flex-start; font-size:.95rem; margin-bottom: 12px; }
.footer-contact svg { width:18px;height:18px; color: var(--gold-soft); flex-shrink:0; margin-top:2px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display:flex; justify-content:space-between; align-items:center; gap: 16px; flex-wrap:wrap; font-size:.86rem; color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color:#fff; }
.footer-legal { display:flex; gap:20px; flex-wrap:wrap; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity:1; transform:none; transition:none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  /* minmax(0,1fr) statt 1fr: Spalten dürfen unter ihre min-content-Breite
     schrumpfen, sonst drücken lange Wörter das Grid über den Viewport */
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 480px; justify-self: start; margin-right: 0; }
  .hero-quote { left: 0; }
  .split, .split--reverse .split-media, .prize-flex, .grid-3, .grid-4, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .hes-strip-outer { height: 150px; }
  .hes-strip-track figure { height: 150px; }
  .hes-strip-track::before,
  .hes-strip-track::after { height: 4px; }
  .hes-year-trigger { grid-template-columns: 48px 1fr 20px; gap: 12px; }
  .hes-year-num { font-size: 1.25rem; }
  .hes-year-body { padding-left: calc(48px + 12px); }
  .split--reverse .split-media { order: 0; }

  /* mobile menu */
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); z-index: 95; /* über .nav-backdrop (90) */
    background: var(--cream); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: calc(var(--header-h) + 20px) 24px 30px; gap: 4px;
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.5);
    transform: translateX(100%); transition: transform .4s var(--ease); display: flex;
    overflow-y: auto;
  }
  .menu-open .nav { transform: none; }
  .nav a { padding: 14px 16px; border-radius: 10px; font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav a:hover, .nav a.active { background: var(--blue-tint); }
  .nav-cta { display: block; margin-top: 14px; }
  .nav .nav-cta a { display: block; background: var(--blue); color:#fff; text-align:center; }
  .nav-backdrop { position: fixed; inset:0; background: rgba(0,12,40,.45); opacity:0; pointer-events:none; transition: opacity .4s; z-index: 90; }
  .menu-open .nav-backdrop { opacity:1; pointer-events:auto; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .hero-meta { gap: 22px; }
  body { font-size: 16px; }
  .brand img { height: 76px; }
  .scrolled .brand img { height: 44px; }
}

/* ===== Barrierefreiheit ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 1000;
  background: var(--blue); color: #fff; padding: 12px 20px;
  border-radius: 0 0 10px 10px; font-weight: 600; text-decoration: none;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 2px;
}
