/* ==========================================================================
   MFC Schwäbisch Hall – Webseite
   Gestaltung nach CI-Manual 3.1 (Farben, Bänder, Pfeilketten) und Figma-Entwurf.
   Aufbau: mobile first, Breakpoints 640 / 900 / 1200 px.
   ========================================================================== */

/* ---------- Schriften (selbst gehostet, SIL Open Font License) ---------- */
@font-face { font-family: "Barlow"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 800; font-style: italic; font-display: swap; src: url("../fonts/barlow-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 900; font-style: italic; font-display: swap; src: url("../fonts/barlow-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/barlow-condensed-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Franklin"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("../fonts/libre-franklin-latin-wght-normal.woff2") format("woff2"); }

/* ---------- Gestaltungs-Variablen ---------- */
:root {
  --blue: #253686;
  --blue-2: #2b3c95;
  --navy: #17174b;
  --red: #bd2a18;
  --red-dark: #9e1915;
  --yellow: #fcc10b;
  --sky: #dbe7f7;
  --sky-2: #eef3fb;
  --beige: #f5ede3;
  --beige-2: #e3d5ba;
  --ink: #1d1d1b;
  --ink-2: #333744;
  --muted: #5d6578;
  --line: #e2e6ef;
  --anthracite: #232427;
  --white: #fff;

  --font-display: "Barlow", "Segoe UI", system-ui, sans-serif;
  --font-text: "Barlow Condensed", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --font-heavy: "Libre Franklin", "Franklin Gothic Medium", "Arial Black", system-ui, sans-serif;

  --header-h: 64px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(23, 23, 75, .08);
  --shadow: 0 10px 30px rgba(23, 23, 75, .14);
  --shadow-lg: 0 24px 60px rgba(23, 23, 75, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) { :root { --header-h: 76px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font: 400 1.125rem/1.55 var(--font-text);
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; color: inherit; }
h1, h2 { font-family: var(--font-heavy); font-weight: 850; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
h3 { font-family: var(--font-heavy); font-weight: 800; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
strong, b { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; 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: 12px; top: -60px; z-index: 1000; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 760px); margin-inline: auto; }
.icon { display: inline-block; vertical-align: -.2em; width: 1.25em; height: 1.25em; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead { font-size: 1.3rem; line-height: 1.5; color: var(--ink-2); }
.text-accent { color: var(--red); }
.block-error { margin: 1rem; padding: 1rem; border: 2px dashed var(--red); color: var(--red); }

/* ---------- Hintergründe ---------- */
.bg-white { background: var(--white); }
.bg-beige { background: var(--beige); }
.bg-light { background: var(--sky); }
.bg-navy { background: var(--navy); color: #e8eefb; }
.bg-dark { background: var(--anthracite); color: #eceef3; }
.bg-navy a:not(.btn):not(.card a), .bg-dark a:not(.btn) { color: var(--yellow); }
.bg-navy h2, .bg-navy h3, .bg-dark h2, .bg-dark h3 { color: #fff; }
.section { padding-block: clamp(48px, 7vw, 104px); position: relative; }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }

/* ---------- Pfeilketten (CI-Element) ---------- */
.chevrons {
  --chev: var(--sky);
  height: 14px;
  background: var(--chev);
  -webkit-mask: url("../img/chevron.svg") repeat-x left center / 26px 14px;
  mask: url("../img/chevron.svg") repeat-x left center / 26px 14px;
}
.chevrons--blue { --chev: var(--blue); }
.chevrons--red { --chev: var(--red); }
.chevrons--yellow { --chev: var(--yellow); }
.chevrons--white { --chev: rgba(255, 255, 255, .85); }
.chevrons--short { width: 84px; }
.chevrons--animated { animation: chev-run 1.6s linear infinite; }
@keyframes chev-run { to { -webkit-mask-position: 26px center; mask-position: 26px center; } }
.divider { padding-block: 28px; }
.divider--space { padding-block: 24px; }
.divider-plane { display: flex; align-items: center; gap: 14px; color: var(--blue); }
.divider-plane::before, .divider-plane::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, currentColor 0 10px, transparent 10px 18px); opacity: .35; }
.divider-plane .icon { width: 28px; height: 28px; transform: rotate(90deg); }

/* ---------- Rotes Band (Abschnittstitel) ---------- */
.ribbon { --rib: var(--red); --rib-text: #f6e9db; display: grid; grid-template-columns: 1fr minmax(48px, 22%); gap: 12px; height: clamp(44px, 5vw, 58px); margin-block: 0; overflow: hidden; }
.ribbon--blue { --rib: var(--blue); --rib-text: #e3ebfa; }
.ribbon--yellow { --rib: var(--yellow); --rib-text: var(--navy); }
.ribbon__main { background: var(--rib); display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 0 100%); }
.ribbon__end { background: var(--rib); clip-path: polygon(34px 0, 100% 0, 100% 100%, 0 100%); }
.ribbon__label { font: 800 italic clamp(1.1rem, .9rem + 1vw, 1.65rem)/1 var(--font-display); color: var(--rib-text); white-space: nowrap; letter-spacing: .01em; }
.ribbon .chevrons { --chev: var(--rib-text); flex: 1; max-width: 420px; opacity: .9; margin-right: 50px; }
.ribbon.is-visible .ribbon__main { animation: ribbon-in .8s var(--ease) both; }
@keyframes ribbon-in { from { transform: translateX(-30px); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.5em;
  border: 2px solid transparent; border-radius: 12px;
  font: 600 1.1rem/1.1 var(--font-display); letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(189, 42, 24, .35); }
.btn-primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px rgba(189, 42, 24, .4); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 18px rgba(37, 54, 134, .3); }
.btn-blue:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--red); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 8px 18px rgba(252, 193, 11, .3); }
.btn-yellow:hover { background: #ffd23f; color: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(252, 193, 11, .38); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--blue); }
.btn-outline:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.bg-navy .btn-outline, .bg-dark .btn-outline { color: #fff; }
.btn-ghost { background: transparent; color: inherit; padding-inline: .8em; }
.btn-sm { min-height: 38px; padding: .45em 1em; font-size: .98rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font: 800 1.05rem/1.2 var(--font-heavy); color: var(--red); text-decoration: none; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Kopfbereich ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(10px);
  box-shadow: 0 1px 0 rgba(23, 23, 75, .06);
  transition: box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(23, 23, 75, .1); }
.site-header__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.header-btn {
  display: inline-flex; align-items: center; gap: .45em;
  min-height: 44px; padding: 0 10px; border: 0; background: none; border-radius: 10px;
  color: var(--blue); font: 600 1rem/1 var(--font-display); text-decoration: none; cursor: pointer;
}
.header-btn:hover { color: var(--red); background: var(--sky-2); }
.header-btn .icon { width: 28px; height: 28px; }
.header-btn--menu .icon { width: 34px; height: 34px; }
.header-right { justify-self: end; display: flex; align-items: center; gap: 4px; }
.header-right .header-btn--contact { display: none; }
@media (min-width: 640px) { .header-right .header-btn--contact { display: inline-flex; } }
.header-btn .label { display: none; }
@media (min-width: 640px) { .header-btn .label { display: inline; } }

/* Logo im weißen Reiter, der in die Seite hineinragt */
.brand {
  position: relative; display: block; align-self: start;
  width: clamp(124px, 22vw, 176px);
  padding: 8px 16px 10px;
  background: #fff;
  border-radius: 0 0 50% 50% / 0 0 34px 34px;
  box-shadow: 0 10px 22px rgba(23, 23, 75, .14);
  transition: transform .35s var(--ease), width .35s var(--ease);
  z-index: 2;
}
.brand img { width: 100%; height: auto; }
.site-header.is-scrolled .brand { width: clamp(110px, 16vw, 132px); }
@media (min-width: 900px) { .brand { padding: 10px 20px 14px; } }

/* Menü (Panel wie im Entwurf "menü") */
.nav-panel { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.nav-panel.is-open { visibility: visible; }
.nav-panel__backdrop { position: absolute; inset: 0; background: rgba(23, 23, 75, .45); opacity: 0; transition: opacity .3s; }
.nav-panel.is-open .nav-panel__backdrop { opacity: 1; }
.nav-panel__card {
  position: absolute; inset: 0 auto 0 0; width: min(88vw, 380px);
  display: flex; flex-direction: column;
  background: #f1f2f5; padding: 18px 22px 28px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transform: translateX(-104%); transition: transform .38s var(--ease);
  overflow-y: auto; box-shadow: var(--shadow-lg);
}
.nav-panel.is-open .nav-panel__card { transform: none; }
.nav-panel__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.nav-panel__top img { width: 120px; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 4px; border-bottom: 1px solid rgba(37, 54, 134, .1);
  font: 600 1.3rem/1.2 var(--font-display); color: var(--blue); text-decoration: none;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--red); }
.nav-list a .icon { width: 18px; height: 18px; opacity: .45; }
.nav-list .is-locked .icon { opacity: .7; }
.nav-panel__foot { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.nav-panel__social { display: flex; gap: 10px; }
.nav-panel__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); }

/* ---------- Hauptinhalt / Seiten-Themen ---------- */
.theme-dark { background: var(--anthracite); color: #eceef3; }
.theme-blue { background: var(--blue); color: #fff; }
.preview-bar { position: sticky; top: var(--header-h); z-index: 40; background: var(--yellow); color: var(--ink); text-align: center; padding: 8px 12px; font-weight: 600; }
.flash-stack { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: grid; gap: 10px; width: min(420px, calc(100vw - 32px)); }
.flash { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); border-left: 5px solid var(--blue); animation: flash-in .4s var(--ease); }
.flash--success { border-color: #1f8a4c; }
.flash--error { border-color: var(--red); }
.flash button { margin-left: auto; border: 0; background: none; cursor: pointer; color: var(--muted); }
@keyframes flash-in { from { transform: translateY(20px); opacity: 0; } }

/* ---------- Hero-Slider ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__stage { position: relative; height: clamp(420px, 64vh, 760px); }
@media (min-width: 900px) { .hero__stage { height: clamp(520px, 74vh, 780px); } }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 23, 75, .35) 0%, rgba(23, 23, 75, 0) 30%, rgba(23, 23, 75, 0) 55%, rgba(23, 23, 75, .55) 100%); }
.hero__word {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(56px, 9vh, 96px);
  margin: 0; max-width: calc(100% - 2 * var(--gutter));
  font: 900 italic clamp(1.9rem, 8.6vw, 7.2rem)/.9 var(--font-display);
  letter-spacing: .01em; text-transform: uppercase; text-align: right;
  color: transparent; -webkit-text-stroke: 2px #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, .25);
  hyphens: manual;
}
.hero__slide.is-active .hero__word { animation: word-in 1.1s var(--ease) .2s both, word-fill 1.4s ease 1.1s forwards; }
@keyframes word-in { from { opacity: 0; transform: translateX(60px) skewX(-8deg); } }
@keyframes word-fill { to { color: rgba(255, 255, 255, .95); } }
.hero__arrow {
  position: absolute; z-index: 3; top: 50%; translate: 0 -50%;
  width: 52px; height: 52px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer;
  backdrop-filter: blur(4px); transition: background-color .2s;
}
.hero__arrow:hover { background: rgba(255, 255, 255, .28); }
.hero__arrow .icon { width: 30px; height: 30px; }
.hero__arrow--prev { left: 12px; }
.hero__arrow--next { right: 12px; }
@media (max-width: 639px) { .hero__arrow { display: none; } }
.hero__dots { position: absolute; z-index: 3; left: var(--gutter); bottom: 22px; display: flex; gap: 8px; }
.hero__dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .4); cursor: pointer; overflow: hidden; position: relative; }
.hero__dots button::before { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-active::before { animation: dot-progress var(--interval, 6s) linear forwards; }
.hero.is-paused .hero__dots button.is-active::before { animation-play-state: paused; }
@keyframes dot-progress { to { transform: scaleX(1); } }
.hero__dots button { min-height: 4px; }
.hero__dots { padding: 10px 0; }

/* Schnellnavigation unter dem Hero */
.quicknav { background: #fff; position: relative; z-index: 2; }
.quicknav__inner { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 6px; }
.quicknav__inner::-webkit-scrollbar { display: none; }
.quicknav a {
  flex: none; padding: 12px 14px; border-radius: 10px;
  font: 600 1.15rem/1 var(--font-display); color: var(--blue); text-decoration: none; position: relative;
}
.quicknav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.quicknav a:hover::after, .quicknav a:focus-visible::after { transform: scaleX(1); }
.quicknav .chevrons { flex: 1 0 120px; --chev: var(--blue); min-width: 120px; }
.quicknav .icon { width: 14px; height: 14px; display: inline; vertical-align: -1px; opacity: .6; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.page-hero--photo { min-height: clamp(260px, 42vh, 460px); display: grid; align-items: end; }
.page-hero--photo > img, .page-hero--dark > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 23, 75, .1) 30%, rgba(23, 23, 75, .78) 100%); }
.page-hero__content { position: relative; z-index: 1; padding-block: clamp(28px, 5vw, 56px); }
.page-hero h1 { font: 900 italic clamp(2.4rem, 1.4rem + 5vw, 5.4rem)/.95 var(--font-display); margin: 0 0 .25em; text-transform: none; letter-spacing: 0; }
.page-hero p { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); margin: 0; max-width: 46ch; opacity: .92; }
.page-hero--blue { background: radial-gradient(120% 80% at 50% 0%, var(--blue-2) 0%, var(--blue) 45%, var(--navy) 100%); text-align: center; padding-top: clamp(40px, 6vw, 72px); }
.page-hero--blue .page-hero__logo { width: min(420px, 74vw); margin: 0 auto 12px; }
.page-hero--blue .page-hero__plane { width: min(1100px, 120vw); margin: -10px auto 0; max-width: none; position: relative; left: 50%; translate: -50% 0; transform-origin: 50% 30%; will-change: transform; }
.page-hero--dark { min-height: clamp(300px, 50vh, 520px); display: grid; align-items: center; text-align: center; }
.page-hero--dark > img { opacity: .38; filter: grayscale(.4); }
.page-hero--dark .page-hero__content { margin-inline: auto; }

/* ---------- Willkommen ---------- */
.welcome { position: relative; overflow: hidden; color: #fff; text-align: center; background: var(--navy); }
.welcome__bg { position: absolute; inset: -8% 0; }
.welcome__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(1px) saturate(1.05); }
.welcome::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 23, 75, .55), rgba(23, 23, 75, .35) 40%, rgba(158, 25, 21, .55)); }
.welcome__inner { position: relative; z-index: 1; padding-block: clamp(56px, 9vw, 120px); }
.welcome__title { font: 900 clamp(2.2rem, 11vw, 9.5rem)/.9 var(--font-heavy); letter-spacing: -.02em; margin: 0; text-transform: uppercase; text-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.welcome__subtitle { font: 500 clamp(1.25rem, 1rem + 1.2vw, 2rem)/1.25 var(--font-display); color: var(--sky); margin: .4em auto 1.4em; max-width: 28ch; }
.welcome__text { max-width: 68ch; margin: 2em auto 0; font-size: 1.2rem; color: #f3f5fb; }
.welcome__text p:last-child { margin: 0; }
.welcome .chevrons { margin: 0 auto; }

/* ---------- Text-Blöcke ---------- */
.prose { font-size: 1.2rem; line-height: 1.65; }
.prose h2 { margin-top: 1.2em; }
.prose h3 { margin-top: 1.4em; }
.prose a { font-weight: 600; }
.prose blockquote { margin: 1.5em 0; padding: .6em 1.2em; border-left: 4px solid var(--yellow); font-style: italic; font-size: 1.3rem; color: var(--ink-2); }
.prose img { border-radius: var(--radius); margin-block: 1em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 1.05rem; }
.prose th, .prose td { text-align: left; padding: .55em .7em; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-display); font-weight: 600; color: var(--blue); }
.bg-navy .prose blockquote, .bg-dark .prose blockquote { color: #dfe5f3; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 800 italic 1.05rem/1 var(--font-display); color: var(--red); text-transform: uppercase; letter-spacing: .04em; margin-bottom: .8em; }
.eyebrow .chevrons { width: 70px; --chev: var(--red); }
.bg-navy .eyebrow, .bg-dark .eyebrow { color: var(--yellow); }
.bg-navy .eyebrow .chevrons, .bg-dark .eyebrow .chevrons { --chev: var(--yellow); }
.align-center { text-align: center; }
.align-center .eyebrow { justify-content: center; }

.text-image { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; position: relative; }
@media (min-width: 900px) { .text-image { grid-template-columns: 1.05fr .95fr; } .text-image--left .text-image__media { order: -1; } }
.text-image__media { position: relative; }
.text-image__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
.text-image__media::before { content: ""; position: absolute; inset: 22px -14px -14px 22px; border-radius: var(--radius-lg); background: var(--yellow); }
.text-image--left .text-image__media::before { inset: 22px 22px -14px -14px; background: var(--red); }
.compass-bg { position: absolute; width: clamp(260px, 36vw, 520px); aspect-ratio: 1; right: -6%; top: 50%; translate: 0 -50%; background: url("../img/compass.svg") center / contain no-repeat; opacity: .22; pointer-events: none; animation: compass-spin 120s linear infinite; }
@keyframes compass-spin { to { rotate: 360deg; } }

/* ---------- Karten ---------- */
.cards { display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg) var(--radius-lg) var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { display: flex; flex-direction: column; gap: .5em; padding: 20px 22px 22px; flex: 1; }
.card__title { font: 800 1.35rem/1.15 var(--font-heavy); margin: 0; color: var(--ink); }
.card__text { margin: 0; color: var(--ink-2); font-size: 1.1rem; }
.card__meta { margin-top: auto; padding-top: .4em; font-size: .98rem; color: var(--muted); }
.card .link-arrow { margin-top: .4em; }
.card .link-arrow::after { content: ""; position: absolute; inset: 0; }
.bg-navy .card, .bg-dark .card { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: none; outline: 1px solid rgba(255, 255, 255, .12); }
.bg-navy .card__title, .bg-dark .card__title { color: #fff; }
.bg-navy .card__text, .bg-dark .card__text { color: #d6dcea; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { margin: 0; }

/* ---------- News ---------- */
.news-feature { display: grid; gap: clamp(20px, 4vw, 48px); align-items: center; margin-bottom: clamp(32px, 4vw, 56px); }
@media (min-width: 900px) { .news-feature { grid-template-columns: 1.15fr 1fr; } }
.news-feature__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--beige-2); }
.news-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-feature:hover .news-feature__media img { transform: scale(1.04); }
.news-feature__kicker { font: 600 1rem/1 var(--font-display); color: var(--red); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6em; }
.news-feature h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.news-feature p { color: var(--ink-2); }
.news-feature__meta { color: var(--muted); font-size: 1rem; margin-bottom: 1em; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: #fff; text-decoration: none; font-weight: 600; box-shadow: var(--shadow-sm); }
.pagination span[aria-current] { background: var(--blue); color: #fff; }
.empty-state { text-align: center; color: var(--muted); padding: 32px; border: 2px dashed var(--line); border-radius: var(--radius); }

/* ---------- Slogan-Band ---------- */
.banner { background: var(--navy); color: var(--sky); text-align: center; overflow: hidden; }
.banner--blue { background: var(--blue); }
.banner--red { background: var(--red); color: #fff2e6; }
.banner .chevrons { --chev: rgba(219, 231, 247, .75); }
.banner__text { margin: 0; padding-block: clamp(36px, 6vw, 80px); font: 900 italic clamp(2.4rem, 1rem + 7vw, 7rem)/.95 var(--font-display); letter-spacing: .005em; text-transform: uppercase; }
.banner__text span { display: inline-block; }
.banner.is-visible .banner__text span { animation: banner-word .9s var(--ease) both; animation-delay: calc(var(--i) * .12s); }
@keyframes banner-word { from { opacity: 0; transform: translateY(40px) skewX(-10deg); } }
.banner__sub { margin: -1.2em 0 0; padding-bottom: clamp(28px, 4vw, 48px); font-size: 1.25rem; opacity: .85; }
.banner .chevrons:first-child { margin-top: 14px; }
.banner .chevrons:last-child { margin-bottom: 14px; }

/* ---------- Feature mit zwei Fotos ---------- */
.split { position: relative; display: grid; }
.split__img { position: relative; min-height: 280px; overflow: hidden; }
.split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__card {
  position: relative; z-index: 1; margin: -80px var(--gutter) 0; padding: clamp(24px, 4vw, 44px);
  background: rgba(70, 70, 74, .88); color: #fff; border-radius: var(--radius);
  backdrop-filter: blur(8px); box-shadow: var(--shadow-lg);
}
.split__card h2 { font: 900 italic clamp(2.2rem, 1.4rem + 3vw, 3.8rem)/1 var(--font-display); margin: .1em 0 .1em; letter-spacing: 0; }
.split__card .subtitle { font: 400 1.2rem/1.3 var(--font-display); color: #e0e3ea; margin-bottom: 1.2em; }
.split__card .chevrons { --chev: #fff; width: 70px; }
.split .split__img--right { display: none; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; min-height: 620px; }
  .split .split__img--right { display: block; }
  .split__card { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(600px, 46%); margin: 0; }
}

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; text-align: center; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(var(--n, 4), 1fr); } }
.stat__value { font: 900 italic clamp(2.6rem, 1.6rem + 3vw, 4.4rem)/1 var(--font-display); color: var(--yellow); }
.bg-white .stat__value, .bg-beige .stat__value, .bg-light .stat__value { color: var(--red); }
.stat__label { font: 600 1.15rem/1.25 var(--font-display); margin-top: .35em; opacity: .9; }

/* ---------- Galerie & Lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1200px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--sky); }
.gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery--strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.gallery--strip a { flex: 0 0 min(78vw, 420px); aspect-ratio: 4 / 3; scroll-snap-align: start; }
.gallery--strip a:first-child { grid-column: auto; grid-row: auto; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10, 12, 30, .94); display: grid; place-items: center; padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__caption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #dfe5f3; }
.lightbox button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 12px; top: 50%; translate: 0 -50%; }

/* ---------- Fragen & Antworten ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.bg-white .faq details { background: var(--sky-2); box-shadow: none; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font: 700 1.2rem/1.3 var(--font-heavy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .3s var(--ease); color: var(--red); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .faq__body { padding: 0 20px 20px; color: var(--ink-2); }
.bg-navy .faq details, .bg-dark .faq details { background: rgba(255, 255, 255, .06); }
.bg-navy .faq .faq__body, .bg-dark .faq .faq__body { color: #d6dcea; }

/* ---------- Handlungsaufforderung ---------- */
.cta-box { text-align: center; max-width: 820px; margin-inline: auto; }
.cta-box p { font-size: 1.25rem; color: var(--ink-2); }
.bg-navy .cta-box p, .bg-dark .cta-box p { color: #d6dcea; }
.cta-box__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.4em; }

/* ---------- Video ---------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-frame video, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.consent-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.consent-placeholder p { max-width: 46ch; margin: 0 auto 1em; }

/* ---------- Formulare ---------- */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label, .field .label { font: 600 1rem/1.2 var(--font-display); color: var(--ink-2); }
.field .req { color: var(--red); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field input[type="date"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 2px solid transparent; border-radius: 12px;
  background: var(--sky-2); color: var(--ink);
  font: 400 1.12rem/1.3 var(--font-text);
  box-shadow: inset 0 1px 2px rgba(23, 23, 75, .06);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23253686' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(37, 54, 134, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #fff6f4; }
.field-error { color: var(--red); font-size: .98rem; font-weight: 500; }
.field-hint { color: var(--muted); font-size: .98rem; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; line-height: 1.4; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--red); }
.check.has-error { color: var(--red); }
.form-status { padding: 14px 16px; border-radius: 12px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status--ok { background: #e7f6ec; color: #165c34; }
.form-status--error { background: #fdecea; color: #8a1f12; }
.bg-navy .field label, .bg-dark .field label { color: #e3e8f4; }

/* ---------- Kontakt ---------- */
.contact { position: relative; overflow: hidden; color: #fff; background: var(--navy); }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) saturate(.9); }
.contact__inner { position: relative; z-index: 1; display: grid; gap: 24px; padding-block: clamp(40px, 6vw, 88px); }
@media (min-width: 900px) { .contact__inner { grid-template-columns: minmax(320px, 440px) 1fr; align-items: start; } }
.glass { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px) saturate(1.2); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 34px); }
.contact h2 { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; min-width: 0; overflow-wrap: anywhere; font: 600 1.15rem/1.35 var(--font-heavy); }
/* Symbol im gelben Kreis, damit es auf dem Foto-Hintergrund gut lesbar bleibt */
.contact-list .icon { box-sizing: border-box; width: 46px; height: 46px; padding: 11px; border-radius: 50%; color: var(--yellow); background: rgba(252, 193, 11, .16); box-shadow: inset 0 0 0 1.5px rgba(252, 193, 11, .55); }
.contact-list a { color: #fff; text-decoration: none; }
.contact-list a:hover { color: var(--yellow); }
.contact-people { display: grid; gap: 4px; font-size: 1.05rem; color: #dfe5f3; }
.contact-people strong { color: #fff; }
.contact-route { display: grid; gap: 10px; margin-top: 1.4em; }
.contact-route .btn .icon { width: 1.5em; height: 1.5em; }
.contact-coords { font: 600 .95rem/1.3 var(--font-display); color: #c9d2e6; margin: 0; letter-spacing: .02em; text-align: center; }
.contact-form .field label { color: #e8ecf6; }
.contact-form .check { color: #e8ecf6; }
.contact-form .check a { color: var(--yellow); }
.map-box { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; margin-top: 18px; background: var(--blue); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.to-top { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0 auto; padding: 28px 0 24px; border: 0; background: none; cursor: pointer; color: var(--ink); font: 800 italic 1rem/1 var(--font-display); letter-spacing: .04em; }
.to-top .icon { width: 40px; height: 40px; transition: transform .5s var(--ease); }
.to-top:hover .icon { transform: translateY(-8px); }
.theme-dark .to-top, .theme-blue .to-top { color: #fff; }
.to-top.is-flying .icon { animation: fly-up .9s var(--ease) forwards; }
@keyframes fly-up { to { transform: translateY(-120px) scale(.6); opacity: 0; } }
.site-footer { background: var(--blue); color: #e3e9f8; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__top { display: grid; gap: 28px; padding-block: 40px 28px; }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer__brand img { width: 160px; margin-bottom: 14px; }
.site-footer h3 { font: 800 italic 1.15rem/1 var(--font-display); color: var(--yellow); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.footer-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.footer-social a:hover { background: var(--yellow); color: var(--navy); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding-block: 16px; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; font-size: 1rem; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-chevrons { background: var(--blue); padding-top: 18px; }
.footer-chevrons .chevrons { --chev: rgba(255, 255, 255, .3); }
.linklike { border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: none; }
.linklike:hover { color: var(--yellow); }

/* ---------- Modale Dialoge (Login, Cookies) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(23, 23, 75, .55); backdrop-filter: blur(3px); animation: fade-in .25s ease; }
.modal__card { position: relative; width: min(100%, 520px); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 36px); animation: modal-in .35s var(--ease); }
.modal__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--sky-2); color: var(--blue); cursor: pointer; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }

.login-card { display: grid; gap: 18px; }
.login-card__head { display: flex; align-items: center; gap: 16px; }
.avatar { width: 60px; height: 60px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; }
.avatar .icon { width: 30px; height: 30px; }
.login-card h2 { margin: 0; font-size: 1.7rem; }
.login-card .field input { border-radius: 999px; background: #fff; box-shadow: 0 3px 10px rgba(23, 23, 75, .12); padding-inline: 20px; }
.login-card .muted-link { font-size: 1rem; }
.login-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 48px 16px; background: radial-gradient(90% 70% at 50% 0%, var(--sky) 0%, #fff 70%); position: relative; overflow: hidden; }
.login-page .compass-bg { opacity: .14; right: auto; left: 50%; translate: -50% -50%; width: min(820px, 140vw); }
.login-page .modal__card { animation: none; position: relative; z-index: 1; }

/* Cookie-Hinweis */
.consent { position: fixed; z-index: 110; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__card { pointer-events: auto; width: min(100%, 860px); background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(23, 23, 75, .35); padding: 22px clamp(18px, 3vw, 30px); display: grid; gap: 14px; animation: modal-in .45s var(--ease); border-top: 6px solid var(--blue); }
.consent__card h2 { font-size: 1.45rem; margin: 0; display: flex; gap: 10px; align-items: center; }
.consent__card p { margin: 0; color: var(--ink-2); font-size: 1.05rem; }
.consent__actions { display: grid; gap: 10px; }
@media (min-width: 640px) { .consent__actions { grid-template-columns: repeat(3, 1fr); } }
.consent__actions .btn { width: 100%; }
.consent-options { display: grid; gap: 10px; margin: 6px 0; }
.consent-option { display: flex; gap: 14px; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--sky-2); }
.consent-option strong { display: block; font-family: var(--font-display); }
.consent-option span { color: var(--muted); font-size: .98rem; }
.toggle { position: relative; width: 52px; height: 30px; flex: none; }
.toggle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.toggle span { position: absolute; inset: 0; border-radius: 999px; background: #c5cbd8; transition: background-color .2s; pointer-events: none; }
.toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.toggle input:checked + span { background: var(--blue); }
.toggle input:checked + span::after { transform: translateX(22px); }
.toggle input:disabled + span { background: #7f8bb3; }
.toggle input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Artikel ---------- */
.article-head { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.article-head img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.article-head__inner { position: relative; padding-block: clamp(56px, 10vw, 140px) clamp(28px, 4vw, 48px); }
.article-head h1 { font: 900 italic clamp(2.1rem, 1.3rem + 3.6vw, 4.4rem)/1 var(--font-display); max-width: 20ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font: 600 1.05rem/1.2 var(--font-display); color: var(--sky); }
.article-meta span { display: inline-flex; gap: 6px; align-items: center; }
.article-body { padding-block: clamp(36px, 5vw, 64px); }
.article-body .teaser { font-size: 1.4rem; line-height: 1.5; color: var(--ink-2); font-weight: 500; }
.back-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; text-decoration: none; margin-bottom: 24px; }

/* ---------- Gutschein / Ergebnis / Fehler ---------- */
.state-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 16px; }
.state-page__code { font: 900 italic clamp(5rem, 3rem + 10vw, 11rem)/1 var(--font-display); color: var(--sky); -webkit-text-stroke: 2px var(--blue); }
.state-page h1 { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.8rem); }
.state-page p { max-width: 52ch; margin-inline: auto; color: var(--ink-2); }

/* ---------- Schnupperflug-Buchung ---------- */
.booking { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (min-width: 1100px) { .booking--with-image { grid-template-columns: .8fr 1.2fr; } }
.booking__aside img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.booking__aside .facts { margin-top: 18px; display: grid; gap: 10px; }
.booking__aside .facts li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.booking__aside .facts .icon { color: var(--red); }
.wizard { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(18px, 3.5vw, 36px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: 0 0 26px; counter-reset: step; }
.steps li { position: relative; padding-top: 38px; text-align: center; font: 600 .95rem/1.15 var(--font-display); color: var(--muted); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 50%; translate: -50% 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-2); color: var(--blue); font-weight: 700; transition: background-color .3s, color .3s; }
.steps li::after { content: ""; position: absolute; top: 15px; left: calc(50% + 20px); right: calc(-50% + 20px); height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li.is-active { color: var(--blue); }
.steps li.is-active::before { background: var(--blue); color: #fff; box-shadow: 0 0 0 5px rgba(37, 54, 134, .14); }
.steps li.is-done::before { content: "✓"; background: var(--red); color: #fff; }
.steps li.is-done::after { background: var(--red); }
@media (max-width: 479px) { .steps li span { display: none; } }
.wizard-step[hidden] { display: none; }
.wizard-step { animation: step-in .45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(20px); } }
.wizard-step h3 { margin-bottom: 16px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap-reverse; }
.wizard-nav .btn-primary, .wizard-nav .btn-blue { margin-left: auto; }
.choice-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .choice-grid--2 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__box { display: grid; gap: 6px; height: 100%; padding: 18px 20px; border: 2px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.choice__box strong { font: 800 1.2rem/1.2 var(--font-heavy); }
.choice__price { font: 900 italic 1.7rem/1 var(--font-display); color: var(--red); }
.choice__box small { color: var(--muted); font-size: 1rem; }
.choice__box > .icon { width: 34px; height: 34px; color: var(--blue); }
.choice__box small .icon { width: 1.1em; height: 1.1em; color: var(--red); }
.choice input:checked + .choice__box { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 54, 134, .12); background: var(--sky-2); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--yellow); outline-offset: 2px; }
.choice:hover .choice__box { transform: translateY(-2px); }
.summary { background: var(--sky-2); border-radius: 16px; padding: 18px 20px; display: grid; gap: 8px; margin-bottom: 18px; }
.summary div { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed rgba(37, 54, 134, .18); padding-bottom: 6px; }
.summary div:last-child { border: 0; font-weight: 700; font-size: 1.25rem; color: var(--blue); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.booking-done { text-align: center; padding: 18px 0; }
.booking-done .ref { display: inline-block; font: 900 italic 2rem/1 var(--font-display); color: var(--blue); background: var(--sky); padding: 10px 18px; border-radius: 12px; margin: 10px 0 16px; letter-spacing: .04em; }
.booking-done .burst { width: 86px; height: 86px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; animation: pop .6s var(--ease); }
.booking-done .burst .icon { width: 46px; height: 46px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } }

/* ---------- Mitgliederbereich-Hinweis ---------- */
.members-gate { display: grid; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; position: relative; overflow: hidden; }
.members-gate .compass-bg { opacity: .18; filter: invert(1); }
@media (min-width: 900px) { .members-gate { grid-template-columns: 1.1fr .9fr; } }
.members-gate .modal__card { animation: none; color: var(--ink); width: 100%; position: relative; z-index: 1; }
.members-gate h2 { color: #fff; }

/* ---------- Leiste unten (Handy und Tablet, unter 900 px) ---------- */
.tabbar { display: none; }
@media (max-width: 899px) {
  .tabbar {
    position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(23, 23, 75, .12);
  }
  /* Platz für die Leiste: Seitenende, Cookie-Hinweis und Meldungen rutschen darüber */
  body.has-tabbar { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.has-tabbar .consent { bottom: calc(82px + env(safe-area-inset-bottom)); }
  body.has-tabbar .flash-stack { bottom: calc(86px + env(safe-area-inset-bottom)); }
}
.tabbar__item {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px;
  min-width: 0; min-height: 54px; padding: 4px 2px;
  color: var(--blue); text-decoration: none; font: 600 .8rem/1.1 var(--font-text); letter-spacing: .01em;
  -webkit-tap-highlight-color: transparent;
}
.tabbar__icon { display: grid; place-items: center; transition: transform .2s var(--ease); }
.tabbar__icon .icon { width: 26px; height: 26px; }
.tabbar__label { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabbar__item:active .tabbar__icon { transform: scale(.92); }
.tabbar__item[aria-current="page"] { color: var(--red); }
.tabbar__item[aria-current="page"] .tabbar__label { text-decoration: underline 2px; text-underline-offset: 4px; }
/* Schnupperflug in der Mitte: roter Kreis, der über die Leiste hinausragt */
.tabbar__item--main { color: var(--red); }
.tabbar__item--main .tabbar__icon {
  width: 58px; height: 58px; margin-top: -30px; border-radius: 50%;
  background: var(--red); color: #fff; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(189, 42, 24, .38);
}
.tabbar__item--main .tabbar__icon .icon { width: 30px; height: 30px; }

/* ---------- Scroll-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .3s; }
.reveal-stagger.is-visible > *:nth-child(n+5) { transition-delay: .4s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

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

@media print {
  .site-header, .site-footer, .consent, .to-top, .hero__arrow, .nav-panel, .tabbar { display: none !important; }
  body.has-tabbar { padding-bottom: 0; }
  body { font-size: 12pt; }
}
