/* ==========================================================================
   Siguria Kurs · Gestaltung "Tresornacht"
   Dieselbe Designsprache wie das Programm Siguria und cluswisssecurity.com:
   Nachtschwarz und Papierweiss, Signalrot als Marke, warmes Gold für
   Auszeichnungen, Instrument Serif für Titel, Inter Tight für Text, viel Raum.
   Keine dekorativen Effekte: Fotografie, Typografie und Haarlinien.
   ========================================================================== */

@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-style: italic; font-display: swap; src: url('../fonts/instrument-serif-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 100 900; font-style: normal; font-display: swap; src: url('../fonts/inter-tight-latin-wght-normal.woff2') format('woff2'); }

/* ---------- Farben (aus Siguria tokens.css) ---------- */
:root {
  --bg: #07090d;
  --bg-ink: #0b1018;
  --bg-raised: #0b0f15;
  --surface: #10161f;
  --surface-2: #17202c;
  --field: #0a0d12;
  --line: rgba(239, 235, 228, .11);
  --line-strong: rgba(239, 235, 228, .26);
  --ink: #efebe4;
  --ink-2: rgba(239, 235, 228, .76);
  --ink-3: rgba(239, 235, 228, .58);
  --accent: #e5383f;
  --accent-fill: #d8262e;
  --gold: #d9b48a;
  --ok: #8fb89a;
  --warn: #d8b673;
  --danger: #ee7a70;
  --primary-bg: #efebe4;
  --primary-ink: #07090d;
  --primary-hover: #ffffff;
  --paper: #efebe4;
  --paper-2: #f6f3ee;
  --paper-ink: #07090d;

  --serif: 'Instrument Serif', 'Iowan Old Style', 'Times New Roman', serif;
  --sans: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Bisherige Namen auf die Siguria-Farben abbilden */
  --navy-950: var(--bg-ink);
  --navy-900: var(--bg);
  --navy-850: var(--surface);
  --navy-800: var(--surface-2);
  --navy-700: var(--surface-2);
  --ink-soft: var(--ink-2);
  --ink-mute: var(--ink-3);
  --gold-light: var(--gold);
  --gold-dim: rgba(217, 180, 138, .12);
  --line-soft: var(--line);
  --hair: var(--line);
  --on-gold: var(--primary-ink);
  --gold-grad: var(--primary-bg);
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Helles Design "Papier": Papierweiss mit Nachtschwarz, wie der Preisbereich der Website */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f1ea;
  --bg-ink: #ebe6dc;
  --bg-raised: #f8f6f1;
  --surface: #ffffff;
  --surface-2: #f8f6f1;
  --field: #ffffff;
  --line: rgba(7, 9, 13, .12);
  --line-strong: rgba(7, 9, 13, .28);
  --ink: #07090d;
  --ink-2: #3a3e46;   /* 9.6:1 */
  --ink-3: #5c6068;   /* 5.7:1 */
  --accent: #c8242b;  /* 5.4:1 */
  --gold: #85622e;    /* 5.5:1 */
  --ok: #2f6b45;
  --warn: #7c5a14;
  --danger: #a6261d;
  --primary-bg: #07090d;
  --primary-ink: #efebe4;
  --primary-hover: #1b2029;
  --gold-dim: rgba(133, 98, 46, .1);
}

/* ---------- Grundlagen ---------- */
[hidden] { display: none !important; } /* versteckte Elemente bleiben versteckt, auch Buttons */
html, body { background: var(--bg); }
body {
  color: var(--ink); font-family: var(--sans); font-weight: 380; letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
}
body::before, body::after { display: none !important; } /* keine Körnung */
a { color: var(--ink); text-decoration-color: var(--line-strong); }
a:hover { color: var(--ink); text-decoration-color: var(--ink); }
::selection { background: rgba(229, 56, 63, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; color: var(--ink); }
h1 { font-size: clamp(3.1rem, 6.4vw, 5.8rem); line-height: .98; }
h2 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); line-height: 1.02; }
h2 em, h1 em { font-style: italic; color: var(--gold); }
h3 { font-family: var(--sans); font-weight: 520; font-size: 1.12rem; letter-spacing: 0; line-height: 1.35; color: var(--ink); }
.lead { color: var(--ink-2); font-size: clamp(1.08rem, 1.25vw, 1.2rem); line-height: 1.62; max-width: 34em; }
.gold { color: var(--gold); background: none; -webkit-text-fill-color: currentColor; animation: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-size: .82rem; font-weight: 450; letter-spacing: .02em; text-transform: none; color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; animation: none; transform: none; }
.section--paper .eyebrow, .section-head.center .eyebrow::after { color: var(--ink-3); }
.section-head.center .eyebrow::after { content: none; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Buttons und Links ---------- */
.btn-primary, .btn, .btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font: 500 1rem/1 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  box-shadow: none !important; animation: none !important; transform: none !important;
}
.btn::before, .btn::after { content: none !important; }
.btn-primary, .btn { padding: 1rem 1.6rem; border-radius: 999px; background: var(--primary-bg); color: var(--primary-ink); }
.btn-primary:hover, .btn:hover { background: var(--primary-hover); color: var(--primary-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn[disabled], .btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-dark { padding: 1rem 1.5rem; border-radius: 4px; background: #07090d; color: #efebe4; }
.btn-dark:hover { background: #1b2029; color: #fff; }
.arr, .arrow { display: inline-block; transition: transform .25s var(--ease); animation: none !important; }
.btn-primary:hover .arr, .btn-dark:hover .arr, .btn:hover .arrow { transform: translateX(4px); }
.link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid var(--line-strong); transition: border-color .2s var(--ease);
}
.link:hover { border-bottom-color: var(--ink); color: var(--ink); }
.link-more { color: var(--ink); }

/* ---------- Kopfzeile ---------- */
.site-header { background: rgba(7, 9, 13, .74); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); box-shadow: none; }
.site-header.is-scrolled { background: rgba(7, 9, 13, .92); }
html[data-theme="light"] .site-header { background: rgba(244, 241, 234, .86); }
html[data-theme="light"] .site-header.is-scrolled { background: rgba(244, 241, 234, .96); }
.header-grid .brand strong { font-family: var(--serif); font-weight: 400; font-size: 29px; letter-spacing: 0; }
.header-grid .brand small { color: var(--ink-3); letter-spacing: .14em; }
.header-grid .nav a:not(.btn) { color: var(--ink-2); font-weight: 450; font-size: 15px; }
.header-grid .nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn)::after { background: var(--ink); }
.header-actions .header-cta, .header-grid .nav .nav-cta {
  background: var(--accent-fill); color: #fff; border-radius: 999px; font-weight: 500; padding: 11px 20px;
}
.header-actions .header-cta:hover, .header-grid .nav .nav-cta:hover { background: var(--accent); color: #fff; }
.nav-toggle { color: var(--ink); border-color: var(--line-strong); }
@media (max-width: 960px) { .header-grid .nav { background: var(--bg) !important; border-bottom: 1px solid var(--line); } }


/* ---------- Startbereich mit Foto ---------- */
.phero {
  position: relative; overflow: hidden; isolation: isolate; min-height: clamp(640px, 94vh, 940px);
  display: flex; align-items: center; background: #07090d; color: #efebe4;
  --ink: #efebe4; --ink-2: rgba(239, 235, 228, .76); --ink-3: rgba(239, 235, 228, .58);
  --line: rgba(239, 235, 228, .11); --line-strong: rgba(239, 235, 228, .3);
  --primary-bg: #efebe4; --primary-ink: #07090d; --primary-hover: #ffffff; --accent: #e5383f;
}
.phero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; z-index: -2; }
.phero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 9, 13, .94) 0%, rgba(7, 9, 13, .78) 34%, rgba(7, 9, 13, .12) 66%, rgba(7, 9, 13, 0) 100%),
    linear-gradient(0deg, #07090d 0%, rgba(7, 9, 13, 0) 22%);
}
html[data-theme="light"] .phero-shade { background: linear-gradient(90deg, rgba(7, 9, 13, .94) 0%, rgba(7, 9, 13, .78) 34%, rgba(7, 9, 13, .12) 66%, rgba(7, 9, 13, 0) 100%); }
.phero-inner { padding-top: 140px; padding-bottom: 110px; }
.phero-inner > * { max-width: 620px; }
.phero-inner > h1 { max-width: 860px; }
.crumb { font-size: .8rem; color: var(--ink-3); margin: 0 0 22px; display: flex; gap: 10px; }
.crumb a { color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.kicker { font-size: .9rem; margin: 0 0 18px; color: var(--ink-3); }
.kicker span { color: var(--accent); margin-right: 8px; }
.phero h1 { margin: 0 0 28px; }
.phero .lead { margin: 0 0 22px; }
.dots { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .85rem; color: var(--ink-3); }
.dots li { display: block; }
.dots li::before { content: ""; display: inline-block; vertical-align: middle; width: 4px; height: 4px; margin: -2px 9px 0 0; border-radius: 50%; background: var(--ink-3); }
.hero-price { margin: 0 0 34px; padding: 0; border: 0; color: var(--ink-2); font-size: .98rem; }
.hero-price strong { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; color: var(--ink); margin-right: 10px; letter-spacing: -.01em; }
.hero-price span { display: block; margin-top: 4px; font-size: .85rem; color: var(--ink-3); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.hero-next { margin: 46px 0 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; max-width: 460px; }
.hero-next span { color: var(--ink-3); }
.hero-next b { font-weight: 500; color: var(--ink); }

/* ---------- Abschnitte ---------- */
.blk { position: relative; padding: clamp(96px, 11vw, 160px) 0; background: var(--bg); }
.blk--ink { background: var(--bg-ink); }
.blk-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 860px; }
.blk-head h2 { margin: 0; }
.blk-head.split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 80px; align-items: end; }
.blk-aside { color: var(--ink-2); margin: 0; max-width: 30em; }
@media (max-width: 860px) { .blk-head.split { grid-template-columns: 1fr; } }

/* Kurstermine als ruhige Liste */
.tickets { list-style: none; margin: 0; padding: 0; display: block; border-top: 1px solid var(--line); }
.tickets li { opacity: 1; transform: none; animation: none; border-bottom: 1px solid var(--line); }
.tickets .next-empty { padding: 26px 0; color: var(--ink-3); }
.ticket {
  width: 100%; display: grid; align-items: center; gap: 4px 32px; text-align: left; cursor: pointer;
  grid-template-columns: 92px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas: "day week time seats cta" "day month time seats cta";
  padding: 26px 8px; margin: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink);
  font: inherit; box-shadow: none !important; transform: none !important; transition: background .2s var(--ease);
}
.ticket:not(:disabled):hover { background: var(--gold-dim); border: 0; }
.ticket .t-day { grid-area: day; font-family: var(--serif); font-size: 3.4rem; line-height: .9; color: var(--ink); background: none; -webkit-text-fill-color: currentColor; }
.ticket .t-week { grid-area: week; align-self: end; font-size: .82rem; letter-spacing: .02em; text-transform: none; color: var(--ink-3); font-weight: 450; }
.ticket .t-month { grid-area: month; align-self: start; font-family: var(--sans); font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.ticket .t-time { grid-area: time; margin: 0; font-size: 1rem; color: var(--ink-2); }
.ticket .t-seats { grid-area: seats; display: block; font-size: .95rem; }
.ticket .t-seats > span:first-child { display: none; }
.ticket .t-seats b { font-weight: 500; color: var(--ok); white-space: nowrap; }
.ticket.few .t-seats b { color: var(--warn); }
.ticket.full .t-seats b { color: var(--ink-3); }
.ticket .t-sep, .ticket .t-bar { display: none; }
.ticket .t-cta { grid-area: cta; margin: 0; font-size: .95rem; font-weight: 500; color: var(--ink); display: inline-flex; gap: 10px; padding-bottom: 3px; border-bottom: 1px solid var(--line-strong); }
.ticket .t-cta span { transition: transform .25s var(--ease); }
.ticket:not(:disabled):hover .t-cta span { transform: translateX(4px); }
.ticket:disabled { cursor: not-allowed; opacity: .5; filter: none; }
.ticket:disabled .t-cta { border-bottom-color: transparent; color: var(--ink-3); }
@media (max-width: 860px) {
  .ticket { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "day week" "day month" "day time" "day seats" "day cta"; gap: 2px 18px; padding: 22px 4px; }
  .ticket .t-cta { justify-self: start; margin-top: 12px; }
  .ticket .t-day { font-size: 2.8rem; align-self: start; padding-top: 4px; }
  .ticket .t-time, .ticket .t-seats { margin-top: 6px; }
}

/* Im Kurs enthalten: ruhiges Raster mit Haarlinien */
.grid-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.grid-list li { padding: 34px 0 40px; border-top: 1px solid var(--line); }
.grid-list .num { display: block; font-size: .8rem; color: var(--ink-3); margin-bottom: 26px; font-variant-numeric: tabular-nums; }
.grid-list h3 { margin: 0 0 10px; }
.grid-list p { margin: 0; color: var(--ink-2); max-width: 30em; }
@media (max-width: 960px) { .grid-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-list { grid-template-columns: 1fr; } }

/* Preis: heller Abschnitt wie auf der Website */
.blk--paper {
  background: var(--paper); color: var(--paper-ink);
  --ink: #07090d; --ink-2: #3a3e46; --ink-3: #5c6068; --line: rgba(7, 9, 13, .12); --line-strong: rgba(7, 9, 13, .3);
  --accent: #c8242b; --gold: #85622e;
}
html[data-theme="light"] .blk--paper { background: #ffffff; }
.price-row { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 48px 80px; align-items: start; }
@media (max-width: 860px) { .price-row { grid-template-columns: 1fr; } }
.price-card { background: var(--paper-2); padding: 40px; border-radius: 2px; box-shadow: 0 30px 60px -40px rgba(7, 9, 13, .45); }
html[data-theme="light"] .price-card { background: #f4f1ea; }
.pc-label { display: block; color: var(--accent); font-size: .95rem; margin-bottom: 10px; }
.pc-price { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.2rem); line-height: 1; color: var(--accent); letter-spacing: -.01em; }
.pc-note { margin: 10px 0 26px; font-size: .9rem; color: var(--ink-3); }
.price-card ul { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.price-card li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: .98rem; }
.price-card li::before { content: ""; position: absolute; left: 0; top: .78em; width: 14px; height: 1px; background: var(--ink); transform: none; border: 0; border-radius: 0; }
.price-side { border-left: 1px solid var(--line-strong); padding: 6px 0 6px 36px; max-width: 34em; }
.price-side h3 { margin: 0 0 10px; }
.price-side p { margin: 0; color: var(--ink-2); }
.price-side a { color: var(--ink); }

/* Foto und Text nebeneinander */
.media-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(48px, 7vw, 110px); align-items: center; }
.media-split--rev { align-items: start; }
@media (max-width: 960px) { .media-split { grid-template-columns: 1fr; } }
.media { margin: 0; overflow: hidden; border-radius: 2px; background: #0b0f15; }
.media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-split > .media:first-child img[src*="schluessel"] { aspect-ratio: 4 / 5; }
.media-split > .media img[src*="kurs"] { aspect-ratio: 4 / 3.4; }
.media-split h2 { margin: 0 0 26px; font-size: clamp(2rem, 3.2vw, 3.1rem); }
.media-split .lead { margin: 0 0 34px; }
.kv { margin: 0 0 34px; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 6px 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-weight: 520; color: var(--ink); }
.kv dd { margin: 0; color: var(--ink-2); }
@media (max-width: 620px) { .kv > div { grid-template-columns: 1fr; } }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.steps .num { font-size: .8rem; color: var(--ink-3); padding-top: 4px; font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-2); }

/* Ort mit Foto */
.place {
  position: relative; overflow: hidden; isolation: isolate; min-height: clamp(560px, 80vh, 760px); display: flex; align-items: flex-end;
  background: #07090d; color: #efebe4;
  --ink: #efebe4; --ink-2: rgba(239, 235, 228, .8); --ink-3: rgba(239, 235, 228, .62); --line: rgba(239, 235, 228, .16);
}
.place-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.place-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 9, 13, .96) 0%, rgba(7, 9, 13, .82) 42%, rgba(7, 9, 13, .2) 80%), linear-gradient(90deg, rgba(7, 9, 13, .5) 0%, rgba(7, 9, 13, 0) 50%); }
.place-inner { padding-top: 120px; padding-bottom: clamp(64px, 8vw, 110px); width: 100%; }
.place-inner h2 { margin: 0 0 40px; }
.kv--grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--line); margin: 0; }
.kv--grid > div { display: block; padding: 20px 0 0; border: 0; }
.kv--grid dt { font-size: .82rem; font-weight: 450; color: var(--ink-3); margin-bottom: 8px; }
.kv--grid dd { color: var(--ink); }
@media (max-width: 960px) { .kv--grid { grid-template-columns: 1fr 1fr; gap: 0 24px; } .kv--grid > div { padding-bottom: 18px; } }
@media (max-width: 560px) { .kv--grid { grid-template-columns: 1fr; } }

/* Abschluss */
.blk--end { border-top: 1px solid var(--line); }
.end-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 80px; align-items: end; }
.end-inner h2 { margin: 0; }
.end-inner .lead { margin: 0 0 30px; }
@media (max-width: 860px) { .end-inner { grid-template-columns: 1fr; } }

/* ---------- Anmeldung ---------- */
#anmeldung { background: var(--bg); padding: clamp(96px, 11vw, 160px) 0; }
#anmeldung .section-head { margin-bottom: 56px; }
#anmeldung .section-head h2 { margin: 0 0 18px; }
.form-card, .cal-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none !important;
}
.cal-card { margin-bottom: 0; }
.booking > *, .form-card, .cal-card { min-width: 0; }
legend, .legend-like { font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--ink); }
legend .step, .legend-like .step {
  font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: 0; padding: 0; width: 28px; height: 28px;
  display: inline-grid; place-items: center; border-radius: 50%; background: transparent; color: var(--ink); border: 1px solid var(--line-strong);
  animation: none !important; box-shadow: none !important;
}
.fs-hint, .field .hint, .hint { color: var(--ink-3); }
.field label, .field .label, .check { color: var(--ink-2); }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea {
  background: var(--field); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); box-shadow: none;
}
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, select:focus, textarea:focus { background: var(--field); border-color: var(--ink); box-shadow: 0 0 0 3px rgba(239, 235, 228, .08); }
html[data-theme="light"] input:focus, html[data-theme="light"] select:focus, html[data-theme="light"] textarea:focus { box-shadow: 0 0 0 3px rgba(7, 9, 13, .08); }
.check input { accent-color: var(--accent-fill); }
.stepper { background: var(--field); border-color: var(--line-strong); }
.stepper button { color: var(--ink); }
.stepper button:hover { background: var(--gold-dim); }
.stepper button:disabled { color: var(--ink-3); opacity: .5; }
.attendee { background: var(--bg-raised); border: 1px solid var(--line); animation: none; opacity: 1; transform: none; }
.attendee input[readonly] { opacity: .75; }
.attendee.invalid, .field.invalid input { border-color: var(--danger); }
.form-alert.error { background: rgba(238, 122, 112, .1); border: 1px solid rgba(238, 122, 112, .4); color: var(--danger); }
.form-alert.info { background: var(--gold-dim); border: 1px solid var(--line); color: var(--ink-2); }

/* Kalender */
.cal-nav, .cal-jump { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); transform: none !important; }
.cal-nav:hover:not(:disabled), .cal-jump:hover { background: var(--gold-dim); }
.cal-nav-group strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; }
.cal-weekdays span { color: var(--ink-3); letter-spacing: .04em; }
.cday { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-sm); animation: none !important; box-shadow: none; }
.cday.has-sessions { background: var(--surface-2); border-color: var(--line-strong); }
html[data-theme="light"] .cday.has-sessions { background: #ffffff; }
.cday.is-today { border-color: var(--ink); }
.cday.is-today .cday-num::after { color: var(--ink-3); }
.cday-num { color: var(--ink-3); }
.cday.has-sessions .cday-num { color: var(--ink); }
.cal-slot { background: transparent; border: 1px solid var(--line-strong); color: var(--ink); border-radius: 6px; box-shadow: none !important; transform: none !important; animation: none !important; }
.cal-slot.open, .cal-slot.few { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.cal-slot.open small { color: var(--ok); }
.cal-slot.few small { color: var(--warn); }
.cal-slot.few small::before { display: none; }
.cal-slot .until { color: var(--ink-2); }
.cal-slot.open:hover, .cal-slot.few:hover { background: var(--gold-dim); border-color: var(--ink); }
.cal-slot.full, .cal-slot.closed { background: transparent; border-color: var(--line); color: var(--ink-3); }
.cal-slot[aria-pressed="true"], .cal-slot.open[aria-pressed="true"], .cal-slot.few[aria-pressed="true"],
.cal-slot.open[aria-pressed="true"]:hover, .cal-slot.few[aria-pressed="true"]:hover {
  background: var(--primary-bg); border-color: var(--primary-bg); color: var(--primary-ink);
}
.cal-slot[aria-pressed="true"] small, .cal-slot[aria-pressed="true"] .until { color: var(--primary-ink) !important; }
.lg-open { background: var(--ok); } .lg-few { background: var(--warn); } .lg-full { background: var(--ink-3); }
.cal-legend { color: var(--ink-3); }
.cal-selected { border: 1px solid var(--line); border-radius: var(--radius-sm); animation: none !important; }
.cal-selected.is-set { border-color: var(--line-strong); background: var(--bg-raised); }
.cal-selected-label { color: var(--ink-3); letter-spacing: .04em; text-transform: none; font-weight: 450; }

/* Zusammenfassung: heller Beleg wie die Preiskarte */
.summary {
  background: var(--paper-2); color: #07090d; border: 1px solid rgba(7, 9, 13, .08); border-radius: 2px;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .6);
  --ink: #07090d; --ink-2: #3a3e46; --ink-3: #5c6068;
}
html[data-theme="light"] .summary { background: #ffffff; box-shadow: 0 30px 60px -40px rgba(7, 9, 13, .35); }
.summary h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; color: #07090d; }
.summary .line { border-bottom-color: rgba(7, 9, 13, .1); }
.summary .line dt, .summary .vat, .secure-note { color: #5c6068; }
.summary .line dd { color: #07090d; }
.summary .total strong { font-family: var(--serif); font-weight: 400; color: #07090d; animation: none !important; }
.summary .btn, .summary .btn:not(.btn--ghost), .summary .btn:not(.btn--ghost):hover {
  background: #07090d; color: #efebe4; border-radius: 4px; animation: none !important;
}
.summary .btn:hover { background: #1b2029; color: #fff; }
.pay-logos span { border-color: rgba(7, 9, 13, .18); color: #3a3e46; border-radius: 3px; }
#submit-btn.is-ready { animation: none !important; }

/* ---------- Häufige Fragen ---------- */
#faq { background: var(--bg-ink); }
.faq details { border-bottom: 1px solid var(--line); border-radius: 0; background: transparent !important; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { font-family: var(--serif); font-weight: 400; font-size: 1.65rem; color: var(--ink); padding: 26px 48px 26px 0; }
.faq summary:hover { color: var(--ink); padding-left: 0; }
.faq summary::after { border-color: var(--ink-2); }
.faq .answer { color: var(--ink-2); animation: none; opacity: 1; transform: none; }
.faq .answer a { color: var(--ink); }
.faq-group { color: var(--ink-3); letter-spacing: .02em; text-transform: none; }

/* ---------- Fusszeile ---------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); color: var(--ink-3); }
.site-footer h4 { color: var(--ink-3); font-weight: 450; letter-spacing: .02em; text-transform: none; font-size: .85rem; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }
.site-footer .brand strong { font-family: var(--serif); font-weight: 400; }
.footer-bottom { border-top-color: var(--line); }

/* ---------- Unterseiten ---------- */
.page { background: var(--bg); }
.prose h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
.prose h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.prose p, .prose li, .prose address, .prose td { color: var(--ink-2); }
.prose th { color: var(--ink); }
.prose th, .prose td { border-bottom-color: var(--line); }
.result-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.rb-head { background: var(--bg-raised); border-bottom-color: var(--line); }
.rb-head strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.result-box dt { color: var(--ink-3); }
.result-box dd, .result-box dd.mono { color: var(--ink); }
.seal { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.notice { background: var(--bg-raised); border: 1px solid var(--line); color: var(--ink-2); }
.notice svg { color: var(--ink-2); }
.notice strong { color: var(--ink); }
.spinner { border-color: var(--line); border-top-color: var(--ink); }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 620px) {
  .phero { min-height: 0; align-items: flex-end; }
  .phero-img { object-position: 78% center; }
  .phero-shade, html[data-theme="light"] .phero-shade { background: linear-gradient(0deg, #07090d 0%, rgba(7, 9, 13, .9) 55%, rgba(7, 9, 13, .45) 100%); }
  .phero-inner { padding-top: 96px; padding-bottom: 64px; }
  .cal-top { flex-wrap: wrap; gap: 12px; }
  .cal-nav-group { min-width: 0; }
  .cal-nav-group strong { font-size: 1.3rem; }
  .price-card { padding: 28px 22px; }
  .price-side { border-left: 0; border-top: 1px solid var(--line-strong); padding: 26px 0 0; }
}

/* ==========================================================================
   Ansicht-Menü: Design und Schriftgrösse
   ========================================================================== */
.view { position: relative; }
.view-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink);
  font: 450 14px/1 var(--sans); letter-spacing: .01em; cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.view-btn:hover, .view.open .view-btn { border-color: var(--ink); background: rgba(239, 235, 228, .04); }
html[data-theme="light"] .view-btn:hover, html[data-theme="light"] .view.open .view-btn { background: rgba(7, 9, 13, .03); }
.vb-glyph { font-family: var(--serif); font-size: 21px; line-height: 1; letter-spacing: -.02em; margin-top: -2px; }
.vb-text { color: var(--ink-2); }
.vb-chev { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-3); transition: transform .45s var(--ease); }
.view.open .vb-chev { transform: rotate(180deg); }

.view-panel {
  position: absolute; top: calc(100% + 14px); right: 0; z-index: 80; width: 340px; padding: 22px 22px 20px;
  background: rgba(16, 22, 31, .96); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 40px 80px -30px rgba(0, 0, 0, .8), 0 12px 30px -18px rgba(0, 0, 0, .6);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right;
  transition: opacity .32s var(--ease), transform .45s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .45s;
  font-size: 14px; line-height: 1.4;
}
html[data-theme="light"] .view-panel { background: rgba(255, 255, 255, .97); box-shadow: 0 40px 80px -30px rgba(7, 9, 13, .35), 0 12px 30px -18px rgba(7, 9, 13, .2); }
.view.open .view-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .32s var(--ease), transform .45s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
.view-panel::before { content: ""; position: absolute; top: -6px; right: 30px; width: 10px; height: 10px; background: inherit; border-left: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong); transform: rotate(45deg); }
.vp-head { display: flex; flex-direction: column; gap: 4px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.vp-title { font-family: var(--serif); font-size: 26px; line-height: 1; }
.vp-sub { font-size: 12px; color: var(--ink-3); }
.vp-row + .vp-row { margin-top: 20px; }
.vp-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.vp-label b { font-weight: 500; letter-spacing: .01em; text-transform: none; font-size: 13px; color: var(--gold); }

.seg {
  --n: 2; --i: 0;
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  padding: 4px; border-radius: 999px; background: var(--field); border: 1px solid var(--line);
}
.seg--size { --n: 4; }
.seg-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / var(--n));
  border-radius: 999px; background: var(--primary-bg);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  transform: translateX(calc(var(--i) * 100%)); transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}
.seg button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--ink-2); font: 450 14px/1 var(--sans); transition: color .35s var(--ease);
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { color: var(--primary-ink); }
.seg button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.seg button[data-theme-set="dark"] svg { fill: currentColor; stroke: none; }
.seg button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.seg--size button span { font-family: var(--serif); line-height: 1; }
.seg--size .a-s { font-size: 15px; } .seg--size .a-m { font-size: 19px; } .seg--size .a-l { font-size: 23px; } .seg--size .a-xl { font-size: 28px; }
.vp-preview { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--field); border: 1px solid var(--line); color: var(--ink-2); font-size: 1rem; line-height: 1.35; transition: font-size .4s var(--ease); }

.floating-tools .view-btn { background: var(--bg); }
@media (max-width: 960px) { .vb-text { display: none; } .view-btn { padding: 0 12px 0 14px; gap: 8px; } }
@media (max-width: 620px) {
  .view-btn { height: 40px; }
  .view-panel { position: fixed; top: 72px; left: 12px; right: 12px; width: auto; }
  .view-panel::before { display: none; }
}

/* Designwechsel als Kreisblende (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }
html:not(.vt-run).theme-switching * { transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease) !important; }

/* ==========================================================================
   Roter Anmeldebutton
   ========================================================================== */
.header-actions .header-cta, .header-grid .nav .nav-cta {
  position: relative; overflow: hidden; isolation: isolate; gap: 10px;
  background: linear-gradient(180deg, #e8424a 0%, #d8262e 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 10px 24px -12px rgba(229, 56, 63, .9) !important;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s var(--ease), background .3s var(--ease) !important;
}
.header-actions .header-cta::after, .header-grid .nav .nav-cta::after {
  content: "" !important; position: absolute; inset: 0; z-index: -1; display: block !important;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .38) 48%, rgba(255, 255, 255, .1) 54%, transparent 70%);
  transform: translateX(-120%); animation: cta-sheen 6.5s cubic-bezier(.4, 0, .2, 1) 2.2s infinite !important;
}
.header-actions .header-cta:hover, .header-grid .nav .nav-cta:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 16px 34px -12px rgba(229, 56, 63, 1), 0 0 0 4px rgba(229, 56, 63, .16) !important;
}
.header-actions .header-cta:active, .header-grid .nav .nav-cta:active { transform: translateY(0) scale(.98) !important; }
.cta-arr { display: inline-block; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.header-cta:hover .cta-arr, .nav-cta:hover .cta-arr { transform: translateX(4px); }
@keyframes cta-sheen { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }

/* Ruf zur Anmeldung im Startbereich: dezenter Puls am Pfeil */
.phero .btn-primary { position: relative; overflow: hidden; isolation: isolate; transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s var(--ease), background .25s var(--ease); }
.phero .btn-primary:hover { transform: translateY(-1px) !important; box-shadow: 0 18px 40px -18px rgba(239, 235, 228, .55) !important; }
.phero .btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.phero .btn-primary:hover::after { transform: translateX(120%); }

/* ==========================================================================
   Schlichte Bewegung
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Startbereich: Bild atmet sanft ein, Inhalte erscheinen nacheinander */
  .phero-img { animation: hero-img 2.8s cubic-bezier(.22, 1, .36, 1) both; will-change: transform; }
  .phero-inner > * { animation: rise 1.1s cubic-bezier(.22, 1, .36, 1) both; }
  .phero-inner > :nth-child(1) { animation-delay: .15s; }
  .phero-inner > :nth-child(2) { animation-delay: .25s; }
  .phero-inner > :nth-child(3) { animation-delay: .35s; }
  .phero-inner > :nth-child(4) { animation-delay: .5s; }
  .phero-inner > :nth-child(5) { animation-delay: .6s; }
  .phero-inner > :nth-child(6) { animation-delay: .7s; }
  .phero-inner > :nth-child(7) { animation-delay: .8s; }
  .phero-inner > :nth-child(8) { animation-delay: .95s; }
  .site-header { animation: fade 1s var(--ease) .1s both; }

  /* Abschnitte: Einblenden mit kleiner Staffelung */
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--d, 0) * 90ms); }
  .reveal.in { opacity: 1; transform: none; }

  /* Linie vor der Überschrift zeichnet sich */
  .eyebrow::before { transform-origin: left; transition: transform 1.2s cubic-bezier(.22, 1, .36, 1) .2s; }
  .reveal:not(.in) .eyebrow::before, .eyebrow.reveal:not(.in)::before { transform: scaleX(0); }

  /* Fotos öffnen sich wie eine Blende */
  .media.reveal { opacity: 1; transform: none; clip-path: inset(12% 0 12% 0); transition: clip-path 1.5s cubic-bezier(.22, 1, .36, 1); }
  .media.reveal img { transform: scale(1.12); transition: transform 2.2s cubic-bezier(.22, 1, .36, 1); }
  .media.reveal.in { clip-path: inset(0 0 0 0); }
  .media.reveal.in img { transform: scale(1); }

  /* Haarlinien werden gezogen */
  .grid-list li, .steps li, .kv > div { position: relative; }
  .grid-list li.reveal { border-top-color: transparent; }
  .grid-list li.reveal::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--d, 0) * 90ms); }
  .grid-list li.reveal.in::before { transform: scaleX(1); }

  /* Kurstermine: Zeilen erscheinen nacheinander */
  .tickets li { animation: rise .9s cubic-bezier(.22, 1, .36, 1) both !important; opacity: 0; }
  .tickets li:nth-child(2) { animation-delay: .08s !important; }
  .tickets li:nth-child(3) { animation-delay: .16s !important; }
  .tickets li:nth-child(4) { animation-delay: .24s !important; }
  .tickets li:nth-child(5) { animation-delay: .32s !important; }
  .tickets li:nth-child(n+6) { animation-delay: .4s !important; }
  .tickets:not(.in) li { animation-play-state: paused !important; }
  .ticket .t-day { transition: transform .5s cubic-bezier(.22, 1, .36, 1), color .3s var(--ease); }
  .ticket:not(:disabled):hover .t-day { transform: translateX(6px); color: var(--gold); }

  /* Ort: langsames Heranzoomen */
  .place-img { transform: scale(1.08); transition: transform 3s cubic-bezier(.22, 1, .36, 1); }
  .place.in .place-img { transform: scale(1); }

  /* Links: Unterstrich läuft */
  .link { border-bottom: 0; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat, linear-gradient(var(--line-strong), var(--line-strong)) left bottom / 100% 1px no-repeat; background-size: 0 1px, 100% 1px; transition: background-size .5s cubic-bezier(.22, 1, .36, 1); }
  .link:hover { background-size: 100% 1px, 100% 1px; }
  .link::after { content: "→"; display: inline-block; margin-left: 2px; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
  .link:hover::after { transform: translateX(4px); }

  /* Häufige Fragen: Antwort gleitet auf */
  .faq details[open] .answer { animation: rise .6s cubic-bezier(.22, 1, .36, 1) both !important; }
  .faq summary::after { transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
}
@keyframes hero-img { from { transform: scale(1.08); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .header-actions .header-cta::after, .header-grid .nav .nav-cta::after { animation: none !important; display: none !important; }
  .seg-thumb, .view-panel { transition: none; }
}

/* Alte Effekt-Bausteine sicher ausblenden, falls noch im Markup */
.fx-layer, .scroll-progress, .hero-orbs, .float-badge, .hero-stage { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
