/* EINS+ALLES – Klickdummy v3
   Farben aus der Sitemap VAR3: Rot #d71e25, Orange #f47e22, Violett #5d247b, Schwarz #231f20 */

:root {
  --red: #d71e25;
  --orange: #f47e22;
  --purple: #5d247b;
  --ink: #231f20;
  --grey: #918f8f;
  --grey-l: #d3d2d2;
  --salmon: #f6c9bb;

  --bg: #fbf8f5;
  --surface: #ffffff;
  --surface-2: #f3eee9;
  --text: #231f20;
  --muted: #5b5557;
  --line: #e2dcd6;
  --link: #b3151b;
  --focus: #0a5fd6;
  --svc-bg: #e9e6e3;
  --shadow: 0 10px 30px rgba(35, 31, 32, .12);
  --radius: 18px;
  --font: "Avenir Next", "Avenir", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* Dunkel-Variante: Erfahrungsfeld / Erleben */
[data-theme="dark"], .dark-scope {
  --bg: #141116;
  --surface: #1f1a24;
  --surface-2: #2a2430;
  --text: #f5f0ea;
  --muted: #cbc2c8;
  --line: #3b3341;
  --link: #ff9296;
  --focus: #ffd54a;
  --svc-bg: #201b25;
  --shadow: 0 10px 30px rgba(0, 0, 0, .5);
  color: var(--text);
}

/* Hoher Kontrast */
html[data-contrast="1"] body {
  --bg: #fff; --surface: #fff; --surface-2: #fff; --text: #000; --muted: #000; --line: #000;
  --link: #0000c8; --svc-bg: #fff; --shadow: none; --focus: #c40000;
}
html[data-contrast="1"] body[data-theme="dark"], html[data-contrast="1"] .dark-scope {
  --bg: #000; --surface: #000; --surface-2: #000; --text: #fff; --muted: #fff; --line: #fff;
  --link: #ffe600; --svc-bg: #000; --focus: #ffe600;
}
html[data-contrast="1"] a { text-decoration: underline; }
html[data-contrast="1"] .card, html[data-contrast="1"] .field input, html[data-contrast="1"] .field select,
html[data-contrast="1"] .field textarea { border-width: 2px; border-color: currentColor; }

.c-red { --c: var(--red); --on: #fff; }
.c-orange { --c: var(--orange); --on: var(--ink); }
.c-purple { --c: var(--purple); --on: #fff; }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html[data-size="1"] { font-size: 112.5%; }
html[data-size="2"] { font-size: 125%; }
body { margin: 0; font: 400 1rem/1.6 var(--font); background: var(--bg); color: var(--text); }
html[data-ls="1"] body { line-height: 1.85; letter-spacing: .01em; }
html[data-ls="1"] main p, html[data-ls="1"] main li { max-width: 34em; }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: #fff; color: #000; padding: 10px 16px; z-index: 300; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .6rem 1.35rem; border-radius: 999px; font: 700 1rem/1.2 var(--font); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #b9151b; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { min-height: 38px; padding: .35rem 1rem; font-size: .9rem; }
html[data-contrast="1"] .btn-primary { background: #000; color: #fff; border-color: #fff; }
html[data-contrast="1"] [data-theme="dark"] .btn-primary { background: #ffe600; color: #000; }

/* ---------- Service-Leiste ---------- */
.svc { background: var(--svc-bg); font-size: .875rem; border-bottom: 1px solid var(--line); }
.svc-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.svc ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; flex-wrap: wrap; }
.svc a { display: inline-block; padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; }
.svc a:hover, .svc a[aria-current="page"] { border-bottom-color: var(--red); }
.tools { display: flex; gap: 4px; }
.tool { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 0; color: var(--text); font: 600 .85rem var(--font); padding: 8px 10px; border-radius: 999px; cursor: pointer; }
.tool:hover { background: rgba(127, 127, 127, .18); }
.tool[aria-pressed="true"] { background: var(--ink); color: #fff; }
[data-theme="dark"] .tool[aria-pressed="true"] { background: #fff; color: #111; }

/* ---------- Kopfzeile ---------- */
.bar { position: sticky; top: 0; z-index: 60; background: var(--surface); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: stretch; gap: 8px; min-height: 76px; }
.brand { display: flex; align-items: center; background: var(--red); padding: 0 16px; flex: none; }
.brand img { display: block; height: 52px; width: auto; }
.mainnav { flex: 1; min-width: 0; }
.mainnav ul { display: flex; height: 100%; list-style: none; margin: 0; padding: 0; }
.mainnav li { flex: 1 1 auto; display: flex; }
.mainnav button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; background: transparent; border: 0; border-top: 6px solid var(--c); color: var(--text); font: 800 .98rem/1.15 var(--font); padding: 10px 8px 6px; cursor: pointer; }
.mainnav button:hover { background: var(--surface-2); }
.mainnav button[aria-expanded="true"], .mainnav button[aria-current="true"] { background: var(--c); color: var(--on); }
.mainnav button .ic { width: 1em; height: 1em; transition: transform .2s; }
.mainnav button[aria-expanded="true"] .ic { transform: rotate(180deg); }
.bar-tools { display: flex; align-items: center; gap: 2px; }
.iconbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 46px; min-height: 46px; border: 0; background: transparent; color: var(--text); border-radius: 999px; cursor: pointer; text-decoration: none; font: 700 .9rem var(--font); }
.iconbtn:hover { background: var(--surface-2); }
.iconbtn .ic { width: 1.45rem; height: 1.45rem; }
.burger { display: none; }

/* Mega-Menü */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 6px solid var(--c); box-shadow: var(--shadow); max-height: calc(100vh - 130px); overflow: auto; }
.mega-in { padding-block: 24px 30px; }
.mega-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.mega-head h2 { font-size: 1.5rem; margin: 0; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 28px; }
.mega-grid ul { list-style: none; padding: 0; margin: 0 0 12px; }
.mega-grid > div > a { display: block; font-weight: 800; color: var(--text); text-decoration: none; padding: 6px 0; border-bottom: 2px solid var(--c); margin-bottom: 4px; }
.mega-grid li a { display: block; padding: 4px 0; font-size: .92rem; color: var(--muted); text-decoration: none; }
.mega-grid a:hover { text-decoration: underline; color: var(--text); }
.mega-note { color: var(--muted); font-size: .8rem; font-weight: 500; }

/* ---------- Layout-Bausteine ---------- */
main { display: block; min-height: 60vh; outline: none; }
.section { padding-block: clamp(36px, 6vw, 72px); }
.section-tight { padding-block: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.eyebrow { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .6rem; color: var(--muted); }
.lead { font-size: 1.2rem; max-width: 46em; color: var(--text); }
.muted { color: var(--muted); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.tag-ticket { background: var(--red); color: #fff; border-color: var(--red); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* Motiv: konzentrische Ringe (angelehnt an das Labyrinth im Logo) */
.rings { position: relative; overflow: hidden; isolation: isolate; }
.rings::before { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 14px, rgba(255, 255, 255, .16) 14px 16px); }
.c-orange.rings::before, .c-orange .rings::before { background: repeating-radial-gradient(circle, transparent 0 14px, rgba(35, 31, 32, .14) 14px 16px); }

/* ---------- Anmerkungen (nur wenn aktiviert) ---------- */
.anno { display: none; margin: 14px 0; padding: 10px 14px; border-radius: 12px; background: #fff6bf; color: #3b3300; border: 2px dashed #b89b00; font-size: .85rem; line-height: 1.45; max-width: 60em; }
.anno strong { text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; display: block; }
body.notes .anno { display: block; }
.anno-inline { margin: 12px 0 0; }

/* ---------- Startseite ---------- */
.hero { position: relative; min-height: min(78vh, 680px); display: flex; overflow: hidden; background: #d9a; color: #fff; }
.hero-art, .hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art svg { object-fit: cover; }
.hero .wrap { position: relative; display: flex; align-items: flex-end; padding-block: 40px; }
.hero-card { background: var(--surface); color: var(--text); border-radius: 22px; padding: clamp(22px, 3vw, 36px); max-width: 600px; box-shadow: var(--shadow); border-top: 8px solid var(--red); }
.hero-card h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .4em; }
.hero-card p { font-size: 1.12rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.month { position: absolute; right: clamp(16px, 4vw, 40px); top: 20px; z-index: 2; display: flex; align-items: center; gap: 4px; background: rgba(20, 17, 22, .68); color: #fff; border-radius: 999px; padding: 4px; font-size: .85rem; backdrop-filter: blur(6px); }
.month button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.month button:hover { background: rgba(255, 255, 255, .2); }
.month span { padding: 0 8px; font-weight: 700; min-width: 8.5em; text-align: center; }
.hero-cap { position: absolute; right: clamp(16px, 4vw, 40px); bottom: 14px; font-size: .75rem; color: rgba(255, 255, 255, .92); background: rgba(20, 17, 22, .55); padding: 4px 10px; border-radius: 999px; }

.infostrip { background: var(--ink); color: #fff; }
.infostrip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.info { display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px 20px 0; }
.info + .info { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .22); }
.info .ic { width: 1.8rem; height: 1.8rem; margin-top: 2px; color: var(--salmon); }
.info strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--salmon); }
.info a { color: #fff; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 240px; padding: 26px; border-radius: var(--radius); background: var(--c); color: var(--on); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .ic-big { width: 2.4rem; height: 2.4rem; stroke-width: 1.6; }
.tile small { display: block; font-size: .85rem; font-weight: 700; opacity: .92; margin-bottom: 4px; }
.tile h3 { font-size: 1.7rem; margin: 0 0 6px; }
.tile p { margin: 0; font-size: .98rem; max-width: 22em; }
.tile .go { position: absolute; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); }
.c-orange.tile .go { background: rgba(35, 31, 32, .14); }
.tile .pad-r { padding-right: 56px; }

.ev { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--text); text-decoration: none; width: 100%; text-align: left; font: inherit; cursor: pointer; }
.ev:hover { border-color: var(--red); box-shadow: var(--shadow); }
.date { display: grid; place-items: center; width: 64px; height: 68px; border-radius: 14px; background: var(--red); color: #fff; line-height: 1; text-align: center; }
.date b { font-size: 1.7rem; font-weight: 800; display: block; }
.date span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.date i { display: block; font-style: normal; font-size: .68rem; opacity: .9; margin-top: 2px; }
.ev-title { display: block; font-weight: 800; font-size: 1.1rem; line-height: 1.25; margin: 0 0 4px; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .88rem; color: var(--muted); }
.ev-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ev-list { display: grid; gap: 12px; }

.stations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.station { position: relative; min-height: 220px; padding: 20px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; background: #1b1620; border: 1px solid #3b3341; isolation: isolate; }
.station::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at var(--x, 70%) var(--y, 30%), var(--g, #d71e25) 0, transparent 55%); opacity: .85; transition: opacity .2s; }
.station::after { content: ""; position: absolute; z-index: -1; left: var(--x, 70%); top: var(--y, 30%); width: 260px; height: 260px; transform: translate(-50%, -50%); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 12px, rgba(255, 255, 255, .13) 12px 14px); }
.station:hover::before { opacity: 1; }
.station h3 { margin: 0; font-size: 1.35rem; }
.station small { opacity: .85; font-weight: 600; }

.news { display: grid; gap: 14px; }
.news-item { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; color: var(--text); text-decoration: none; }
.news-item:hover { border-color: var(--red); }
.news-item time { font-size: .82rem; color: var(--muted); }
.news-item h3 { margin: 4px 0 6px; }
.news-item p { margin: 0; color: var(--muted); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo a { display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: var(--radius); text-decoration: none; }
.duo a .ic { width: 3rem; height: 3rem; stroke-width: 1.5; }
.duo a h3 { margin: 0 0 4px; }
.duo a p { margin: 0; }

/* ---------- Unterseiten ---------- */
.pagehead { background: var(--c); color: var(--on); position: relative; }
.pagehead .wrap { padding-block: clamp(28px, 5vw, 56px); position: relative; }
.pagehead .lead { color: inherit; margin: .6em 0 0; }
.pagehead .eyebrow { color: inherit; opacity: .92; }
.pagehead h1 { margin: 0; }
.pagehead .sub { display: block; font-size: 1.2rem; font-weight: 600; margin-top: 6px; }
.crumbs { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 12px 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { font-weight: 700; color: var(--text); }

.split { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.sidenav { position: sticky; top: 100px; font-size: .95rem; }
.sidenav h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sidenav ul { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--line); }
.sidenav a { display: block; padding: 7px 14px; text-decoration: none; color: var(--text); margin-left: -3px; border-left: 3px solid transparent; }
.sidenav a:hover { background: var(--surface-2); }
.sidenav a[aria-current="page"] { font-weight: 800; border-left-color: var(--c); background: var(--surface-2); }

.linkcard { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-top: 6px solid var(--c, var(--red)); border-radius: var(--radius); padding: 20px; color: var(--text); text-decoration: none; height: 100%; transition: box-shadow .2s, transform .2s; }
.linkcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.linkcard h3 { margin: 0; display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.linkcard h3 .ic { margin-top: 2px; color: var(--c, var(--red)); }
.linkcard ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .92rem; }
.linkcard p { margin: 0; color: var(--muted); font-size: .92rem; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.quick a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 2px solid var(--c); color: var(--text); font-weight: 700; text-decoration: none; }
.quick a:hover { background: var(--c); color: var(--on); }
.statement { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.25; padding: 28px 30px; border-radius: var(--radius); background: var(--surface-2); border-left: 10px solid var(--c); margin-bottom: 34px; max-width: 42em; }
.placeholder-img { border-radius: var(--radius); min-height: 220px; display: grid; place-items: center; text-align: center; padding: 20px; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--c), #231f20 140%); position: relative; overflow: hidden; margin-bottom: 22px; }
.placeholder-img small { display: block; font-weight: 500; opacity: .9; }
.contact-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 36px; background: var(--surface-2); border-radius: var(--radius); padding: 22px 24px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--c, var(--red)); color: var(--on, #fff); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex: none; }
.contact-card div { flex: 1; min-width: 200px; }
.contact-card p { margin: 0; }
.kidlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.kidlist.two { grid-template-columns: repeat(2, 1fr); }
.kidlist li { display: flex; gap: 8px; align-items: stretch; }
.kidlist li .chip { align-self: center; }
.kidlist a, .kidlist button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 15px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--c); border-radius: 12px; color: var(--text); font: 700 1rem var(--font); text-decoration: none; cursor: pointer; }
.kidlist a:hover, .kidlist button:hover { background: var(--surface-2); }
.kidlist small { font-weight: 600; color: var(--muted); }
.kidlist .ic { color: var(--muted); }
.skel { height: 12px; border-radius: 6px; background: var(--surface-2); margin: 0 0 10px; }
.notice-ls { background: #e8f3ff; color: #0b2a4a; border: 2px solid #4b8ad8; padding: 12px 16px; border-radius: 12px; margin-bottom: 22px; }

/* ---------- Veranstaltungen ---------- */
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 16px; position: sticky; top: 100px; }
.filters fieldset { border: 0; padding: 0; margin: 0; }
.filters legend { font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 2px solid var(--line); background: var(--surface); color: var(--text); font: 700 .88rem var(--font); padding: 7px 14px; border-radius: 999px; cursor: pointer; min-height: 38px; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
[data-theme="dark"] .chip[aria-pressed="true"] { background: #fff; color: #111; border-color: #fff; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .field .lab { font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--font); padding: 12px 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); color: var(--text); min-height: 48px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); border-color: var(--text); }
.field .err { color: #b00020; font-weight: 700; display: none; font-size: .9rem; }
[data-theme="dark"] .field .err { color: #ff9aa5; }
.field.bad .err { display: block; }
.field.bad input, .field.bad select, .field.bad textarea { border-color: #b00020; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--red); flex: none; }
.ev-layout { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.month-title { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 26px 0 10px; }
.month-title:first-child { margin-top: 0; }
.empty { padding: 34px; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); }
.count { font-weight: 700; margin: 0 0 16px; }

/* ---------- Besuch planen ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 34px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.fact .ic { width: 1.7rem; height: 1.7rem; color: var(--red); margin-bottom: 6px; }
[data-theme="dark"] .fact .ic { color: #ff9296; }
.fact strong { display: block; }
table.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl th { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tbl td:last-child, .tbl th:last-child { text-align: right; }
.ticketbox { background: var(--surface); border: 2px solid var(--red); border-radius: var(--radius); padding: 24px; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--text); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { background: var(--text); color: var(--bg); }
.stepper output { min-width: 2ch; text-align: center; font-weight: 800; font-size: 1.2rem; }
.trow { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 800; padding: 16px 0 6px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 16px; color: var(--muted); }
.map { background: #e6ecd8; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
[data-theme="dark"] .map { background: #24301f; }
.map svg { display: block; width: 100%; height: auto; }
.map .st { cursor: pointer; }
.map .st circle { transition: r .15s; }
.map .st.on circle { stroke: #fff; stroke-width: 4; }
.maplist { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; background: var(--surface); border-top: 1px solid var(--line); }
.mapinfo { padding: 0 16px 16px; background: var(--surface); min-height: 3.2em; }

/* ---------- Spenden, Jobs, Kontakt ---------- */
.donate { background: var(--surface); border: 3px solid var(--c); border-radius: var(--radius); padding: 24px; margin-bottom: 34px; }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 16px; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.job h3 { margin: 0 0 4px; font-size: 1.1rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.topics { display: grid; gap: 8px; margin-bottom: 18px; }
.radio-row { display: flex; gap: 20px; flex-wrap: wrap; }
.radio-row label { display: flex; gap: 8px; align-items: center; font-weight: 600; cursor: pointer; }
.radio-row input { width: 20px; height: 20px; accent-color: var(--red); }
.errsum { background: #fde7e9; color: #6b0011; border: 2px solid #b00020; padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; }
.success { background: #e5f5e8; color: #0e3a18; border: 2px solid #2b8a3e; padding: 22px; border-radius: var(--radius); }
[data-theme="dark"] .success { background: #16301c; color: #d9f6df; }
.sitemap-cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-radius: 12px; overflow: hidden; }
.sm-col { border-right: 1px solid var(--line); background: var(--surface); }
.sm-col > a { display: block; padding: 16px 12px; background: var(--c); color: var(--on); font-weight: 800; text-decoration: none; text-align: center; min-height: 72px; }
.sm-col > div { padding: 14px 12px; font-size: .86rem; }
.sm-col ul { list-style: none; padding: 0; margin: 0 0 10px; }
.sm-col li a { color: var(--muted); text-decoration: none; display: block; padding: 2px 0; }
.sm-col li a:hover { text-decoration: underline; color: var(--text); }
.sm-col .e2 { font-weight: 800; color: var(--text); display: block; margin-top: 4px; text-decoration: none; }
.sm-col ul ul { padding-left: 12px; border-left: 2px solid var(--line); margin: 2px 0 8px; }
.svc-map { display: flex; flex-wrap: wrap; gap: 6px 14px; background: var(--svc-bg); padding: 14px 18px; border-radius: 12px; margin-bottom: 14px; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #eae5e0; padding-block: 48px 90px; margin-top: 40px; }
.foot .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot h2 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--salmon); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot a { color: #eae5e0; text-decoration: none; display: inline-block; padding: 3px 0; }
.foot a:hover { text-decoration: underline; }
.foot .brand { display: inline-flex; padding: 12px 18px; margin-bottom: 16px; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 18px; font-size: .85rem; color: #cfc8c2; }

/* ---------- Dialoge ---------- */
dialog { color: var(--text); background: var(--surface); border: 0; padding: 0; }
dialog::backdrop { background: rgba(20, 17, 22, .6); }
.modal { border-radius: 22px; width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 40px); box-shadow: var(--shadow); }
.modal-inner { padding: clamp(22px, 4vw, 34px); position: relative; }
.modal-x { position: absolute; right: 12px; top: 12px; }
.modal h2 { padding-right: 44px; font-size: 1.6rem; }
.modal .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.protohint { font-size: .85rem; background: #fff6bf; color: #3b3300; padding: 10px 12px; border-radius: 10px; border: 2px dashed #b89b00; margin-top: 16px; }
.searchdlg { margin: 0; width: 100%; max-width: none; max-height: 100vh; border-radius: 0 0 22px 22px; box-shadow: var(--shadow); }
.search-top { display: flex; align-items: center; gap: 12px; padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--line); max-width: 1240px; margin: 0 auto; }
.search-top input { flex: 1; font: 700 1.3rem var(--font); border: 0; background: transparent; color: var(--text); padding: 10px 0; min-width: 0; }
.search-top input:focus-visible { outline: none; }
.search-body { max-width: 1240px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 40px) 30px; max-height: 68vh; overflow: auto; }
.res { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.res a { display: block; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--text); }
.res a:hover, .res a:focus-visible { background: var(--surface-2); }
.res small { display: block; color: var(--muted); }
.drawer { margin: 0; height: 100dvh; max-height: none; width: min(430px, 100vw); inset: 0 auto 0 0; overflow: auto; }
.drawer-top { display: flex; align-items: stretch; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-top .iconbtn { margin: 12px; }
.drawer-body-in { padding: 14px 18px 40px; }
.drawer .svc-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 18px; }
.drawer .svc-quick a { display: flex; gap: 8px; align-items: center; padding: 12px; background: var(--svc-bg); border-radius: 12px; color: var(--text); font-weight: 700; text-decoration: none; }
.drawer details { border-top: 6px solid var(--c); background: var(--surface-2); margin-bottom: 10px; border-radius: 4px 4px 12px 12px; }
.drawer summary { cursor: pointer; padding: 14px 16px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; font-size: 1.3rem; line-height: 1; }
.drawer details[open] summary::after { content: "–"; }
.drawer details ul { list-style: none; margin: 0; padding: 0 16px 14px; }
.drawer details a { display: block; padding: 8px 0; color: var(--text); text-decoration: none; }
.drawer .tools { flex-wrap: wrap; margin-top: 18px; }

/* Prototyp-Steuerung */
.proto { position: fixed; left: 14px; bottom: 14px; z-index: 200; }
.proto-btn { display: inline-flex; align-items: center; gap: 8px; background: #111; color: #fff; border: 2px solid #fff; border-radius: 999px; padding: 9px 16px; font: 700 .85rem var(--font); cursor: pointer; box-shadow: var(--shadow); }
.proto-panel { position: absolute; bottom: 52px; left: 0; width: 290px; background: #fff; color: #111; border-radius: 16px; padding: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); display: grid; gap: 12px; font-size: .9rem; }
.proto-panel p { margin: 0; }
.switch { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-weight: 600; }
.switch input { width: 20px; height: 20px; accent-color: #b89b00; flex: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .tile:hover, .btn:hover, .linkcard:hover { transform: none; }
}

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .mainnav button { font-size: .88rem; }
  .stations { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .sitemap-cols { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .svc-list-wrap, .svc nav, .mainnav, .bar-tools .lbl { display: none; }
  .svc-in { justify-content: flex-end; }
  .svc .tools { display: none; }
  .svc { display: none; }
  .burger { display: inline-flex; }
  .bar-in { min-height: 64px; justify-content: space-between; }
  .brand img { height: 44px; }
  .bar-tools { margin-left: auto; }
  .mega { display: none !important; }
  .tiles, .g3 { grid-template-columns: repeat(2, 1fr); }
  .split, .ev-layout, .contact-grid { grid-template-columns: 1fr; }
  .sidenav, .filters { position: static; }
  .sidenav ul { display: flex; flex-wrap: wrap; gap: 6px; border: 0; }
  .sidenav a { border: 2px solid var(--line); border-radius: 999px; margin: 0; padding: 6px 14px; }
  .infostrip .wrap { grid-template-columns: 1fr; }
  .info, .info + .info { padding: 14px 0; border-left: 0; }
  .info + .info { border-top: 1px solid rgba(255, 255, 255, .22); }
  .foot .wrap { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 640px; }
  .month { top: 14px; }
}
@media (max-width: 620px) {
  .tiles, .g2, .g3, .g4, .duo, .stations, .facts { grid-template-columns: 1fr; }
  .tile { min-height: 190px; }
  .ev { grid-template-columns: auto 1fr; }
  .ev .tags { grid-column: 1 / -1; }
  .sitemap-cols { grid-template-columns: 1fr; }
  .foot .wrap { grid-template-columns: 1fr; }
  .hero-card { margin-top: 90px; }
  .hero-cap { display: none; }
  .month span { min-width: 7em; }
  .proto-btn span { display: none; }
}

h1[tabindex="-1"]:focus { outline: none; }
@media (max-width: 720px) { .kidlist.two { grid-template-columns: 1fr; } }
