:root {
  --canvas: #EFEFEB; --bg: #F8F8F6; --flaeche: #FFFFFF; --flaeche2: #F3F3F0; --linie: #ECEBE6; --linie-stark: #D9D8D1;
  --text: #121213; --leise: #6A6A64; --matt: #9A9A93;
  --akzent: #C3F53C; --akzent-lesbar: #4F6B00; --akzent-weich: #F0F9D6; --tinte: #121213; --auf-tinte: #F8F8F6;
  --warn: #A5530A; --warn-bg: #FFF1D6; --schatten: 0 1px 2px rgba(20,20,10,.04); --schatten-gross: 0 24px 60px -24px rgba(20,20,10,.25);
  --kachel-a: #3a3d38; --kachel-b: #151716;
  --display: "DM Sans", system-ui, sans-serif; --fliess: "Open Sans", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --canvas: #060607; --bg: #0F0F11; --flaeche: #171719; --flaeche2: #1D1D20; --linie: #27272B; --linie-stark: #38383D;
  --text: #F3F3EF; --leise: #A2A29C; --matt: #77776F; --akzent-lesbar: #C3F53C; --akzent-weich: #21280F; --tinte: #F3F3EF; --auf-tinte: #0B0B0C;
  --warn: #F3B04C; --warn-bg: #2B2010; --schatten: none; --schatten-gross: 0 24px 60px -20px rgba(0,0,0,.7); color-scheme: dark; } }
:root[data-theme="dark"] {
  --canvas: #060607; --bg: #0F0F11; --flaeche: #171719; --flaeche2: #1D1D20; --linie: #27272B; --linie-stark: #38383D;
  --text: #F3F3EF; --leise: #A2A29C; --matt: #77776F; --akzent-lesbar: #C3F53C; --akzent-weich: #21280F; --tinte: #F3F3EF; --auf-tinte: #0B0B0C;
  --warn: #F3B04C; --warn-bg: #2B2010; --schatten: none; --schatten-gross: 0 24px 60px -20px rgba(0,0,0,.7); color-scheme: dark; }
* { box-sizing: border-box; }
body { background: var(--canvas); color: var(--text); font-family: var(--fliess); font-size: 14.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; padding-block: 0 40px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.022em; line-height: 1.15; margin: 0; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -.03em; } h2 { font-size: 18px; } h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
em { font-style: italic; color: var(--akzent-lesbar); } p { margin: 0; } button, input, textarea, select { font: inherit; color: inherit; } button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--akzent-lesbar); outline-offset: 2px; border-radius: 6px; }
.ic { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; } .ic.s { width: 15px; height: 15px; } .ic.l { width: 22px; height: 22px; } .ic.fill { fill: currentColor; stroke: none; }
.leise { color: var(--leise); } .klein { font-size: 13px; color: var(--leise); } .fett { font-family: var(--display); font-weight: 600; }
.label { font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--leise); }

.btn { border: 1px solid var(--linie-stark); background: var(--flaeche); border-radius: 10px; padding: 9px 15px; font-weight: 600; font-size: 13.5px; display: inline-flex; gap: 8px; align-items: center; justify-content: center; color: var(--text); text-decoration: none; transition: border-color .15s, background .15s; white-space: nowrap; }
.btn:hover { border-color: var(--text); } .btn.primaer { background: var(--akzent); color: #0B0B0C; border-color: color-mix(in srgb, var(--akzent) 65%, #5b7a00); } .btn.primaer:hover { background: color-mix(in srgb, var(--akzent) 86%, #fff); }
.btn.leer { background: transparent; border-color: transparent; color: var(--leise); padding-inline: 8px; } .btn.leer:hover { color: var(--text); background: var(--flaeche2); } .btn.klein { padding: 6px 11px; font-size: 12.5px; border-radius: 8px; } .btn.gross { padding: 12px 20px; font-size: 14.5px; border-radius: 12px; } .btn[disabled] { opacity: .4; cursor: default; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--linie); background: var(--flaeche); display: grid; place-items: center; color: var(--leise); position: relative; flex: none; } .icon-btn:hover { color: var(--text); }
.tag { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--flaeche2); color: var(--leise); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; line-height: 1.5; }
.tag.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; } .tag.ok { background: var(--akzent-weich); color: var(--akzent-lesbar); } .tag.warn { background: var(--warn-bg); color: var(--warn); } .tag.neu { background: var(--tinte); color: var(--auf-tinte); }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 16px; padding: 22px; display: grid; gap: 16px; align-content: start; min-width: 0; box-shadow: var(--schatten); } .karte.null { padding: 0; gap: 0; overflow: hidden; }
.karte-kopf { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.segment { display: inline-flex; padding: 3px; gap: 2px; border-radius: 11px; background: var(--flaeche2); flex-wrap: wrap; } .segment button { border: 0; background: transparent; padding: 6px 13px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--leise); } .segment button[aria-pressed="true"] { background: var(--flaeche); color: var(--text); box-shadow: 0 1px 2px rgba(20,20,10,.12); }
.feld { display: grid; gap: 6px; } .feld label { font-size: 12.5px; font-weight: 600; } .feld input { border: 1px solid var(--linie-stark); background: var(--flaeche); border-radius: 10px; padding: 10px 12px; width: 100%; }
.feld input:focus, .eingabe:focus { outline: 0; border-color: var(--akzent-lesbar); box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 35%, transparent); }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; cursor: pointer; }
.check input { appearance: none; margin: 2px 0 0; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--linie-stark); background: var(--flaeche); flex: none; display: grid; place-items: center; cursor: pointer; } .check input:checked { background: var(--akzent); border-color: color-mix(in srgb, var(--akzent) 60%, #4a6600); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #0B0B0C; border-bottom: 2px solid #0B0B0C; transform: rotate(-45deg) translate(1px, -1px); } .check input:checked + span strong { color: var(--leise); text-decoration: line-through; text-decoration-color: var(--linie-stark); }
.toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--tinte); color: var(--auf-tinte); padding: 11px 20px; border-radius: 999px; font-size: 14px; z-index: 90; max-width: calc(100% - 32px); box-shadow: var(--schatten-gross); font-weight: 500; }

/* Rahmen. Container-Abfragen, damit die Handy-Vorschau im Entwurf wie ein echtes Handy reagiert. */
.rahmen-w { container-type: inline-size; max-width: 1240px; margin: 0 auto; }
.handy .rahmen-w { max-width: 390px; }
.app { display: grid; grid-template-columns: 232px minmax(0, 1fr); background: var(--bg); border: 1px solid var(--linie-stark); border-radius: 22px; overflow: clip; box-shadow: var(--schatten-gross); min-height: 780px; }
.side { background: var(--flaeche); border-right: 1px solid var(--linie); }
.side-in { padding: 22px 14px; display: flex; flex-direction: column; gap: 26px; position: sticky; top: 0; height: min(100vh, 880px); }
.marke { display: flex; gap: 11px; align-items: center; padding: 0 8px; } .marke-z { width: 30px; height: 30px; border-radius: 9px; background: var(--akzent); color: #0B0B0C; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; flex: none; }
.marke b { display: block; font-family: var(--display); font-size: 14px; letter-spacing: -.02em; line-height: 1.1; } .marke small { font-size: 11.5px; color: var(--matt); }
.navl { display: grid; gap: 2px; }
.nav-i { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 0; background: transparent; color: var(--leise); font-size: 14px; font-weight: 500; text-align: left; width: 100%; position: relative; }
.nav-i:hover { background: var(--flaeche2); color: var(--text); } .nav-i[aria-current="page"] { background: var(--flaeche2); color: var(--text); font-weight: 600; } .nav-i[aria-current="page"] .ic { color: var(--akzent-lesbar); }
.nav-i .zahl { margin-left: auto; font-size: 11.5px; font-weight: 700; background: var(--akzent); color: #0B0B0C; border-radius: 999px; padding: 0 7px; line-height: 18px; }
.side-fuss { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 14px 8px 0; border-top: 1px solid var(--linie); font-size: 12.5px; }
.av { width: 32px; height: 32px; border-radius: 50%; background: var(--flaeche2); border: 1px solid var(--linie); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 11px; color: var(--leise); flex: none; } .side-fuss div { min-width: 0; } .side-fuss b { display: block; font-weight: 600; } .side-fuss span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--leise); }
.haupt { min-width: 0; display: flex; flex-direction: column; }
.oben { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 36px; border-bottom: 1px solid var(--linie); }
.brot { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--leise); min-width: 0; } .brot b { color: var(--text); font-weight: 600; } .brot .ic { width: 14px; height: 14px; color: var(--matt); }
.punkt-n { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--akzent); border: 2px solid var(--flaeche); }
.inhalt { padding: 36px 36px 56px; display: grid; gap: 32px; align-content: start; max-width: 960px; width: 100%; margin: 0 auto; }
@container (max-width: 820px) {
  .app { display: flex; flex-direction: column; border-radius: 18px; min-height: 640px; }
  .haupt { order: 1; flex: 1; } .side { order: 2; position: sticky; bottom: 0; z-index: 20; border-right: 0; border-top: 1px solid var(--linie); }
  .side-in { position: static; height: auto; padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); flex-direction: row; gap: 0; }
  .side .marke, .side .side-fuss { display: none; } .navl { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
  .nav-i { flex-direction: column; gap: 3px; padding: 7px 2px; font-size: 11px; align-items: center; text-align: center; } .nav-i .zahl { position: absolute; top: 2px; left: 54%; margin: 0; }
  .oben { padding: 12px 18px; } .oben .datum { display: none; } .inhalt { padding: 22px 18px 32px; gap: 26px; }
  .zwei, .det { grid-template-columns: 1fr !important; } .player { position: static !important; max-width: 320px; } .cal-w { display: none; } .agenda { display: grid !important; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* Inhalte */
.kopfzeile { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; } .kopfzeile .titel { display: grid; gap: 8px; } .kopfzeile p { color: var(--leise); max-width: 56ch; }
.abschnitt { display: grid; gap: 14px; } .abschnitt-k { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.zeile { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--linie); text-align: left; background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; } .zeile:first-child { border-top: 0; padding-top: 0; } .zeile:last-child { padding-bottom: 0; }
.zeile:hover .fett { text-decoration: underline; } .zeile .sub { font-size: 13px; color: var(--leise); display: block; }
.chip-i { width: 38px; height: 38px; border-radius: 11px; background: var(--akzent-weich); color: var(--akzent-lesbar); display: grid; place-items: center; flex: none; }
.stapel { display: flex; } .stapel .mini { margin-left: -14px; border: 2px solid var(--flaeche); } .stapel .mini:first-child { margin-left: 0; }
.zwei { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.mini { --h: 150; width: 40px; aspect-ratio: 4 / 5; border-radius: 9px; background: linear-gradient(160deg, hsl(var(--h) 14% 32%), hsl(var(--h) 18% 12%)); flex: none; position: relative; overflow: hidden; display: grid; place-items: center; color: rgba(255,255,255,.85); } .mini .ic { width: 14px; height: 14px; }
.mini.video { aspect-ratio: 9 / 14; width: 34px; }
.zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } @container (max-width: 560px) { .zahlen { grid-template-columns: 1fr; } }
.z-wert { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; } .z-trend { font-size: 12.5px; font-weight: 600; color: var(--akzent-lesbar); }
.kampagne { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 16px 0; border-top: 1px solid var(--linie); align-items: center; } .kampagne:first-of-type { border-top: 0; padding-top: 0; }
.k-zahlen { display: flex; gap: 22px; flex-wrap: wrap; } .k-zahlen div b { font-family: var(--display); font-size: 18px; letter-spacing: -.02em; display: block; line-height: 1.2; } .k-zahlen div span { font-size: 12px; color: var(--leise); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.balken { height: 5px; border-radius: 99px; background: var(--linie); overflow: hidden; } .balken i { display: block; height: 100%; background: var(--akzent-lesbar); border-radius: 99px; }
.freigabe-z { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--linie); } .freigabe-z:first-child { border-top: 0; padding-top: 0; }
@container (max-width: 560px) { .freigabe-z { grid-template-columns: auto 1fr; } .freigabe-z .btn { grid-column: 1 / -1; } }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 22px 16px; }
.med { display: grid; gap: 10px; text-align: left; background: none; border: 0; padding: 0; align-content: start; } .med:hover .poster { outline: 2px solid var(--akzent-lesbar); outline-offset: 3px; }
.poster { --h: 150; position: relative; overflow: hidden; border-radius: 14px; background: linear-gradient(160deg, hsl(var(--h) 14% 32%), hsl(var(--h) 18% 12%)); color: #F5F5F2; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; width: 100%; }
.poster.video { aspect-ratio: 9 / 16; } .poster.grafik, .poster.foto { aspect-ratio: 4 / 5; }
.poster::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 70% at 20% 0%, rgba(255,255,255,.16), transparent 60%); } .poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5)); pointer-events: none; }
.poster-t { position: relative; z-index: 1; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -.02em; line-height: 1.12; } .poster.foto .poster-t { font-weight: 500; font-size: 13px; opacity: .85; }
.p-art { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 11px; font-weight: 600; background: rgba(0,0,0,.5); padding: 1px 8px; border-radius: 6px; display: flex; gap: 5px; align-items: center; } .p-art .ic { width: 12px; height: 12px; }
.p-playk { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; } .p-playk span { width: 44px; height: 44px; border-radius: 50%; background: rgba(245,245,242,.16); border: 1px solid rgba(245,245,242,.4); display: grid; place-items: center; }
.det { display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: 36px; align-items: start; } .player { display: grid; gap: 12px; position: sticky; top: 24px; }
.bildflaeche { position: relative; cursor: crosshair; } .bildflaeche .poster { border-radius: 18px; }
.pin { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--akzent); color: #0B0B0C; border: 2px solid #fff; font-family: var(--display); font-weight: 700; font-size: 11px; display: grid; place-items: center; z-index: 4; box-shadow: 0 2px 8px rgba(0,0,0,.35); padding: 0; } .pin.neu { background: #fff; border-color: var(--akzent); }
.phone { position: relative; } .phone .poster { border-radius: 24px; padding: 18px; box-shadow: var(--schatten-gross); } .sub-bsp { position: absolute; z-index: 3; left: 14px; right: 14px; bottom: 64px; text-align: center; pointer-events: none; } .sub-bsp span { display: inline-block; background: rgba(32,35,38,.9); color: #fff; font-family: var(--display); font-weight: 700; font-size: 16px; padding: 4px 12px; border-radius: 6px; }
.big-play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 5; } .big-play span { width: 62px; height: 62px; border-radius: 50%; background: rgba(245,245,242,.18); border: 1px solid rgba(245,245,242,.45); backdrop-filter: blur(6px); display: grid; place-items: center; color: #F5F5F2; cursor: pointer; }
.track { position: relative; height: 28px; cursor: pointer; touch-action: none; } .track::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--linie-stark); } .track .fill { position: absolute; left: 0; top: 12px; height: 4px; border-radius: 4px; background: var(--akzent-lesbar); }
.track .kopf-p { position: absolute; top: 7px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--akzent); border: 2px solid var(--akzent-lesbar); } .marker { position: absolute; top: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--warn); border: 2px solid var(--flaeche); padding: 0; z-index: 2; } .marker.ok { background: var(--matt); }
.steuer { display: flex; align-items: center; gap: 10px; } .zeit-t { font-family: var(--display); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--leise); }
.kommentar { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--linie); } .kommentar:first-of-type { border-top: 0; padding-top: 0; } .kommentar.aktiv { background: color-mix(in srgb, var(--akzent) 14%, transparent); border-radius: 10px; }
.zeit { font-family: var(--display); font-weight: 700; font-size: 12px; background: var(--akzent-weich); color: var(--akzent-lesbar); border: 0; border-radius: 8px; padding: 4px 9px; font-variant-numeric: tabular-nums; height: fit-content; min-width: 38px; text-align: center; }
.wer { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--leise); margin-bottom: 2px; } .wer b { color: var(--text); font-family: var(--display); font-weight: 600; font-size: 13.5px; }
.voice { display: inline-flex; gap: 10px; align-items: center; background: var(--flaeche2); border-radius: 999px; padding: 6px 14px 6px 8px; } .voice .pl { width: 26px; height: 26px; border-radius: 50%; background: var(--tinte); color: var(--auf-tinte); display: grid; place-items: center; } .voice .pl .ic { width: 11px; height: 11px; } .wave { display: flex; gap: 2px; align-items: center; height: 18px; } .wave i { width: 2.5px; border-radius: 2px; background: var(--leise); display: block; } .voice span { font-size: 12px; color: var(--leise); font-variant-numeric: tabular-nums; }
.kompo { display: grid; gap: 10px; margin-top: 6px; } .eingabe { width: 100%; border: 1px solid var(--linie-stark); background: var(--flaeche); border-radius: 12px; padding: 11px 13px; font-size: 14px; resize: none; min-height: 46px; }
.kompo-z { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .rec { color: #B42318; border-color: #B42318; } .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #B42318; animation: puls 1s infinite; } @keyframes puls { 50% { opacity: .25; } }
.cal-w { overflow-x: auto; border-radius: 16px; } .cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: 16px; overflow: hidden; min-width: 640px; }
.cal-k { background: var(--flaeche2); padding: 9px 10px; font-family: var(--display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--matt); font-weight: 600; } .cal-z { background: var(--flaeche); min-height: 104px; padding: 8px; display: grid; gap: 5px; align-content: start; } .cal-z .nr { font-family: var(--display); font-size: 12.5px; font-weight: 600; color: var(--leise); } .cal-z.heute { background: var(--akzent-weich); } .cal-z.heute .nr { color: var(--akzent-lesbar); } .cal-z.vorbei { opacity: .65; }
.cal-chip { text-align: left; border: 0; border-left: 3px solid var(--akzent-lesbar); background: var(--flaeche2); border-radius: 6px; padding: 5px 7px; font-size: 11.5px; line-height: 1.25; font-weight: 600; } .cal-chip:hover { background: var(--akzent-weich); } .cal-chip small { display: block; font-weight: 500; color: var(--leise); } .cal-chip.neu { border-left-color: var(--tinte); } .cal-chip.warn { border-left-color: var(--warn); }
.agenda { display: none; gap: 0; } .ag-tag { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--linie); } .ag-tag:first-child { border-top: 0; } .ag-d { font-family: var(--display); font-weight: 700; line-height: 1.1; } .ag-d small { display: block; font-size: 11px; color: var(--matt); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.chat { display: grid; gap: 14px; } .blase { max-width: 78%; padding: 11px 14px; border-radius: 16px; background: var(--flaeche); border: 1px solid var(--linie); display: grid; gap: 4px; justify-self: start; border-bottom-left-radius: 5px; } .blase.ich { justify-self: end; background: var(--akzent-weich); border-color: transparent; border-bottom-left-radius: 16px; border-bottom-right-radius: 5px; } .blase small { font-size: 11.5px; color: var(--leise); }
.system { justify-self: center; font-size: 12.5px; color: var(--leise); background: var(--flaeche2); padding: 4px 12px; border-radius: 999px; }
.login-wrap { max-width: 420px; margin: 0 auto; padding: 28px 0; display: grid; gap: 18px; }
details.skript summary { cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--akzent-lesbar); list-style: none; } details.skript summary::-webkit-details-marker { display: none; } details.skript[open] summary { margin-bottom: 10px; } details.skript p { font-size: 14px; color: var(--leise); }

/* Redaktionsplan v2: Wochen mit Kampagnen-Balken, Status je Beitrag */
.plan-leiste { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.legende { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--leise); }
.leg { display: inline-flex; gap: 6px; align-items: center; } .leg .ic { width: 14px; height: 14px; } .leg.pub .ic { color: var(--akzent-lesbar); } .leg.fehler .ic { color: #B42318; } .leg.offen .ic, .leg.geplant .ic { color: var(--matt); }
.cal2 { display: grid; gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: 16px; overflow: hidden; min-width: 720px; }
.cal2-k { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--flaeche2); } .cal2-k span { padding: 9px 10px; font-family: var(--display); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--matt); font-weight: 600; }
.woche { background: var(--flaeche); display: grid; }
.wk-reihe { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.wk-nr { padding: 8px 10px 4px; font-family: var(--display); font-size: 12.5px; font-weight: 600; color: var(--leise); } .wk-nr.heute { color: var(--akzent-lesbar); }
.wk-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px 0; padding: 2px 0 6px; }
.bar { --c: #6E9400; height: 22px; margin: 0 4px; border: 0; border-left: 3px solid var(--c); border-radius: 6px; background: color-mix(in srgb, var(--c) 15%, var(--flaeche)); color: var(--text); font-size: 11.5px; padding: 0 8px; display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap; text-align: left; min-width: 0; }
.bar b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; } .bar span { color: var(--leise); font-size: 11px; } .bar:hover { background: color-mix(in srgb, var(--c) 26%, var(--flaeche)); }
.bar.weiter-l { margin-left: 0; border-left-width: 0; padding-left: 11px; border-top-left-radius: 0; border-bottom-left-radius: 0; } .bar.weiter-r { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.wk-reihe .cal-z { min-height: 86px; border-left: 1px solid var(--linie); } .wk-reihe .cal-z:first-child { border-left: 0; } .wk-reihe .cal-z.vorbei { opacity: 1; background: var(--flaeche2); }
.cal-chip { display: flex; gap: 6px; align-items: flex-start; border: 1px solid transparent; border-left: 3px solid var(--matt); background: var(--flaeche2); width: 100%; color: var(--text); }
.cal-z.vorbei .cal-chip { background: var(--flaeche); }
.cal-chip .ic { width: 13px; height: 13px; margin-top: 1px; flex: none; color: var(--matt); }
.cal-chip.pub { border-left-color: var(--akzent-lesbar); } .cal-chip.pub .ic { color: var(--akzent-lesbar); }
.cal-chip.offen { background: transparent; border: 1px dashed var(--linie-stark); border-left: 3px dashed var(--tinte); }
.cal-chip.fehler { background: var(--warn-bg); border-left-color: #B42318; } .cal-chip.fehler .ic { color: #B42318; }
.gruppe { display: grid; gap: 8px; } .gruppe-k { display: flex; gap: 8px; align-items: baseline; padding-left: 2px; }
.poster.quer { aspect-ratio: 16 / 9; } .mini.quer { aspect-ratio: 16 / 9; width: 56px; }
.highlight { display: grid; grid-template-columns: 190px 1fr; gap: 22px; align-items: center; }
@container (max-width: 560px) { .highlight { grid-template-columns: 1fr; } }

/* Kampagnen */
.k-liste { display: grid; gap: 14px; }
.k-karte { text-align: left; width: 100%; cursor: pointer; color: var(--text); font: inherit; } .k-karte:hover { border-color: var(--linie-stark); }
.k-kopf { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; } .k-farbe { width: 6px; height: 40px; border-radius: 4px; }
.k-mehr { display: inline-flex; gap: 6px; align-items: center; color: var(--akzent-lesbar); font-weight: 600; font-size: 13px; }
.kpi-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.ads { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.ad-medien { height: 300px; background: var(--flaeche2); display: grid; place-items: center; padding: 16px; }
.ad-medien .poster { height: 100%; width: auto; max-width: 100%; } .ad-medien .poster.quer { height: auto; width: 100%; }
.ad-text { padding: 18px; display: grid; gap: 12px; align-content: start; }
.ad-prim { font-size: 14px; line-height: 1.5; }
.ad-cta { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--flaeche2); border-radius: 10px; padding: 10px 12px; }
.ad-cta b { display: block; font-family: var(--display); font-size: 14px; } .ad-cta span { font-size: 12px; color: var(--leise); display: block; }
.ad-btn { background: var(--flaeche); border: 1px solid var(--linie-stark); border-radius: 8px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--text) !important; flex: none; }
.ad-zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--linie); padding-top: 12px; } .ad-zahlen b { display: block; font-family: var(--display); font-size: 17px; letter-spacing: -.02em; } .ad-zahlen span { font-size: 11.5px; color: var(--leise); }
.rang { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--linie); } .rang:first-child { border-top: 0; padding-top: 0; } .rang:last-child { padding-bottom: 0; }
.rang-nr { width: 26px; height: 26px; border-radius: 50%; background: var(--flaeche2); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 12px; } .rang-nr.eins { background: var(--akzent); color: #0B0B0C; }
.rang-w { text-align: right; min-width: 64px; } .rang-w b { display: block; font-family: var(--display); font-size: 16px; } .rang-w span { font-size: 11.5px; color: var(--leise); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--text); text-align: left; } .linkbtn:hover { text-decoration: underline; }
@container (max-width: 560px) { .rang { grid-template-columns: auto minmax(0, 1fr) auto; } .rang .mini, .rang .rang-w:last-child { display: none; } .k-kopf { grid-template-columns: auto 1fr; } .k-kopf .tag { grid-column: 2; justify-self: start; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Echter Betrieb (nicht Entwurf): volle Fläche ---------- */
body.app-modus { padding: 0; background: var(--bg); }
body.app-modus .rahmen-w { max-width: none; }
body.app-modus .app { border: 0; border-radius: 0; box-shadow: none; min-height: 100vh; }
body.app-modus .side-in { height: 100vh; }
.inhalt.breit { max-width: 1180px; }
.nav-gruppe { display: grid; gap: 2px; }
.nav-g { font-family: var(--display); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--matt); padding: 0 12px 6px; display: flex; gap: 6px; align-items: center; }
.nav-g .beta { background: var(--akzent); color: #0B0B0C; border-radius: 5px; padding: 0 6px; letter-spacing: .06em; font-size: 10px; }
.nav-i.aus { opacity: .45; cursor: default; } .nav-i.aus:hover { background: transparent; color: var(--leise); }
.nav-i small.bald { margin-left: auto; font-size: 10.5px; color: var(--matt); white-space: nowrap; }
@container (max-width: 820px) { .side .nav-g, .side .nav-i.aus { display: none; } .side .nav-gruppe { display: contents; } .side-in > .nav-gruppe + .nav-gruppe { display: none; } }
.leer-z { padding: 28px; text-align: center; color: var(--leise); border: 1px dashed var(--linie-stark); border-radius: 16px; display: grid; gap: 8px; justify-items: center; }
.leer-z .ic { width: 28px; height: 28px; color: var(--matt); }
video.vid { width: 100%; display: block; border-radius: 18px; background: #000; max-height: 72vh; }
.poster img.cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster .poster-t, .poster .p-art, .poster .p-playk { z-index: 2; }
.bildflaeche img { width: 100%; display: block; border-radius: 18px; }
.ablage-z { border: 2px dashed var(--linie-stark); border-radius: 18px; padding: 36px 22px; display: grid; gap: 12px; justify-items: center; text-align: center; background: var(--flaeche); transition: border-color .15s, background .15s; }
.ablage-z.an { border-color: var(--akzent-lesbar); background: var(--akzent-weich); }
.ablage-z .ic { width: 34px; height: 34px; color: var(--akzent-lesbar); }
.fortschritt { height: 6px; border-radius: 99px; background: var(--linie); overflow: hidden; } .fortschritt i { display: block; height: 100%; background: var(--akzent-lesbar); border-radius: 99px; transition: width .3s; }
.up-z { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--linie); } .up-z:first-child { border-top: 0; padding-top: 0; }
.up-z .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
select.eingabe, .feld select, .feld textarea { border: 1px solid var(--linie-stark); background: var(--flaeche); border-radius: 10px; padding: 10px 12px; width: 100%; }
.feld textarea { min-height: 90px; resize: vertical; }
.cal-chip.vorschlag { background: transparent; border: 1px dashed var(--linie-stark); border-left: 3px dashed var(--akzent-lesbar); opacity: .72; }
.cal-chip.vorschlag:hover { opacity: 1; }
.leg.vorschlag i { width: 14px; height: 10px; border: 1px dashed var(--akzent-lesbar); border-radius: 3px; display: inline-block; }
.vorschlag-box { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--linie-stark); background: var(--flaeche2); font-size: 13.5px; }
.vorschlag-box .ic { color: var(--akzent-lesbar); }
.versionen { display: flex; gap: 6px; flex-wrap: wrap; }
.drehen { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--linie-stark); border-top-color: var(--akzent-lesbar); animation: dreh .8s linear infinite; display: inline-block; flex: none; } @keyframes dreh { to { transform: rotate(360deg); } }
.testhinweis { font-size: 12.5px; background: var(--warn-bg); color: var(--warn); padding: 8px 12px; border-radius: 10px; }
.codefeld { letter-spacing: .4em; font-family: var(--display); font-size: 22px !important; text-align: center; }
.kopf-aktionen { display: flex; gap: 8px; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--linie); overflow-x: auto; }
.tabs a, .tabs button { padding: 10px 14px; border: 0; background: none; color: var(--leise); font-weight: 600; font-size: 13.5px; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a[aria-current="page"], .tabs button[aria-current="page"] { color: var(--text); border-bottom-color: var(--akzent-lesbar); }
.tabs a:hover { color: var(--text); }
a { color: inherit; }
a.nav-i, a.zeile, a.btn, a.med, a.tag, a.cal-chip { text-decoration: none; color: inherit; }
a.btn.primaer { color: #0B0B0C; }
.zeile > span { min-width: 0; overflow-wrap: anywhere; }
.cal-chip span { min-width: 0; overflow-wrap: anywhere; }
.wer { flex-wrap: wrap; }
.cal-chip.arbeit { border-left-color: var(--linie-stark); }
.cal-chip.idee { opacity: .5; border-left-style: dotted; }
[hidden] { display: none !important; }
.nt-k { display: none; }
@container (max-width: 820px) {
  body.app-modus .side-in { height: auto; }
  body.app-modus .side { position: sticky; bottom: 0; }
  .nav-i .nt.lang { display: none; } .nav-i .nt-k { display: inline; }
}
body.app-modus { margin: 0; }
.sprache { display: grid; gap: 6px; margin-top: 2px; }
.sprache-k { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--akzent-lesbar); }
.sprache audio, .sprache-neu audio { width: 100%; max-width: 340px; height: 38px; }
.sprache-t { background: var(--flaeche2); border-radius: 10px; padding: 8px 10px; display: grid; gap: 2px; font-size: 13.5px; }
.sprache-neu { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--akzent-weich); }
.btn.rec { color: #B42318; border-color: #B42318; } .btn.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #B42318; animation: puls 1s infinite; }
.zeit-t { white-space: nowrap; }
.monat-k { display: flex; align-items: center; gap: 10px; } .monat-k h2 { min-width: 160px; text-align: center; font-size: 19px; } .icon-btn[disabled] { opacity: .35; cursor: default; }
.cal-z.fremd { background: var(--flaeche2); } .wk-nr.fremd { color: var(--matt); opacity: .6; }
.cal-chip.termin-offen { border-left-color: var(--akzent-lesbar); background: transparent; border-top: 1px solid var(--linie-stark); border-right: 1px solid var(--linie-stark); border-bottom: 1px solid var(--linie-stark); }

.thema { display: inline-flex; padding: 2px; gap: 2px; border-radius: 9px; background: var(--flaeche2); border: 1px solid var(--linie); }
.thema button { border: 0; background: transparent; color: var(--matt); width: 28px; height: 26px; border-radius: 7px; display: grid; place-items: center; padding: 0; }
.thema button[aria-pressed="true"] { background: var(--flaeche); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
