/* Schriften: Fraunces (Display) und Hanken Grotesk (Text), selbst gehostet, keine Anfrage an Google */
@font-face { font-family: "Fraunces Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/fraunces-latin-full-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Fraunces Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Fraunces Variable"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url("fonts/fraunces-latin-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Hanken Grotesk Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Hanken Grotesk Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

@font-face { font-family: "Yellowtail"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("fonts/yellowtail-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

@font-face { font-family: "Jost Variable"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/jost-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Layout: Sandgrund, Bogenfenster-Hero mit Sonnenscheibe, Programm als Billett-Streifen, Spalte 1120px */
:root {
  --bg: #EFE2CB;
  --surface: #F8F0E3;
  --band: #E4D2B4;
  --fg: #2D1E14;
  --fg-muted: #6E5747;
  --line: rgba(45, 30, 20, 0.16);
  --line-strong: rgba(45, 30, 20, 0.32);
  --accent: #B85042;
  --accent-hover: #9E4134;
  --on-accent: #FFF8EF;
  --teal: #1A7A6D;
  --on-teal: #FFF8EF;
  --sun: #C9643F;
  --footer-bg: #2D1E14;
  --footer-fg: #F0E4D0;
  --footer-muted: #BFA88F;
  --stub-ink: #FFF8EF;
  --art-bar: #B85042;
  --art-kino: #1A7A6D;
  --art-games: #45606C;
  --art-spiele: #5F6C44;
  --art-essen: #8F5F2C;
  --art-fest: #9A4F23;
  --art-werkstatt: #66594E;
  --art-special: #2D1E14;
  --backdrop: rgba(28, 19, 13, 0.62);
  --papier: #F8F0E3;
  --papier-tinte: #2D1E14;
  --papier-leise: #6E5747;

  --font-logo: "Yellowtail", "Brush Script MT", cursive;
  --font-nr: "Jost Variable", Futura, "Century Gothic", sans-serif;
  --font-display: "Fraunces Variable", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk Variable", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.5rem, 1.6rem + 4vw, 4.4rem);

  --max: 1120px;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1B120C; --surface: #261A12; --band: #2F2117; --fg: #F0E4D0; --fg-muted: #C1AB93;
    --line: rgba(240, 228, 208, 0.14); --line-strong: rgba(240, 228, 208, 0.3);
    --accent: #DE7A63; --accent-hover: #EC917B; --on-accent: #1B120C; --teal: #52B6A5; --on-teal: #1B120C; --sun: #C9643F;
    --footer-bg: #120B07; --footer-fg: #F0E4D0; --footer-muted: #A8927C; --stub-ink: #1B120C;
    --art-bar: #DE7A63; --art-kino: #52B6A5; --art-games: #8DB0BF; --art-spiele: #B3C08A; --art-essen: #D9A86F;
    --art-fest: #E59C6B; --art-werkstatt: #BFB2A4; --art-special: #F0E4D0; --backdrop: rgba(8, 5, 3, 0.72);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1B120C; --surface: #261A12; --band: #2F2117; --fg: #F0E4D0; --fg-muted: #C1AB93;
  --line: rgba(240, 228, 208, 0.14); --line-strong: rgba(240, 228, 208, 0.3);
  --accent: #DE7A63; --accent-hover: #EC917B; --on-accent: #1B120C; --teal: #52B6A5; --on-teal: #1B120C; --sun: #C9643F;
  --footer-bg: #120B07; --footer-fg: #F0E4D0; --footer-muted: #A8927C; --stub-ink: #1B120C;
  --art-bar: #DE7A63; --art-kino: #52B6A5; --art-games: #8DB0BF; --art-spiele: #B3C08A; --art-essen: #D9A86F;
  --art-fest: #E59C6B; --art-werkstatt: #BFB2A4; --art-special: #F0E4D0; --backdrop: rgba(8, 5, 3, 0.72);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap {
  max-width: calc(var(--max) + 2 * 32px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kopfzeile */
.kopf {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.marke { display: flex; align-items: center; gap: 6px; text-decoration: none; margin: 0; }
.marke b {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 2.05rem;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.005em;
  transform: rotate(-4deg);
  display: inline-block;
  padding: 2px 4px 4px 0;
}
.marke .nr {
  flex: none;
  display: inline-grid; place-items: center;
  width: 1.95em; height: 1.95em;
  border-radius: 50%;
  background: var(--teal); color: var(--on-teal);
  font-family: var(--font-nr); font-weight: 500; font-size: 0.86rem; line-height: 1;
  letter-spacing: 0.03em; font-variant-numeric: lining-nums;
  transform: translate(-3px, -9px);
}
.marke .ort { font-size: 0.8rem; color: var(--fg-muted); letter-spacing: 0.06em; margin-left: 4px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 6px 10px; border-radius: 999px; }
.nav a:hover { background: var(--band); }
@media (max-width: 520px) {
  .marke .ort { display: none; }
  .marke b { font-size: 1.65rem; }
  .kopf .wrap { gap: 8px; }
  .nav { flex-wrap: nowrap; gap: 0; }
  .nav a { padding: 6px 5px; font-size: 0.86rem; white-space: nowrap; }
}
@media (max-width: 374px) {
  .marke b { font-size: 1.45rem; }
  .marke .nr { font-size: 0.76rem; }
  .nav a { padding: 6px 4px; font-size: 0.8rem; }
}
@media (max-width: 340px) { .nav a:last-child { display: none; } }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 0.98rem;
  padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--fg);
  background: transparent; color: var(--fg); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.knopf:hover { background: var(--fg); color: var(--bg); }
.knopf.voll { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.knopf.voll:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.knopf.klein { padding: 7px 14px; font-size: 0.88rem; border-width: 1px; }
.knopf svg { width: 18px; height: 18px; flex: none; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero .wrap { display: grid; gap: 40px; align-items: center; padding-block: 48px 64px; }
@media (min-width: 880px) { .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); padding-block: 72px 88px; } }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero h1 {
  font-size: var(--step-4);
  font-weight: 500;
  font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 144;
  line-height: 1.02;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero .lead { font-size: 1.15rem; color: var(--fg-muted); max-width: 34em; }
.hinweis {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.9rem; font-weight: 500;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  border: 1px solid var(--line-strong);
}
.hinweis::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }

.bogen-buehne { position: relative; justify-self: center; width: min(100%, 460px); padding: 28px 8px 0 28px; }
.sonne {
  position: absolute; left: 0; top: 0;
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  background: var(--sun);
  animation: aufgehen 1.1s cubic-bezier(.2,.7,.2,1) both;
}
.bogen {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border-radius: 999px 999px 10px 10px;
  overflow: hidden;
  background: var(--band);
}
.bogen img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.bogen-linie {
  position: absolute; right: -2px; bottom: -14px;
  width: 62%; aspect-ratio: 4 / 5;
  border: 1.5px solid var(--teal);
  border-radius: 999px 999px 8px 8px;
  pointer-events: none;
}
@keyframes aufgehen { from { transform: translateY(18px); } to { transform: none; } }
@media (max-width: 879px) { .bogen-buehne { width: min(86%, 360px); } }

/* Abschnitte */
.abschnitt .wrap { padding-block: 72px; }
.abschnitt-kopf { display: grid; gap: 10px; margin-bottom: 32px; max-width: 40em; }
.abschnitt-kopf h2 { font-size: var(--step-3); font-variation-settings: "SOFT" 30, "opsz" 96; }
.abschnitt-kopf p { color: var(--fg-muted); }
.band { background: var(--band); }

/* Programm */
.vorschau-hinweis {
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--fg-muted);
  margin-bottom: 24px;
}
[data-art] { --art: var(--art-special); }
.ticket {
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  background: var(--surface);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  transition: transform .15s ease, border-color .15s ease;
}
a.ticket:hover { transform: translateY(-2px); border-color: var(--line-strong); }
[data-art="bar"] { --art: var(--art-bar); }
[data-art="kino"] { --art: var(--art-kino); }
[data-art="games"] { --art: var(--art-games); }
[data-art="spiele"] { --art: var(--art-spiele); }
[data-art="essen"] { --art: var(--art-essen); }
[data-art="fest"] { --art: var(--art-fest); }
[data-art="werkstatt"] { --art: var(--art-werkstatt); }
.stub {
  position: relative;
  background: var(--art);
  color: var(--stub-ink);
  border-radius: calc(var(--radius) - 1px) 0 0 calc(var(--radius) - 1px);
  display: grid; place-content: center; text-align: center;
  padding: 14px 6px; gap: 2px;
  font-variant-numeric: tabular-nums;
}
.stub::before, .stub::after {
  content: ""; position: absolute; right: -8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg);
}
.stub::before { top: -8px; }
.stub::after { bottom: -8px; }
.band .stub::before, .band .stub::after { background: var(--band); }
.stub .wt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.stub .tag { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; font-weight: 500; font-variation-settings: "opsz" 72; }
.stub .mt { font-size: 0.8rem; font-weight: 500; }
.ticket-body {
  border-left: 2px dashed var(--line-strong);
  padding: 16px 20px;
  display: grid; gap: 6px; align-content: center; min-width: 0;
}
.ticket-body h3 { font-size: var(--step-1); font-variation-settings: "SOFT" 30, "opsz" 36; }
.ticket-titel { text-decoration: none; }
.ticket-titel:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 0.92rem; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.art { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--fg); }
.art::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--art); }
.kurz { color: var(--fg-muted); font-size: 0.98rem; }

.ticket.gross { grid-template-columns: 132px minmax(0, 1fr); }
.ticket.gross .stub .tag { font-size: 3.4rem; }
.ticket.gross .stub .wt, .ticket.gross .stub .mt { font-size: 0.85rem; }
.ticket.gross .ticket-body { padding: 24px 28px; gap: 10px; }
.ticket.gross h3 { font-size: var(--step-3); font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 120; }
.ticket.gross .kurz { font-size: 1.05rem; max-width: 40em; }
.ticket.gross .knopf-reihe { margin-top: 8px; }
@media (max-width: 560px) {
  .ticket { grid-template-columns: 72px minmax(0, 1fr); }
  .ticket .stub .tag { font-size: 1.8rem; }
  .ticket.gross { grid-template-columns: 1fr; }
  .ticket.gross .stub { border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; display: flex; justify-content: flex-start; align-items: baseline; gap: 10px; padding: 14px 20px; }
  .ticket.gross .stub .tag { font-size: 2.4rem; }
  .ticket.gross .stub::before { top: auto; bottom: -8px; left: -8px; right: auto; }
  .ticket.gross .stub::after { right: -8px; bottom: -8px; }
  .ticket.gross .ticket-body { border-left: 0; border-top: 2px dashed var(--line-strong); padding: 18px 20px 20px; }
}
.als-naechstes { display: grid; gap: 12px; margin-bottom: 48px; }
.monat { display: grid; gap: 12px; margin-top: 36px; }
.monat:first-child { margin-top: 0; }
.monat > h3 {
  font-size: 1.35rem; font-style: italic; font-weight: 400;
  display: flex; align-items: center; gap: 14px;
}
.monat > h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.liste { display: grid; gap: 12px; max-width: 820px; }
.leer {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 28px; display: grid; gap: 12px; max-width: 640px;
}
.leer h3 { font-size: var(--step-2); }
.leer p { color: var(--fg-muted); }

/* Mitmachen */
.mitmachen .wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .mitmachen .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.mitmachen-text { display: grid; gap: 18px; min-width: 0; }
.mitmachen-text h2 { font-size: var(--step-3); font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 96; }
.mitmachen-text p { color: var(--fg-muted); max-width: 34em; }
.ausstattung { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ausstattung li { font-size: 0.9rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.formular-karte {
  background: var(--surface); border-radius: 22px; border: 1px solid var(--line);
  padding: 24px; display: grid; gap: 16px; min-width: 0;
}
.formular-karte h3 { font-size: var(--step-2); }
.formular-karte p { color: var(--fg-muted); }
.mailadresse {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-family: var(--font-body); font-weight: 600; font-size: 1.05rem;
  padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px dashed var(--line-strong);
  user-select: all; word-break: break-all;
}
.vorlage { font-size: 0.9rem; color: var(--fg-muted); padding-left: 1.1em; margin: 0; display: grid; gap: 2px; }
.tally-rahmen { width: 100%; min-height: 560px; border: 0; background: transparent; display: block; }
.formular-karte.mit-tally { background: var(--papier); color: var(--papier-tinte); border-color: transparent; }
.formular-karte.mit-tally h3 { color: var(--papier-tinte); }
.formular-karte.mit-tally p { color: var(--papier-leise); }
.zeilen { white-space: pre-line; }
.status { font-size: 0.88rem; color: var(--teal); min-height: 1.2em; }

/* Die Hacienda */
.ueber .wrap { display: grid; gap: 40px; }
.ueber-kopf { display: grid; gap: 28px; }
@media (min-width: 900px) { .ueber-kopf { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 56px; align-items: start; } }
.ueber-text { display: grid; gap: 16px; min-width: 0; }
.ueber-text h2 { font-size: var(--step-3); font-variation-settings: "SOFT" 30, "opsz" 96; }
.ueber-text p { max-width: 36em; }
.zahlen { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; padding: 20px 0 0; border-top: 1px solid var(--line); align-self: start; }
@media (min-width: 900px) { .zahlen { padding: 0 0 0 24px; border-top: 0; border-left: 1px solid var(--line); } }
.zahlen dt { font-family: var(--font-display); font-size: 1.5rem; font-variation-settings: "opsz" 72; font-variant-numeric: tabular-nums; line-height: 1.2; }
.zahlen dd { margin: 0; color: var(--fg-muted); align-self: center; font-size: 0.95rem; }
.bilder { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
@media (min-width: 900px) { .bilder { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bilder figure { margin: 0; display: grid; gap: 8px; }
.bilder img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; background: var(--band); }
.bilder figure:nth-child(odd) img { border-radius: 999px 999px 10px 10px; }
.bilder figcaption { font-size: 0.88rem; color: var(--fg-muted); }

/* Fuss */
.fuss { background: var(--footer-bg); color: var(--footer-fg); }
.fuss .wrap { padding-block: 48px calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 24px; }
@media (min-width: 760px) { .fuss .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.fuss .marke b { font-size: 2.8rem; color: var(--footer-fg); }
.fuss .marke .nr { font-size: 1.15rem; transform: translate(-4px, -14px); }
.fuss p, .fuss a { color: var(--footer-muted); font-size: 0.95rem; }
.fuss a:hover { color: var(--footer-fg); }
.fuss-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Event-Detail */
dialog.detail {
  width: min(640px, calc(100% - 24px));
  max-height: calc(100% - 32px);
  padding: 0; border: 0; border-radius: 22px;
  background: var(--surface); color: var(--fg);
  overflow: auto;
}
dialog.detail::backdrop { background: var(--backdrop); }
.detail-bild { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.detail-inhalt { padding: 24px 24px 28px; display: grid; gap: 14px; }
.detail-kopf { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.detail h2 { font-size: var(--step-3); font-variation-settings: "SOFT" 50, "WONK" 1, "opsz" 120; }
.detail .wann { font-weight: 600; font-variant-numeric: tabular-nums; }
.detail .beschreibung { display: grid; gap: 10px; }
.detail .von { font-size: 0.92rem; color: var(--fg-muted); }
.schliessen {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; color: var(--fg);
  display: grid; place-items: center; cursor: pointer;
}
.schliessen:hover { background: var(--band); }
.schliessen svg { width: 18px; height: 18px; }

/* Textseite (Impressum, Datenschutz) */
.textseite .wrap { padding-block: 56px 80px; }
.textseite article { max-width: 42em; display: grid; gap: 14px; }
.textseite h1 { font-size: var(--step-3); font-variation-settings: "SOFT" 30, "opsz" 96; margin-bottom: 8px; }
.textseite h2 { font-size: var(--step-1); margin-top: 18px; font-variation-settings: "opsz" 36; }
.textseite p, .textseite li { color: var(--fg); }
.textseite ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.textseite .klein { font-size: 0.9rem; color: var(--fg-muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
