/* ==========================================================================
   Heilungskonferenz 2027 – Stylesheet
   Farben & Schriften zentral in :root anpassen (z. B. an die Logo-Farben).
   ========================================================================== */

/* Schriften lokal einbinden (keine Google-Fonts-Verbindung, DSGVO/MV-DSO-freundlich).
   [PLATZHALTER] Gewünschte Schriften als .woff2 in assets/fonts/ ablegen und
   die folgenden Blöcke einkommentieren – z. B. „Fraunces“ und „Inter“ (beide frei, SIL OFL).

@font-face { font-family: "Fraunces"; src: url("../fonts/Fraunces.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
*/

:root {
  --ink: #003046;
  --ink-2: #0a3d57;
  --ink-3: #14506e;
  --accent: #b64444;
  --accent-2: #e8928e;
  --accent-3: #3f86ad;
  --cream: #f8f7f5;
  --sand: #edf1f4;
  --text: #14232f;
  --muted: #566572;
  --on-dark: #f3f6f8;
  --on-dark-muted: #b4c4cf;
  --line: rgba(27, 36, 51, .12);
  --line-dark: rgba(244, 239, 230, .14);
  --danger: #c2412d;
  --ok: #2f8f5b;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0,48,70, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --nav-h: 72px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 em { font-style: italic; color: var(--accent); font-weight: 500; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .nav :focus-visible, .section--dark :focus-visible, .footer :focus-visible { outline-color: var(--accent-2); }

/* Platzhalter deutlich sichtbar markieren – vor dem Livegang alle ersetzen */
mark.ph {
  background: repeating-linear-gradient(-45deg, rgba(232,169,75,.18) 0 8px, rgba(232,169,75,.32) 8px 16px);
  color: inherit;
  outline: 1.5px dashed #d99a2b;
  border-radius: 4px;
  padding: 0 .25em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: currentColor; --bd: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.5em; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  --bg: linear-gradient(120deg, var(--accent), #cf5b55 50%, var(--accent));
  --fg: #fff; --bd: transparent;
  background-size: 200% 100%;
  box-shadow: 0 10px 30px -10px rgba(182,68,68,.7);
}
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(182,68,68,.85); }
.btn--ghost { --fg: var(--on-dark); --bd: rgba(243,246,248,.4); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bd: var(--on-dark); background: rgba(255,255,255,.06); }
.btn--small { padding: .55em 1.1em; font-size: .9rem; }
.btn--large { padding: 1em 1.9em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.btn__spinner { display: none; width: 1.1em; height: 1.1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { color: var(--accent-2); font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .3s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  color: var(--on-dark);
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(0,48,70,.82); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line-dark); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: .6em; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.nav__year { color: var(--accent-2); }
.nav__mark { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--accent-2), var(--accent) 45%, var(--accent-3)); box-shadow: 0 0 20px rgba(182,68,68,.6); }
.nav__menu { display: flex; align-items: center; gap: 1.75rem; }
.nav__menu a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .85; position: relative; }
.nav__menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__menu a:not(.btn):hover { opacity: 1; }
.nav__menu a:not(.btn):hover::after, .nav__menu a.is-active::after { transform: scaleX(1); }
.nav__menu .btn { --bd: var(--accent); --fg: #fff; background: var(--accent); box-shadow: 0 6px 18px -6px rgba(182,68,68,.75); }
.nav__menu .btn:hover { background: #cf5b55; --bd: #cf5b55; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; color: inherit; }
.nav__toggle span:not(.sr-only) { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(0,48,70,.97); backdrop-filter: blur(14px); padding: 8px 16px 24px;
    transform: translateY(calc(-100% - var(--nav-h))); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; z-index: -1;
  }
  .nav__menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line-dark); font-size: 1.1rem; }
  .nav__menu .btn { margin-top: 16px; }
  .nav.is-open { background: rgba(0,48,70,.97); }
  .nav.is-open .nav__menu { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
  .nav.is-open .nav__toggle span:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  color: var(--on-dark); background: var(--ink); overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + 40px) 0 100px;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__photo {
  position: absolute; inset: 0; background-size: cover; background-position: 30% center;
  background-image: url("../img/hero.jpg");
  background-image: image-set(url("../img/hero.webp") type("image/webp"), url("../img/hero.jpg") type("image/jpeg"));
  animation: heroZoom 24s ease-out both;
}
/* Abdunkeln in EinsA-Blau, damit der Text gut lesbar bleibt */
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,48,70,.92) 0%, rgba(0,48,70,.72) 38%, rgba(0,48,70,.28) 75%, rgba(0,48,70,.18) 100%),
    linear-gradient(0deg, rgba(0,48,70,.95) 0%, rgba(0,48,70,0) 35%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (max-width: 700px) {
  .hero__photo { background-position: 49% center; }
  .hero__photo::after { background: linear-gradient(0deg, rgba(0,48,70,.94) 0%, rgba(0,48,70,.78) 40%, rgba(0,48,70,.68) 100%); }
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .3; will-change: transform; }
.hero__glow--1 { width: 60vmax; height: 60vmax; top: -25vmax; right: -15vmax; background: radial-gradient(circle, var(--accent) 0%, transparent 65%); animation: float1 18s ease-in-out infinite; }
.hero__glow--2 { width: 50vmax; height: 50vmax; bottom: -25vmax; left: -15vmax; background: radial-gradient(circle, var(--accent-3) 0%, transparent 65%); opacity: .35; animation: float2 22s ease-in-out infinite; }
.hero__grain {
  position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes float1 { 50% { transform: translate(-6vmax, 6vmax) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(8vmax, -4vmax) scale(1.15); } }

.hero__content { position: relative; }
.hero__eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); padding: .5em 1em; border: 1px solid rgba(232,146,142,.35); border-radius: 999px; background: rgba(0,48,70,.35); backdrop-filter: blur(6px); }
.hero__title { font-size: clamp(3.2rem, 13vw, 9.5rem); line-height: .92; margin: .3em 0 .35em; letter-spacing: -.035em; font-weight: 500; }
.hero__title-line { display: block; }
.hero__title-line--accent {
  font-style: italic; padding-left: .6em;
  background: linear-gradient(100deg, #f6cdc9, var(--accent-2) 45%, #d8615c 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1.1rem, 2.2vw, 1.4rem); max-width: 34em; color: var(--on-dark-muted); }
.hero__lead strong { color: var(--on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 3rem; }

.countdown { display: flex; gap: clamp(10px, 2vw, 18px); flex-wrap: wrap; }
.countdown__item {
  min-width: 82px; padding: 14px 12px 10px; text-align: center; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); backdrop-filter: blur(10px);
}
.countdown__num { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__num.tick { animation: tick .5s var(--ease); }
@keyframes tick { from { transform: translateY(-30%); opacity: .2; } }
.countdown__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }

.hero__scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(243,246,248,.4); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--accent); border-radius: 2px; animation: scrolldot 2s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sektionen ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark p { color: var(--on-dark-muted); }
.section--soft { background: var(--sand); }
.section--glow { overflow: hidden; isolation: isolate; }
.section--glow::before {
  content: ""; position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: -20vmax; top: -30vmax;
  background: radial-gradient(circle, rgba(182,68,68,.22), transparent 60%); filter: blur(40px);
}
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1rem; }
.section:not(.section--dark) .eyebrow { color: var(--accent); }
.eyebrow--center { text-align: center; }

/* Scroll-Animationen */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Über ---------- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__text p { font-size: 1.12rem; }
.about__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.fact {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: #fff; border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(0,48,70,.4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.fact:hover { transform: translateX(6px); box-shadow: 0 1px 0 var(--line), 0 18px 40px -22px rgba(0,48,70,.5); }
.fact strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.fact span { line-height: 1.5; }
.fact__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.fact__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sprecher ---------- */
.speakers { display: grid; gap: 28px; margin-top: 2.5rem; }
.speaker {
  display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(20px, 3vw, 32px); border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(140deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid var(--line-dark);
}
.speaker__photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; }
.speaker__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,48,70,.5), transparent 50%); }
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.speaker:hover .speaker__photo img { transform: scale(1.05); }
.speaker h3 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .2em; }
.speaker__role { color: var(--accent-2) !important; font-weight: 600; letter-spacing: .04em; }

/* ---------- Programm ---------- */
.program { margin-top: 2.5rem; }
.program__tabs { display: inline-flex; gap: 6px; padding: 6px; background: var(--sand); border-radius: 999px; margin-bottom: 2rem; }
.program__tab { border: 0; background: none; padding: .7em 1.4em; border-radius: 999px; font: 600 1rem var(--font-body); color: var(--muted); cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.program__tab span { font-weight: 400; opacity: .7; }
.program__tab.is-active { background: var(--ink); color: var(--on-dark); box-shadow: 0 8px 20px -10px rgba(0,48,70,.6); }
.program[data-state="empty"] .program__tabs, .program[data-state="empty"] .program__panel { display: none; }
.program:not([data-state="empty"]) .program__empty { display: none; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), rgba(182,68,68,.1)); }
.timeline__item { display: grid; grid-template-columns: 76px 1fr; gap: 36px; padding: 0 0 28px; position: relative; animation: fadeUp .6s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.timeline__item::before { content: ""; position: absolute; left: 86px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--cream); border: 3px solid var(--accent); }
.timeline__time { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.timeline__time small { display: block; font-family: var(--font-body); font-size: .8rem; color: var(--muted); font-weight: 400; }
.timeline__card { background: #fff; border-radius: var(--radius-sm); padding: 18px 22px; box-shadow: 0 1px 0 var(--line), 0 10px 26px -20px rgba(0,48,70,.4); }
.timeline__card h3 { font-size: 1.2rem; margin-bottom: .25em; }
.timeline__card p { margin: 0; color: var(--muted); }
.timeline__speaker { display: inline-block; margin-top: .5em; font-size: .85rem; font-weight: 600; color: var(--accent); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

.program__empty { text-align: center; padding: 56px 24px; border: 2px dashed rgba(182,68,68,.45); border-radius: calc(var(--radius) + 6px); background: radial-gradient(circle at 50% 0%, rgba(182,68,68,.12), transparent 60%); }
.program__empty p { color: var(--muted); max-width: 32em; margin-inline: auto; }
.program__empty-icon { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--accent-2), var(--accent) 50%, var(--accent-3)); box-shadow: 0 0 0 10px rgba(182,68,68,.15), 0 0 0 22px rgba(182,68,68,.07); animation: pulse 3s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 16px rgba(182,68,68,.12), 0 0 0 34px rgba(182,68,68,.04); } }

/* ---------- Infos ---------- */
.info-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; margin-top: 2.5rem; }
.map { position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, #dfe6ee, #cfd8e3); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 24px; gap: 8px; background:
  repeating-linear-gradient(0deg, transparent 0 39px, rgba(0,48,70,.06) 39px 40px),
  repeating-linear-gradient(90deg, transparent 0 39px, rgba(0,48,70,.06) 39px 40px); }
.map__consent p { max-width: 26em; color: var(--muted); }
.map__consent strong { color: var(--text); font-size: 1.1rem; }
.map__consent .btn { justify-self: center; }
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 0 var(--line); }
.info-card h3 { font-size: 1.1rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Anmeldung ---------- */
.register { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.register__intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.register__status { margin-top: 1.5rem; padding: 14px 18px; border-radius: var(--radius-sm); background: rgba(182,68,68,.12); border: 1px solid rgba(182,68,68,.4); color: var(--accent-2); font-weight: 500; }

.form, .success {
  background: #fff; color: var(--text); border-radius: calc(var(--radius) + 6px);
  padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; padding: 0; }
.field small, .check small { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: .8em 1em; border: 1.5px solid #d9dde4; border-radius: var(--radius-sm); background: #fafbfc;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(182,68,68,.2); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error, .form__error { color: var(--danger); font-size: .85rem; margin: 6px 0 0; min-height: 0; }
.field__error:empty, .form__error:empty { display: none; }
.form__error { padding: 12px 14px; background: #fdecea; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .95rem; }

.choice-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; text-align: center; padding: .8em .5em; border: 1.5px solid #d9dde4; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; transition: all .25s var(--ease); }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--on-dark); box-shadow: 0 8px 20px -10px rgba(0,48,70,.6); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid #d9dde4; border-radius: 999px; overflow: hidden; background: #fafbfc; }
.stepper button { width: 46px; height: 46px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: var(--ink); transition: background .2s; }
.stepper button:hover { background: var(--sand); }
.field .stepper input { width: 56px; text-align: center; border: 0; background: none; padding: 0; font-weight: 700; font-size: 1.1rem; -moz-appearance: textfield; appearance: textfield; box-shadow: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; line-height: 1.5; margin: 0 0 14px; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--ink); }
.check a { color: var(--accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__hint { text-align: center; font-size: .82rem; color: var(--muted); margin: 12px 0 0; }

.success { text-align: center; padding-block: 56px; animation: fadeUp .7s var(--ease); }
.success p { color: var(--muted) !important; max-width: 28em; margin-inline: auto; }
.success__icon svg { width: 84px; height: 84px; margin: 0 auto 1.2rem; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.success__icon circle { stroke: var(--accent); stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease) forwards; }
.success__icon path { stroke: var(--ok); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
.success .btn--ghost { --fg: var(--ink); --bd: var(--line); margin-top: 1rem; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 2rem; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: 0 1px 0 var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }
.faq details[open] p { animation: fadeUp .4s var(--ease); }

/* ---------- Veranstalter ---------- */
.hosts { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 6vw, 72px); flex-wrap: wrap; }
.host { display: block; padding: 12px; border-radius: var(--radius-sm); transition: transform .4s var(--ease); }
.host:hover { transform: translateY(-4px); }
.host img { max-height: 96px; width: auto; }
.hosts__plus { font-family: var(--font-display); font-size: 2rem; color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: 56px 0 40px; font-size: .95rem; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 32px; }
.footer p { margin: 0 0 .3em; }
.footer strong { color: var(--on-dark); }
.footer__brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--on-dark); }
.footer__links { display: flex; gap: 20px; align-items: flex-start; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--accent-2); }

/* ---------- Responsiv ---------- */
@media (max-width: 960px) {
  .about, .register, .info-grid { grid-template-columns: 1fr; }
  .register__intro { position: static; }
  .speaker { grid-template-columns: 1fr; }
  .speaker__photo { max-width: 420px; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .form__row, .info-cards { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .choice-group { grid-template-columns: 1fr; }
  .countdown__item { min-width: 0; flex: 1; padding-inline: 6px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .timeline::before { left: 7px; }
  .timeline__item { grid-template-columns: 1fr; gap: 6px; padding-left: 32px; }
  .timeline__item::before { left: 1px; }
  .timeline__time { text-align: left; }
  .timeline__time small { display: inline; margin-left: .4em; }
  .program__tabs { display: flex; }
  .program__tab { flex: 1; padding-inline: .6em; }
}

/* Bewegung reduzieren, wenn im System eingestellt */
@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 { opacity: 1; transform: none; }
}

.countdown__live { margin: 0; font-family: var(--font-display); font-size: 1.4rem; color: var(--accent-2); }
.program__none { color: var(--muted); padding: 24px 0; }

/* ---------- Rechtliche Seiten ---------- */
.legal-header { background: var(--ink); color: var(--on-dark); padding: 28px 0; }
.legal-header a { text-decoration: none; color: var(--accent-2); font-weight: 600; }
.legal { padding: 56px 0 96px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.legal h2 { font-size: 1.5rem; margin-top: 2.2em; }
.legal p, .legal li { max-width: 68ch; }
.legal .note-box { padding: 16px 20px; border-radius: var(--radius-sm); background: rgba(182,68,68,.14); border: 1px solid rgba(182,68,68,.5); margin-bottom: 2em; }

/* Logos & Veranstaltungsort */
.host img { height: 130px; max-height: none; width: auto; }
.host--round img { mix-blend-mode: multiply; border-radius: 50%; }
.venue { grid-column: 1 / -1; margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.venue img { width: 100%; height: 200px; object-fit: cover; transition: transform 1.2s var(--ease); }
.venue:hover img { transform: scale(1.04); }
.venue figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 12px; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(0,48,70,.85)); }
@media (max-width: 600px) { .host img { height: 104px; } }
.speaker__links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; }
.info-card a { color: var(--accent); }

/* Anmeldung: mehrere Personen */
.person { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
.person__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; padding: 0; margin-bottom: 14px; color: var(--ink); }
.person--extra { margin-top: 18px; padding: 22px 22px 6px; border-radius: var(--radius); background: var(--sand); animation: fadeUp .45s var(--ease); }
.person__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.person__head .person__title { margin-bottom: 14px; }
.person__remove { border: 0; background: none; color: var(--accent); font: 600 .9rem var(--font-body); cursor: pointer; padding: 4px 0; }
.person__remove:hover { text-decoration: underline; }
.person--extra .field input { background: #fff; }
.add-person {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 18px 0 8px; padding: 14px;
  border: 1.5px dashed rgba(0,48,70,.3); border-radius: var(--radius-sm); background: none;
  color: var(--ink); font: 600 1rem var(--font-body); cursor: pointer; transition: border-color .2s, background .2s;
}
.add-person:hover { border-color: var(--accent); background: rgba(182,68,68,.05); }
.add-person__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.1rem; line-height: 1; }
.add-person[hidden] { display: none; }
.form__note { font-size: .88rem; color: var(--muted); margin: 0 0 18px; }
@media (max-width: 600px) { .person--extra { padding: 18px 16px 4px; } }
/* Texte im weißen Formular nicht vom dunklen Abschnitt einfärben lassen */
.section--dark .form p { color: var(--muted); }
.section--dark .form .field__error, .section--dark .form .form__error { color: var(--danger); }

/* Auswahlfeld Gemeinde */
.field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: .8em 2.6em .8em 1em; border: 1.5px solid #d9dde4; border-radius: var(--radius-sm); background-color: #fafbfc;
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23003046' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center;
  transition: border-color .2s, box-shadow .2s;
}
.field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(182,68,68,.2); }
.person--extra .field select { background-color: #fff; }
.field [data-church-other] { margin-top: 10px; }

/* Dezenter Sticker oben rechts im Hero: „Anmeldung bald möglich“ */
.hero__sticker {
  position: absolute; top: calc(var(--nav-h) + 56px); right: 20%;
  width: 168px; height: 168px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  color: #fff; background: rgba(0,48,70,.38); backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.7); outline: 1px dashed rgba(255,255,255,.45); outline-offset: -9px;
  transform: rotate(-10deg); animation: stickerIn 1s .6s var(--ease) both;
}
.hero__sticker b { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.45rem; line-height: 1; }
.hero__sticker span { margin-top: 4px; font-size: .92rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.85); }
@keyframes stickerIn { from { opacity: 0; transform: rotate(-24deg) scale(.8); } }
@media (max-width: 700px) {
  .hero { padding-bottom: 128px; }
  .hero__sticker { top: auto; bottom: 16px; right: 16px; width: 108px; height: 108px; }
  .hero__sticker b { font-size: .95rem; }
  .hero__sticker span { font-size: .68rem; }
}

/* Benachrichtigungs-Formular */
.notify { text-align: left; }
.notify__badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: 0 10px 24px -10px rgba(182,68,68,.8); }
.notify__badge svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notify__title { font-size: 1.5rem; margin-bottom: .3em; color: var(--ink); }
.section--dark .form p.notify__text { color: var(--muted); margin-bottom: 1.4em; }

/* Ticketshop-Karte und klickbarer Sticker */
.shop__facts { list-style: none; display: grid; gap: 8px; margin: 0 0 22px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--sand); font-size: .95rem; color: var(--text); }
.shop__facts strong { color: var(--ink); }
a.hero__sticker { text-decoration: none; transition: background .3s, border-color .3s; }
a.hero__sticker:hover { background: rgba(182,68,68,.55); border-color: #fff; }
