/* Lele tanzt. Bühne, Satin und Licht: Aubergine, Rosé, Lila, ein Hauch Gold. */
[hidden] { display: none !important; }

:root {
  --bg: #fbf5f3;
  --bg2: #f6ebe9;
  --surface: #ffffff;
  --surface2: #fdf8f7;
  --ink: #2a1530;
  --ink2: #5b4560;
  --muted: #8c7787;
  --line: rgb(74 30 70 / .09);
  --line2: rgb(74 30 70 / .16);
  --rose: #d64a78;
  --rose-soft: #fbe3ea;
  --lilac: #7f62ea;
  --lilac-soft: #ece7fd;
  --gold: #b8862f;
  --gold-soft: #f7ecd6;
  --coral: #ef5a5f;
  --coral-soft: #fde4e2;
  --ballett: #d9739a;
  --pop: #ef5a5f;
  --hiphop: #7f62ea;
  --anderes: #b8862f;
  --stage1: #1d0f25;
  --stage2: #3a1840;
  --shadow: 0 1px 2px rgb(60 20 60 / .06), 0 8px 24px -8px rgb(60 20 60 / .14);
  --shadow-lg: 0 2px 4px rgb(60 20 60 / .06), 0 24px 48px -16px rgb(60 20 60 / .28);
  --r: 18px;
  --r-sm: 12px;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #140b18;
    --bg2: #1b0f20;
    --surface: #221428;
    --surface2: #2a1931;
    --ink: #f8ecf2;
    --ink2: #d6c1d0;
    --muted: #a48ea0;
    --line: rgb(255 220 240 / .08);
    --line2: rgb(255 220 240 / .15);
    --rose: #f07aa0;
    --rose-soft: #3d1a2d;
    --lilac: #a28cff;
    --lilac-soft: #2a2148;
    --gold: #e0b35e;
    --gold-soft: #3a2c17;
    --coral: #ff7b7f;
    --coral-soft: #3e1c1f;
    --ballett: #f08cb1;
    --pop: #ff7b7f;
    --hiphop: #a28cff;
    --anderes: #e0b35e;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 28px -10px rgb(0 0 0 / .6);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .3), 0 28px 56px -18px rgb(0 0 0 / .75);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 15.5px/1.5 var(--sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, color-mix(in srgb, var(--lilac) 9%, transparent), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, color-mix(in srgb, var(--rose) 8%, transparent), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Kopf und Navigation */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.32rem; font-style: italic; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  color: var(--ink2); font-weight: 600; font-size: .92rem; transition: background .2s, color .2s;
}
.nav a svg { width: 18px; height: 18px; }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav a.on { background: var(--ink); color: var(--bg); }
.nav a.hoch { background: linear-gradient(135deg, var(--rose), var(--lilac)); color: #fff; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--rose) 60%, transparent); }

@media (max-width: 720px) {
  .top { justify-content: center; backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--bg) 96%, transparent); }
  .nav {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30;
    justify-content: space-around; margin: 0; padding: 6px;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line2); border-radius: 22px; box-shadow: var(--shadow-lg);
  }
  .nav a { flex: 1; flex-direction: column; gap: 2px; padding: 8px 4px; font-size: .72rem; border-radius: 16px; }
  .nav a svg { width: 22px; height: 22px; }
  main { padding-bottom: 110px !important; }
}

main { padding: 22px clamp(16px, 4vw, 40px) 60px; max-width: 1500px; margin: 0 auto; }

/* ---------- Bühne (Kopfbereich der Startseite) */
.stage {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px; padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 56px) clamp(26px, 4vw, 44px);
  color: #fbeef4;
  background:
    radial-gradient(600px 340px at 18% 0%, rgb(255 190 220 / .28), transparent 65%),
    radial-gradient(520px 320px at 85% 10%, rgb(170 140 255 / .30), transparent 65%),
    linear-gradient(160deg, var(--stage2), var(--stage1) 70%);
  box-shadow: var(--shadow-lg);
}
.stage::before { /* Lichtkegel */
  content: ""; position: absolute; inset: -40% -10% auto; height: 160%; z-index: -1;
  background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgb(255 230 245 / .10) 175deg, rgb(255 230 245 / .16) 180deg, rgb(255 230 245 / .10) 185deg, transparent 200deg);
  animation: licht 14s ease-in-out infinite alternate;
}
.stage::after { /* Boden */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: -1;
  background: linear-gradient(transparent, rgb(0 0 0 / .25));
}
@keyframes licht { from { transform: translateX(-18%) rotate(-6deg); } to { transform: translateX(18%) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .stage::before { animation: none; } }
.stage .kicker { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; opacity: .75; font-weight: 600; }
.stage h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-style: italic; font-weight: 400; line-height: 1; margin: 10px 0 12px; }
.stage h1 em { font-style: normal; background: linear-gradient(90deg, #ffc2d6, #c9b8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stage p { margin: 0; max-width: 46ch; opacity: .82; }
.stage .band { position: absolute; right: -40px; bottom: -10px; width: min(520px, 70%); opacity: .55; z-index: -1; pointer-events: none; }
.zahlen { display: flex; gap: clamp(18px, 4vw, 44px); margin-top: 26px; flex-wrap: wrap; }
.zahlen div { display: flex; flex-direction: column; }
.zahlen b { font-family: var(--serif); font-size: 1.9rem; font-weight: 400; line-height: 1.1; }
.zahlen span { font-size: .78rem; opacity: .7; letter-spacing: .04em; }

/* ---------- Filter */
.filter { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 26px 0 8px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line2); background: var(--surface); color: var(--ink2);
  font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .18s;
}
.chip:hover { border-color: var(--ink2); color: var(--ink); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
.chip.on { background: var(--c, var(--ink)); border-color: var(--c, var(--ink)); color: #fff; }
.chip.on .dot { background: #fff; }
.sel {
  appearance: none; padding: 8px 34px 8px 14px; border-radius: 999px; border: 1px solid var(--line2);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238c7787' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size: .88rem; font-weight: 600; color: var(--ink2); cursor: pointer;
}
.filter .rechts { margin-left: auto; }

/* ---------- Zeitleiste und Karten */
.monat { display: flex; align-items: baseline; gap: 12px; margin: 30px 0 14px; }
.monat h2 { font-size: 1.45rem; font-style: italic; }
.monat span { color: var(--muted); font-size: .85rem; }
.monat::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line2), transparent); }
.grid { display: grid; gap: clamp(12px, 2vw, 20px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr 1fr; gap: 10px; } }

.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border-radius: var(--r); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.thumb { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--stage2), var(--stage1)); overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .thumb img { transform: scale(1.04); }
.thumb::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgb(20 5 25 / .55)); }
.badge {
  position: absolute; z-index: 1; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700;
  background: rgb(20 8 25 / .55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge.dauer { right: 10px; bottom: 10px; font-variant-numeric: tabular-nums; }
.badge.art { left: 10px; top: 10px; background: rgb(255 255 255 / .88); color: #2a1530; }
.badge.art.auftritt { background: linear-gradient(135deg, #f3d48b, #d9a441); color: #3a2405; }
.stilband { height: 3px; background: var(--c); }
.card .info { padding: 11px 13px 13px; display: flex; flex-direction: column; gap: 3px; }
.card .titel { font-weight: 700; font-size: .96rem; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.card .meta { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: .8rem; flex-wrap: wrap; }
.card .meta .stil { color: var(--c); font-weight: 700; }
.card .rx { display: flex; gap: 6px; font-size: .78rem; color: var(--ink2); margin-top: 4px; }
.card.wartet .thumb { display: grid; place-items: center; color: #fff; }
.card.fehler { border-color: color-mix(in srgb, var(--coral) 45%, transparent); }
.ring { width: 64px; height: 64px; }
.ring circle { fill: none; stroke-width: 5; }
.ring .bg { stroke: rgb(255 255 255 / .15); }
.ring .fg { stroke: #ffc2d6; stroke-linecap: round; transform: rotate(-90deg); transform-origin: center; transition: stroke-dashoffset .6s; }
.wartet-text { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: .78rem; opacity: .85; z-index: 1; }

/* ---------- Leere Zustände */
.leer {
  display: grid; place-items: center; text-align: center; gap: 10px; padding: 56px 20px;
  border: 1.5px dashed var(--line2); border-radius: 24px; color: var(--ink2); background: var(--surface2); margin-top: 24px;
}
.leer svg { width: 54px; height: 54px; color: var(--rose); }
.leer h2 { font-size: 1.5rem; font-style: italic; color: var(--ink); }

/* ---------- Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 999px;
  border: 1px solid var(--line2); background: var(--surface); font-weight: 700; font-size: .92rem; cursor: pointer;
  transition: all .18s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { border-color: var(--ink2); }
.btn.haupt { border: 0; color: #fff; background: linear-gradient(135deg, var(--rose), color-mix(in srgb, var(--rose) 45%, var(--lilac))); box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--rose) 70%, transparent); }
.btn.haupt:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn.klein { padding: 7px 12px; font-size: .82rem; }
.btn.gefahr { color: var(--coral); }
.btn.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.ibtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: var(--surface); cursor: pointer; }
.ibtn svg { width: 18px; height: 18px; }

/* ---------- Videoseite */
.zurueck { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.zurueck svg { width: 16px; height: 16px; }
.zurueck:hover { color: var(--ink); }
.vseite { display: grid; gap: clamp(18px, 3vw, 34px); grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); align-items: start; }
@media (max-width: 900px) { .vseite { grid-template-columns: 1fr; } }
.player {
  position: relative; border-radius: 24px; overflow: hidden; background: #0d0610; box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.player video { width: 100%; max-height: 78vh; background: #0d0610; transition: transform .3s; }
.player video.spiegel { transform: scaleX(-1); }
.countdown {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-size: clamp(5rem, 18vw, 10rem); color: #fff;
  text-shadow: 0 6px 40px rgb(240 120 160 / .8); background: rgb(13 6 16 / .35);
}
.countdown span { animation: pop .9s ease-out; }
@keyframes pop { from { transform: scale(1.6); opacity: 0; } 30% { opacity: 1; } to { transform: scale(1); opacity: .9; } }

.ueben {
  margin-top: 14px; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
}
.ueben .kopf { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.ueben .kopf svg { width: 18px; height: 18px; color: var(--lilac); }
.ueben .kopf small { color: var(--muted); font-weight: 500; margin-left: auto; }
.zeile { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.zeile > span { font-size: .8rem; color: var(--muted); font-weight: 600; min-width: 54px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .82rem; cursor: pointer; color: var(--ink2); font-variant-numeric: tabular-nums; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgb(0 0 0 / .12); }
.ab { font-variant-numeric: tabular-nums; font-size: .82rem; color: var(--ink2); }

.vinfo h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-style: italic; line-height: 1.1; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 4px; }
.tag { padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--bg2); color: var(--ink2); }
.tag.stil { background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); }
.vinfo .datum { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.vinfo .notiz { margin: 14px 0 0; color: var(--ink2); white-space: pre-wrap; }
.box { margin-top: 18px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.box h3 { font-family: var(--sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.emojis { display: flex; flex-wrap: wrap; gap: 8px; }
.emo {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line2);
  background: var(--surface2); cursor: pointer; font-size: 1.1rem; transition: transform .15s, background .15s;
}
.emo b { font-size: .82rem; color: var(--ink2); font-variant-numeric: tabular-nums; }
.emo:hover { transform: translateY(-2px); }
.emo.on { background: var(--rose-soft); border-color: color-mix(in srgb, var(--rose) 50%, transparent); }
.emo.hupf { animation: hupf .45s; }
@keyframes hupf { 40% { transform: scale(1.3); } }
.leute { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--ink2); }
.leute span { padding: 3px 10px; border-radius: 999px; background: var(--bg2); }
.aktionen { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Vergleich */
.vgl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 2vw, 20px); }
.vgl .seite { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vgl .label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.vgl .label b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.2rem; }
.vgl .label span { color: var(--muted); font-size: .82rem; }
.vgl .player video { max-height: 64vh; }
.vgl .fein { display: flex; gap: 6px; justify-content: center; }
.zeitraum { text-align: center; margin: 4px 0 16px; }
.zeitraum b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.5rem; background: linear-gradient(90deg, var(--rose), var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steuer { position: sticky; bottom: 16px; margin: 18px auto 0; width: fit-content; max-width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line2); box-shadow: var(--shadow-lg); }
@media (max-width: 720px) { .steuer { bottom: 96px; border-radius: 22px; } }
.waehlen { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); max-height: 50vh; overflow: auto; padding: 4px; }
.waehlen button { text-align: left; border: 1px solid var(--line2); background: var(--surface); border-radius: var(--r-sm); padding: 0; overflow: hidden; cursor: pointer; }
.waehlen button img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.waehlen button div { padding: 7px 9px; font-size: .8rem; }
.waehlen button b { display: block; font-size: .85rem; }

/* ---------- Formulare */
.formular { max-width: 720px; margin: 0 auto; }
.formular > h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-style: italic; }
.formular > p.sub { color: var(--muted); margin: 6px 0 22px; }
.drop {
  position: relative; display: grid; place-items: center; text-align: center; gap: 8px; padding: 36px 20px; border-radius: 24px; cursor: pointer;
  border: 1.5px dashed color-mix(in srgb, var(--rose) 50%, var(--line2)); background:
    radial-gradient(400px 200px at 50% 0%, color-mix(in srgb, var(--rose) 10%, transparent), transparent), var(--surface);
  transition: border-color .2s, transform .2s;
}
.drop:hover, .drop.drueber { border-color: var(--rose); transform: scale(1.005); }
.drop svg { width: 46px; height: 46px; color: var(--rose); }
.drop b { font-size: 1.05rem; }
.drop small { color: var(--muted); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.vorschau { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.vorschau video { width: 92px; height: 116px; object-fit: cover; border-radius: 12px; background: #000; }
.vorschau div { flex: 1; min-width: 0; }
.vorschau b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vorschau small { color: var(--muted); }
.feld { display: flex; flex-direction: column; gap: 7px; margin-top: 18px; }
.feld > label, .feld > .lab { font-weight: 700; font-size: .88rem; }
.feld small { color: var(--muted); font-size: .8rem; }
.input {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line2); background: var(--surface);
  font-size: 1rem; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--rose); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rose) 15%, transparent); }
textarea.input { min-height: 80px; resize: vertical; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .zwei { grid-template-columns: 1fr; } }
.fortschritt { margin-top: 22px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.balken { height: 10px; border-radius: 999px; background: var(--bg2); overflow: hidden; margin: 10px 0 6px; }
.balken i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--rose), var(--lilac)); transition: width .3s; }
.balken.warn i { background: linear-gradient(90deg, var(--gold), var(--coral)); }
.fortschritt .zeile2 { display: flex; justify-content: space-between; color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.meldung { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); font-size: .9rem; background: var(--coral-soft); color: var(--coral); font-weight: 600; }
.meldung.gut { background: var(--lilac-soft); color: var(--lilac); }
.knopfzeile { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }

/* ---------- Verwalten */
.liste { display: flex; flex-direction: column; }
.person { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; }
.ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; background: linear-gradient(135deg, var(--c1, var(--rose)), var(--c2, var(--lilac))); }
.person .wer { flex: 1; min-width: 0; }
.person .wer b { display: block; }
.person .wer small { color: var(--muted); }
.person .rolle { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--bg2); color: var(--ink2); }
.link-box { margin-top: 14px; padding: 14px; border-radius: var(--r-sm); background: var(--lilac-soft); display: flex; flex-direction: column; gap: 10px; }
.link-box code { word-break: break-all; font-size: .82rem; background: var(--surface); padding: 10px; border-radius: 10px; user-select: all; }
.raster2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); align-items: start; }

/* ---------- Willkommen / gesperrt */
.tuer { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.tuer .stage { max-width: 560px; width: 100%; text-align: center; padding: 56px 32px 44px; }
.tuer .stage p { margin: 0 auto; }
.tuer .btn { margin-top: 26px; }
.tuer .klein { margin-top: 18px; font-size: .82rem; opacity: .65; }

/* ---------- Dialog und Hinweis */
dialog { border: 0; padding: 0; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); width: min(680px, calc(100vw - 24px)); }
dialog::backdrop { background: rgb(20 5 25 / .55); backdrop-filter: blur(4px); }
dialog .inhalt { padding: 22px; }
dialog h2 { font-size: 1.5rem; font-style: italic; margin-bottom: 14px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 50; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg); transition: all .3s; pointer-events: none; }
.toast.da { opacity: 1; transform: translateX(-50%); }
@media (max-width: 720px) { .toast { bottom: 110px; } }
.laden { display: grid; place-items: center; padding: 80px 0; color: var(--muted); }
.funkel { width: 28px; height: 28px; color: var(--rose); animation: dreh 1.6s linear infinite; }
@keyframes dreh { to { transform: rotate(360deg); } }

/* ---------- Handy: Feinschliff (wird oft vom Handy aus genutzt) */
.top { padding-top: max(12px, env(safe-area-inset-top)); }
@media (max-width: 720px) {
  body { font-size: 15px; }
  main { padding: 14px 14px 110px; }
  .input, .sel, textarea.input { font-size: 16px; }   /* iPhone zoomt sonst beim Antippen */
  .brand { font-size: 1.2rem; }
  .stage { border-radius: 22px; padding: 22px 20px 20px; }
  .stage h1 { font-size: 2.7rem; margin: 6px 0 8px; }
  .stage p { font-size: .92rem; }
  .stage .band { opacity: .3; }
  .zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
  .zahlen b { font-size: 1.45rem; }
  .zahlen span { font-size: .68rem; line-height: 1.2; }
  .filter { margin: 16px -14px 4px; padding: 0 14px; gap: 8px; }
  .filter .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: calc(100% + 28px); margin: 0 -14px; padding: 2px 14px; scroll-snap-type: x proximity; }
  .filter .chips::-webkit-scrollbar { display: none; }
  .filter .chip { flex: none; scroll-snap-align: start; }
  .filter .sel { flex: 1; min-width: 0; }
  .filter .rechts { margin: 0; width: 100%; }
  .filter .rechts .btn { width: 100%; }
  .monat { margin: 22px 0 10px; }
  .monat h2 { font-size: 1.25rem; }
  .card .info { padding: 9px 10px 11px; }
  .card .titel { font-size: .9rem; }
  .card .meta { font-size: .74rem; gap: 4px 6px; }
  .badge { font-size: .66rem; padding: 2px 7px; }
  .badge.art { left: 7px; top: 7px; }
  .badge.dauer { right: 7px; bottom: 7px; }
  /* Videoseite: Video, gleich darunter Titel und Herzen, dann Übungsmodus */
  .vseite { display: flex; flex-direction: column; gap: 14px; }
  .vseite > .links { display: contents; }
  .vseite .player { order: 1; border-radius: 18px; }
  .vseite .player video { max-height: 66vh; }
  .vseite .vinfo { order: 2; }
  .vseite #ub { order: 3; }
  .vinfo h1 { font-size: 1.7rem; }
  .box { margin-top: 14px; padding: 14px; }
  .emojis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .emo { justify-content: center; padding: 10px 0; flex-direction: column; gap: 0; font-size: 1.35rem; border-radius: 16px; }
  .emo b { font-size: .72rem; }
  .ueben { margin-top: 0; }
  .zeile > span { min-width: 100%; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 9px 4px; }
  .aktionen .btn { flex: 1; }
  /* Vergleich */
  .vgl .label { flex-direction: column; gap: 0; }
  .vgl .label b { font-size: 1.05rem; }
  .vgl .player { border-radius: 16px; }
  .zeitraum b { font-size: 1.3rem; }
  .steuer { width: 100%; }
  .steuer > span { display: none; }
  /* Formulare */
  .formular > h1 { font-size: 2rem; }
  .drop { padding: 30px 16px; }
  .knopfzeile { position: sticky; bottom: 92px; background: linear-gradient(transparent, var(--bg) 30%); padding-top: 14px; margin-top: 16px; }
  .knopfzeile .btn { flex: 1; }
  .person .ibtn { width: 36px; height: 36px; }
  dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 88vh; }
  dialog .inhalt { padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); }
  dialog .knopfzeile { position: static; background: none; }
}
@media (hover: none) {
  .card:hover { transform: none; }
  .card:active { transform: scale(.98); }
  .btn:active, .chip:active, .emo:active { transform: scale(.96); }
}
