/* webradio.one – Seitenköpfe, Abstände, Inhalts-Boxen, Empfang, TUNEMOTIONS SELECT, Team. Ergänzt site.css. */

/* ---------- Abstände ---------- */
main { display: block; }
.section-pad { padding-block: clamp(28px, 4vw, 52px) clamp(56px, 8vw, 104px); }
.section { padding-block: clamp(36px, 6vw, 80px); }
.section + .section { padding-top: 0; }
.stack > * + * { margin-top: clamp(24px, 3.5vw, 40px); }

/* ---------- Seiten-Hero mit CI-Grafik ---------- */
.page-hero, .phead.has-img { position: relative; isolation: isolate; overflow: hidden; background: var(--graphite); color: var(--on-graphite); --ink: var(--on-graphite); --muted: var(--on-graphite-soft); --link: var(--accent); --link-hi: #fff; }
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .9; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36, 40, 42, .92) 10%, rgba(36, 40, 42, .35)); }
.page-hero h1, .phead.has-img h1 { color: #fff; margin-bottom: .2em; }
.page-hero .lead { color: var(--on-graphite); max-width: 58ch; margin-bottom: 0; }
.page-hero .crumb a, .page-hero .crumb { color: var(--on-graphite-soft); }
.page-hero .btn:not(.btn-outline) { background: var(--accent); border-color: var(--accent); color: #24282a; }
.page-hero .btn-outline { color: var(--on-graphite); border-color: var(--on-graphite-soft); }
.page-hero .btn-outline:hover { background: var(--on-graphite); color: #24282a; }
.kicker { display: inline-block; margin: 0 0 .8rem; padding: .15rem .6rem; border-radius: var(--r-s); background: var(--accent); color: #24282a; font: 700 .9rem/1.4 var(--font-body); }
.page-hero .actions { margin-top: 1.4rem; }
.week-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.6rem; }
.week-label { font-weight: 600; }
.day-date { font: 600 1.1rem/1 var(--font-body); color: var(--muted); }
.slot-gap { opacity: .75; }

/* Profil- und Sendungskopf: ohne eigenes Bild das CI-Standardbild */
.phead.has-img { padding-block: clamp(96px, 16vw, 200px) clamp(24px, 3vw, 40px); }
.phead.is-default::after { background: linear-gradient(180deg, rgba(42, 46, 48, .0), rgba(36, 40, 42, .75)); }
.phead.is-default .phead-img { object-fit: cover; opacity: 1; }
.phead.has-img .crumb a { color: var(--on-graphite); }

/* ---------- Inhalts-Boxen (Markdown-Blöcke) ---------- */
.prose .cb, .prose .cb-cols, .prose .cb-note, .prose .cb-hero, .prose .cb-quote, .prose .cb-faq, .prose .cb-buttons, .prose .cb-center { max-width: none; margin-block: 1.6rem; }
.prose .cb p, .prose .cb li { max-width: 62ch; }
.cb { position: relative; padding: clamp(18px, 2.5vw, 28px); border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); }
.cb-title { font: 800 1.7rem/1.05 var(--font-display); margin: 0 0 .5rem; }
.cb-body > :last-child { margin-bottom: 0; }
.cb-icon { display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: .7rem; border-radius: 50%; background: var(--accent); color: #24282a; }
.cb-icon .i { width: 1.4rem; height: 1.4rem; }
.cb-soft { background: var(--surface); }
.cb-line { background: transparent; }
.cb-dark, .cb-accent { border-color: transparent; }
.cb-dark { background: var(--graphite); color: var(--on-graphite); --ink: var(--on-graphite); --muted: var(--on-graphite-soft); --link: var(--accent); }
.cb-dark .cb-title { color: #fff; }
.cb-dark .btn:not(.btn-outline) { background: var(--accent); border-color: var(--accent); color: #24282a; }
.cb-dark .btn-outline { color: var(--on-graphite); border-color: var(--on-graphite-soft); }
.cb-accent { background: var(--accent); color: #24282a; --ink: #24282a; --muted: #3d4448; --link: #24282a; }
.cb-accent .cb-icon { background: #24282a; color: var(--accent); }
.cb-cols { display: grid; gap: clamp(14px, 2vw, 24px); }
.cb-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cb-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cb-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cb-cols > .cb { margin: 0 !important; height: 100%; }
@media (max-width: 900px) { .cb-cols-3, .cb-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cb-cols-2, .cb-cols-3, .cb-cols-4 { grid-template-columns: 1fr; } }
.cb-note { padding: 1rem 1.2rem; border-radius: var(--r-m); border-left: 5px solid var(--ink); background: var(--surface); }
.cb-note strong { display: block; margin-bottom: .2rem; }
.cb-note p:last-child { margin-bottom: 0; }
.cb-note-tipp, .cb-note-ok { border-color: #5c8a00; background: #eef6d3; }
.cb-note-warn { border-color: #b8860b; background: #f8edcf; }
.cb-note-info { border-color: var(--graphite); }
.cb-faq { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.cb-faq + .cb-faq { margin-top: -.9rem !important; }
.cb-faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.cb-faq summary::-webkit-details-marker { display: none; }
.cb-faq summary::after { content: "+"; font: 800 1.4rem/1 var(--font-display); }
.cb-faq[open] summary::after { content: "–"; }
.cb-faq .cb-body { padding: 0 1.2rem 1rem; }
.cb-buttons { display: flex; flex-wrap: wrap; gap: .7rem; }
.cb-buttons p { display: contents; }
.cb-buttons br { display: none; }
.cb-center { text-align: center; }
.cb-center p, .cb-center h2, .cb-center h3 { margin-inline: auto; }
.cb-center .cb-buttons { justify-content: center; }
.cb-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-l); background: var(--graphite); color: var(--on-graphite); --ink: var(--on-graphite); --muted: var(--on-graphite-soft); --link: var(--accent); }
.cb-hero h2 { color: #fff; margin-top: 0 !important; }
.cb-hero .btn:not(.btn-outline) { background: var(--accent); border-color: var(--accent); color: #24282a; }
.cb-hero .btn-outline { color: var(--on-graphite); border-color: var(--on-graphite-soft); }
.cb-hero-bars { position: absolute; right: 0; bottom: 0; top: 0; width: 45%; z-index: -1; display: flex; align-items: flex-end; gap: 3%; padding-right: 3%; opacity: .5; }
.cb-hero-bars i { flex: 1; background: var(--graphite-3); border-radius: 2px 2px 0 0; }
.cb-hero-bars i:nth-child(1) { height: 35%; } .cb-hero-bars i:nth-child(2) { height: 70%; background: rgba(197, 241, 53, .45); } .cb-hero-bars i:nth-child(3) { height: 50%; } .cb-hero-bars i:nth-child(4) { height: 85%; } .cb-hero-bars i:nth-child(5) { height: 60%; background: rgba(197, 241, 53, .3); }
.cb-quote { margin-inline: 0; padding: 1.2rem 1.6rem; border-left: 6px solid var(--accent); background: var(--surface); border-radius: 0 var(--r-m) var(--r-m) 0; font: 600 1.35rem/1.35 var(--font-body); }
.cb-quote p { margin-bottom: .4em; }
.cb-quote cite { display: block; font: 400 .95rem/1.3 var(--font-body); color: var(--muted); }
.cb-quote cite::before { content: "– "; }

/* ---------- Empfang ---------- */
.rx-group { margin-top: clamp(32px, 5vw, 56px); }
.rx-group:first-child { margin-top: 0; }
.rx-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.rx-grid > li { max-width: none; }
.rx { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; height: 100%; padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-m); overflow: hidden; isolation: isolate; border: 1px solid var(--line); background: var(--surface); }
.rx > .i { width: 2.8rem; height: 2.8rem; padding: .65rem; border-radius: 50%; background: var(--ink); color: var(--accent); margin-bottom: .3rem; }
.rx h3 { margin: 0; font-size: 1.8rem; line-height: 1; }
.rx p { margin: 0 0 .5rem; color: var(--muted); font-size: 1rem; }
.rx .btn { margin-top: auto; }
.rx-dark { background: var(--graphite); border-color: var(--graphite); color: var(--on-graphite); --ink: var(--on-graphite); --muted: var(--on-graphite-soft); --link: var(--accent); }
.rx-dark > .i { background: var(--accent); color: #24282a; }
.rx-dark h3 { color: #fff; }
.rx-dark .btn:not(.btn-outline) { background: var(--accent); border-color: var(--accent); color: #24282a; }
.rx-accent { background: var(--accent); border-color: var(--accent); color: #24282a; --ink: #24282a; --muted: #3d4448; }
.rx-accent > .i { background: #24282a; color: var(--accent); }
.rx-accent .btn { background: #24282a; border-color: #24282a; color: var(--accent); }
.rx-big { grid-column: span 2; }
@media (max-width: 640px) { .rx-big { grid-column: auto; } }
.rx-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.rx-steps li { counter-increment: s; display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; align-items: start; max-width: none; }
.rx-steps li::before { content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--accent); color: #24282a; font: 800 1.3rem/1 var(--font-display); }
.rx-spot { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-l); background: var(--graphite); color: var(--on-graphite); --ink: var(--on-graphite); --muted: var(--on-graphite-soft); --link: var(--accent); position: relative; overflow: hidden; isolation: isolate; }
.rx-spot h2 { color: #fff; }
.rx-spot .btn { background: var(--accent); border-color: var(--accent); color: #24282a; }
.rx-spot-art { display: flex; align-items: flex-end; gap: 4%; height: 180px; opacity: .9; }
.rx-spot-art i { flex: 1; background: var(--graphite-3); border-radius: 3px 3px 0 0; height: var(--h, 50%); }
.rx-spot-art i:nth-child(3n) { background: rgba(197, 241, 53, .55); }
.rx-spot ul { padding-left: 1.2rem; margin: 0 0 1rem; } .rx-spot li { max-width: none; }
@media (max-width: 760px) { .rx-spot { grid-template-columns: 1fr; } .rx-spot-art { height: 90px; } }
.copy input { width: 100%; padding: .5rem .7rem; border-radius: var(--r-s); border: 1px solid var(--line); background: #fff; color: #24282a; font: 500 .9rem/1.2 ui-monospace, monospace; }

/* ---------- TUNEMOTIONS SELECT ---------- */
.tms-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .tms-grid { grid-template-columns: 1fr; } }
.creator { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--r-m); background: var(--graphite); color: var(--on-graphite); --muted: var(--on-graphite-soft); --link: var(--accent); text-decoration: none; }
.creator strong { display: block; font: 800 1.6rem/1 var(--font-display); color: #fff; }
.creator small { color: var(--on-graphite-soft); }
.creator .avatar { flex: none; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.pillars li { max-width: none; padding: 1.2rem; border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); }
.pillars .i { width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: 50%; background: var(--ink); color: var(--accent); margin-bottom: .5rem; }
.pillars strong { display: block; font: 800 1.5rem/1.05 var(--font-display); margin-bottom: .2rem; }
.pillars span { color: var(--muted); font-size: 1rem; }
.wish { padding: clamp(18px, 3vw, 30px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.wish h2 { font-size: 2.2rem; }
.wish-form { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }
.wish-form label { display: grid; gap: .3rem; font-weight: 600; }
.wish-form input[type=text] { width: 100%; padding: .7rem .8rem; border-radius: var(--r-s); border: 1px solid var(--line); background: #fff; font: inherit; }
.wish-form .wish-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.wish-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .wish-form { grid-template-columns: 1fr; } }
.wish-msg { padding: .9rem 1.1rem; border-radius: var(--r-m); margin: 1rem 0 0; font-weight: 600; }
.wish-msg.ok { background: #eef6d3; border-left: 5px solid #5c8a00; }
.wish-msg.no { background: #f8e4e1; border-left: 5px solid var(--err); }
.wish-closed { padding: 1rem 1.2rem; border-radius: var(--r-m); background: var(--bg); border: 1px dashed var(--ink-soft); margin: 1rem 0 0; }

/* ---------- Team ---------- */
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.team-grid > li { max-width: none; }
.team-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-m); overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.team-card:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(36, 40, 42, .5); }
.team-cover { aspect-ratio: 16 / 7; background: var(--graphite); overflow: hidden; }
.team-cover img { width: 100%; height: 100%; object-fit: cover; }
.team-body { display: grid; gap: .25rem; padding: 0 1.2rem 1.3rem; justify-items: start; }
.team-body .avatar { margin-top: -44px; border: 4px solid var(--surface); }
.team-body .p-name { margin-top: .4rem; }
.team-shows { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.team-shows span { background: #d6d8d2; padding: .1rem .6rem; border-radius: var(--r-s); font-size: .8rem; font-weight: 700; }

/* ---------- Sonstiges ---------- */
.band { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line); }
.empty { padding: 2rem; border-radius: var(--r-m); border: 1px dashed var(--ink-soft); text-align: center; color: var(--muted); }
.page-body { padding-block: clamp(28px, 4vw, 52px) clamp(56px, 8vw, 104px); }
.detail { padding-top: clamp(28px, 4vw, 48px); }
.facts { position: sticky; top: 90px; }
@media (max-width: 900px) { .facts { position: static; } }
.foot { margin-top: 0; }
.foot-claim { font-size: clamp(2.2rem, 6vw, 4rem); }

/* ---------- Startseite ---------- */
.strip { padding-block: clamp(28px, 4vw, 48px) 0; }
.strip-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.strip-list li { max-width: none; display: grid; grid-template-columns: 2.8rem 1fr; column-gap: .9rem; align-items: start; }
.strip-list .i { grid-row: span 2; width: 2.8rem; height: 2.8rem; padding: .65rem; border-radius: 50%; background: var(--ink); color: var(--accent); }
.strip-list strong { font: 800 1.45rem/1.05 var(--font-display); }
.strip-list span { color: var(--muted); font-size: .98rem; line-height: 1.4; }
.tms-feature { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-l); background: var(--graphite); color: var(--on-graphite); --ink: var(--on-graphite); --muted: var(--on-graphite-soft); --link: var(--accent); padding: clamp(28px, 6vw, 72px); }
.tms-feature h2 { color: #fff; font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: .25em; }
.tms-feature p { color: var(--on-graphite); max-width: 52ch; }
.tms-feature .btn:not(.btn-ghost-light) { background: var(--accent); border-color: var(--accent); color: #24282a; }
.tms-feature-art { position: absolute; inset: auto 0 0 0; height: 80%; z-index: -1; display: flex; align-items: flex-end; gap: .5%; -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 85%); mask-image: linear-gradient(90deg, transparent 25%, #000 85%); }
.tms-feature-art i { flex: 1; min-width: 2px; height: calc(var(--h) * 1%); background: var(--graphite-3); border-radius: 2px 2px 0 0; }
.tms-feature-art i:nth-child(7n) { background: rgba(197, 241, 53, .5); }
.ways { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sec-tint { padding-block: clamp(44px, 6vw, 88px); }
.faces { gap: 1.4rem; }

/* Feinschliff */
.prose > :first-child { margin-top: 0; }
.prose .cb-title, .prose .cb h3 { margin-top: 0; }
.prose .cb-icon + .cb-title { margin-top: 0; }
.rx-steps li { display: block; position: relative; padding-left: 3.2rem; min-height: 2.4rem; }
.rx-steps li::before { position: absolute; left: 0; top: 0; }
.creator .avatar-ph { background: var(--accent); color: #24282a; }

/* Symbole auf Lime immer dunkel */
.next-air.is-live, .next-air.is-live .i, .kicker .i, .cb-accent .i, .rx-accent .i:not(.rx > .i), .btn-lime .i, .live-pill.is-on .i { color: #24282a; }
.next-air.is-live > .i { background: transparent; }
.onair, .onair .i { --ink: #24282a; }

/* ---------- Verlauf und Wünsche auf der Startseite ---------- */
.day-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.day-tabs a { padding: .45rem .9rem; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; font-size: .95rem; }
.day-tabs a[aria-current] { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.log { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0; }
.log li { max-width: none; display: grid; grid-template-columns: 3.4rem 48px minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: .65rem .5rem; border-top: 1px solid var(--line); }
.log li.is-wish { background: linear-gradient(90deg, rgba(197, 241, 53, .28), transparent 70%); }
.log time { font: 600 1rem/1 var(--font-body); font-variant-numeric: tabular-nums; color: var(--muted); }
.log .thumb { width: 48px; height: 48px; border-radius: var(--r-s); background: var(--graphite); overflow: hidden; }
.log .thumb img { width: 100%; height: 100%; object-fit: cover; }
.log .t { display: grid; min-width: 0; } .log .t strong, .log .t span { overflow: hidden; text-overflow: ellipsis; }
.badge-wish { display: inline-flex; align-items: center; gap: .35rem; background: var(--accent); color: #24282a; padding: .15rem .6rem; border-radius: var(--r-s); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.badge-wish .i { width: 1em; height: 1em; color: #24282a; }
@media (max-width: 520px) { .log li { grid-template-columns: 3rem minmax(0, 1fr); } .log .thumb { display: none; } .log .badge-wish { grid-column: 2; justify-self: start; } }
.tms-wish { margin-top: clamp(20px, 3vw, 32px); padding: clamp(16px, 2.4vw, 26px); border-radius: var(--r-m); background: rgba(36, 40, 42, .72); border: 1px solid var(--graphite-line); max-width: 760px; }
.tms-wish h3 { color: #fff; font-size: 1.7rem; margin-bottom: .6rem; }
.tms-wish .wish-form { margin-top: 0; }
.tms-wish .wish-form label { color: var(--on-graphite); }
.tms-wish .wish-form .btn { background: var(--accent); border-color: var(--accent); color: #24282a; }
.tms-wish .wish-closed { background: transparent; color: var(--on-graphite); border-color: var(--on-graphite-soft); }
.tms-wish .wish-msg { color: #24282a; }
.wish-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .wish-form { grid-template-columns: 1fr; } }

/* ---------- Wunsch-Fenster ---------- */
.nav-wish { margin-left: .6rem; background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.nav-wish:hover { background: var(--accent); color: var(--graphite); }
.nav-wish[hidden] { display: none; }
.nav-wish + .nav-cta { margin-left: .4rem; }
@media (max-width: 880px) { .nav-wish, .nav-wish + .nav-cta { margin: .6rem 0 0; justify-content: center; } }
.wish-dlg { width: min(30rem, calc(100vw - 2rem)); border: 0; border-radius: 12px; padding: 1.6rem; background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.wish-dlg::backdrop { background: rgba(26, 29, 30, .66); }
.wish-dlg h2 { margin: 0 0 .3rem; }
.wish-dlg-lead { margin: 0 0 1rem; color: var(--ink-soft); }
.wish-dlg-x { position: absolute; top: .5rem; right: .6rem; margin: 0; }
.wish-dlg-x button { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: inherit; padding: .2rem .5rem; }
.wish-dlg .wish-form[hidden], .wish-dlg .wish-msg[hidden] { display: none; }
.wish-dlg .wish-form { grid-template-columns: 1fr; }

/* Wunsch-Kennzeichnung in der Liste "Zuletzt gespielt" */
.hist .t .wish-tag { justify-self: start; margin-top: .2rem; background: var(--accent); color: #24282a; padding: .05rem .5rem; border-radius: var(--r-s); font-weight: 700; font-size: .78rem; }
