/* DB0COE – Design abgeleitet vom Logo: Orange #F47B1F, Rot #D9262B, Schwarz #111 */
:root {
  --orange: #F47B1F; --orange-dark: #d4640d; --red: #D9262B;
  --bg: #ffffff; --bg-alt: #f6f6f7; --surface: #ffffff; --border: #e5e6e8;
  --text: #141414; --muted: #676b73; --heading: #111;
  --ok: #1f9d55; --degraded: #e5a100; --down: #D9262B; --maint: #2f6fdb; --unknown: #8a8f98;
  --shadow: 0 2px 10px rgba(0,0,0,.06), 0 12px 32px rgba(0,0,0,.05);
  --radius: 14px; --radius-sm: 8px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #0f1114; --bg-alt: #161a1f; --surface: #1b2027; --border: #2a3039;
  --text: #e8eaed; --muted: #9aa1ab; --heading: #ffffff;
  --shadow: 0 2px 10px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --bg: #0f1114; --bg-alt: #161a1f; --surface: #1b2027; --border: #2a3039;
    --text: #e8eaed; --muted: #9aa1ab; --heading: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.55; font-size: 16px; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--heading); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
img { max-width: 100%; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--orange); color: #fff; padding: .5rem 1rem; z-index: 100; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; align-items: center; }
.logo { height: 40px; width: auto; display: block; }
.logo-text { fill: var(--heading); }
.nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; flex-wrap: wrap; }
.nav > a { padding: .45rem .7rem; border-radius: 8px; color: var(--text); font-weight: 500; font-size: .95rem; }
.nav > a:hover { background: var(--bg-alt); text-decoration: none; }
.nav > a.active { color: var(--orange-dark); font-weight: 700; }
.nav-tools { display: flex; align-items: center; gap: .4rem; margin-left: .5rem; }
.nav-toggle { display: none; }
.lang { font-size: .8rem; font-weight: 700; padding: .35rem .5rem; border-radius: 6px; border: 1px solid var(--border); color: var(--text); }
.theme-toggle { background: none; border: 1px solid var(--border); border-radius: 6px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
.nav-status { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem !important; border-radius: 999px !important; font-size: .85rem !important; font-weight: 600 !important; border: 1px solid var(--border); }
.nav-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--unknown); box-shadow: 0 0 0 3px color-mix(in srgb, var(--unknown) 25%, transparent); }
.status-ok .dot { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.status-degraded .dot { background: var(--degraded); box-shadow: 0 0 0 3px color-mix(in srgb, var(--degraded) 25%, transparent); }
.status-down .dot { background: var(--down); box-shadow: 0 0 0 3px color-mix(in srgb, var(--down) 25%, transparent); animation: pulse 1.4s infinite; }
.status-maintenance .dot { background: var(--maint); box-shadow: 0 0 0 3px color-mix(in srgb, var(--maint) 25%, transparent); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--down) 25%, transparent);} 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--down) 10%, transparent);} }
.banner { background: var(--orange); color: #fff; font-weight: 600; padding: .6rem 0; text-align: center; }

/* Menü-Knopf statt Leiste, sobald die Punkte nicht mehr in eine Zeile passen */
@media (max-width: 1359px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 8px; padding: .4rem .7rem; color: var(--text); cursor: pointer; font: inherit; }
  .nav-toggle span { width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); padding: 1rem; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav-tools { margin: .5rem 0 0; }
}

/* Buttons & Forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.25rem; border-radius: 10px; font-weight: 650; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 650; text-decoration: none !important; transition: transform .12s, box-shadow .12s, background .12s; }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--red)); color: #fff; box-shadow: 0 6px 18px rgba(244,123,31,.3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(244,123,31,.35); }
.btn-outline { border-color: var(--orange); color: var(--orange-dark); background: transparent; }
.btn-outline:hover { background: color-mix(in srgb, var(--orange) 10%, transparent); }
.btn-ghost { color: var(--text); background: var(--bg-alt); }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: .4rem .8rem; font-size: .85rem; border-radius: 8px; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=datetime-local], input[type=url], select, textarea {
  width: 100%; padding: .65rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
textarea { min-height: 130px; resize: vertical; }
.field { margin-bottom: 1rem; }
.field small, .hint { color: var(--muted); font-size: .83rem; display: block; margin-top: .3rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.check input { margin-top: .3rem; flex-shrink: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.hp { position: absolute; left: -9999px; }
.form-card { max-width: 640px; }

.flash { padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin: 1.25rem 0 0; border: 1px solid; font-weight: 500; }
.flash-success { background: color-mix(in srgb, var(--ok) 12%, var(--surface)); border-color: var(--ok); }
.flash-error { background: color-mix(in srgb, var(--red) 12%, var(--surface)); border-color: var(--red); }
.flash-info { background: color-mix(in srgb, var(--maint) 12%, var(--surface)); border-color: var(--maint); }

/* Layout-Bausteine */
.section { padding: 3rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--orange-dark); margin-bottom: .5rem; }
.page-head { padding: 3rem 0 1.5rem; }
.page-head p { max-width: 720px; font-size: 1.05rem; color: var(--muted); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 4rem 0 3.5rem; background: radial-gradient(1200px 500px at 80% -20%, color-mix(in srgb, var(--orange) 22%, transparent), transparent 60%), radial-gradient(800px 400px at -10% 110%, color-mix(in srgb, var(--red) 14%, transparent), transparent 60%); }
.hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero h1 .freq { background: linear-gradient(90deg, var(--orange), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; max-width: 620px; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-arcs { position: absolute; right: -40px; bottom: -80px; width: 380px; opacity: .08; pointer-events: none; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; } .hero { padding: 2.5rem 0; } }

/* Status */
.status-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.status-overall { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.status-overall .big-dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; }
.status-overall strong { font-size: 1.1rem; display: block; }
.status-overall small { color: var(--muted); }
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1.5rem; border-bottom: 1px solid var(--border); }
.status-list li:last-child { border-bottom: 0; }
.status-list .name { font-weight: 600; }
.status-list .note { display: block; font-size: .85rem; color: var(--muted); font-weight: 400; }
.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill-ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.pill-degraded { color: #a97500; background: color-mix(in srgb, var(--degraded) 18%, transparent); }
.pill-down { color: var(--down); background: color-mix(in srgb, var(--down) 14%, transparent); }
.pill-maintenance { color: var(--maint); background: color-mix(in srgb, var(--maint) 14%, transparent); }
.pill-unknown { color: var(--unknown); background: color-mix(in srgb, var(--unknown) 18%, transparent); }
.pill-planned { color: #7a3fb8; background: color-mix(in srgb, #8e5bd6 16%, transparent); }
.bg-planned { background: #8e5bd6; } .status-planned .dot { background: #8e5bd6; box-shadow: 0 0 0 3px rgba(142,91,214,.25); }
.pill-open { color: var(--down); background: color-mix(in srgb, var(--down) 14%, transparent); }
.pill-monitoring { color: #a97500; background: color-mix(in srgb, var(--degraded) 18%, transparent); }
.pill-resolved { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.bg-ok { background: var(--ok); } .bg-degraded { background: var(--degraded); } .bg-down { background: var(--down); } .bg-maintenance { background: var(--maint); } .bg-unknown { background: var(--unknown); }
.incident { border-left: 4px solid var(--down); padding: 1rem 1.25rem; background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 1rem; border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.incident.monitoring { border-left-color: var(--degraded); } .incident.resolved { border-left-color: var(--ok); opacity: .85; }
.incident h3 { margin-bottom: .25rem; } .incident .meta { font-size: .85rem; color: var(--muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.stat .num { font-size: 2rem; font-weight: 800; color: var(--heading); line-height: 1; }
.stat .lbl { color: var(--muted); font-size: .85rem; margin-top: .3rem; }

/* Daten-Tabelle */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .75rem; }
.spec div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .8rem 1rem; }
.spec dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.spec dd { margin: .15rem 0 0; font-weight: 700; font-size: 1.1rem; color: var(--heading); }
.spec dd.big { font-size: 1.5rem; color: var(--orange-dark); }

/* Karte */
.map { width: 100%; height: 520px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-alt); z-index: 1; }
.map.small { height: 320px; }
.map-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; align-items: start; }
.map-layout > div:first-child { position: sticky; top: 84px; }
@media (max-width: 960px) { .map-layout { grid-template-columns: 1fr; } .map-layout > div:first-child { position: relative; top: auto; } .map { height: 420px; } }
.filterbar { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1rem; }
.filterbar .field { margin: 0; min-width: 180px; }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.legend span::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: .35rem; vertical-align: -1px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.legend .lg-good::before { background: #1f9d55; } .legend .lg-mid::before { background: #e5a100; } .legend .lg-weak::before { background: #f47b1f; } .legend .lg-none::before { background: #8a8f98; } .legend .lg-relay::before { background: #D9262B; border-radius: 3px; }
.leaflet-popup-content { font-family: var(--font); font-size: .9rem; }
.leaflet-popup-content b { font-size: 1rem; }
html[data-theme="dark"] .leaflet-tile { filter: brightness(.7) contrast(1.1) saturate(.8); }
html[data-theme="dark"] .leaflet-popup-content-wrapper, html[data-theme="dark"] .leaflet-popup-tip { background: var(--surface); color: var(--text); }
.map-pin-hint { font-size: .85rem; color: var(--orange-dark); font-weight: 600; }
.marker-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.marker-dot.pick { background: var(--maint); animation: pulse 1.4s infinite; }
.marker-relay { width: 22px; height: 22px; border-radius: 6px; background: var(--red); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.4); }

/* Listen */
.news-item { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.news-item:last-child { border-bottom: 0; }
.news-item time { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.listeners { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.listeners li { display: flex; align-items: center; gap: .75rem; padding: .6rem .9rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.listeners .call { font-weight: 700; font-family: ui-monospace, Consolas, monospace; }
.live-badge { display: inline-flex; align-items: center; gap: .4rem; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .1em; padding: .25rem .6rem; border-radius: 6px; }
.live-badge::before { content: ""; width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.video-frame { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; color: #aaa; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose { max-width: 760px; } .prose h2 { margin-top: 2rem; } .prose h3 { margin-top: 1.5rem; }
.callout { border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 1rem 1.25rem; background: var(--bg-alt); color: var(--muted); }
.placeholder { background: color-mix(in srgb, var(--degraded) 15%, transparent); padding: 0 .25rem; border-radius: 3px; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--bg-alt); padding: .1em .35em; border-radius: 4px; }

/* Admin */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding: 2rem 0; }
.admin-nav { display: flex; flex-direction: column; gap: .15rem; position: sticky; top: 90px; }
.admin-nav a { padding: .5rem .75rem; border-radius: 8px; color: var(--text); }
.admin-nav a.active, .admin-nav a:hover { background: var(--bg-alt); text-decoration: none; color: var(--orange-dark); font-weight: 600; }
.admin-nav .badge { float: right; background: var(--red); color: #fff; font-size: .7rem; border-radius: 999px; padding: .1rem .45rem; font-weight: 700; }
@media (max-width: 860px) { .admin-layout { grid-template-columns: 1fr; } .admin-nav { position: static; flex-direction: row; flex-wrap: wrap; } }
.inline-form { display: inline; }
.actions { display: flex; gap: .4rem; flex-wrap: wrap; }
select.status-select { width: auto; padding: .35rem .6rem; }
.row-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; margin-top: 3rem; font-size: .9rem; background: var(--bg-alt); }
.footer-inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-links a { color: var(--text); }

/* Bearbeitbare Textblöcke */
.page-head .txt { max-width: 720px; font-size: 1.05rem; color: var(--muted); }
.page-head .txt p:last-child, .txt p:last-child, .hero .txt p:last-child { margin-bottom: 0; }
.hero .txt { font-size: 1.15rem; max-width: 620px; margin-bottom: 1em; }
.md-img { margin: 1.25rem 0; }
.md-img img { width: 100%; border-radius: var(--radius-sm); display: block; }
.md-img figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; }

/* Titelbild */
.hero.has-photo { background: #111 center/cover no-repeat; }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,10,12,.88) 0%, rgba(10,10,12,.72) 45%, rgba(10,10,12,.35) 100%); }
.hero.has-photo .hero-inner { position: relative; }
.hero.has-photo h1, .hero.has-photo .txt, .hero.has-photo .eyebrow { color: #fff; }
.hero.has-photo .eyebrow { color: #ffb37a; }
.hero.has-photo .btn-outline { border-color: #fff; color: #fff; }
.hero.has-photo .hero-arcs { display: none; }
.hero-credit { position: absolute; right: 1rem; bottom: .5rem; font-size: .75rem; color: rgba(255,255,255,.7); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .25s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { padding: .5rem .75rem; font-size: .85rem; color: var(--muted); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; z-index: 200; flex-direction: column; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 6px; }
.lightbox figcaption { color: #ddd; margin-top: .75rem; }
.lightbox .lb-close { position: absolute; top: 1rem; right: 1rem; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.lightbox .lb-nav:hover { background: var(--orange); }
.lightbox .lb-prev { left: 1rem; } .lightbox .lb-next { right: 1rem; }
.lightbox.single .lb-nav, .lightbox.single .lb-count { display: none; }
.lightbox .lb-count { color: #aaa; font-size: .8rem; margin-top: .4rem; letter-spacing: .1em; }
.lightbox img { user-select: none; -webkit-user-drag: none; }
@media (max-width: 640px) { .lightbox .lb-nav { width: 42px; height: 42px; font-size: 1.8rem; } .lightbox .lb-prev { left: .4rem; } .lightbox .lb-next { right: .4rem; } }

/* Admin-Editor */
.editor-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.editor-row textarea { min-height: 110px; font-family: ui-monospace, Consolas, monospace; font-size: .9rem; }
.editor-row .preview { font-size: .9rem; background: var(--bg-alt); border-radius: var(--radius-sm); padding: .6rem .8rem; margin-top: .4rem; min-height: 2rem; }
.editor-row .preview p:last-child { margin-bottom: 0; }
.editor-row .changed { color: var(--orange-dark); font-size: .75rem; font-weight: 700; }
@media (max-width: 1100px) { .editor-row { grid-template-columns: 1fr; } }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.media-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.media-card input, .media-card select { font-size: .85rem; padding: .35rem .5rem; margin-top: .35rem; }
.media-card code { display: block; margin-top: .35rem; font-size: .75rem; word-break: break-all; cursor: pointer; }
.dropzone { border: 2px dashed var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; color: var(--muted); }

/* Sprachumschalter (3 Sprachen) */
.lang-switch { display: inline-flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.lang-switch .lang { border: 0; border-radius: 0; padding: .35rem .45rem; }
.lang-switch .lang + .lang { border-left: 1px solid var(--border); }
.lang-switch .lang.active { background: var(--orange); color: #fff; }
.lang-switch .lang:hover { text-decoration: none; background: var(--bg-alt); }
.lang-switch .lang.active:hover { background: var(--orange); }

/* Barrierefreiheit */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.h3 { font-size: 1.15rem; font-weight: 700; }

/* Karten: 2-Klick-Platzhalter */
.map { position: relative; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 1.5rem; text-align: center; background: repeating-linear-gradient(135deg, var(--bg-alt) 0 14px, color-mix(in srgb, var(--bg-alt) 70%, var(--border)) 14px 15px); border-radius: inherit; color: var(--muted); z-index: 2; }
.map-consent svg { color: var(--orange); }
.map-consent p { max-width: 420px; margin: 0; font-size: .92rem; }
.map-consent small { font-size: .78rem; }

/* Reichweite / Höhenprofile */
.cov-consent { display: flex; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1.25rem; padding: 1rem 1.25rem; border-left: 4px solid var(--orange); }
.cov-consent > div { flex: 1 1 320px; }
.cov-consent p { margin: .25rem 0 0; font-size: .88rem; }
.cov-static { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cov-sheet { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: .5rem; }
.cov-sheet img { display: block; width: 100%; height: auto; border-radius: 8px; }
.cov-sheet figcaption { color: #555a62; font-size: .85rem; text-align: center; padding: .35rem 0 .15rem; }
.cov-views { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; }
.cov-map { height: min(78vh, 760px); box-shadow: var(--shadow); }
.cov-map:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.cov-mk-wrap { background: none; border: 0; }
.cov-mk { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; font: 700 11px/1 var(--font); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); cursor: pointer; transition: transform .15s; }
.cov-mk.st-part { color: #1a1a1a; }
.cov-mk:hover, .cov-mk.active { transform: scale(1.25); box-shadow: 0 0 0 3px var(--text), 0 2px 8px rgba(0,0,0,.4); }
.leaflet-marker-icon:focus-visible .cov-mk { box-shadow: 0 0 0 3px #111, 0 0 0 5px #fff; }
.cov-z-far .cov-mk.inner { transform: scale(.42); font-size: 0; }
.cov-z-far .cov-mk.inner:hover, .cov-z-far .cov-mk.inner.active { transform: scale(.8); }
.cov-z-mid .cov-mk.inner { transform: scale(.75); font-size: 10px; }
.cov-relay { display: inline-block; background: linear-gradient(135deg, var(--orange), var(--red)); color: #fff; border-radius: 8px; padding: 4px 9px; font: 800 12px/1.2 var(--font); letter-spacing: .02em; white-space: nowrap; border: 2px solid #fff; box-shadow: 0 6px 18px rgba(244,123,31,.35); }
.cov-ring-lbl { color: var(--orange-dark); font: 700 11px/1 var(--font); white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; pointer-events: none; }
.cov-z-far .cov-ring-lbl.inner { display: none; }
html[data-theme="dark"] .cov-ring-lbl { color: #ffb37a; text-shadow: 0 0 3px #000, 0 0 3px #000; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .cov-ring-lbl { color: #ffb37a; text-shadow: 0 0 3px #000, 0 0 3px #000; } html:not([data-theme="light"]) .leaflet-tile { filter: brightness(.7) contrast(1.1) saturate(.8); } }
.cov-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; margin-top: 1rem; font-size: .9rem; }
.cov-legend-title { font-weight: 700; }
.cov-legend ul { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.cov-legend li { display: inline-flex; align-items: center; gap: .45rem; }
.cov-dot { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); flex: none; }
.st-ok.cov-dot { background: #1f9d55; } .st-part.cov-dot { background: #e5a100; } .st-low.cov-dot { background: #F47B1F; } .st-block.cov-dot { background: #D9262B; }
.cov-src { color: var(--muted); font-size: .8rem; margin: .5rem 0 0; }
.cov-src a, .cov-consent a, .cov .txt a, .cov-explain .txt a, .map-consent a { text-decoration: underline; text-underline-offset: 2px; }
.cov-src a { color: inherit; }
.cov-list { margin: 1.5rem 0 3rem; padding: 0; }
.cov-list summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; list-style-position: inside; }
.cov-list summary:focus-visible { outline: 2px solid var(--orange); border-radius: var(--radius); }
.cov-list[open] summary { border-bottom: 1px solid var(--border); }
.cov-filter { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem 0; }
.cov-filter select { width: auto; }
.cov-table td { vertical-align: middle; }
.cov-st { display: inline-flex; align-items: center; gap: .45rem; }
.cov-nr { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 4px; border-radius: 15px; color: #fff; font-weight: 700; font-size: .85rem; text-decoration: none !important; }
.cov-nr.st-ok { background: #1f9d55; } .cov-nr.st-part { background: #e5a100; color: #1a1a1a; } .cov-nr.st-low { background: #d4640d; } .cov-nr.st-block { background: #D9262B; }
.cov-nr:hover, .cov-nr:focus-visible { outline: 3px solid var(--text); outline-offset: 1px; }
.cov-explain .txt p { margin-bottom: .8em; }
.cov-sample { margin: 1rem 0 0; background: #fff; border-radius: 8px; padding: 4px; border: 1px solid var(--border); }
.cov-sample img { display: block; width: 100%; height: auto; }

/* Profil-Dialog */
.cov-dlg { width: min(1200px, calc(100vw - 2rem)); max-width: none; max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.cov-dlg::backdrop { background: rgba(10,12,15,.78); backdrop-filter: blur(2px); }
.cov-dlg-inner { padding: 1.1rem 1.25rem 1rem; }
.cov-dlg-head { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; }
.cov-dlg-head h2 { font-size: clamp(1.05rem, 2.2vw, 1.35rem); margin: 0 0 .25rem; }
.cov-dlg-meta { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.cov-dlg-close { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-alt); color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.cov-dlg-close:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.cov-dlg-fig { margin-top: .8rem; background: #fff; border-radius: 10px; padding: 4px; border: 1px solid var(--border); aspect-ratio: 1760 / 616; }
.cov-dlg-fig img { display: block; width: 100%; height: auto; }
.cov-dlg-foot { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: .8rem; }
.cov-dlg-nav { width: 48px; height: 48px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--orange), var(--red)); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 4px; box-shadow: 0 6px 18px rgba(244,123,31,.3); }
.cov-dlg-nav:hover { transform: translateY(-1px); }
.cov-dlg-count { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; min-width: 5.5em; text-align: center; }
.cov-dlg .cov-src { text-align: center; }
@media (max-width: 760px) {
  .cov-static { grid-template-columns: 1fr; }
  .cov-hide-sm { display: none; }
  .cov-map { height: 70vh; }
  .cov-dlg { width: 100vw; max-height: 100dvh; border-radius: 0; margin: auto 0; }
  .cov-dlg-inner { padding: .9rem .75rem .75rem; }
  .cov-dlg-fig { overflow-x: auto; aspect-ratio: auto; }
}
/* Navigation mit 8 Punkten auf Desktop einzeilig halten */
@media (min-width: 961px) {
  .header-inner { gap: 1rem; }
  .nav { gap: .1rem; }
  .nav > a { padding: .45rem .55rem; }
  .nav-tools { margin-left: .35rem; gap: .3rem; }
}

/* Reichweite / Linkstreckenprofil */
.lp-top { display: block; }
.lp-form { max-width: none; }
@media (min-width: 900px) { .lp-form .lp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lp-bandnote { max-width: 900px; margin: .5rem 0 0; }
.lp-form .h3, .lp-info .h3 { margin-top: 0; }
.lp-row { display: flex; gap: .5rem; align-items: stretch; }
.lp-row input { flex: 1; min-width: 0; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .02em; }
.lp-height { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.lp-height legend { font-weight: 600; font-size: .92rem; margin-bottom: .35rem; padding: 0; }
.lp-presets { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .5rem; }
.chip { border: 1px solid var(--border); background: var(--bg-alt); color: var(--text); border-radius: 999px; padding: .35rem .8rem; font: inherit; font-size: .85rem; cursor: pointer; }
.chip:hover { border-color: var(--orange); }
.chip[aria-pressed="true"] { background: color-mix(in srgb, var(--orange) 14%, var(--surface)); border-color: var(--orange); color: var(--heading); font-weight: 600; }
.lp-height input { max-width: 140px; }
.lp-grid { gap: 0 1rem; }
.lp-msg { min-height: 1.4em; margin: .75rem 0 0; font-size: .92rem; color: var(--muted); }
.lp-msg.err { color: var(--red); font-weight: 600; }
.lp-info .lp-dl { display: grid; gap: .6rem; margin: 0 0 1rem; }
.lp-dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--border); padding-bottom: .45rem; }
.lp-dl dt { color: var(--muted); font-size: .88rem; }
.lp-dl dd { margin: 0; font-weight: 700; color: var(--heading); text-align: right; }
.lp-dl dd.big { color: var(--orange-dark); font-size: 1.15rem; }
.lp-dev { font-size: .9rem; background: color-mix(in srgb, var(--orange) 9%, transparent); border-left: 3px solid var(--orange); padding: .6rem .8rem; border-radius: 6px; }
.lp-result { margin-top: 1.5rem; }
.lp-sheet { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.lp-empty { margin: 0; padding: 2.5rem 1.5rem; text-align: center; color: #676b73; }
.lp-canvas-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lp-canvas-wrap canvas { display: block; width: 100%; min-width: 760px; height: auto; aspect-ratio: 1760 / 682; }
.lp-actions { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; margin-top: .9rem; }
.lp-notes { display: flex; flex-direction: column; color: var(--muted); font-size: .82rem; margin-left: auto; text-align: right; }
.lp-mapsec .section-head { margin-bottom: .5rem; }
.lp-maptext { max-width: 780px; color: var(--muted); margin-bottom: 1rem; }
.lp-preview { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: .5rem; box-shadow: var(--shadow); }
.lp-preview img { display: block; width: 100%; height: auto; max-width: 980px; margin: 0 auto; }
.lp-mapbar { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; align-items: center; margin-bottom: .6rem; }
.lp-mapbar .check { margin: 0; }
.lp-seg { display: inline-flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.lp-seg-l { font-size: .88rem; color: var(--muted); margin-right: .2rem; }
.lp-seg label { position: relative; }
.lp-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.lp-seg label span { display: inline-block; padding: .3rem .7rem; border: 1px solid var(--border); border-radius: 8px; font-size: .85rem; background: var(--surface); }
.lp-seg input:checked + span { background: linear-gradient(135deg, var(--orange), var(--red)); color: #fff; border-color: transparent; font-weight: 700; }
.lp-seg input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.lp-map { height: min(78vh, 720px); box-shadow: var(--shadow); }
.lp-map:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.lp-grid-lbl { pointer-events: none; }
.lp-grid-lbl span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); color: #1f242c; font: 700 12px/1 var(--font); white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff; }
.lp-grid-lbl.lvl2 span { font-size: 26px; opacity: .55; } .lp-grid-lbl.lvl4 span { font-size: 15px; } .lp-grid-lbl.lvl6 span { font-size: 12px; } .lp-grid-lbl.lvl8 span, .lp-grid-lbl.lvl10 span { font-size: 11px; font-weight: 600; }
html[data-theme="dark"] .lp-grid-lbl span { color: #f1f3f5; text-shadow: 0 0 3px #000, 0 0 3px #000; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .lp-grid-lbl span { color: #f1f3f5; text-shadow: 0 0 3px #000, 0 0 3px #000; } }
.lp-cmp { margin-top: .5rem; padding-top: .5rem; border-top: 1px solid var(--border); display: grid; gap: .2rem; }
.lp-cmp div { display: flex; justify-content: space-between; gap: 1rem; }
.lp-cmp span { color: var(--muted); }
.lp-prefill-note { background: color-mix(in srgb, var(--ok) 10%, transparent); border-left: 3px solid var(--ok); padding: .5rem .7rem; border-radius: 6px; color: var(--text) !important; }
@media (max-width: 900px) { .lp-top { grid-template-columns: 1fr; } .lp-notes { margin-left: 0; text-align: left; } }
.lp-mapsec h2, #lp-sheet { scroll-margin-top: 90px; }
.lp-tomap { white-space: nowrap; font-weight: 600; }

/* Linkstrecke: Funkbetrieb-Stufen und Locator am Mauszeiger */
.lv-green.cov-dot { background: #1f9d55; } .lv-yellow.cov-dot { background: #e5a100; }
.lv-red.cov-dot { background: transparent; border: 2px solid #D9262B; box-shadow: none; }
/* Ampel-Hinweis „grobe Rechnung“ */
.lp-rough { display: flex; gap: .9rem; align-items: flex-start; margin-top: 1rem; padding: .85rem 1rem; border: 1px solid #f1d39a; background: #fff8e8; border-radius: 10px; font-size: .93rem; max-width: 62rem; }
.lp-rough p { margin: 0 0 .3rem; } .lp-rough a { font-weight: 600; white-space: nowrap; }
.lp-lamp { display: inline-flex; flex-direction: column; gap: 3px; padding: 5px 4px; background: #2b313b; border-radius: 7px; flex: none; margin-top: .15rem; }
.lp-lamp i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.lv-dot { display: inline-block; width: .7em; height: .7em; border-radius: 50%; vertical-align: baseline; }
.lp-lamp .lv-green, .lv-dot.lv-green { background: #1f9d55; } .lp-lamp .lv-yellow, .lv-dot.lv-yellow { background: #e5a100; } .lp-lamp .lv-red, .lv-dot.lv-red { background: #D9262B; }
.rep-details { border: 1px solid var(--border, #e5e6e8); border-radius: 10px; padding: .6rem 1rem .2rem; margin: .4rem 0 1rem; }
.rep-details legend { font-weight: 700; font-size: .95rem; padding: 0 .35rem; }
.rep-details > .hint { margin: 0 0 .6rem; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .lp-rough { background: #3a2f12; border-color: #6b5520; } }
html[data-theme="dark"] .lp-rough { background: #3a2f12; border-color: #6b5520; }
.lp-cursor { background: rgba(255,255,255,.92); color: #141414; border-radius: 6px; padding: 3px 8px; font: 600 12px/1.3 ui-monospace, Consolas, monospace; box-shadow: 0 1px 4px rgba(0,0,0,.25); }

/* Newsletter-Archiv */
.nl-issues { display: grid; gap: .8rem; max-width: 52rem; }
.nl-issue { padding: 0; }
.nl-issue summary { cursor: pointer; list-style: none; display: flex; gap: 1rem; align-items: baseline; padding: 1rem 1.25rem; font-weight: 700; }
.nl-issue summary::-webkit-details-marker { display: none; }
.nl-issue summary::after { content: '+'; margin-left: auto; color: var(--orange-dark); font-size: 1.2rem; line-height: 1; }
.nl-issue[open] summary::after { content: '–'; }
.nl-issue summary time { color: var(--muted); font-weight: 600; font-size: .9rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nl-issue .nl-body { padding: 0 1.25rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.nl-issue .nl-link { padding: 0 1.25rem 1rem; margin: 0; font-size: .85rem; }
/* Hauptmenü: etwas enger, damit alle Punkte in eine Zeile passen */
/* Kopfzeile etwas breiter als der Inhalt, Menüpunkte etwas enger, damit alles in eine Zeile passt */
.wrap.header-inner { width: min(1320px, 100% - 2.5rem); }
@media (min-width: 1360px) { .nav > a { padding: .45rem .44rem; font-size: .92rem; } .header-inner { gap: 1rem; } }
/* Statistik (Verwaltung) */
.pv-chart { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; align-items: end; height: 220px; padding-top: 1.2rem; }
.pv-col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; }
.pv-bar { width: 100%; min-height: 2px; background: var(--orange); border-radius: 3px 3px 0 0; }
.pv-bar.we { background: color-mix(in srgb, var(--orange) 60%, var(--red)); }
.pv-n { font-size: .62rem; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 2px; white-space: nowrap; }
.pv-d { font-size: .68rem; color: var(--muted); margin-top: 4px; white-space: nowrap; }
.pv-count { font-size: .85rem; }
/* Stationsangaben (Rechner und Empfangsbericht) */
.st-profiles { margin: .2rem 0 .4rem; }
.st-pair { display: flex; gap: .5rem; }
.st-pair select { flex: 1 1 auto; min-width: 0; }
.st-pair input { flex: 0 0 6.5rem; }
.lp-own, .rep-own { border-top: 1px dashed var(--border); padding-top: .8rem; margin: .4rem 0 .8rem; }
.rep-details .check { display: flex; gap: .5rem; align-items: flex-start; margin: .25rem 0; }
.lp-own .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .lp-own .grid-2 { grid-template-columns: 1fr; } }
@keyframes lp-flash { 0% { box-shadow: 0 0 0 0 rgba(244,123,31,.7); } 70% { box-shadow: 0 0 0 10px rgba(244,123,31,0); } 100% { box-shadow: none; } }
.lp-flash { animation: lp-flash 1.2s ease-out 2; border-color: var(--orange) !important; }
.lp-picked { display: block; margin-top: .4rem; padding: .45rem .7rem; border-radius: 8px; background: color-mix(in srgb, #1f9d55 12%, transparent); color: inherit; font-weight: 600; font-size: .9rem; }
.lp-form { scroll-margin-top: 84px; }
.lp-counter { display: inline-flex; align-items: center; gap: .45rem; margin: .6rem 0 0; font-size: .9rem; color: var(--muted); }
.lp-counter strong { color: var(--heading, inherit); font-variant-numeric: tabular-nums; }
.lp-counter svg { color: var(--orange); }

/* ---------------------------------------------------------------- WebRX (27.10.2026) */
.wrx-live { padding: 0; overflow: hidden; margin-bottom: 1.5rem; }
.wrx-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.wrx-led { display: flex; align-items: center; gap: 1rem; min-width: 0; flex: 1 1 320px; }
.wrx-led-dot { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--unknown); position: relative; transition: background .25s, box-shadow .25s;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.25), inset 0 3px 6px rgba(255,255,255,.35); }
.wrx-led-dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid transparent; transition: border-color .25s; }
.wrx-led[data-state="free"] .wrx-led-dot { background: var(--ok); box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 18%, transparent), inset 0 -4px 8px rgba(0,0,0,.25), inset 0 3px 6px rgba(255,255,255,.35); }
.wrx-led[data-state="busy"] .wrx-led-dot { background: radial-gradient(circle at 40% 35%, #ffb070, var(--orange) 45%, var(--red)); box-shadow: 0 0 22px 4px color-mix(in srgb, var(--orange) 55%, transparent), inset 0 -4px 8px rgba(0,0,0,.2); animation: wrx-glow 1.1s ease-in-out infinite; }
.wrx-led[data-state="offline"] .wrx-led-dot { background: var(--unknown); }
.wrx-led[data-state="offline"] .wrx-led-dot::after { border-color: var(--down); }
@keyframes wrx-glow { 50% { box-shadow: 0 0 34px 8px color-mix(in srgb, var(--orange) 40%, transparent), inset 0 -4px 8px rgba(0,0,0,.2); } }
@media (prefers-reduced-motion: reduce) { .wrx-led[data-state="busy"] .wrx-led-dot { animation: none; } }
.wrx-led-txt { display: flex; flex-direction: column; min-width: 0; }
.wrx-led-txt strong { font-size: 1.3rem; color: var(--heading); line-height: 1.2; }
.wrx-led-txt small { color: var(--muted); font-size: .9rem; }
.wrx-timer { margin-left: auto; font: 700 1.6rem/1 ui-monospace, Consolas, monospace; color: var(--orange-dark); font-variant-numeric: tabular-nums; }
.wrx-rx { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); }
.wrx-rx .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--unknown); }
.wrx-rx.ok .dot { background: var(--ok); } .wrx-rx.warn .dot { background: var(--degraded); } .wrx-rx.down .dot { background: var(--down); animation: blink 1s infinite; }
.wrx-body { padding: 1.5rem; }
.wrx-err { color: var(--red); font-weight: 600; margin: .25rem 0 .75rem; }
.wrx-controls { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.wrx-play { width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--orange), var(--red)); box-shadow: 0 6px 18px rgba(244,123,31,.35); display: grid; place-items: center; flex: none; }
.wrx-play:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrx-play .ico-stop { width: 18px; height: 18px; background: #fff; border-radius: 3px; }
.wrx-ctl-mid { display: flex; flex-direction: column; gap: .4rem; min-width: 0; flex: 1 1 220px; }
.wrx-call { font-weight: 700; font-family: ui-monospace, Consolas, monospace; }
.wrx-vol { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); max-width: 320px; }
.wrx-vol input { flex: 1; accent-color: var(--orange); padding: 0; border: 0; }
.wrx-msg { font-size: .85rem; }
.wrx-tap { margin-bottom: 1rem; }
.wrx-viz { position: relative; display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.wrx-viz canvas { width: 100%; height: 140px; display: block; border-radius: var(--radius-sm); background: #07090c; grid-column: 1; grid-row: 1; }
.wrx-axis { grid-column: 2; grid-row: 1; position: relative; height: 140px; width: 3.4em; font: 600 .7rem/1 ui-monospace, Consolas, monospace; color: var(--muted); }
.wrx-axis span { position: absolute; left: 0; transform: translateY(-50%); white-space: nowrap; } /* 0–4 kHz von unten nach oben */
.wrx-axis span:last-child { transform: translateY(-100%); }
.wrx-meter { grid-column: 1 / -1; height: 8px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); overflow: hidden; }
.wrx-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ok), var(--degraded) 70%, var(--red)); transition: width .08s linear; }
.wrx-grid { margin-bottom: 1.5rem; }
.wrx-grid.no-map { grid-template-columns: 1fr; }
.wrx-map { height: 420px; }
.wrx-count { display: inline-grid; place-items: center; min-width: 1.6em; height: 1.6em; padding: 0 .4em; margin-left: .3rem; border-radius: 999px; background: var(--orange); color: #fff; font-size: .8rem; vertical-align: middle; }
.listeners li.me { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 8%, var(--surface)); }
.marker-listener { background: var(--surface); color: var(--heading); border: 2px solid var(--orange); border-radius: 6px; padding: 1px 6px; font: 700 11px/1.3 ui-monospace, Consolas, monospace; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.3); transform: translate(-50%, -50%); display: inline-block; }
.wrx-act { margin-bottom: 1.5rem; }
.wrx-act-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; }
.wrx-stats { display: flex; gap: 1.25rem; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.wrx-stats b { color: var(--heading); font-size: 1.15rem; margin-right: .25rem; }
.wrx-tl { position: relative; margin: 1rem 0 1.75rem; }
.wrx-tl-bars { position: relative; height: 34px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--border); overflow: hidden; }
.wrx-tl-bars i { position: absolute; top: 3px; bottom: 3px; min-width: 2px; border-radius: 2px; background: var(--orange); opacity: .9; }
.wrx-tl-bars i.q-good { background: var(--ok); } .wrx-tl-bars i.q-poor { background: var(--red); } .wrx-tl-bars i.run { animation: blink 1s infinite; }
.wrx-tl-ticks { position: relative; height: 1rem; font: 600 .7rem/1 ui-monospace, Consolas, monospace; color: var(--muted); }
.wrx-tl-ticks span { position: absolute; top: .35rem; transform: translateX(-50%); white-space: nowrap; }
.wrx-tl-ticks span:last-child { transform: translateX(-100%); }
.wrx-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.wrx-table th, .wrx-table td { text-align: left; padding: .45rem .7rem; border-bottom: 1px solid var(--border); }
.wrx-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.q-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .4rem; background: var(--orange); }
.q-dot.q-good { background: var(--ok); } .q-dot.q-poor { background: var(--red); }
.wrx-info h3 { margin-top: 0; }
@media (max-width: 600px) {
  .wrx-head, .wrx-body { padding: 1rem; }
  .wrx-led-dot { width: 38px; height: 38px; }
  .wrx-led-txt strong { font-size: 1.1rem; }
  .wrx-timer { font-size: 1.25rem; }
  .wrx-map { height: 320px; }
}
/* Empfangsberichte: kompaktes Formular über der Karte (28.10.) */
.rep-page-head { padding-bottom: 1rem; }
.rep-form { padding: 1rem 1.25rem .9rem; margin-bottom: 1.25rem; }
.rep-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; margin-bottom: .7rem; }
.rep-head h2 { font-size: 1.15rem; margin: 0; }
.rep-head .txt { font-size: .86rem; color: var(--muted); }
.rep-head .txt p { margin: 0; }
.rep-form label, .rep-form .lbl { font-size: .82rem; margin-bottom: .2rem; }
.rep-form .lbl { display: block; font-weight: 600; }
.rep-form input[type=text], .rep-form input[type=number], .rep-form select, .rep-form textarea { padding: .45rem .6rem; }
.rep-form .field { margin: 0; }
.rep-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem .9rem; }
.rep-row .f-call { flex: 0 1 9.5rem; }
.rep-row .f-loc { flex: 1 1 17rem; max-width: 22rem; }
.rep-row .f-loc .st-pair input { flex: 1 1 auto; min-width: 0; }
.rep-row .f-loc .btn { white-space: nowrap; flex: none; }
.rep-row .f-aud .lp-seg { flex-wrap: nowrap; }
.rep-row .f-aud .lp-seg span { padding: .42rem .7rem; }
.rep-rst { display: flex; gap: .6rem; }
.rep-rst select { width: auto; min-width: 5.2rem; }
.rep-loc-hint { margin: .3rem 0 .5rem; }
.rep-loc-hint .map-pin-hint { margin-left: .5rem; font-size: inherit; }
.rep-station { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; }
.rep-station .lbl { margin: 0; }
.rep-station .st-profiles { margin: 0; }
.rep-form .rep-own { margin: .6rem 0 0; padding-top: .6rem; }
.rep-form .rep-own .grid-2 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .6rem .9rem; margin-bottom: .6rem; }
.rep-more { margin-top: .6rem; border: 1px solid var(--border); border-radius: 10px; }
.rep-more summary { cursor: pointer; padding: .45rem .8rem; font-size: .86rem; font-weight: 600; color: var(--orange-dark); }
.rep-more summary:focus-visible { outline: 2px solid var(--orange); border-radius: 10px; }
.rep-more[open] summary { border-bottom: 1px solid var(--border); }
.rep-more-body { padding: .6rem .8rem .8rem; }
.rep-more-body > .hint { margin: 0 0 .6rem; }
.rep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .6rem .9rem; margin-bottom: .6rem; }
.rep-more textarea { min-height: 0; }
.rep-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-top: .8rem; }
.rep-foot .f-vis { flex: 0 1 19rem; }
.rep-foot .f-consent { flex: 1 1 22rem; font-size: .8rem; line-height: 1.35; margin: 0; }
.rep-foot .btn { flex: none; margin-left: auto; }
#vis-hint { font-size: .76rem; margin-top: .45rem; }
.rep-map-wrap { position: relative; }
.rep-pick-tip { position: absolute; top: .75rem; left: 50%; transform: translateX(-50%); z-index: 500; background: var(--surface); color: var(--text); border: 2px solid var(--orange); border-radius: 999px; padding: .35rem .9rem; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow); pointer-events: none; }
@media (max-width: 640px) {
  .rep-form { padding: .9rem; }
  .rep-row .f-call, .rep-row .f-loc { flex: 1 1 100%; max-width: none; }
  .rep-foot .btn { width: 100%; }
}
.rep-station .lp-seg label span { padding: .26rem .55rem; font-size: .8rem; }
.rep-foot .f-vis { flex: 0 1 22rem; }
.rep-foot .f-vis select { font-size: .9rem; }
/* Empfangsberichte: kompakte Liste (28.10.) */
.rep-list { margin: 1.5rem 0 3rem; padding: .9rem 1.1rem; }
.rep-list h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.rep-table { font-size: .88rem; }
.rep-table th, .rep-table td { padding: .32rem .55rem; vertical-align: middle; white-space: nowrap; }
.rep-table th { font-size: .72rem; letter-spacing: .04em; }
.rep-table tbody tr:hover { background: color-mix(in srgb, var(--orange) 6%, transparent); }
.rep-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.rep-table .c-date, .rep-table .c-loc { font-variant-numeric: tabular-nums; }
.rep-table .c-loc { font-family: ui-monospace, Consolas, monospace; font-size: .84rem; }
.rep-table .c-st { color: var(--muted); font-size: .8rem; max-width: 22rem; overflow: hidden; text-overflow: ellipsis; }
.rep-table .rep-del { padding: .1rem .45rem; font-size: .72rem; margin-left: .4rem; }
.rep-more-rows { margin-top: .6rem; }
@media (max-width: 640px) {
  .rep-list { padding: .8rem .9rem; }
  .rep-table thead { display: none; }
  .rep-table, .rep-table tbody { display: block; }
  .rep-table tr { display: grid; grid-template-columns: auto 1fr auto; gap: .05rem .7rem; align-items: baseline; padding: .45rem 0; border-bottom: 1px solid var(--border); }
  .rep-table td { padding: 0; border: 0; white-space: normal; }
  .rep-table .c-call { grid-column: 1; grid-row: 1; }
  .rep-table .c-rep { grid-column: 2; grid-row: 1; }
  .rep-table .c-km { grid-column: 3; grid-row: 1; }
  .rep-table .c-loc { grid-column: 1; grid-row: 2; color: var(--muted); font-size: .78rem; }
  .rep-table .c-st { grid-column: 2; grid-row: 2; min-width: 0; max-width: none; white-space: nowrap; font-size: .75rem; }
  .rep-table .c-est { grid-column: 1 / -1; grid-row: 3; font-size: .78rem; }
  .rep-table .c-date { grid-column: 3; grid-row: 2; color: var(--muted); font-size: .78rem; text-align: right; white-space: nowrap; }
  .rep-table .empty { visibility: hidden; }
  .rep-table .c-est.empty { display: none; }
}

/* ===== Neuigkeiten prominent (04.11.2026) ===== */
.nav-new { display: inline-block; width: 8px; height: 8px; margin-left: .3rem; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 22%, transparent); vertical-align: .35em; }
.nav > a .nav-new { margin-left: .22rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Teaser im Kopfbereich der Startseite */
.hero-news { display: inline-flex; align-items: center; gap: .6rem; max-width: 100%; margin-bottom: 1.1rem; padding: .3rem .85rem .3rem .3rem; border-radius: 999px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--orange) 45%, var(--border)); color: var(--text); font-size: .92rem; font-weight: 600; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.hero-news:hover { text-decoration: none; border-color: var(--orange); transform: translateY(-1px); }
.hero-news-tag { flex: none; padding: .2rem .6rem; border-radius: 999px; background: linear-gradient(90deg, var(--orange), var(--red)); color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero-news-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.hero-news-arrow { flex: none; color: var(--orange-dark); }
.hero.has-photo .hero-news { background: rgba(20,20,24,.72); color: #fff; border-color: rgba(255,179,122,.55); }
.hero.has-photo .hero-news-arrow { color: #ffb37a; }
/* Abschnitt direkt unter dem Kopfbereich */
.news-section { padding-top: 2.5rem; border-bottom: 1px solid var(--border); }
.news-section .section-head { margin-bottom: 1.25rem; }
.news-section h2 { margin-bottom: 0; }
.news-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.25rem; align-items: start; }
.news-grid-single { grid-template-columns: 1fr; }
.news-meta { display: flex; align-items: center; gap: .55rem; margin-bottom: .45rem; }
.news-meta time { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.news-badge { padding: .12rem .5rem; border-radius: 999px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.news-feature { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.75rem 1.5rem; box-shadow: var(--shadow); overflow: hidden; }
.news-feature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--orange), var(--red)); }
.news-feature h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: .6rem; }
.news-feature h3 a { color: var(--heading); }
.news-feature .news-body { max-height: 22rem; overflow: auto; }
.news-body .md-img img { border-radius: var(--radius-sm); }
.news-side { display: flex; flex-direction: column; gap: .75rem; }
.news-card { display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .9rem 1.1rem; color: var(--text); transition: border-color .15s, transform .15s; }
.news-card:hover { text-decoration: none; border-color: var(--orange); transform: translateY(-1px); }
.news-card .news-meta { margin-bottom: .25rem; }
.news-card-title { display: block; color: var(--heading); font-size: 1rem; line-height: 1.3; }
.news-card-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .25rem; font-size: .9rem; color: var(--muted); }
/* Newsletter-Box unten jetzt allein */
.nl-band { display: block; }
.nl-card { max-width: 760px; margin-inline: auto; }
/* Seite /neuigkeiten */
.news-page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; }
.news-list { display: flex; flex-direction: column; gap: 1.25rem; }
.news-entry { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.6rem; scroll-margin-top: 90px; }
.news-entry.is-latest { box-shadow: var(--shadow); border-left: 5px solid var(--orange); }
.news-entry h2 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: .5rem; }
.news-entry:target { border-color: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 25%, transparent); }
.news-aside { position: sticky; top: 90px; }
@media (max-width: 900px) {
  .news-grid, .news-page { grid-template-columns: 1fr; }
  .news-aside { position: static; }
  .news-feature .news-body { max-height: none; }
}
@media (max-width: 640px) {
  .news-feature { padding: 1.25rem 1.2rem 1.2rem 1.4rem; }
  .news-entry { padding: 1.15rem 1.2rem; }
}

/* ---------- Empfangsberichte: 2 m oder ATV (Pflichtangabe, 06.11.2026) ---------- */
.rep-band { border: 0; padding: 0; margin: 0 0 .7rem; min-width: 0; }
.rep-band legend { padding: 0; margin-bottom: .25rem; }
.rep-band .lp-seg span { padding: .42rem .8rem; }
.rep-band:has(input:invalid) .lp-seg span { border-color: var(--orange); }
.band-tag { display: inline-block; font-size: .72rem; font-weight: 700; line-height: 1.35; padding: 0 .38rem; border-radius: 5px; white-space: nowrap; vertical-align: 1px;
  background: rgba(244,123,31,.14); color: #a8500c; }
.band-tag.band-atv { background: rgba(37,99,235,.13); color: #1d4ed8; }
html[data-theme="dark"] .band-tag { color: #ffb27a; } html[data-theme="dark"] .band-tag.band-atv { color: #93b4ff; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .band-tag { color: #ffb27a; } html:not([data-theme="light"]) .band-tag.band-atv { color: #93b4ff; } }
.filterbar .f-bandsel { min-width: 150px; }
.marker-dot.atv { border-radius: 3px; transform: rotate(45deg) scale(.88); }
.legend .lg-atv::before { background: #8a8f98; border-radius: 2px; transform: rotate(45deg) scale(.85); }
