/* Antenne Geestland – wenige Farben, mobil zuerst */
:root {
  --grund: #f6f3ec;      /* Sand */
  --karte: #ffffff;
  --tinte: #14231e;
  --leise: #5c6b65;
  --linie: #e4dfd3;
  --geest: #1f5c4a;      /* Geestgrün */
  --sonne: #f2a93b;      /* ein Akzent */
  --rund: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--grund); color: var(--tinte);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--geest); }
.wrap { width: 100%; max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* Kopfleiste */
.leiste { position: sticky; top: 0; z-index: 10; background: rgba(246,243,236,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.leiste-innen { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.marke { display: flex; align-items: center; gap: 10px; color: var(--tinte); text-decoration: none; font-size: 18px; letter-spacing: .2px; }
.marke b { color: var(--geest); }
.mini-play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--geest); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; }
body.unten .mini-play, body.spielt .mini-play { opacity: 1; pointer-events: auto; }
.mini-play svg { width: 20px; height: 20px; fill: currentColor; }

/* Bühne mit Player */
.buehne { background: var(--geest); color: #fff; }
.buehne-innen { display: grid; grid-template-columns: 1fr; gap: 20px; padding-top: 32px; padding-bottom: 36px; justify-items: center; text-align: center; }
.cover { width: 168px; height: 168px; border-radius: var(--rund); background: rgba(255,255,255,.08); color: rgba(255,255,255,.55); display: grid; place-items: center; overflow: hidden; box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.cover svg { width: 56%; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.live { margin: 0; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.75); display: inline-flex; align-items: center; gap: 8px; }
.punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--sonne); }
body.spielt .punkt { animation: puls 1.6s infinite; }
@keyframes puls { 50% { opacity: .25; } }
h1 { margin: 6px 0 2px; font-size: 28px; line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.kuenstler { margin: 0; font-size: 17px; color: rgba(255,255,255,.85); }
.sendung { margin: 12px 0 0; font-size: 14px; color: rgba(255,255,255,.7); min-height: 1.5em; }
.sendung b { color: #fff; font-weight: 600; }
.play { display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer; background: var(--sonne); color: var(--tinte); font-family: inherit; font-size: 18px; font-weight: 600; line-height: 1; padding: 14px 28px 14px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .1s; }
.play:active { transform: scale(.97); }
.play svg { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--tinte); fill: var(--sonne); }
.play:focus-visible, .mini-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.i-stop { display: none; }
body.spielt .i-play { display: none; }
body.spielt .i-stop { display: block; }
body.laedt .play-text::after { content: " …"; }
.hinweis { margin: 0; font-size: 14px; color: #ffe1b0; min-height: 1em; }

@media (min-width: 760px) {
  .buehne-innen { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; align-items: center; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
  .cover { width: 200px; height: 200px; }
  h1 { font-size: 36px; }
  .hinweis { grid-column: 1 / -1; }
}

/* Abschnitte */
.block { padding-top: 36px; }
.block:last-of-type { padding-bottom: 40px; }
h2 { font-size: 22px; margin: 0 0 16px; }
h2::before { content: ""; display: inline-block; width: 6px; height: 18px; background: var(--sonne); border-radius: 3px; margin-right: 10px; vertical-align: -2px; }
.leer { color: var(--leise); }

/* Nachrichten aus dem Norden */
.news { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .news { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .news { grid-template-columns: 1fr 1fr 1fr; } }
.meldung-karte { display: flex; flex-direction: column; text-align: left; width: 100%; padding: 0; border: 1px solid var(--linie); background: var(--karte); border-radius: var(--rund); overflow: hidden; cursor: pointer; font: inherit; color: inherit; transition: box-shadow .15s, transform .15s; }
.meldung-karte:hover { box-shadow: 0 6px 20px rgba(20,35,30,.08); transform: translateY(-1px); }
.meldung-karte:focus-visible { outline: 3px solid var(--geest); outline-offset: 2px; }
.meldung-karte img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--linie); }
.meldung-karte .inhalt { padding: 14px 16px 16px; }
.meldung-karte h3 { font-size: 17px; line-height: 1.3; margin: 4px 0 6px; }
.meldung-karte p { margin: 0; color: var(--leise); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.datum { font-size: 13px; color: var(--leise); margin: 0; }
.news .meldung-karte:first-child { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .news .meldung-karte:first-child { flex-direction: row; }
  .news .meldung-karte:first-child img { width: 55%; aspect-ratio: auto; min-height: 260px; }
  .news .meldung-karte:first-child .inhalt { padding: 24px; align-self: center; }
  .news .meldung-karte:first-child h3 { font-size: 24px; }
}

/* Gerade im Radio */
.meldungen { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--linie); }
.meldungen li { position: relative; padding: 0 0 18px 18px; }
.meldungen li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--geest); }
.meldungen .text { margin: 2px 0 0; }
.meldungen .text.kurz { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.meldungen button { border: 0; background: none; padding: 0; color: var(--geest); font: inherit; font-size: 14px; cursor: pointer; text-decoration: underline; }

/* Artikel-Dialog */
.artikel { width: min(720px, calc(100% - 24px)); max-height: calc(100% - 24px); border: 0; border-radius: var(--rund); padding: 0 0 24px; background: var(--karte); color: var(--tinte); }
.artikel::backdrop { background: rgba(20,35,30,.55); }
.artikel { position: relative; }
.artikel form { position: absolute; top: 0; right: 0; z-index: 1; }
#artikel-bild { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.artikel .datum, .artikel h2, .artikel-text { padding: 0 20px; }
.artikel .datum { margin-top: 18px; padding-right: 56px; }
.artikel h2 { font-size: 24px; margin: 6px 0 12px; }
.artikel h2::before { display: none; }
.artikel-text { font-size: 17px; line-height: 1.65; }
.artikel-text img { max-width: 100%; height: auto; }
.zu { margin: 8px 8px 0 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(20,35,30,.75); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; z-index: 1; }

/* Fuß */
.fuss { background: var(--tinte); color: rgba(255,255,255,.8); font-size: 14px; }
.fuss-innen { padding-top: 28px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.fuss p { margin: 0 0 10px; }
.fuss a { color: #fff; }
.fuss .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fuss .klein { font-size: 12px; color: rgba(255,255,255,.55); margin: 0; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
