/* Ascherl Events – öffentliche Seiten.
 *
 * Bewusst am Mockup orientiert, nicht an der Shop-CI (Entscheidung 29.09.2026):
 * Weiß als Fläche, dunkles Marineblau, Ascherl-Blau als Akzent, kräftige Überschriften,
 * dezente Rundungen. Schrift lokal (Inter, variabel) – keine Google Fonts.
 */

/* Schreibschrift nur für den Störer: auf dessen Zeichen reduziert (9 KB), OFL-Lizenz in quellen/fonts */
@font-face {
  font-family: "Caveat";
  src: url("/static/fonts/caveat-stoerer.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0a1a3a;
  --navy-2: #12295a;
  --blau: #003cd1;
  --blau-dunkel: #002fa6;
  --blau-hell: #eaf0ff;
  --rot: #ff1e23;
  --text: #24324d;
  --leise: #5b6b86;
  --linie: #e3e8f2;
  --grund: #f4f6fa;
  --weiss: #fff;
  --gruen: #0f7a4a;
  --warn: #9a5a00;
  --warn-grund: #fff5e5;

  --radius: 16px;
  --radius-klein: 10px;
  --schatten: 0 1px 2px rgba(10, 26, 58, .06), 0 8px 28px rgba(10, 26, 58, .08);
  --schatten-stark: 0 2px 4px rgba(10, 26, 58, .08), 0 18px 50px rgba(10, 26, 58, .14);

  --rand: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --kopf-h: 72px;
  --abstand: clamp(64px, 9vw, 120px);

  --schrift: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; font-family: var(--schrift); font-size: 17px; line-height: 1.6; color: var(--text);
  background: var(--weiss); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--blau); text-underline-offset: 3px; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 5.2vw, 62px); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
strong { font-weight: 650; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.breite { width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.icon { width: 22px; height: 22px; flex: none; }
.icon--klein { width: 17px; height: 17px; vertical-align: -3px; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--radius-klein);
  background: var(--blau); color: #fff; font: inherit; font-size: 16px; font-weight: 650;
  text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 60, 209, .25);
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.knopf:hover { background: var(--blau-dunkel); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 60, 209, .3); }
.knopf:active { transform: none; }
.knopf .icon { width: 20px; height: 20px; transition: transform .15s; }
.knopf:hover .icon { transform: translateX(3px); }
.knopf--gross { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.knopf--hell { background: #fff; color: var(--navy); box-shadow: none; }
.knopf--hell:hover { background: var(--blau-hell); }
.knopf[disabled] { opacity: .65; cursor: progress; transform: none; }

.plakette {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--blau-hell); color: var(--blau); font-size: 15px; font-weight: 650;
}
.plakette .icon { width: 20px; height: 20px; }
.plakette--klein { padding: 3px 10px; font-size: 13px; margin-left: 8px; }
.plakette--warn { padding: 3px 10px; font-size: 13px; margin-left: 8px; background: var(--warn-grund); color: var(--warn); }

.dachzeile { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blau); margin-bottom: 14px; }
.dachzeile--hell { color: #b9ccff; }

/* ---------------------------------------------------------------- Kopf */
.kopf {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
  padding-top: env(safe-area-inset-top, 0px);
}
.kopf.ist-gescrollt { border-color: var(--linie); box-shadow: 0 4px 20px rgba(10, 26, 58, .06); }
.kopf__innen { display: flex; align-items: center; gap: 24px; min-height: var(--kopf-h); }
.kopf__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.kopf__logo img { width: 150px; height: auto; }
.kopf__zusatz { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--leise); padding-left: 10px; border-left: 1px solid var(--linie); line-height: 1.2; }
.kopf__nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.kopf__nav a { color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 550; padding: 8px 12px; border-radius: 8px; }
.kopf__nav a:hover { background: var(--grund); }
.kopf__shop { display: inline-flex; align-items: center; gap: 6px; color: var(--leise) !important; margin-left: 8px; }
.kopf__cta { min-height: 44px; padding: 10px 18px; font-size: 15px; }

@media (max-width: 960px) {
  .kopf__nav a:not(.kopf__shop) { display: none; }
}
@media (max-width: 560px) {
  :root { --kopf-h: 62px; }
  .kopf__logo img { width: 118px; }
  .kopf__zusatz { display: none; }
  .kopf__shop { display: none !important; }
  .kopf__innen { gap: 12px; justify-content: space-between; }
  .kopf__nav { margin-left: 0; }
}

/* ---------------------------------------------------------------- Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center; background: linear-gradient(180deg, #fff 0%, #f6f8fc 100%);
  min-height: min(720px, calc(100vh - var(--kopf-h)));
}
.hero__text {
  padding: clamp(40px, 6vw, 88px) clamp(24px, 4vw, 56px) clamp(80px, 9vw, 130px) max(var(--rand), calc((100vw - var(--max)) / 2));
}
.hero h1 { max-width: 12ch; hyphens: manual; }
.hero__lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--text); margin-top: 22px; max-width: 34em; }
.hero__lead strong { color: var(--navy); }
.eckdaten { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.eckdaten__box {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; background: #fff;
  border: 1px solid var(--linie); border-radius: 14px; box-shadow: var(--schatten); flex: 1 1 240px;
}
.eckdaten__box strong { display: block; color: var(--navy); font-size: 16px; line-height: 1.3; }
.eckdaten__box div > span { display: block; color: var(--leise); font-size: 15px; line-height: 1.4; }
.eckdaten__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blau-hell); color: var(--blau); flex: none; }
.hero__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 30px; }
.hero__bild { align-self: stretch; position: relative; min-height: 100%; }
.hero__bild picture, .hero__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bild img { object-fit: cover; object-position: 78% 50%; border-bottom-left-radius: 40px; }

@media (max-width: 959px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 36px var(--rand) 32px; }
  .hero h1 { max-width: 14ch; }
  .hero__bild { aspect-ratio: 16 / 10; min-height: 0; }
  .hero__bild img { border-radius: 0; object-position: 70% 50%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__aktion .knopf { width: 100%; }
  .hero__bild { aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------- Vorteile */
.vorteile {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  margin-top: -56px; position: relative; z-index: 2;
}
.vorteil {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff;
  border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten-stark);
}
.vorteil h2 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.vorteil p { color: var(--leise); font-size: 15.5px; line-height: 1.55; }
.vorteil__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; flex: none; }
.vorteil__icon .icon { width: 26px; height: 26px; }
@media (max-width: 1099px) { .vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 959px) {
  .vorteile { margin-top: 0; padding-top: 28px; gap: 14px; }
  .vorteil { box-shadow: var(--schatten); padding: 20px; }
}
@media (max-width: 639px) { .vorteile { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Abschnitte */
.abschnitt-kopf { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.abschnitt-kopf p { font-size: clamp(17px, 1.5vw, 20px); color: var(--leise); margin-top: 12px; }
.abschnitt-kopf--hell h2 { color: #fff; }
.abschnitt-kopf--stoerer { position: relative; max-width: none; padding-right: 260px; }
.stoerer {
  position: absolute; right: 8px; top: -6px; margin: 0 !important; transform: rotate(-7deg);
  font-family: "Caveat", "Segoe Script", "Bradley Hand", cursive; font-weight: 600;
  font-size: 30px !important; line-height: 1.05; color: var(--blau) !important; text-align: center;
}
.stoerer__strich { display: block; width: 150px; height: 12px; margin: 4px auto 0; color: var(--blau); opacity: .8; }
@media (max-width: 759px) {
  .abschnitt-kopf--stoerer { padding-right: 0; padding-top: 88px; }
  .stoerer { top: 0; left: auto; right: 4px; font-size: 25px !important; }
}
.abschnitt-kopf--hell p { color: #b8c4dc; }

/* ---------------------------------------------------------------- Das erwartet Sie */
.dunkel {
  background: radial-gradient(1200px 500px at 85% -10%, #1a3a80 0%, transparent 60%), var(--navy);
  color: #d5deef; padding-block: var(--abstand); margin-top: calc(var(--abstand) * .75);
}
.karten { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: karte; }
.karte { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--text); }
.karte__bild img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.karte__text { padding: 0 22px 24px; position: relative; }
.karte__nr {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-top: -22px; margin-bottom: 14px;
  background: var(--blau); color: #fff; font-weight: 800; font-size: 18px; position: relative; box-shadow: 0 6px 16px rgba(0, 60, 209, .35);
}
.karte h3 { margin-bottom: 12px; }
.karte ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.karte li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.5; color: var(--leise); }
.karte li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--blau); transform: rotate(45deg); }
@media (max-width: 1099px) { .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .karten { grid-template-columns: 1fr; } }

.ablauf { margin-top: clamp(40px, 5vw, 64px); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); background: rgba(255, 255, 255, .04); }
.ablauf__titel { color: #fff; font-size: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }
.ablauf__titel span { font-weight: 500; color: #b8c4dc; font-size: 16px; }
.ablauf__liste { margin: 0; padding: 0; list-style: none; counter-reset: schritt; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 12px 40px; }
.ablauf__liste li { counter-increment: schritt; display: flex; gap: 14px; align-items: baseline; color: #e4eaf6; font-size: 16px; }
.ablauf__liste li::before { content: counter(schritt, decimal-leading-zero); font-weight: 800; color: #7fa1ff; font-size: 14px; font-variant-numeric: tabular-nums; flex: none; }
@media (max-width: 759px) { .ablauf__liste { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }

/* ---------------------------------------------------------------- Produkte */
.produkte { padding-block: var(--abstand); }
.produktliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.produkt { border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 20px 24px; background: #fff; transition: box-shadow .2s, transform .2s; }
.produkt:hover { box-shadow: var(--schatten); transform: translateY(-2px); }
.produkt__bild { border-radius: 12px; overflow: hidden; background: #fff; margin: -2px -4px 16px; }
.produkt__bild img { aspect-ratio: 1; width: 100%; object-fit: contain; }
.produkt__marke { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blau); margin-bottom: 4px; }
.produkt h3 { font-size: 18px; margin-bottom: 8px; }
.produkt p:not(.produkt__marke) { font-size: 15.5px; color: var(--leise); line-height: 1.5; }
@media (max-width: 1099px) { .produktliste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) {
  .produktliste { gap: 12px; }
  .produkt { padding: 12px 12px 16px; }
  .produkt h3 { font-size: 16px; }
  .produkt p:not(.produkt__marke) { font-size: 14px; }
}

/* ---------------------------------------------------------------- Anmeldung */
.anmeldung { position: relative; background: var(--grund); padding-block: var(--abstand); overflow: hidden; }
.anmeldung__bild { position: absolute; inset: 0 0 0 42%; }
.anmeldung__bild picture, .anmeldung__bild img { width: 100%; height: 100%; }
.anmeldung__bild img { object-fit: cover; object-position: 55% 18%; }
/* Maske statt Verlauf darüber: ein Verlauf lässt an der Bildkante eine feine Linie stehen */
.anmeldung__bild { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
.anmeldung__innen { position: relative; }
.anmeldung__karte {
  max-width: 700px; background: #fff; border-radius: 20px; box-shadow: var(--schatten-stark);
  padding: clamp(24px, 4vw, 48px);
}
.anmeldung__karte h2 { font-size: clamp(28px, 3.2vw, 38px); }
.anmeldung__lead { margin-top: 14px; color: var(--leise); font-size: 17px; }
.anmeldung__fakten { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--navy); font-weight: 550; }
.anmeldung__fakten li { display: inline-flex; align-items: center; gap: 7px; }
.anmeldung__fakten .icon { color: var(--blau); }
@media (max-width: 959px) {
  .anmeldung { padding-top: 0; }
  .anmeldung__bild { position: relative; inset: auto; height: 220px; }
  .anmeldung__bild { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 100%); mask-image: linear-gradient(180deg, #000 50%, transparent 100%); }
  .anmeldung__karte { margin-top: -80px; max-width: none; }
}
@media (max-width: 560px) {
  .anmeldung__innen { padding-inline: 10px; }
  .anmeldung__karte { padding: 24px 18px; border-radius: 16px; }
}

/* ---------------------------------------------------------------- Formular */
.formular__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feld--breit { grid-column: 1 / -1; }
.feld label, .interessen legend { font-size: 15px; font-weight: 600; color: var(--navy); }
.pflicht { color: var(--blau); }
.optional { font-weight: 400; color: var(--leise); }
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%; font: inherit; font-size: 16px; /* ≥16px: iOS zoomt sonst beim Antippen */
  color: var(--navy); background: #fff; border: 1.5px solid #cfd8e8; border-radius: var(--radius-klein);
  padding: 13px 14px; min-height: 50px; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 0; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #98a3b8; }
input:hover, textarea:hover { border-color: #a9b6cf; }
input:focus, textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px rgba(0, 60, 209, .14); }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: #c62828; }
.feld__fehler { color: #c62828; font-size: 14px; font-weight: 550; }
.feld__hilfe { font-size: 14px; color: var(--leise); margin-top: 6px; }
@media (max-width: 560px) { .formular__raster { grid-template-columns: 1fr; } }

.auswahl { margin-top: 22px; display: grid; gap: 14px; }
.haken { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.haken input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1.5px solid #b6c2d8; border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .15s, border-color .15s; }
.haken input::after { content: ""; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.haken input:checked { background: var(--blau); border-color: var(--blau); }
.haken input:checked::after { opacity: 1; }
.haken input:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }

.aufklapp { margin: -2px 0 4px 34px; }
.aufklapp[data-zu] { display: none; }
.interessen { border: 0; padding: 0; min-width: 0; }
.interessen legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 12px; border: 1.5px solid #cfd8e8; border-radius: 999px; font-size: 14.5px; color: var(--navy); background: #fff; transition: all .15s; }
.chip span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #b6c2d8; flex: none; }
.chip input:checked + span { border-color: var(--blau); background: var(--blau-hell); }
.chip input:checked + span::before { background: var(--blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--blau); }
.chip input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 2px; }
@media (max-width: 560px) { .aufklapp { margin-left: 0; } }

.formular__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.formular__senden { flex: 1 1 260px; }
.formular__begrenzt { display: flex; align-items: center; gap: 12px; margin: 0; flex: 0 1 auto; font-size: 14.5px; color: var(--leise); line-height: 1.35; }
.formular__begrenzt strong { display: block; color: var(--navy); font-size: 15px; }
.formular__begrenzt-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blau-hell); color: var(--blau); flex: none; }
.formular__datenschutz { font-size: 13.5px; color: var(--leise); margin-top: 14px; line-height: 1.55; }
.formular__meldung { background: #fdecec; color: #9b1c1c; border-radius: var(--radius-klein); padding: 12px 16px; margin-bottom: 18px; font-weight: 550; font-size: 15px; }
.fang { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.hinweisbox { display: flex; gap: 12px; align-items: flex-start; background: var(--blau-hell); color: var(--navy); border-radius: var(--radius-klein); padding: 14px 16px; margin-bottom: 20px; font-size: 15.5px; }
.hinweisbox .icon { color: var(--blau); margin-top: 1px; }
.hinweisbox--warn { background: var(--warn-grund); }
.hinweisbox--warn .icon { color: var(--warn); }

.ergebnis { text-align: center; padding: 28px 8px 12px; outline: none; }
.ergebnis__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e3f4ea; color: var(--gruen); margin-bottom: 16px; }
.ergebnis__icon .icon { width: 32px; height: 32px; stroke-width: 2.4; }
.ergebnis__titel { font-size: 24px; margin-bottom: 10px; }
.ergebnis__text { color: var(--text); font-size: 17px; max-width: 34em; margin: 0 auto; }
.ergebnis__kalender { margin-top: 22px; }
.ergebnis__kalender .icon { width: 20px; height: 20px; }

/* ---------------------------------------------------------------- Klebender CTA (nur mobil) */
.klebe-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--linie); transform: translateY(110%); transition: transform .25s ease;
}
.klebe-cta .knopf { width: 100%; }
.klebe-cta.ist-sichtbar { transform: none; }
@media (min-width: 760px) { .klebe-cta { display: none; } }

/* ---------------------------------------------------------------- Übersicht */
.intro { position: relative; min-height: 420px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.intro__bild, .intro__bild picture, .intro__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__bild img { object-fit: cover; object-position: 50% 60%; }
.intro__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 26, 58, .88) 0%, rgba(10, 26, 58, .55) 55%, rgba(10, 26, 58, .15) 100%); }
.intro__text { position: relative; padding-block: 80px 64px; }
.intro h1 { color: #fff; max-width: 16ch; }
.intro__text > p:not(.dachzeile) { font-size: clamp(18px, 1.6vw, 21px); color: #dbe4f5; margin-top: 18px; max-width: 34em; }
.intro__cta { margin-top: 28px; }
@media (max-width: 560px) { .intro__cta { width: 100%; } }

.termine { padding-block: var(--abstand) calc(var(--abstand) * .6); }
.termin-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.termin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border: 1px solid var(--linie); border-radius: 20px; overflow: hidden; box-shadow: var(--schatten); background: #fff; }
.termin__bild img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.termin__text { padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.termin__datum { color: var(--blau); font-weight: 650; font-size: 15px; }
.termin h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.termin h3 a { color: inherit; text-decoration: none; }
.termin h3 a:hover { color: var(--blau); }
.termin__text > p:not([class]) { color: var(--leise); }
.termin__meta { font-size: 15px; color: var(--navy); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
@media (max-width: 859px) { .termin { grid-template-columns: 1fr; } }
.termine__folgen { margin-top: 26px; color: var(--leise); display: flex; gap: 8px; align-items: center; }

.newsletter-block { background: var(--navy); color: #d5deef; padding-block: calc(var(--abstand) * .8); }
.newsletter-block__innen { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px 48px; align-items: start; }
.newsletter-block h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.newsletter-block h2 + p { margin-top: 12px; color: #b8c4dc; }
.nl-formular { display: grid; gap: 16px; }
.nl-formular__zeile { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 12px; }
.nl-formular label { color: #fff; }
.nl-formular .optional { color: #9fb0cf; }
.nl-formular .pflicht { color: #9fb8ff; }
.haken--hell { color: #d5deef; font-size: 14.5px; }
.interessen--hell legend { color: #fff; }
.interessen--hell .chip span { background: transparent; color: #e4eaf6; border-color: rgba(255, 255, 255, .28); }
.interessen--hell .chip input:checked + span { background: rgba(127, 161, 255, .18); border-color: #7fa1ff; }
.haken--hell a { color: #b9ccff; }
.nl-formular .knopf { justify-self: start; }
.nl-meldung, .nl-formular__meldung { grid-column: 2; border-radius: var(--radius-klein); padding: 12px 16px; font-weight: 550; }
.nl-meldung--ok, .nl-formular__meldung.ist-ok { background: #e3f4ea; color: #0b5134; }
.nl-meldung--fehler, .nl-formular__meldung.ist-fehler { background: #fdecec; color: #9b1c1c; }
@media (max-width: 859px) {
  .newsletter-block__innen { grid-template-columns: 1fr; }
  .nl-meldung { grid-column: 1; }
  .nl-formular__zeile { grid-template-columns: 1fr; }
  .nl-formular .knopf { width: 100%; }
}
.rueckblick { padding-block: var(--abstand); }
.rueckblick__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rueckblick__liste span { color: var(--leise); margin-left: 8px; }
.fehlerseite { padding-block: 120px; text-align: center; display: grid; gap: 20px; justify-items: center; }

/* ---------------------------------------------------------------- Fuß */
.fuss { background: #07122b; color: #aab7d0; font-size: 15px; padding-top: 56px; }
.seite-event .fuss { padding-bottom: 0; }
.fuss a { color: #dbe4f5; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss__innen { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.fuss__marke img { width: 150px; margin-bottom: 14px; }
.fuss address { font-style: normal; }
.fuss strong { color: #fff; }
.fuss__kontakt { line-height: 1.9; }
.fuss__kontakt .icon { margin-right: 4px; color: #7fa1ff; }
.fuss__links { display: flex; flex-direction: column; gap: 6px; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); font-size: 13px; color: #7f8daa; }
@media (max-width: 859px) { .fuss__innen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 759px) { .seite-event .fuss__unten { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 519px) { .fuss__innen { grid-template-columns: 1fr; gap: 22px; } }

/* ---------------------------------------------------------------- Bewegung
 * Dezent und nur, wenn niemand „Bewegung reduzieren“ eingestellt hat.
 * Einblenden beim Scrollen setzt die Klasse .js voraus (seite.js) – ohne JavaScript bleibt alles sichtbar.
 * Die H1 wird nur verschoben, nie ausgeblendet: unsichtbare Elemente zählen nicht für LCP. */
@keyframes hoch { from { opacity: 0; transform: translateY(18px); } }
@keyframes gleiten { from { transform: translateY(22px); } }
@keyframes bild-rein { from { transform: scale(1.07); } }
@keyframes stoerer-rein { from { opacity: 0; transform: rotate(-16deg) scale(.85); } to { opacity: 1; transform: rotate(-7deg); } }
@keyframes strich { from { stroke-dashoffset: 170; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .hero .dachzeile, .hero__lead, .eckdaten, .hero__aktion { animation: hoch .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero h1 { animation: gleiten .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__lead { animation-delay: .12s; }
  .eckdaten { animation-delay: .22s; }
  .hero__aktion { animation-delay: .32s; }
  .hero__bild { overflow: hidden; }
  .hero__bild img { animation: bild-rein 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  .intro__bild img { animation: bild-rein 1.8s cubic-bezier(.2, .7, .2, 1) both; }
  .intro__text > * { animation: hoch .8s cubic-bezier(.2, .7, .2, 1) both; }
  .intro__text > p:not(.dachzeile) { animation-delay: .15s; }
  .intro__cta { animation-delay: .28s; }

  .js [data-einblenden] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .2, 1), box-shadow .2s;
    transition-delay: var(--verz, 0ms);
  }
  .js [data-einblenden].ist-sichtbar { opacity: 1; transform: none; }
  /* Hover-Hub der Produktkarten nicht von der Einblend-Transition verzögern */
  .js .produkt.ist-sichtbar:hover { transform: translateY(-3px); transition-delay: 0ms; }

  .js .stoerer { opacity: 0; }
  .js .ist-sichtbar .stoerer { animation: stoerer-rein .7s .35s cubic-bezier(.3, 1.5, .5, 1) both; }
  .js .stoerer__strich path { stroke-dasharray: 170; stroke-dashoffset: 170; }
  .js .ist-sichtbar .stoerer__strich path { animation: strich .7s .9s ease-out forwards; }

  .karte__bild { overflow: hidden; }
  .karte__bild img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
  .karte:hover .karte__bild img { transform: scale(1.05); }
  .produkt__bild img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
  .produkt:hover .produkt__bild img { transform: scale(1.04); }
  .vorteil { transition: transform .75s cubic-bezier(.2, .7, .2, 1), opacity .75s ease, box-shadow .2s; }
  .vorteil:hover .vorteil__icon { transform: rotate(-6deg) scale(1.06); }
  .vorteil__icon { transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), background-color .2s; }
  .vorteil:hover .vorteil__icon { background: var(--blau); }
}
