:root {
  --gruen: #1F5446;
  --gruen-dunkel: #173F35;
  --gruen-mittel: #2C6652;
  --salbei: #A9C48A;
  --apricot: #E9A46F;
  --grund: #F3F5EF;
  --karte: #FFFFFF;
  --linie: #E1E6DA;
  --text: #1C2B26;
  --titel: #1C3A31;
  --leise: #5E6B64;
  font-family: "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--grund); color: var(--text); }
body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: transparent; }
main { max-width: 560px; margin: 0 auto; padding: 22px 20px 28px; outline: none; }
a { color: var(--gruen); }
button { font-family: inherit; cursor: pointer; }
h1 { margin: 0; font-size: 31px; line-height: 1.12; font-weight: 800; letter-spacing: -1px; color: var(--titel); }
h2 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.4px; color: var(--titel); }
p { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.leise { color: var(--leise); font-size: 14px; line-height: 1.5; }
.eyebrow { font-size: 11px; letter-spacing: 2.4px; color: var(--leise); font-weight: 500; text-transform: uppercase; }

/* Kopf */
.kopf { display: flex; align-items: center; justify-content: space-between; }
.marke { display: flex; align-items: center; gap: 10px; }
.marke img { width: 46px; height: 38px; object-fit: contain; }
.marke .name { font-weight: 800; font-size: 21px; letter-spacing: -0.6px; color: var(--gruen); line-height: 1.05; }
.marke .unter { font-size: 11px; color: var(--leise); }
.rund { width: 44px; height: 44px; border-radius: 22px; border: 1px solid #DDE3D6; background: #fff; color: var(--gruen); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0; }
.rund svg, .nav svg, .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Karten */
.hero { border-radius: 20px; color: #fff; padding: 22px; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(140deg, var(--gruen) 0%, var(--gruen-mittel) 55%, var(--apricot) 135%); }
.hero .eyebrow { color: #E4EEE8; }
.hero .titel { font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; }
.hero .meta { font-size: 14px; color: #E4EEE8; }
.knopf { min-height: 46px; padding: 0 22px; border-radius: 12px; border: none; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.knopf.weiss { background: #fff; color: var(--gruen); align-self: flex-start; }
.knopf.gruen { background: var(--gruen); color: #fff; }
.knopf.rahmen { background: #fff; color: var(--gruen); border: 1px solid #D5DCCE; }
.knopf svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }

.raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kachel { text-decoration: none; color: var(--text); background: var(--karte); border: 1px solid var(--linie); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.kachel .punkt { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.kachel .punkt i { width: 12px; height: 12px; border-radius: 6px; display: block; }
.kachel b { font-size: 15px; letter-spacing: -0.2px; }
.kachel small { font-size: 12px; color: var(--leise); }

.planung { text-decoration: none; color: #fff; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(100deg, var(--gruen) 0%, #3C7560 50%, var(--apricot) 100%); }
.badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 4px 9px; border-radius: 8px; background: #fff; color: var(--gruen); }

/* Themen-Kopf */
.themenkopf { margin: -22px -20px 0; padding: 22px 20px 24px; color: #fff; display: flex; flex-direction: column; gap: 14px;
  background: linear-gradient(150deg, var(--gruen) 0%, var(--gruen-mittel) 60%, var(--apricot) 150%); }
.themenkopf h1 { color: #fff; }
.themenkopf p { color: #E4EEE8; font-size: 14px; line-height: 1.45; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid #D5DCCE; background: #fff; color: var(--text); font-size: 13px; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--gruen); border-color: var(--gruen); color: #fff; }

.liste { display: flex; flex-direction: column; gap: 10px; }
.zeile { text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--linie); border-radius: 16px; padding: 14px; display: flex; align-items: center; gap: 14px; }
.zeile .bild { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; }
.zeile .bild svg { width: 18px; height: 18px; fill: currentColor; }
.zeile .txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.zeile b { font-size: 16px; }
.zeile small { font-size: 13px; color: var(--leise); }
.zeile em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--gruen); }
.leer { padding: 24px; text-align: center; border: 1px dashed #C9D2C2; border-radius: 16px; }

/* Player */
body.player-modus { background: var(--gruen-dunkel); }
.player { margin: -22px -20px -28px; padding: 22px 20px 28px; min-height: calc(100vh - 76px); color: #fff; display: flex; flex-direction: column; gap: 20px;
  background: linear-gradient(180deg, var(--gruen-dunkel) 0%, var(--gruen) 45%, #3F7360 72%, var(--apricot) 125%); }
.player .rund { background: #2C5F51; border: none; color: #fff; }
.player .oben { display: flex; align-items: center; justify-content: space-between; }
.player .oben .eyebrow { color: #D3E3DB; }
.scheibe { align-self: center; width: 200px; height: 200px; border-radius: 100px; background: #24584A; border: 1px solid #3E7563; display: flex; align-items: center; justify-content: center; }
.scheibe i { width: 132px; height: 132px; border-radius: 66px; background: linear-gradient(160deg, var(--salbei), var(--apricot)); display: block; transition: transform 4s ease-in-out; }
.spielt .scheibe i { animation: atmen 8s ease-in-out infinite; }
@keyframes atmen { 0%,100% { transform: scale(0.9); } 50% { transform: scale(1.05); } }
.player h1 { color: #fff; text-align: center; font-size: 26px; }
.player .unter { text-align: center; color: #D3E3DB; font-size: 14px; }
.zeit { display: flex; flex-direction: column; gap: 6px; }
.zeit input { width: 100%; accent-color: #F2C08F; }
.zeit div { display: flex; justify-content: space-between; font-size: 12px; color: #D3E3DB; }
.steuer { display: flex; align-items: center; justify-content: center; gap: 22px; }
.steuer .klein { width: 48px; height: 48px; border-radius: 24px; border: none; background: transparent; color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steuer .gross { width: 72px; height: 72px; border-radius: 36px; border: none; background: #fff; color: var(--gruen); display: flex; align-items: center; justify-content: center; }
.steuer .gross svg { width: 26px; height: 26px; fill: currentColor; }
.timer { text-align: center; font-size: 13px; color: #D3E3DB; min-height: 18px; }
.sprecherkarte { margin-top: auto; background: #fff; color: var(--text); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 52px; height: 52px; flex-shrink: 0; border-radius: 26px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; overflow: hidden; background: #E3F0EA; color: var(--gruen); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar img.aeffchen { object-fit: contain; padding: 6px; }
.person b { font-size: 17px; display: block; }
.person small { font-size: 13px; color: var(--leise); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 10px; background: #E3F0EA; color: var(--gruen); }
.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

.monat { border-radius: 18px; padding: 18px; color: #fff; display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: linear-gradient(130deg, var(--gruen) 0%, var(--gruen-mittel) 60%, var(--apricot) 140%); }
.monat .avatar { background: #2C6652; color: #fff; width: 60px; height: 60px; border-radius: 30px; }
.monat .eyebrow { color: #E4EEE8; }
.monat b { font-size: 18px; }
.monat small { color: #E4EEE8; font-size: 13px; }
.suche { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid #DDE3D6; color: var(--leise); }
.suche input { flex: 1; border: none; outline: none; background: transparent; font: inherit; font-size: 15px; color: var(--text); }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Navigation */
.nav { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--linie); padding: 8px 6px calc(10px + env(safe-area-inset-bottom)); z-index: 5; }
.nav a { text-decoration: none; color: var(--leise); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 48px; font-size: 11px; font-weight: 600; }
.nav a[aria-current="page"] { color: var(--gruen); font-weight: 700; }
.nav svg { width: 22px; height: 22px; }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; }

/* ---------- Version 0.2: Inhalte aus Ordnern ---------- */
.hero { padding: 0; overflow: hidden; text-decoration: none; position: relative; }
.heroBild { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.heroBild.ohnebild { display: flex; align-items: center; justify-content: center; }
.heroText { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.hero .knopf.weiss { margin-top: 4px; }
.zeilekopf { display: flex; align-items: baseline; justify-content: space-between; }
.zeilekopf a { font-size: 14px; font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.karussell { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 2px 20px 8px; -webkit-overflow-scrolling: touch; }
.karte-klein { flex: 0 0 132px; scroll-snap-align: start; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 8px; }
.karte-klein b { font-size: 13px; line-height: 1.3; }
.quad { width: 132px; height: 132px; border-radius: 14px; object-fit: cover; display: block; }
.ohnebild { display: flex; align-items: center; justify-content: center; }
.ohnebild img { width: 50%; opacity: 0.9; filter: brightness(0) invert(1); }
.eintrag { background: #fff; border: 1px solid var(--linie); border-radius: 16px; overflow: hidden; }
.eintrag .zeile { border: none; border-radius: 0; }
.cover { width: 60px; height: 60px; flex-shrink: 0; border-radius: 12px; object-fit: cover; display: flex; }
.playmini { margin-left: auto; width: 40px; height: 40px; flex-shrink: 0; border-radius: 20px; background: var(--gruen); color: #fff; display: flex; align-items: center; justify-content: center; }
.playmini svg { width: 14px; height: 14px; fill: currentColor; }
details.mehr { border-top: 1px solid var(--linie); padding: 0 14px; }
details.mehr summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--gruen); list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; margin-left: auto; font-size: 18px; font-weight: 500; }
details[open] summary::after { content: "–"; }
details.mehr p { font-size: 14px; line-height: 1.55; color: var(--text); margin: 0 0 12px; }
.von { font-size: 12px !important; color: var(--leise) !important; font-style: italic; }
details.einleitung { background: #fff; border: 1px solid var(--linie); border-radius: 16px; padding: 0 16px; }
details.einleitung summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; font-size: 15px; font-weight: 800; color: var(--gruen); list-style: none; }
.lesetext p { font-size: 16px; line-height: 1.65; margin: 0 0 14px; color: var(--text); }
details.einleitung.hell { background: rgba(255, 255, 255, 0.96); border: none; }
.lesetext.dunkel p { font-size: 14px; line-height: 1.55; margin: 0; }
.coverrahmen { align-self: center; width: 230px; height: 230px; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.coverGross { width: 100%; height: 100%; object-fit: cover; display: flex; }
.spielt .coverrahmen { animation: atmen 8s ease-in-out infinite; }
@keyframes atmen { 0%,100% { transform: scale(0.97); } 50% { transform: scale(1.02); } }
.player { min-height: calc(100vh - 76px); }
.einladung { border-radius: 18px; padding: 18px; color: #fff; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(130deg, var(--gruen) 0%, var(--gruen-mittel) 60%, var(--apricot) 140%); }
.einladung .eyebrow { color: #E4EEE8; }
.einladung b { font-size: 18px; }
.einladung p { font-size: 14px; line-height: 1.5; color: #F1F6F2; }
.leer b { display: block; margin-bottom: 6px; color: var(--titel); }
span.knopf[aria-disabled] { opacity: 0.5; }
.mitmachen h2 { margin: 22px 0 8px; font-size: 18px; }
.mitmachen p { font-size: 15px; }
a.einladung { text-decoration: none; }
a.einladung .knopf { margin-top: 8px; }
.minireihe { display: flex; gap: 8px; margin-top: 8px; }
.mini { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; display: flex; border: 2px solid rgba(255,255,255,0.7); }
.credit { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--leise); }
.credit b { color: var(--titel); }
.monat .avatar img.aeffchen, .avatar img.aeffchen { background: #fff; }
.untertitel { font-size: 13px; color: var(--leise); margin-top: 2px; }
