/* ============================================================
   GASTRO SCIENCE SESSION – Stylesheet
   ------------------------------------------------------------
   Aufbau:
   01 Design-Tokens (CSS Custom Properties)
   02 Basis & Reset
   03 Utilities (Container, Kicker, Platzhalter, Skip-Link …)
   04 Buttons, Links, Badges
   05 Header & Navigation
   06 Hero
   07 Sektionen & Einführung
   08 Veranstaltungskarten
   09 Programm-Timeline
   10 Referierende
   11 Anmeldung / Ticketing
   12 Call-to-Action
   13 Footer
   14 Rechtliche Unterseiten
   15 Animationen (dezent, mit Reduced-Motion-Fallback)
   16 Responsive Anpassungen
   ============================================================ */

/* ---------- 01 Design-Tokens ---------- */
:root {
  /* Farbpalette Gastro Science Session (verbindlich, Stand August 2026) */
  --color-green:      #1A4E2E;   /* Dunkelgrün, Pantone 3435 C */
  --color-lime:       #97BF0D;   /* Schwabe Hausfarbe, Pantone 376 C */
  --color-yellow:     #DEB442;   /* Carmenthin Gelb – siehe Hinweis unten */

  /* Abgeleitete Abstufungen (nicht Teil der Palette, aus ihr entwickelt) */
  --color-dark-green: #12331F;   /* dunklere Stufe von #1A4E2E für Tiefe */
  --color-light-green:#CBDF86;   /* Aufhellung von #97BF0D für dunkle Flächen */
  --color-cream:      #F3F2E9;   /* neutraler Hintergrund */
  --color-white:      #FFFFFF;
  --text:             #22392C;   /* Fliesstext auf hellen Flächen */
  --text-muted:       #51665A;   /* Sekundärtext auf hellen Flächen */
  --text-on-dark:     #F3F2E9;
  --text-on-dark-muted: rgba(243, 242, 233, 0.82);
  --hairline:         rgba(18, 51, 31, 0.14);
  --hairline-dark:    rgba(243, 242, 233, 0.18);

  /* CARMENTHIN GELB: Verbindlich ist der HEX-Wert #DEB442 (Produktfarbe
     Carmenthin). Die RGB- und Pantone-Angaben der Palette beschreiben einen
     anderen, gelbgrünen Ton und wurden bewusst nicht verwendet.
     Eingesetzt wird die Farbe punktuell: Ring der Zeitachsen-Marker, Punkt vor
     den Veranstaltungsgruppen bei den Referierenden, Statusetikett
     «Anmeldung folgt» und die Ziffer auf den Veranstaltungskarten. */

  /* Typografie: Systemschriften, keine externen Fonts.
     Optional können Markenschriften via @font-face aus assets/fonts/
     ergänzt werden (siehe assets/fonts/LIESMICH.txt). */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 4vw, 2rem);
  --header-height: 72px;

  /* Abstände */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --section-pad: clamp(3.75rem, 8vw, 6.5rem);

  /* Radien & Schatten */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px -28px rgba(18, 51, 31, 0.35);

  /* Fokus */
  --focus-color: var(--color-green);
}

/* Dunkle Flächen: helle Fokusfarbe und helle Texttöne */
.theme-dark { --focus-color: var(--color-cream); }

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

html { -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, p, ul, ol, address { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
address { font-style: normal; }

a { color: var(--color-green); text-underline-offset: 3px; }
a:hover { color: var(--color-dark-green); }

/* Ankerziele nicht unter dem fixierten Header verschwinden lassen */
section[id], [id^="event-"] { scroll-margin-top: calc(var(--header-height) + 20px); }

:focus-visible {
  outline: 3px solid var(--focus-color);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 03 Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 100;
  padding: 0.8rem 1.2rem;
  background: var(--color-dark-green);
  color: var(--color-cream);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus-visible { top: 1rem; color: var(--color-cream); }

/* Nummerierte Sektions-Kicker im Stil der Markenunterlagen */
.kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-green);
  margin-bottom: 0.9rem;
}
/* Akzentstrich in der Schwabe Hausfarbe – auf hellen wie dunklen Flächen
   derselbe Grünton, verbindet alle Abschnitte visuell */
.kicker::before {
  content: "";
  flex: none;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-lime);
}
.kicker--light { color: var(--color-light-green); }

/* Deutlich markierte Platzhalter (vor Veröffentlichung ersetzen) */
.ph {
  display: inline-block;
  padding: 0.05em 0.4em;
  border: 1px dashed rgba(26, 78, 46, 0.5);
  border-radius: 6px;
  background: rgba(201, 224, 138, 0.35);
  color: #2A4A35;
  font-weight: 600;
}
.theme-dark .ph {
  border-color: rgba(201, 224, 138, 0.55);
  background: rgba(201, 224, 138, 0.14);
  color: #EAF1D6;
}

/* Hinweisbox (z. B. solange Ticketing-Links fehlen) */
.notice {
  max-width: 820px;
  margin-bottom: var(--space-4);
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--color-lime);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}
.notice strong { color: var(--text); }

/* ---------- 04 Buttons, Links, Badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.85rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn--sm { min-height: 44px; padding: 0.6rem 1.3rem; font-size: 0.95rem; }

.btn--primary {
  background: var(--color-lime);
  color: var(--color-dark-green);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: #A9D419; color: var(--color-dark-green); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--color-cream);
  border-color: rgba(243, 242, 233, 0.65);
}
.btn--ghost:hover { background: rgba(243, 242, 233, 0.1); color: var(--color-cream); }

.btn--secondary {
  background: var(--color-green);
  color: var(--color-cream);
}
.btn--secondary:hover { background: var(--color-dark-green); color: var(--color-cream); }

/* Abmelde-Link: bewusst schlichter als der Anmelde-Button */
.link-cancel {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0.5rem 0.25rem;
  color: var(--color-green);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.link-cancel:hover { color: var(--color-dark-green); }

.ext { font-size: 0.85em; }

/* Platzhalter-Zustand, solange keine echten Ticketing-URLs hinterlegt sind
   (wird per JavaScript gesetzt) */
.is-placeholder { cursor: not-allowed; }
.btn.is-placeholder,
.btn.is-placeholder:hover {
  background: #E5EAE0;
  color: #5C6B60;
  border: 1px dashed #9FB0A2;
  box-shadow: none;
  transform: none;
}
.link-cancel.is-placeholder,
.link-cancel.is-placeholder:hover {
  color: #7A897D;
  text-decoration-style: dashed;
}
.is-placeholder .ext { display: none; }

/* Status-Badge («Anmeldung geöffnet» / «Anmeldung folgt») */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.badge--open {
  background: rgba(151, 191, 13, 0.16);
  color: var(--color-green);
  border: 1px solid rgba(151, 191, 13, 0.55);
}
.badge--soon {
  background: rgba(222, 180, 66, 0.22);
  color: #6B4E12;
  border: 1px dashed rgba(222, 180, 66, 0.85);
}

/* ---------- 05 Header & Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  border-bottom: 1px solid var(--hairline);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(18, 51, 31, 0.4); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}
.brand__logo { width: auto; height: 46px; }
.brand__name {
  font-weight: 800;
  font-size: 0.98rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-dark-green);
}
.brand__name-line { display: block; }

.site-nav { display: flex; align-items: center; gap: var(--space-3); }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__link {
  display: inline-block;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  text-decoration: none;
}
.site-nav__link:hover { background: rgba(26, 78, 46, 0.08); color: var(--color-dark-green); }
.site-nav__link[aria-current] {
  color: var(--color-green);
  text-decoration: underline;
  text-decoration-color: var(--color-lime);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

/* Sprachumschaltung */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
}
.lang-switch__btn {
  min-width: 44px;
  min-height: 36px;
  padding: 0.3rem 0.7rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
}
.lang-switch__btn:hover { color: var(--color-dark-green); }
.lang-switch__btn[aria-pressed="true"] {
  background: var(--color-green);
  color: var(--color-cream);
}

.lang-switch--footer { border-color: var(--hairline-dark); margin-top: var(--space-3); }
.lang-switch--footer .lang-switch__btn { color: var(--text-on-dark-muted); }
.lang-switch--footer .lang-switch__btn:hover { color: var(--color-cream); }
.lang-switch--footer .lang-switch__btn[aria-pressed="true"] {
  background: var(--color-lime);
  color: var(--color-dark-green);
}

/* Hamburger-Button (nur mobil sichtbar) */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  cursor: pointer;
}
.nav-toggle__box {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle__bar {
  width: 22px; height: 2px;
  border-radius: 2px;
  background: var(--color-dark-green);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 06 Hero ---------- */
.hero {
  position: relative;
  background: var(--color-dark-green)
              url("assets/images/key-visual-darmschlingen-molekuel.jpg")
              center / cover no-repeat;
  color: var(--text-on-dark);
}
/* Kleinere Bildfassung für schmale Viewports spart Datenvolumen */
@media (max-width: 700px) {
  .hero { background-image: url("assets/images/key-visual-darmschlingen-molekuel-1200.jpg"); }
}
/* Abdunkelung für zuverlässige Lesbarkeit über dem Bild */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
              rgba(18, 51, 31, 0.94) 0%,
              rgba(18, 51, 31, 0.82) 45%,
              rgba(18, 51, 31, 0.42) 100%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(230px, 28vw, 340px);
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}
.hero__title {
  margin: 0.2em 0 0.35em;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-cream);
}
/* Zwei Zeilen: Name der Reihe, darunter der Claim in der Hausfarbe */
.hero__title-name {
  display: block;
  font-size: clamp(2.35rem, 6vw, 3.8rem);
}
.hero__title-claim {
  display: block;
  margin-top: 0.12em;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  letter-spacing: -0.01em;
  color: var(--color-light-green);
}
.hero__subtitle {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 600;
  color: var(--color-cream);
}
.hero__lead {
  max-width: 58ch;
  margin-top: 1.1rem;
  font-size: 1.05rem;
  color: var(--text-on-dark-muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 2.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.hero__meta li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-lime);
}

/* Logo-Siegel: Original-Bilddatei, unverändert, auf weissem Rund */
/* Das Logo enthält seinen weissen Kreis bereits – deshalb ohne zusätzliche
   Fläche, nur mit einem weichen Schatten für Tiefe. */
.seal {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.seal img { width: 100%; height: 100%; object-fit: contain; }
.hero__seal {
  justify-self: end;
  width: 100%;
  max-width: 340px;
  filter: drop-shadow(0 26px 55px rgba(0, 0, 0, 0.55));
}
.seal--sm { width: 76px; }

/* Gestalterisches Element: Zuckermolekül aus dem Key Visual.
   Rein dekorativ, deshalb im HTML mit leerem alt und aria-hidden. */
.section--deco { position: relative; overflow: hidden; }
.deco {
  position: absolute;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.deco--program {
  top: clamp(1.5rem, 4vw, 3rem);
  right: clamp(-3rem, -2vw, -1rem);
  width: clamp(150px, 20vw, 280px);
  opacity: 0.5;
}
.deco--cta {
  bottom: -1.5rem;
  left: clamp(-3rem, -2vw, -1rem);
  width: clamp(150px, 18vw, 250px);
  opacity: 0.28;
}
.deco--pagehero {
  bottom: -2rem;
  right: clamp(-2.5rem, -1vw, 0rem);
  width: clamp(130px, 16vw, 220px);
  opacity: 0.3;
}
@media (max-width: 560px) {
  .deco--cta, .deco--pagehero { display: none; }
  .deco--program { opacity: 0.32; }
}

/* ---------- 07 Sektionen & Einführung ---------- */
.section { padding-block: var(--section-pad); }
.section--cream { background: var(--color-cream); }
.section--white { background: var(--color-white); }

.section__title {
  max-width: 24ch;
  font-size: clamp(1.75rem, 3.6vw, 2.45rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--color-dark-green);
}
.section__lead {
  max-width: 70ch;
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: var(--space-4);
}
.pillar {
  padding: 1.6rem 1.7rem;
  background: var(--color-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.pillar__title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-green);
}
.pillar__title::after {
  content: "";
  display: block;
  width: 30px; height: 3px;
  margin-top: 0.55rem;
  border-radius: 2px;
  background: var(--color-lime);
}
.pillar__text { margin-top: 0.8rem; font-size: 0.98rem; color: var(--text-muted); }

/* ---------- 08 Veranstaltungskarten ---------- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: var(--space-4);
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.75rem 1.5rem;
  background: var(--color-cream);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.event-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.event-card__index {
  position: absolute;
  top: 1rem; right: 1.4rem;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(222, 180, 66, 0.55);
}
.event-card__statusline { min-height: 1.7rem; margin-bottom: 0.4rem; }
.event-card__date { font-weight: 700; color: var(--color-green); }
.event-card__city {
  margin-top: 0.15rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-dark-green);
}
.event-card__venue { margin-top: 0.25rem; color: var(--text-muted); }
.event-card__time {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.event-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 0.25rem;
}

/* ---------- 09 Programm-Timeline ---------- */
.timeline {
  max-width: 860px;
  margin-top: var(--space-4);
  padding: 0;
  list-style: none;
}
.timeline__item {
  display: grid;
  grid-template-columns: 165px 1fr;
  gap: 1.75rem;
  padding-block: 1.4rem;
}
.timeline__time {
  font-weight: 800;
  color: var(--color-green);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.timeline__body {
  position: relative;
  padding-left: 1.6rem;
  padding-bottom: 0.4rem;
  border-left: 3px solid var(--color-light-green);
}
.timeline__body::before {
  content: "";
  position: absolute;
  left: -8px; top: 0.42em;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--color-green);
  box-shadow: 0 0 0 4px rgba(222, 180, 66, 0.45);
  border: 3px solid var(--color-cream);
}
.timeline__heading { font-size: 1.15rem; font-weight: 700; color: var(--color-dark-green); }
.timeline__label {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.timeline__topics { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.timeline__topics li { padding-block: 0.28rem; color: var(--text); }
.timeline__topics li::marker { color: var(--color-lime); }

/* ---------- 10 Referierende ---------- */
/* Gruppiert nach Veranstaltung: pro Ort eine Überschrift mit den Karten. */
.speaker-group { margin-top: var(--space-4); }
.speaker-group__title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-green);
}
.speaker-group__title::before {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-lime);
  box-shadow: 0 0 0 3px rgba(222, 180, 66, 0.4);
}

.speakers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.speaker-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.5rem;
  background: var(--color-cream);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.speaker-card__img {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-white);
}
.speaker-card__name { font-size: 1.05rem; font-weight: 700; color: var(--color-dark-green); }
.speaker-card__role { margin-top: 0.35rem; color: var(--text-muted); font-size: 0.95rem; }
.speaker-card__org {
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Orte, deren Referierende noch offen sind */
.speaker-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 1.1rem 0 1.2rem;
  padding: 0;
  list-style: none;
  font-weight: 600;
  color: var(--color-dark-green);
}

/* ---------- 11 Anmeldung / Ticketing ---------- */
.ticketing {
  display: grid;
  gap: 1rem;
  margin-top: var(--space-3);
}
.ticketing-slot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.85rem 1.75rem;
  padding: 1.3rem 1.6rem;
  background: var(--color-white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}
.ticketing-slot__title { font-size: 1.08rem; font-weight: 800; color: var(--color-dark-green); }
.ticketing-slot__date { margin-top: 0.15rem; color: var(--text-muted); font-size: 0.95rem; }
.ticketing-slot__embed { grid-column: 1 / -1; }
.ticketing-slot__embed:empty { display: none; }
.ticketing-slot__embed iframe { width: 100%; border: 0; border-radius: var(--radius-sm); }
.ticketing-slot__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

/* Vorbereitetes Muster: externe Inhalte erst nach Zustimmung laden */
.embed-consent {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  padding: 1.1rem 1.25rem;
  background: var(--color-cream);
  border: 1px dashed rgba(26, 78, 46, 0.4);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- 12 Call-to-Action ---------- */
.cta {
  background: var(--color-green);
  color: var(--text-on-dark);
}
.cta__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.9rem;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}
.cta__title {
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-cream);
}
.cta__text { max-width: 60ch; color: var(--text-on-dark-muted); }
.cta .btn--primary { margin-top: 0.6rem; }

/* ---------- 13 Footer ---------- */
.site-footer {
  background: var(--color-dark-green);
  color: var(--text-on-dark-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--space-4);
  padding-block: var(--space-5) var(--space-4);
}
.footer-brand__name {
  margin-top: 1rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-cream);
}
.footer-brand__claim {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-light-green);
}
.footer-col__title {
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-light-green);
}
.footer-address { line-height: 1.9; }
.footer-address a { color: var(--text-on-dark-muted); text-decoration: none; }
.footer-address a:hover { color: var(--color-cream); text-decoration: underline; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding-block: 0.3rem; }
.footer-links a { color: var(--text-on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: var(--color-cream); text-decoration: underline; }
.footer-links a[aria-current="page"] { color: var(--color-cream); font-weight: 700; }

.footer-bottom {
  padding-block: 1.3rem 2rem;
  border-top: 1px solid var(--hairline-dark);
  font-size: 0.9rem;
}

/* ---------- 14 Rechtliche Unterseiten ---------- */
.page-hero {
  background: var(--color-green);
  color: var(--text-on-dark);
  padding-block: clamp(3.25rem, 6vw, 4.75rem);
}
.page-hero__title {
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-cream);
}

.prose {
  max-width: 800px;
  padding-block: var(--space-4) var(--space-5);
}
.prose h2 {
  margin-top: 2.4em;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-dark-green);
}
.prose h2:first-of-type { margin-top: 0.5em; }
.prose p { margin-top: 0.9em; }
.prose ul { margin-top: 0.9em; padding-left: 1.3rem; }
.prose li { margin-top: 0.35em; }
.prose li::marker { color: var(--color-lime); }
.prose .meta-line { margin-top: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- 15 Animationen (dezent) ---------- */
/* Sanftes Einblenden – nur mit aktivem JavaScript, sonst sofort sichtbar */
html.js .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
html.js .reveal.is-in { opacity: 1; transform: none; }

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

/* ---------- 16 Responsive Anpassungen ---------- */
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    padding: 1rem var(--container-pad) 1.5rem;
    background: var(--color-white);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 24px 40px -30px rgba(18, 51, 31, 0.45);
  }
  .site-nav.is-open { display: flex; }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link { display: block; padding: 0.9rem 0.75rem; font-size: 1.05rem; }
  .site-nav .lang-switch { align-self: flex-start; }

  /* Ohne JavaScript: Navigation dauerhaft anzeigen, kein Hamburger */
  html.no-js .nav-toggle { display: none; }
  html.no-js .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-shadow: none;
    border-bottom: 0;
    padding: 0 0 0.75rem;
  }
  html.no-js .site-nav__list { flex-direction: row; flex-wrap: wrap; }
  html.no-js .header-inner { flex-wrap: wrap; }

  .hero__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-block: clamp(3.5rem, 8vw, 5rem);
  }
  .hero__seal {
    order: -1;
    justify-self: start;
    max-width: 170px;
    margin-bottom: 0.5rem;
  }

  .timeline__item { grid-template-columns: 1fr; gap: 0.5rem; padding-block: 1.1rem; }
  .timeline__time { padding-left: 1.6rem; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-3); }
}

@media (max-width: 560px) {
  .speaker-card { grid-template-columns: 1fr; justify-items: start; gap: 0.9rem; }
  .ticketing-slot { grid-template-columns: 1fr; }
  .event-card__actions { justify-content: flex-start; }
  .hero__actions .btn { width: 100%; }
}
