/* =========================================================
   AfD-Vellmar-App · Redesign 2026
   Klar · Cinematisch · Professionell
   ========================================================= */
:root {
  --navy-950: #020b14;
  --navy-900: #061525;
  --navy-850: #0a1f36;
  --navy-800: #0e2a45;
  --navy-700: #153a5c;
  --blue-500: #00a4df;
  --blue-400: #3bbef0;
  --blue-300: #72d6f5;
  --red-500: #e30613;
  --amber: #f0a12a;
  --green: #21b77d;
  --ink: #e8f1f7;
  --muted: #8aa0b4;
  --muted-2: #6b8298;
  --line: rgba(130, 200, 235, 0.14);
  --line-strong: rgba(130, 200, 235, 0.28);
  --card: rgba(255, 255, 255, 0.045);
  --card-solid: #0c2238;
  --glass: rgba(6, 22, 40, 0.72);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 0.74, 0.2, 1);
  --nav-h: 78px;
  --header-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0; min-height: 100%;
  background: var(--navy-950);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body { padding-bottom: calc(var(--nav-h) + var(--safe-b) + 24px); overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; }
.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;
}

/* ---------- Boot ---------- */
.boot {
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center; gap: 14px;
  background: radial-gradient(circle at 50% 30%, #0a2a48, var(--navy-950));
  transition: opacity .4s ease, visibility .4s;
}
.boot.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.boot img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,164,223,.25); }
.boot strong { letter-spacing: .12em; font-size: 11px; text-transform: uppercase; color: var(--blue-300); }
.boot-glow {
  position: absolute; width: 180px; height: 180px; border-radius: 50%;
  background: rgba(0,164,223,.18); filter: blur(50px); pointer-events: none;
}

/* ---------- Header ---------- */
.app-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  min-height: calc(var(--header-h) + var(--safe-t));
  padding: calc(10px + var(--safe-t)) 14px 10px;
  background: rgba(2, 11, 20, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  border: 0; background: transparent; padding: 0; min-height: 44px;
}
.brand img { width: 56px; height: auto; }
.brand span { display: grid; line-height: 1.05; text-align: left; }
.brand small {
  color: var(--blue-400); font-size: 9px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
.brand strong { color: #fff; font-size: 15px; font-weight: 720; letter-spacing: -.01em; }
.surprise-top {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card);
  display: grid; place-items: center;
}
.surprise-top svg { width: 18px; height: 18px; stroke: var(--blue-300); fill: none; stroke-width: 1.8; }
.network-status {
  margin: 0; padding: 8px 14px; text-align: center;
  background: rgba(227, 6, 19, .15); color: #ffb4b8;
  font-size: 12px; font-weight: 650; border-bottom: 1px solid rgba(227,6,19,.25);
}

/* ---------- Pages ---------- */
.page { display: none; animation: pageIn .38s var(--ease); }
.page.active { display: block; }
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page { animation: none; }
  .boot { transition: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(62vh, 520px);
  overflow: hidden; background: var(--navy-900);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-slide.active { opacity: 1; }
.hero-bg-video, .hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-poster { z-index: 0; }
.hero-bg-video { z-index: 1; }
.hero-bottom-fade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, rgba(2,11,20,.96) 0%, rgba(2,11,20,.55) 42%, rgba(2,11,20,.15) 70%, transparent 100%),
    linear-gradient(90deg, rgba(2,11,20,.45), transparent 50%);
  pointer-events: none;
}
.hero-play-chip {
  position: absolute; z-index: 4; top: 16px; right: 14px;
  min-height: 34px; padding: 0 12px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  background: rgba(2,13,24,.7); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .04em;
  backdrop-filter: blur(10px);
}
.hero-copy {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  padding: 24px 18px 28px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 12px; color: var(--blue-300);
  font-size: 10px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase;
}
.hero-tag i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(33,183,125,.18), 0 0 12px rgba(33,183,125,.5);
}
.hero-copy h1 {
  margin: 0; color: #fff;
  font-size: clamp(28px, 7.5vw, 40px); font-weight: 780;
  letter-spacing: -.04em; line-height: 1.05;
}
.hero-copy h1 em { font-style: normal; color: var(--blue-300); }
.hero-copy > p {
  max-width: 34rem; margin: 12px 0 0;
  color: rgba(200, 220, 235, .82); font-size: 14px; line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid transparent; font-size: 13px; font-weight: 780;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s;
}
.button:active { transform: scale(.97); }
.button.primary {
  background: linear-gradient(135deg, #0077b8, var(--blue-500));
  color: #fff; box-shadow: 0 12px 28px rgba(0,138,203,.28);
}
.button.glass {
  border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff;
}

/* ---------- Live strip ---------- */
.live-strip {
  display: flex; align-items: center; gap: 12px;
  margin: 14px 14px 0; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0,164,223,.08), rgba(255,255,255,.03));
}
.live-pulse {
  width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0;
  background: var(--green); box-shadow: 0 0 0 4px rgba(33,183,125,.15);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.85); }
}
.live-strip > div { flex: 1; min-width: 0; }
.live-strip strong { display: block; font-size: 13px; font-weight: 780; color: #fff; }
.live-strip small { color: var(--muted); font-size: 11px; }
.live-strip button {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card);
  display: grid; place-items: center;
}
.live-strip button svg { width: 16px; height: 16px; stroke: var(--blue-300); fill: none; stroke-width: 2; }

/* ---------- Status board (Vorgänge) ---------- */
.status-board {
  margin: 16px 14px 0;
  padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card-solid);
}
.status-board-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 14px;
}
.status-board-head small {
  color: var(--blue-400); font-size: 10px; font-weight: 850;
  letter-spacing: .12em; text-transform: uppercase;
}
.status-board-head strong { color: #fff; font-size: 15px; }
.status-row {
  display: grid; gap: 10px;
}
.status-pill {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  text-align: left; transition: border-color .2s, background .2s;
}
.status-pill:hover { border-color: var(--line-strong); background: rgba(255,255,255,.055); }
.status-pill .dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.status-pill .dot.warn { background: var(--amber); box-shadow: 0 0 0 4px rgba(240,161,42,.15); }
.status-pill .dot.check { background: var(--blue-400); box-shadow: 0 0 0 4px rgba(0,164,223,.12); }
.status-pill .dot.ok { background: var(--green); box-shadow: 0 0 0 4px rgba(33,183,125,.12); }
.status-pill b { display: block; color: #fff; font-size: 13px; font-weight: 720; }
.status-pill span { color: var(--muted); font-size: 11px; }
.status-pill em {
  font-style: normal; font-size: 10px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--amber); padding: 4px 8px; border-radius: 999px;
  background: rgba(240,161,42,.12);
}
.status-pill em.ok { color: var(--green); background: rgba(33,183,125,.12); }
.status-pill em.blue { color: var(--blue-300); background: rgba(0,164,223,.12); }

/* ---------- Command grid ---------- */
.home-command-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin: 16px 14px 0;
}
.command-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  min-height: 112px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  text-align: left; overflow: hidden;
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s;
}
.command-card:active { transform: scale(.98); }
.command-card > span {
  display: grid; width: 28px; height: 28px; place-items: center;
  border-radius: 8px; background: rgba(0,164,223,.12);
  color: var(--blue-300); font-size: 11px; font-weight: 850;
}
.command-card small {
  color: var(--muted); font-size: 9px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
}
.command-card strong { color: #fff; font-size: 14px; font-weight: 740; letter-spacing: -.01em; }
.command-card p { margin: 0; color: var(--muted-2); font-size: 11px; line-height: 1.4; }
.command-card b {
  position: absolute; right: 12px; bottom: 12px;
  color: var(--blue-400); font-size: 16px; font-weight: 400;
}
.command-themen > span { background: rgba(227,6,19,.12); color: #ff7a82; }
.command-dossiers > span { background: rgba(240,161,42,.12); color: var(--amber); }
.command-kontakt > span { background: rgba(33,183,125,.12); color: var(--green); }

/* ---------- Metrics strip ---------- */
.metrics-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin: 16px 14px 0;
}
.metric {
  padding: 12px 8px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-xs);
  background: rgba(255,255,255,.03);
}
.metric strong {
  display: block; color: #fff; font-size: 20px; font-weight: 780;
  letter-spacing: -.03em; line-height: 1;
}
.metric span {
  display: block; margin-top: 4px; color: var(--muted);
  font-size: 9px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Install ---------- */
.install-card {
  display: flex; align-items: center; gap: 14px;
  margin: 14px 14px 0; padding: 14px 16px;
  border: 1px solid rgba(0,164,223,.25); border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0,109,168,.2), rgba(0,164,223,.08));
}
.install-card small {
  color: var(--blue-300); font-size: 9px; font-weight: 850;
  letter-spacing: .1em; text-transform: uppercase;
}
.install-card strong { display: block; color: #fff; font-size: 13px; }
.install-card p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.install-card button {
  flex-shrink: 0; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 0; background: var(--blue-500); color: #fff; font-weight: 780; font-size: 12px;
}

/* ---------- Weather ---------- */
.weather-panel {
  margin: 14px 14px 0; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(0,164,223,.1), rgba(255,255,255,.03));
}
.weather-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.weather-panel-head span {
  color: var(--blue-300); font-size: 10px; font-weight: 850;
  letter-spacing: .12em; text-transform: uppercase;
}
.weather-panel-head small { color: var(--muted); font-size: 11px; }
.weather-panel-main {
  display: grid; grid-template-columns: auto auto 1fr;
  gap: 12px; align-items: center;
}
.weather-panel-icon { font-size: 32px; line-height: 1; }
.weather-panel-main > strong {
  color: #fff; font-size: 36px; font-weight: 780;
  letter-spacing: -.04em; line-height: 1;
}
.weather-panel-main b { display: block; color: #fff; font-size: 14px; font-weight: 700; }
.weather-panel-main small { color: var(--muted); font-size: 12px; }
.weather-panel-details {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12px;
}
.weather-panel > a {
  display: inline-block; margin-top: 10px;
  color: var(--blue-400); font-size: 11px; text-decoration: none;
}

/* ---------- Blocks / sections ---------- */
.block, .clean-module, .detail-section, .team-section {
  margin: 18px 14px 0;
}
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-bottom: 12px;
}
.section-header.tight { margin-bottom: 10px; }
.section-header small {
  display: block; color: var(--blue-400); font-size: 10px; font-weight: 850;
  letter-spacing: .12em; text-transform: uppercase;
}
.section-header h2 {
  margin: 2px 0 0; color: #fff; font-size: 20px; font-weight: 740;
  letter-spacing: -.025em; line-height: 1.15;
}
.section-header button, .icon-refresh {
  min-height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  color: var(--blue-300); font-size: 12px; font-weight: 750;
}
.icon-refresh { min-width: 36px; padding: 0; display: grid; place-items: center; }

/* ---------- News rails & cards ---------- */
.news-rail, .news-grid, .news-flat-grid {
  display: grid; gap: 10px;
}
.news-card, .news-flat-card {
  display: block; width: 100%; padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--card-solid); text-align: left;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.news-card:active, .news-flat-card:active { transform: scale(.985); }
.news-flat-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; padding: 12px 14px 0;
}
.news-card-topic {
  color: var(--blue-300); font-size: 10px; font-weight: 850;
  letter-spacing: .08em; text-transform: uppercase;
}
.news-flat-top time { color: var(--muted-2); font-size: 11px; }
.news-card-body { padding: 10px 14px 14px; }
.news-meta { margin-bottom: 6px; }
.source-pill {
  display: inline-flex; padding: 3px 8px; border-radius: 999px;
  background: rgba(0,164,223,.12); color: var(--blue-300);
  font-size: 10px; font-weight: 750;
}
.source-pill.vellmar { background: rgba(0,164,223,.14); }
.source-pill.fraktion { background: rgba(227,6,19,.12); color: #ff8a90; }
.source-pill.verkehr { background: rgba(240,161,42,.12); color: var(--amber); }
.source-pill.nordhessen { background: rgba(33,183,125,.12); color: var(--green); }
.news-card-body h2, .news-card-body h3 {
  margin: 0 0 6px; color: #fff; font-weight: 740;
  letter-spacing: -.02em; line-height: 1.25;
}
.news-card-body h2 { font-size: 18px; }
.news-card-body h3 { font-size: 15px; }
.news-card-body p {
  margin: 0 0 10px; color: var(--muted); font-size: 13px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-action {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; border-top: 1px solid var(--line);
  color: var(--blue-300); font-size: 12px; font-weight: 750;
}
.news-card.featured {
  background: linear-gradient(160deg, rgba(0,109,168,.2), var(--card-solid));
  border-color: rgba(0,164,223,.28);
}
.section-foot-note {
  margin: 12px 0 0; color: var(--muted-2); font-size: 11px; line-height: 1.5;
}
.section-foot-note a { color: var(--blue-400); }

/* ---------- Page intro ---------- */
.page-intro, .clean-intro {
  padding: 20px 18px 8px;
}
.page-intro small, .clean-intro small {
  display: block; color: var(--blue-400); font-size: 10px; font-weight: 850;
  letter-spacing: .14em; text-transform: uppercase;
}
.page-intro h2, .clean-intro h2 {
  margin: 6px 0 0; color: #fff; font-size: clamp(24px, 6vw, 30px);
  font-weight: 760; letter-spacing: -.03em; line-height: 1.1;
}
.page-intro p, .clean-intro p {
  margin: 8px 0 0; color: var(--muted); font-size: 14px; max-width: 36rem;
}

/* ---------- Filters ---------- */
.filter-row {
  display: flex; gap: 6px; overflow-x: auto; padding: 0 0 4px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }
.filter-row button {
  flex: 0 0 auto; min-height: 34px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--muted);
  font-size: 12px; font-weight: 750; white-space: nowrap;
}
.filter-row button.active, .filter-row button[aria-pressed="true"] {
  background: linear-gradient(135deg, #0077b8, var(--blue-500));
  border-color: transparent; color: #fff;
}
.filter-count {
  display: inline-grid; min-width: 18px; margin-left: 5px;
  place-items: center; padding: 0 5px; border-radius: 999px;
  background: rgba(255,255,255,.12); font-size: 10px; font-weight: 800;
}

/* ---------- Async states ---------- */
.async-state {
  display: none; align-items: center; gap: 12px;
  margin: 12px 0; padding: 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
}
.async-state.is-loading, .async-state.is-error, .async-state.is-empty,
.async-state.is-partial, .async-state.is-fallback { display: flex; }
.async-state-icon {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-400);
}
.async-state.is-loading .async-state-icon { animation: pulse 1.2s ease-in-out infinite; }
.async-state.is-error .async-state-icon { background: var(--red-500); }
.async-state strong { display: block; color: #fff; font-size: 13px; }
.async-state small { color: var(--muted); font-size: 12px; }
.async-state button {
  margin-left: auto; min-height: 34px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--blue-300); font-size: 12px; font-weight: 750;
}

/* ---------- News hub ---------- */
.news-hub { margin: 8px 14px 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.news-filter-row { margin: 0 0 12px; }

/* ---------- Accordions ---------- */
.app-accordion {
  margin: 12px 14px 0; border: 1px solid var(--line);
  border-radius: var(--radius); background: rgba(255,255,255,.02);
  overflow: hidden;
}
.app-accordion summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 16px; list-style: none; cursor: pointer;
}
.app-accordion summary::-webkit-details-marker { display: none; }
.app-accordion summary small {
  display: block; color: var(--blue-400); font-size: 10px; font-weight: 850;
  letter-spacing: .1em; text-transform: uppercase;
}
.app-accordion summary strong { display: block; color: #fff; font-size: 15px; margin-top: 2px; }
.app-accordion summary span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.app-accordion summary b {
  flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.06); color: var(--blue-300);
  font-size: 16px; font-weight: 400; transition: transform .2s;
}
.app-accordion[open] summary b { transform: rotate(45deg); }
.accordion-body { padding: 0 16px 16px; }

/* ---------- Familie: eigene Seite ---------- */
.family-page {
  position: relative; min-height: calc(100vh - var(--header-h)); padding-bottom: 24px;
  background:
    radial-gradient(circle at 8% 25%, rgba(0,164,223,.09), transparent 30%),
    radial-gradient(circle at 92% 68%, rgba(33,183,125,.07), transparent 28%),
    var(--navy-950);
}
.family-page-hero {
  position: relative; isolation: isolate; min-height: 258px; overflow: hidden;
  padding: 28px 18px 54px;
  background:
    linear-gradient(132deg, #075a92 0%, #008ca8 46%, #149a78 76%, #d59a30 128%);
  border-bottom: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 -36px 60px rgba(2,11,20,.2);
}
.family-page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 43%, rgba(255,255,255,.06) 43.2% 43.7%, transparent 44% 100%),
    radial-gradient(circle at 20% 0%, rgba(255,255,255,.17), transparent 34%);
}
.family-hero-orb {
  position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07);
}
.family-hero-orb-one { width: 94px; height: 94px; right: -34px; top: 18px; }
.family-hero-orb-two { width: 48px; height: 48px; right: 112px; bottom: 30px; }
.family-hero-copy { position: relative; z-index: 2; max-width: 31rem; padding-right: 72px; }
.family-hero-copy > small {
  display: block; color: #d9f7ff; font-size: 10px; font-weight: 850;
  letter-spacing: .16em; text-transform: uppercase;
}
.family-hero-copy h2 {
  margin: 8px 0 10px; color: #fff; font-size: clamp(29px, 8vw, 38px);
  font-weight: 790; letter-spacing: -.045em; line-height: 1.02;
  text-shadow: 0 3px 18px rgba(0,42,65,.24);
}
.family-hero-copy p {
  max-width: 31rem; margin: 0; color: rgba(245,252,255,.88);
  font-size: 13px; line-height: 1.52;
}
.family-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.family-hero-tags span {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
  background: rgba(3,42,60,.2); color: #fff; font-size: 10px; font-weight: 760;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.family-hero-symbol {
  position: absolute; z-index: 1; right: -16px; bottom: 28px;
  width: 142px; height: 142px; opacity: .34; pointer-events: none;
}
.family-hero-symbol svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.family-page-panel {
  position: relative; z-index: 3; margin: -28px 14px 0; padding: 16px;
  border: 1px solid rgba(114,214,245,.25); border-radius: 22px;
  background: rgba(6,21,37,.96); box-shadow: 0 22px 46px rgba(0,0,0,.34);
}
.family-page-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 13px;
}
.family-page-heading small {
  display: block; color: #6edfc0; font-size: 9px; font-weight: 850;
  letter-spacing: .14em; text-transform: uppercase;
}
.family-page-heading h2 { margin: 3px 0 0; color: #fff; font-size: 18px; letter-spacing: -.025em; }
.family-refresh {
  flex: 0 0 42px; width: 42px; height: 42px; border-color: rgba(110,223,192,.3);
  background: linear-gradient(145deg, rgba(0,140,168,.24), rgba(20,154,120,.18)); color: #bdf8e8;
}
.family-filter-row {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px;
  overflow: visible; padding-bottom: 0; margin-bottom: 13px;
}
.family-filter-row button {
  min-width: 0; width: 100%; padding: 0 7px; overflow: hidden;
  justify-content: center; font-size: 10.5px;
}
.family-filter-row button.active, .family-filter-row button[aria-pressed="true"] {
  background: linear-gradient(135deg, #087cac, #16a179); box-shadow: 0 8px 20px rgba(0,131,153,.22);
}
.family-filter-row .filter-count { min-width: 16px; padding: 0 4px; margin-left: 3px; }
.family-async-state { margin: 0 0 12px; border-color: rgba(110,223,192,.2); }
.family-app-grid { display: grid; gap: 12px; }
.family-app-card {
  position: relative; overflow: hidden; padding: 16px;
  border: 1px solid rgba(240,161,42,.24); border-radius: 16px;
  background: linear-gradient(155deg, rgba(240,161,42,.15), rgba(255,255,255,.035) 58%);
  box-shadow: 0 12px 24px rgba(0,0,0,.13);
}
.family-app-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--amber);
}
.family-card-top {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px;
}
.family-card-top time {
  padding: 4px 10px; border-radius: 999px; background: rgba(255,200,80,.14);
  color: #ffd080; font-size: 11px; font-weight: 800;
}
.family-card-top span { color: #b4c3d0; font-size: 11px; font-weight: 720; }
.family-card-source {
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
  color: #a8bac9; font-size: 11px; font-weight: 680;
}
.family-card-source i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 3px rgba(240,161,42,.15);
}
.family-app-card h3 { margin: 0 0 6px; color: #fff; font-size: 15px; line-height: 1.25; }
.family-app-card p { margin: 0 0 10px; color: #b7c7d4; font-size: 13px; line-height: 1.5; }
.family-card-facts {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px;
}
.family-card-facts span {
  padding: 5px 8px; border-radius: 8px; background: rgba(255,255,255,.065);
  color: #b5c6d4; font-size: 11px; font-weight: 680;
}
.family-app-card > a {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; border-top: 1px solid var(--line);
  color: var(--blue-300); font-size: 12px; font-weight: 750; text-decoration: none;
}
.family-tone-2 { border-color: rgba(33,183,125,.25); background: linear-gradient(155deg, rgba(33,183,125,.15), rgba(255,255,255,.035) 58%); }
.family-tone-2::before { background: var(--green); }
.family-tone-2 .family-card-top time { background: rgba(33,183,125,.18); color: #8ff1ca; }
.family-tone-2 .family-card-source i { background: var(--green); }
.family-tone-3 { border-color: rgba(88,145,220,.26); background: linear-gradient(155deg, rgba(61,127,208,.17), rgba(255,255,255,.035) 58%); }
.family-tone-3::before { background: #5b9ce2; }
.family-tone-3 .family-card-top time { background: rgba(88,145,220,.2); color: #bcdcff; }
.family-tone-3 .family-card-source i { background: #6d78e9; }
.family-tone-4 { border-color: rgba(210,103,139,.23); background: linear-gradient(155deg, rgba(210,103,139,.14), rgba(255,255,255,.035) 58%); }
.family-tone-4::before { background: #d2678b; }
.family-tone-4 .family-card-top time { background: rgba(210,103,139,.18); color: #ffc1d4; }
.family-tone-4 .family-card-source i { background: #e46f94; }
.family-source-note { padding-top: 12px; border-top: 1px solid var(--line); color: #8399ab; }
.family-app-loading span {
  display: block; height: 12px; margin-bottom: 10px; border-radius: 999px;
  background: linear-gradient(90deg, #1a3048 25%, #243a52 50%, #1a3048 75%);
  background-size: 200% 100%; animation: skeleton 1.2s linear infinite;
}
@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Party */
.party-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.party-status { color: var(--muted); font-size: 12px; }
.party-news-grid { display: grid; gap: 10px; }
.party-card, .party-flat-card {
  display: block; padding: 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--card-solid);
  text-decoration: none; transition: border-color .2s;
}
.party-card:hover { border-color: var(--line-strong); }
.party-flat-top {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px;
  color: var(--muted); font-size: 11px;
}
.party-topic { color: var(--blue-300); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 10px; }
.party-card-body h3 { margin: 4px 0 6px; color: #fff; font-size: 15px; line-height: 1.25; }
.party-card-body p { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.party-card-body strong {
  display: flex; justify-content: space-between; color: var(--blue-300);
  font-size: 12px; font-weight: 750; padding-top: 8px; border-top: 1px solid var(--line);
}
.party-full-source { color: var(--muted-2); font-size: 10px; letter-spacing: .04em; }

/* ---------- Topics (Themen) ---------- */
.topic-stack {
  display: grid; gap: 14px; margin: 12px 14px 0;
}
.topic-card {
  position: relative; min-height: 280px; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--navy-900); isolation: isolate;
}
.topic-card video.auto-preview {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .55; z-index: 0;
  transition: opacity .4s ease, transform .8s var(--ease);
}
.topic-card.is-preview-playing video.auto-preview {
  opacity: .72; transform: scale(1.03);
}
.topic-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(2,11,20,.25) 0%, rgba(2,11,20,.55) 40%, rgba(2,11,20,.94) 100%);
  pointer-events: none;
}
.preview-status-chip {
  position: absolute; z-index: 3; top: 12px; left: 12px;
  min-height: 26px; padding: 0 10px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(2,13,24,.65);
  color: rgba(255,255,255,.85); font-size: 10px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  display: inline-flex; align-items: center; backdrop-filter: blur(8px);
}
.topic-number {
  position: absolute; z-index: 2; top: 12px; right: 14px;
  color: rgba(255,255,255,.35); font-size: 28px; font-weight: 800;
  letter-spacing: -.04em;
}
.topic-copy {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  justify-content: flex-end; min-height: 280px; padding: 20px;
}
.topic-copy small {
  color: var(--blue-300); font-size: 10px; font-weight: 850;
  letter-spacing: .12em; text-transform: uppercase;
}
.topic-copy h2 {
  margin: 8px 0 8px; color: #fff; font-size: clamp(20px, 5vw, 26px);
  font-weight: 740; letter-spacing: -.03em; line-height: 1.15;
}
.topic-copy p { margin: 0 0 14px; color: rgba(190,210,225,.85); font-size: 13px; line-height: 1.5; max-width: 36rem; }
.topic-copy > button, .topic-actions button {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1);
  color: #fff; font-size: 12px; font-weight: 780; width: fit-content;
  backdrop-filter: blur(8px);
}
.topic-copy > button:hover, .topic-actions button:hover {
  background: rgba(0,164,223,.35); border-color: rgba(0,164,223,.5);
}
.topic-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-secondary { opacity: .85; }
.topic-legal {
  display: block; margin-top: 12px; color: rgba(160,180,200,.65);
  font-size: 10px; line-height: 1.45;
}
.topic-featured { min-height: 320px; border-color: rgba(0,164,223,.3); }
.topic-featured .topic-copy { min-height: 320px; }
.topic-starkregen { border-color: rgba(0,164,223,.2); }
.topic-ahnepark { border-color: rgba(33,183,125,.2); }
.topic-kombibad { border-color: rgba(0,164,223,.35); }

/* Gallery */
.home-gallery { margin: 8px 0 0; }
.home-gallery-head { padding: 0 18px 10px; }
.home-gallery-head small {
  display: block; color: var(--blue-400); font-size: 10px; font-weight: 850;
  letter-spacing: .12em; text-transform: uppercase;
}
.home-gallery-head h2 { margin: 4px 0 0; color: #fff; font-size: 18px; }
.home-gallery-rail {
  display: flex; gap: 10px; overflow-x: auto; padding: 0 14px 4px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.home-gallery-rail::-webkit-scrollbar { display: none; }
.home-gallery-item {
  flex: 0 0 160px; margin: 0;
}
.home-gallery-open {
  position: relative; display: block; width: 100%; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--navy-900);
}
.home-gallery-open img {
  width: 100%; height: 110px; object-fit: cover;
}
.home-gallery-open span {
  position: absolute; right: 8px; bottom: 8px;
  width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(2,13,24,.7); color: #fff; font-size: 14px;
}
.home-gallery-item figcaption {
  margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 650;
  text-align: center;
}

/* Media library */
.media-library { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.compact-video-rail { display: grid; gap: 8px; }
.compact-video-card {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center;
  padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--card-solid); text-align: left;
}
.compact-video-card img {
  width: 72px; height: 48px; object-fit: cover; border-radius: 8px;
}
.compact-video-card small {
  color: var(--blue-400); font-size: 9px; font-weight: 850;
  letter-spacing: .1em; text-transform: uppercase;
}
.compact-video-card strong { display: block; color: #fff; font-size: 13px; margin-top: 2px; }
.compact-video-card b {
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(0,164,223,.15); color: var(--blue-300); font-size: 11px;
}

/* Quiz */
.quiz, .clean-quiz {
  position: relative; margin: 16px 14px 0; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(0,109,168,.15), rgba(255,255,255,.03));
  overflow: hidden;
}
.quiz-glow {
  position: absolute; top: -40px; right: -30px; width: 140px; height: 140px;
  border-radius: 50%; background: rgba(0,164,223,.15); filter: blur(40px); pointer-events: none;
}
.quiz header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.quiz header small {
  color: var(--blue-300); font-size: 10px; font-weight: 850;
  letter-spacing: .12em; text-transform: uppercase;
}
.quiz header span { color: var(--muted); font-size: 11px; }
.quiz h2 { margin: 0 0 14px; color: #fff; font-size: 18px; line-height: 1.3; }
.quiz-options { display: grid; gap: 8px; }
.quiz-options button {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-xs);
  background: rgba(255,255,255,.04); color: #fff; text-align: left; font-size: 13px; font-weight: 650;
}
.quiz-options button.correct { border-color: var(--green); background: rgba(33,183,125,.12); }
.quiz-options button.wrong { border-color: var(--red-500); background: rgba(227,6,19,.1); }
.quiz [data-quiz-feedback] { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.quiz-next {
  margin-top: 12px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 0; background: var(--blue-500); color: #fff; font-weight: 780; font-size: 13px;
}

/* ---------- More page ---------- */
.more-menu, .clean-more-menu {
  display: grid; gap: 8px; margin: 8px 14px 0;
}
.more-menu button {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--card-solid); text-align: left;
}
.more-menu button span {
  width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 8px; background: rgba(0,164,223,.12);
  color: var(--blue-300); font-size: 11px; font-weight: 850;
}
.more-menu strong { display: block; color: #fff; font-size: 14px; }
.more-menu small { color: var(--muted); font-size: 12px; }
.more-menu b { color: var(--muted-2); font-size: 18px; font-weight: 400; }

.dossier-grid { display: grid; gap: 10px; }
.dossier-card {
  width: 100%; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--card-solid); text-align: left;
}
.dossier-top {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px;
}
.dossier-top .status {
  padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  background: rgba(0,164,223,.12); color: var(--blue-300);
}
.dossier-top .status.warn { background: rgba(240,161,42,.14); color: var(--amber); }
.dossier-top .status.ok { background: rgba(33,183,125,.14); color: var(--green); }
.dossier-top time { color: var(--muted-2); font-size: 11px; }
.dossier-card h3 { margin: 0 0 6px; color: #fff; font-size: 15px; }
.dossier-card p { margin: 0; color: var(--muted); font-size: 13px; }
.dossier-card .progress {
  display: flex; gap: 4px; margin-top: 12px;
}
.dossier-card .progress i {
  flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.08);
}
.dossier-card .progress i.on { background: var(--blue-500); }

.entry {
  padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--card-solid); margin-bottom: 8px;
}
.entry-top {
  display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px;
  color: var(--muted); font-size: 11px;
}
.entry-top span {
  color: var(--blue-300); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 10px;
}
.entry h3 { margin: 0 0 4px; color: #fff; font-size: 14px; }
.entry p { margin: 0; color: var(--muted); font-size: 12px; }
.modal-link { color: var(--blue-400); font-size: 12px; font-weight: 750; text-decoration: none; }

/* Team */
.team-section, .clean-team {
  padding: 0; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--card-solid);
}
.team-cover { width: 100%; height: 160px; object-fit: cover; }
.team-content { padding: 18px; }
.team-content > small {
  color: var(--blue-400); font-size: 10px; font-weight: 850;
  letter-spacing: .12em; text-transform: uppercase;
}
.team-content > h2 { margin: 4px 0 16px; color: #fff; font-size: 22px; }
.member {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center;
  margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.member:last-of-type { border-bottom: 0; }
.member img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top;
  border: 2px solid rgba(0,164,223,.25);
}
.member strong { display: block; color: #fff; font-size: 14px; }
.member span { color: var(--muted); font-size: 12px; }

.app-contact-card {
  margin-top: 8px; padding: 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: rgba(0,164,223,.06);
}
.app-contact-head small {
  color: var(--blue-400); font-size: 10px; font-weight: 850;
  letter-spacing: .1em; text-transform: uppercase;
}
.app-contact-head strong { display: block; color: #fff; font-size: 16px; margin-top: 2px; }
.app-contact-head span { color: var(--muted); font-size: 12px; }
.app-contact-card address {
  margin: 12px 0; font-style: normal; color: var(--muted); font-size: 13px; line-height: 1.6;
}
.app-contact-card address strong { display: block; color: #fff; margin-bottom: 4px; }
.app-contact-email {
  display: block; padding: 12px; border-radius: var(--radius-xs);
  background: rgba(255,255,255,.05); text-decoration: none; margin-bottom: 12px;
}
.app-contact-email span {
  display: block; color: var(--blue-400); font-size: 9px; font-weight: 850;
  letter-spacing: .1em; text-transform: uppercase;
}
.app-contact-email strong {
  display: block; color: #fff; font-size: 13px; margin-top: 2px; word-break: break-all;
}
.app-contact-legal {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px;
}
.app-contact-legal a { color: var(--muted); font-size: 12px; text-decoration: none; }
.app-contact-legal a:hover { color: var(--blue-300); }
.contact-button {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; border-radius: 999px;
  background: linear-gradient(135deg, #0077b8, var(--blue-500));
  color: #fff; font-weight: 780; font-size: 13px; text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,138,203,.25);
}
.disclaimer {
  margin: 18px 14px 24px; color: var(--muted-2); font-size: 11px; line-height: 1.5; text-align: center;
}

/* ---------- Bottom nav ---------- */
.bottom-nav {
  position: fixed; z-index: 200;
  left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px;
  padding: 6px 8px calc(6px + var(--safe-b));
  border: 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgba(4, 16, 30, 0.96);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 -8px 28px rgba(0,0,0,.35);
  transition: opacity 0.2s ease, transform 0.22s ease;
}
.bottom-nav button {
  display: grid; place-items: center; gap: 3px;
  min-width: 0; min-height: 54px; padding: 6px 2px;
  border: 0; border-radius: 16px; background: transparent;
  color: var(--muted-2); font-size: 9.5px; font-weight: 750;
  transition: color .2s, background .2s;
}
.bottom-nav button svg {
  width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.7;
}
.bottom-nav button.active {
  color: #fff; background: rgba(0,164,223,.18);
}
.bottom-nav button.active svg { stroke: var(--blue-300); }
.bottom-nav button[data-nav="family"].active {
  background: linear-gradient(145deg, rgba(0,140,168,.28), rgba(20,154,120,.24));
}
.bottom-nav button[data-nav="family"].active svg { stroke: #9ef0d8; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 500;
  display: grid; align-items: end; justify-items: center;
  padding: 12px; padding-bottom: calc(12px + var(--safe-b));
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative; z-index: 1; width: min(560px, 100%);
  max-height: min(88vh, 820px); overflow: auto;
  border: 1px solid var(--line-strong); border-radius: 24px 24px 18px 18px;
  background: var(--navy-900); box-shadow: var(--shadow);
  padding: 0 0 16px;
}
.modal-handle {
  width: 40px; height: 4px; margin: 10px auto 0; border-radius: 4px;
  background: rgba(255,255,255,.2);
}
.modal-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; padding: 12px 18px 0;
}
.modal-head span {
  color: var(--blue-300); font-size: 10px; font-weight: 850;
  letter-spacing: .1em; text-transform: uppercase;
}
.modal-head small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.modal-head button {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card);
  color: #fff; font-size: 20px; line-height: 1;
}
.modal-card > h2 {
  margin: 10px 18px 12px; color: #fff; font-size: 22px;
  font-weight: 740; letter-spacing: -.02em; line-height: 1.2;
}
.modal-card [data-modal-body] { padding: 0 18px; }
.modal-media {
  width: 100%; border-radius: var(--radius-sm); margin-bottom: 12px;
  background: #000;
}
.modal-section { margin-bottom: 14px; }
.modal-section h3 {
  margin: 0 0 6px; color: var(--blue-300); font-size: 11px; font-weight: 850;
  letter-spacing: .1em; text-transform: uppercase;
}
.modal-section p, .modal-section li {
  margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.55;
}
.modal-section ul { margin: 0; padding-left: 18px; }
.modal-actions {
  display: flex; gap: 10px; padding: 12px 18px 0;
}
.modal-actions button {
  flex: 1; min-height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  color: #fff; font-weight: 750; font-size: 13px;
}
.modal-actions button.primary {
  border: 0; background: linear-gradient(135deg, #0077b8, var(--blue-500));
}
html.modal-open, html.modal-open body { overflow: hidden; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 600;
  left: 50%; bottom: calc(var(--nav-h) + var(--safe-b) + 20px);
  transform: translateX(-50%);
  max-width: min(90vw, 360px); padding: 12px 18px;
  border-radius: 999px; background: rgba(8, 28, 48, .95);
  border: 1px solid var(--line-strong); color: #fff;
  font-size: 13px; font-weight: 650; box-shadow: var(--shadow);
  text-align: center;
}
.toast[hidden] { display: none; }

/* ---------- Source note ---------- */
.source-note {
  padding: 18px; border: 1px dashed var(--line); border-radius: var(--radius-sm);
  text-align: center;
}
.source-note strong { display: block; color: #fff; margin-bottom: 4px; }
.source-note p { margin: 0; color: var(--muted); font-size: 13px; }

/* ---------- Utility ---------- */
[hidden] { display: none !important; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .home-command-grid { grid-template-columns: repeat(4, 1fr); }
  .topic-stack { grid-template-columns: 1fr 1fr; }
  .topic-featured { grid-column: 1 / -1; }
  .news-flat-grid { grid-template-columns: 1fr 1fr; }
  .compact-video-rail { grid-template-columns: 1fr 1fr; }
  .family-app-grid { grid-template-columns: 1fr 1fr; }
  .family-hero-copy { padding-right: 150px; }
  .hero { min-height: 480px; }
  .bottom-nav { left: 0; right: 0; }
  main { max-width: 720px; margin: 0 auto; }
  .app-header { padding-left: max(14px, calc(50% - 346px)); padding-right: max(14px, calc(50% - 346px)); }
}

@media (prefers-reduced-motion: reduce) {
  .live-pulse, .async-state.is-loading .async-state-icon { animation: none; }
  .topic-card video.auto-preview { transition: none; }
  .family-app-loading span { animation: none; }
}

/* =========================================================
   Vellmar Stimme – citizen intent UI
   ========================================================= */
.stimme-panel {
  position: relative;
  margin: 16px 14px 0;
  padding: 20px 16px 18px;
  border: 1px solid rgba(0, 164, 223, 0.28);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 0%, rgba(0, 164, 223, 0.16), transparent 42%),
    radial-gradient(circle at 92% 100%, rgba(227, 6, 19, 0.08), transparent 36%),
    linear-gradient(160deg, rgba(10, 36, 58, 0.95), rgba(4, 16, 30, 0.98));
  overflow: hidden;
  isolation: isolate;
}
.stimme-glow {
  position: absolute;
  top: -60px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(0, 164, 223, 0.18);
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}
.stimme-head,
.stimme-label,
.stimme-compose,
.stimme-status,
.stimme-examples,
.stimme-history,
.stimme-results {
  position: relative;
  z-index: 1;
}
.stimme-kicker {
  display: inline-block;
  color: var(--blue-300);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stimme-head h2 {
  margin: 6px 0 8px;
  color: #fff;
  font-size: clamp(22px, 5.5vw, 28px);
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stimme-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  max-width: 40rem;
}
.stimme-label {
  display: block;
  margin: 16px 0 8px;
  color: rgba(200, 220, 235, 0.9);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
}
.stimme-compose {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(2, 11, 20, 0.55);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.stimme-compose:focus-within {
  border-color: rgba(0, 164, 223, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 164, 223, 0.12);
}
.stimme-compose textarea {
  display: block;
  width: 100%;
  min-height: 88px;
  padding: 14px 14px 8px;
  border: 0;
  resize: vertical;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
}
.stimme-compose textarea::placeholder {
  color: rgba(140, 165, 185, 0.75);
}
.stimme-compose-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px 10px 10px;
  border-top: 1px solid rgba(130, 200, 235, 0.1);
}
.stimme-icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--blue-300);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.stimme-icon-btn.is-listening {
  border-color: rgba(227, 6, 19, 0.45);
  background: rgba(227, 6, 19, 0.15);
  color: #ff8a90;
  animation: stimmePulse 1.2s ease-in-out infinite;
}
@keyframes stimmePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.35); }
  50% { box-shadow: 0 0 0 8px rgba(227, 6, 19, 0); }
}
.stimme-submit {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0077b8, var(--blue-500));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 138, 203, 0.25);
}
.stimme-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  min-height: 1.2em;
}
.stimme-examples,
.stimme-history {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.stimme-history-label {
  width: 100%;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.stimme-chip {
  max-width: 100%;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(210, 225, 238, 0.92);
  font-size: 11px;
  font-weight: 650;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stimme-chip:hover {
  border-color: var(--line-strong);
  background: rgba(0, 164, 223, 0.1);
}
.stimme-results {
  margin-top: 14px;
}
.stimme-empty {
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}
.stimme-empty strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 6px;
}
.stimme-empty p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.stimme-loc {
  color: var(--blue-300) !important;
}
.stimme-loc-bar {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  background: rgba(0, 164, 223, 0.1);
  color: var(--muted);
  font-size: 12px;
}
.stimme-loc-bar b {
  color: var(--blue-300);
  font-weight: 750;
}
.stimme-cards {
  display: grid;
  gap: 10px;
}
.stimme-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(2, 11, 20, 0.55);
}
.stimme-card.is-primary {
  border-color: rgba(0, 164, 223, 0.35);
  background: linear-gradient(155deg, rgba(0, 109, 168, 0.18), rgba(2, 11, 20, 0.65));
}
.stimme-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.stimme-card-head small {
  display: block;
  color: var(--blue-300);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.stimme-card-head h3 {
  margin: 3px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 740;
  letter-spacing: -0.02em;
}
.stimme-conf {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.stimme-conf.high {
  background: rgba(33, 183, 125, 0.15);
  color: #7eecc0;
}
.stimme-conf.mid {
  background: rgba(0, 164, 223, 0.14);
  color: var(--blue-300);
}
.stimme-conf.low {
  background: rgba(240, 161, 42, 0.14);
  color: var(--amber);
}
.stimme-summary {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.stimme-meta {
  display: grid;
  gap: 6px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.stimme-meta li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  font-size: 12px;
}
.stimme-meta span {
  color: var(--muted-2);
}
.stimme-meta strong {
  color: rgba(230, 240, 248, 0.95);
  font-weight: 650;
}
.stimme-hits {
  margin: 0 0 12px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.5;
}
.stimme-hits code {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--blue-300);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
}
.stimme-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.stimme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 12px;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
}
.stimme-btn.ghost {
  background: transparent;
}
.stimme-btn.primary {
  border: 0;
  background: linear-gradient(135deg, #0077b8, var(--blue-500));
  box-shadow: 0 10px 22px rgba(0, 138, 203, 0.22);
}
.stimme-privacy {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.5;
}
@media (min-width: 720px) {
  .stimme-meta li {
    grid-template-columns: 140px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .stimme-icon-btn.is-listening {
    animation: none;
  }
}


/* Push-Nachrichten: zusätzlicher Bereich im bestehenden Mehr-Design */
.push-settings{scroll-margin-top:calc(var(--header-h,72px) + 18px)}
.push-settings .section-header{align-items:center}
.push-live-dot{width:10px;height:10px;border-radius:50%;background:#526576;box-shadow:0 0 0 5px rgba(82,101,118,.14)}
.push-settings:has(.push-status[data-state="active"]) .push-live-dot{background:#39c78a;box-shadow:0 0 0 5px rgba(57,199,138,.14),0 0 18px rgba(57,199,138,.4)}
.push-panel{display:grid;gap:16px}
.push-status{margin:0;padding:13px 15px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.035);color:var(--muted);font-size:13px;line-height:1.45}
.push-status[data-state="active"]{border-color:rgba(57,199,138,.26);background:rgba(57,199,138,.08);color:#baf2d8}
.push-status[data-state="warning"]{border-color:rgba(242,182,72,.28);background:rgba(242,182,72,.08);color:#f7dca5}
.push-status[data-state="error"]{border-color:rgba(236,94,94,.28);background:rgba(236,94,94,.08);color:#ffc1c1}
.push-topic-list{display:grid;gap:10px}
.push-topic{position:relative;display:grid;grid-template-columns:1fr 44px;align-items:center;gap:14px;padding:14px 14px 14px 16px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018));cursor:pointer;transition:border-color .2s ease,transform .2s ease,background .2s ease}
.push-topic:hover{border-color:rgba(94,177,232,.28);transform:translateY(-1px)}
.push-topic input{position:absolute;opacity:0;pointer-events:none}
.push-topic span{min-width:0}
.push-topic strong{display:block;color:#fff;font-size:14px;line-height:1.25}
.push-topic small{display:block;margin-top:4px;color:var(--muted);font-size:11.5px;line-height:1.4}
.push-topic i{position:relative;width:42px;height:24px;border-radius:999px;background:#263747;border:1px solid rgba(255,255,255,.1);transition:.2s ease}
.push-topic i::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#90a1af;box-shadow:0 2px 7px rgba(0,0,0,.32);transition:.2s ease}
.push-topic input:checked~i{background:#178fcb;border-color:#54b8ed}
.push-topic input:checked~i::after{left:21px;background:#fff}
.push-topic input:focus-visible~i{outline:3px solid rgba(82,177,231,.35);outline-offset:3px}
.push-topic:has(input:checked){border-color:rgba(82,177,231,.32);background:linear-gradient(145deg,rgba(32,133,191,.14),rgba(255,255,255,.02))}
.push-topic:has(input:disabled){opacity:.5;cursor:not-allowed}
.push-actions{display:flex;gap:10px;flex-wrap:wrap}
.push-actions button{min-height:44px;padding:0 18px;border:0;border-radius:999px;font-weight:800;cursor:pointer}
.push-enable{background:linear-gradient(135deg,#178fcb,#43b5e8);color:#fff;box-shadow:0 10px 28px rgba(18,133,196,.2)}
.push-disable{background:#243444;color:#e9f1f7;border:1px solid rgba(255,255,255,.09)!important}
.push-actions button:disabled{opacity:.5;cursor:not-allowed}
.push-support{margin:0;color:var(--muted-2);font-size:11.5px;line-height:1.45}
.push-privacy{display:inline-flex;align-items:center;gap:6px;width:max-content;max-width:100%;color:#79c7f0;font-size:12px;text-decoration:none}
.push-privacy:hover{text-decoration:underline}
@media(max-width:520px){.push-topic{grid-template-columns:1fr 42px}.push-actions{display:grid;grid-template-columns:1fr}.push-actions button{width:100%}}


/* ========== Politik-Suche (Bund / Hessen / Kommunal) ========== */
.politik-stimme-panel {
  margin-top: 12px;
  scroll-margin-bottom: calc(var(--nav-h) + var(--safe-b) + 24px);
}
.politik-stimme-panel .stimme-status {
  color: rgba(186, 210, 228, 0.95);
}
.politik-stimme-panel .politik-compose textarea,
.politik-stimme-panel #politik-input {
  min-height: 120px;
  max-height: 280px;
  resize: vertical;
  line-height: 1.45;
  width: 100%;
  border: 0;
  background: transparent;
  color: #e8f1f7;
  padding: 12px 14px;
  font: inherit;
}
.politik-stimme-panel .stimme-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
/* Beispiel-Chips: lesbar auf dunklem Grund */
.politik-stimme-panel .stimme-examples button,
.politik-stimme-panel [data-politik-fill] {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(114, 214, 245, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(232, 242, 250, 0.98);
  font-size: 12px;
  font-weight: 680;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.politik-stimme-panel .stimme-examples button:hover,
.politik-stimme-panel [data-politik-fill]:hover {
  border-color: rgba(114, 214, 245, 0.55);
  background: rgba(0, 138, 203, 0.28);
  color: #fff;
}
.politik-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 14px;
}
/* Themen-Chips: heller Text */
.politik-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(114, 214, 245, 0.35);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 109, 168, 0.4), rgba(0, 164, 223, 0.2));
  color: #e8f4fa;
  font-size: 12px;
  font-weight: 720;
}
/* Treffer-Karten hell, Abstand unten gegen Bottom-Nav */
.politik-results {
  margin-top: 14px;
  padding-bottom: calc(var(--nav-h) + var(--safe-b) + 16px);
}
.politik-hit {
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid #dce5eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 24, 43, 0.08);
  color: #07182b;
}
.politik-hit header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 6px;
}
.politik-hit header b {
  color: #006da8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.politik-hit header span { color: #5f7080; font-size: 11px; }
.politik-hit h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.35;
  color: #07182b;
}
.politik-hit h3 a { color: #07182b; text-decoration: none; }
.politik-hit h3 a:hover {
  color: #006da8;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.politik-hit p {
  margin: 0;
  color: #5f7080;
  font-size: 13px;
  line-height: 1.55;
}
.politik-hit footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #eef3f6;
}
.politik-hit footer a {
  color: #006da8;
  font-size: 12px;
  font-weight: 760;
  text-decoration: none;
}
.politik-hit footer small { color: #8aa0b0; font-size: 11px; }
.politik-empty {
  color: rgba(186, 210, 228, 0.92);
  font-size: 13px;
  padding: 8px 0 24px;
}


/* ===== Aktuell: Push zuerst, Politik-Suche direkt darunter ===== */
[data-page="news"] > .news-tool-card{margin:0 0 16px;border:1px solid rgba(49,157,234,.52);border-radius:22px;background:radial-gradient(circle at 18% 0,rgba(13,122,190,.22),transparent 44%),linear-gradient(145deg,rgba(7,35,61,.96),rgba(4,20,35,.98));box-shadow:0 18px 44px rgba(0,0,0,.18);overflow:hidden}
[data-page="news"] > .news-push-card{padding:18px 20px 20px}
[data-page="news"] > .news-politik-card{padding:18px 20px 20px}
[data-page="news"] > .news-push-card .section-header{margin-bottom:14px}
[data-page="news"] > .news-push-card .section-header small{color:#67d5ff;letter-spacing:.16em;text-transform:uppercase}
[data-page="news"] > .news-push-card .push-panel{gap:14px}
[data-page="news"] > .news-push-card .push-status{order:3;margin-top:2px}
[data-page="news"] > .news-push-card .push-topic-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
[data-page="news"] > .news-push-card .push-topic{display:flex;min-height:118px;padding:14px 10px;flex-direction:column;justify-content:center;text-align:center;grid-template-columns:none;gap:10px;border-radius:16px}
[data-page="news"] > .news-push-card .push-topic strong{font-size:14px}
[data-page="news"] > .news-push-card .push-topic small{font-size:10.5px}
[data-page="news"] > .news-push-card .push-topic i{width:30px;height:30px;border-radius:50%;order:-1}
[data-page="news"] > .news-push-card .push-topic i::after{top:5px;left:5px;width:18px;height:18px}
[data-page="news"] > .news-push-card .push-topic input:checked~i::after{left:5px;background:#fff}
[data-page="news"] > .news-push-card .push-topic input:checked~i{background:#178fcb;box-shadow:0 0 0 5px rgba(23,143,203,.16)}
[data-page="news"] > .news-push-card .push-actions{justify-content:flex-end}
[data-page="news"] > .news-push-card .push-support,[data-page="news"] > .news-push-card .push-privacy{font-size:11px}
[data-page="news"] > .news-politik-card .stimme-head{margin-bottom:10px}
[data-page="news"] > .news-politik-card .stimme-kicker{display:none}
[data-page="news"] > .news-politik-card .stimme-head h2{font-size:24px}
[data-page="news"] > .news-politik-card .stimme-head p{max-width:860px}
[data-page="news"] > .news-politik-card .politik-compose{display:grid;grid-template-columns:1fr auto;align-items:end}
[data-page="news"] > .news-politik-card #politik-input{min-height:120px;max-height:280px}
[data-page="news"] > .news-politik-card .stimme-compose-bar{border-top:0;padding:10px}
[data-page="news"] > .news-politik-card .stimme-examples{display:none}
[data-page="news"] > .news-politik-card .stimme-status{margin-bottom:0}
[data-page="news"] > .news-hub{margin-top:4px}
@media(max-width:760px){
 [data-page="news"] > .news-push-card .push-topic-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 [data-page="news"] > .news-politik-card .politik-compose{grid-template-columns:1fr}
 [data-page="news"] > .news-politik-card .stimme-compose-bar{border-top:1px solid rgba(255,255,255,.08)}
}
@media(max-width:420px){[data-page="news"] > .news-push-card,[data-page="news"] > .news-politik-card{padding:15px}}


/* Nav ausblenden bei Tastatur/Suchfokus; Ergebnisse freilegen */
body.keyboard-open .bottom-nav,
body.search-focus .bottom-nav {
  opacity: 0;
  pointer-events: none;
  transform: translateY(110%);
}
.politik-results {
  padding-bottom: calc(var(--nav-h) + var(--safe-b) + 80px) !important;
}
.stimme-results {
  padding-bottom: calc(var(--nav-h) + var(--safe-b) + 40px);
}
body.keyboard-open .politik-results,
body.search-focus .politik-results {
  padding-bottom: 48px !important;
}


/* ---------- Schlichte Schnelllinks (Start) ---------- */
.home-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 14px 0;
  padding: 0;
}
.quick-link {
  flex: 1 1 calc(50% - 8px);
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(232, 242, 250, 0.95);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.quick-link:hover,
.quick-link:focus-visible {
  border-color: rgba(114, 214, 245, 0.45);
  background: rgba(0, 138, 203, 0.18);
  color: #fff;
}
@media (min-width: 520px) {
  .quick-link { flex: 1 1 0; }
}
.metrics-strip-compact {
  margin-top: 10px;
}
.metrics-strip-compact .metric {
  padding: 8px 6px;
  background: transparent;
  border-color: transparent;
}
.metrics-strip-compact .metric strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
}
.metrics-strip-compact .metric span {
  font-size: 8px;
  opacity: 0.85;
}


/* =========================================================
   Light · Clean · Professional  (App only)
   ========================================================= */
body.app-redesign-2026 {
  --navy-950: #f4f7fb;
  --navy-900: #eef3f8;
  --navy-850: #e6edf5;
  --navy-800: #dce6f0;
  --navy-700: #c5d4e4;
  --blue-500: #0077b3;
  --blue-400: #0090d0;
  --blue-300: #1aa3e0;
  --ink: #0f2438;
  --muted: #5a7188;
  --muted-2: #6f8499;
  --line: rgba(15, 50, 80, 0.10);
  --line-strong: rgba(15, 50, 80, 0.16);
  --card: #ffffff;
  --card-solid: #ffffff;
  --glass: rgba(255, 255, 255, 0.92);
  --shadow: 0 12px 32px rgba(20, 50, 80, 0.08);
  background: #f4f7fb;
  color: #0f2438;
}

body.app-redesign-2026 .boot {
  background: #f4f7fb;
  color: #0f2438;
}
body.app-redesign-2026 .boot strong { color: #0f2438; }

body.app-redesign-2026 .app-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
body.app-redesign-2026 .app-header .brand span small { color: var(--muted); }
body.app-redesign-2026 .app-header .brand span strong { color: #0f2438; }
body.app-redesign-2026 .surprise-top {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
}

body.app-redesign-2026 .bottom-nav {
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -6px 24px rgba(20, 50, 80, 0.06);
}
body.app-redesign-2026 .bottom-nav button { color: #6f8499; }
body.app-redesign-2026 .bottom-nav button.active {
  color: #0f2438;
  background: rgba(0, 144, 208, 0.12);
}
body.app-redesign-2026 .bottom-nav button.active svg { stroke: #0077b3; }

body.app-redesign-2026 .page-intro h2,
body.app-redesign-2026 .clean-intro h2,
body.app-redesign-2026 .section-header h2,
body.app-redesign-2026 .stimme-head h2 {
  color: #0f2438;
}
body.app-redesign-2026 .page-intro p,
body.app-redesign-2026 .clean-intro p,
body.app-redesign-2026 .stimme-head p {
  color: var(--muted);
}

body.app-redesign-2026 .stimme-panel,
body.app-redesign-2026 .news-tool-card,
body.app-redesign-2026 .push-settings,
body.app-redesign-2026 .block,
body.app-redesign-2026 .weather-panel,
body.app-redesign-2026 .install-card,
body.app-redesign-2026 .family-page-panel,
body.app-redesign-2026 .detail-section {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: #0f2438;
}

body.app-redesign-2026 .quick-link {
  background: #fff;
  border: 1px solid var(--line);
  color: #0f2438;
}
body.app-redesign-2026 .quick-link:hover,
body.app-redesign-2026 .quick-link:focus-visible {
  border-color: rgba(0, 144, 208, 0.45);
  background: rgba(0, 144, 208, 0.08);
}

body.app-redesign-2026 .metric strong { color: #5a7188; }
body.app-redesign-2026 .metric span { color: var(--muted); }

body.app-redesign-2026 .push-topic {
  background: #f7fafc;
  border: 1px solid var(--line);
}
body.app-redesign-2026 .push-topic strong { color: #0f2438; }
body.app-redesign-2026 .push-topic small { color: var(--muted); }

body.app-redesign-2026 #politik-input,
body.app-redesign-2026 #stimme-input,
body.app-redesign-2026 textarea,
body.app-redesign-2026 input[type="text"] {
  background: #f7fafc !important;
  color: #0f2438 !important;
  border-color: var(--line) !important;
}

body.app-redesign-2026 .stimme-submit,
body.app-redesign-2026 .push-enable,
body.app-redesign-2026 [data-politik-submit] {
  background: linear-gradient(135deg, #0077b3, #0090d0);
  color: #fff;
}

body.app-redesign-2026 .politik-chip,
body.app-redesign-2026 .stimme-examples button {
  background: #eef6fb;
  border: 1px solid rgba(0, 119, 179, 0.25);
  color: #0a4a6e;
}

body.app-redesign-2026 .news-card,
body.app-redesign-2026 .news-item,
body.app-redesign-2026 .list-card {
  background: #fff;
  border: 1px solid var(--line);
  color: #0f2438;
}

body.app-redesign-2026 .hero-clean,
body.app-redesign-2026 .hero {
  border-radius: 16px;
  overflow: hidden;
  margin: 12px 14px 0;
  box-shadow: var(--shadow);
}

/* Info banner Müllkalender */
body.app-redesign-2026 .info-banner-waste {
  margin: 14px 14px 0;
}
body.app-redesign-2026 .info-banner-inner {
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8f6fc 0%, #f0f7fb 100%);
  border: 1px solid rgba(0, 119, 179, 0.22);
  box-shadow: var(--shadow);
}
body.app-redesign-2026 .info-banner-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0077b3;
  margin-bottom: 4px;
}
body.app-redesign-2026 .info-banner-inner strong {
  display: block;
  font-size: 16px;
  color: #0f2438;
  margin-bottom: 4px;
}
body.app-redesign-2026 .info-banner-inner p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
body.app-redesign-2026 .info-banner-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: #0077b3;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

body.app-redesign-2026 .family-page-hero {
  background: linear-gradient(160deg, #e8f4fb, #f7fafc);
  color: #0f2438;
  border: 1px solid var(--line);
}
body.app-redesign-2026 .family-page-hero h2 { color: #0f2438; }
body.app-redesign-2026 .family-hero-tags span {
  background: #fff;
  border: 1px solid var(--line);
  color: #0f2438;
}

body.app-redesign-2026 .weather-panel-head span,
body.app-redesign-2026 .section-header small,
body.app-redesign-2026 .stimme-kicker {
  color: #0077b3;
}

body.app-redesign-2026 a { color: #0077b3; }

/* denser, cleaner spacing */
body.app-redesign-2026 main { max-width: 720px; margin: 0 auto; }
body.app-redesign-2026 .news-tool-card { margin: 12px 14px; padding: 16px; border-radius: 16px; }

/* ---- Abfallkalender ---- */
.abfall-panel {
  margin: 14px 14px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 50, 80, 0.10);
  box-shadow: 0 12px 32px rgba(20, 50, 80, 0.08);
}
.abfall-panel .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.abfall-panel .section-header small {
  color: #0077b3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.abfall-panel .section-header h2 {
  margin: 2px 0 0;
  font-size: 20px;
  color: #0f2438;
}
.abfall-status {
  margin: 0 0 12px;
  font-size: 13px;
  color: #5a7188;
}
.abfall-list {
  display: grid;
  gap: 8px;
}
.abfall-day {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7fafc;
  border: 1px solid rgba(15, 50, 80, 0.08);
}
.abfall-day header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.abfall-day header strong { color: #0f2438; font-size: 14px; }
.abfall-day header span { color: #6f8499; font-size: 12px; }
.abfall-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.abfall-type {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #eef3f8;
  color: #0f2438;
}
.abfall-type-bio { background: #e6f6ec; color: #1b6b3a; }
.abfall-type-gelb { background: #fff6d6; color: #8a6a00; }
.abfall-type-papier { background: #e8f1fb; color: #1a4d8c; }
.abfall-type-rest { background: #eceff3; color: #333; }
.abfall-type-schadstoff { background: #fdecea; color: #a32020; }
.abfall-source {
  margin: 12px 0 0;
  font-size: 11px;
  color: #6f8499;
  line-height: 1.4;
}
.abfall-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.abfall-ext, .abfall-push-hint {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(15, 50, 80, 0.12);
  background: #fff;
  color: #0f2438;
  cursor: pointer;
}
.abfall-push-hint {
  background: #0077b3;
  border-color: #0077b3;
  color: #fff;
}
.abfall-empty { color: #6f8499; font-size: 13px; margin: 0; }

/* =========================================================
   High-Tech Light · v2 (App)
   ========================================================= */
body.app-redesign-2026 {
  --bg: #f0f4f9;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --ink: #0b1c2c;
  --muted: #5b738a;
  --accent: #0086c9;
  --accent-2: #00b4d8;
  --line: rgba(12, 40, 70, 0.09);
  --shadow: 0 10px 28px rgba(18, 48, 80, 0.07);
  --radius: 16px;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0, 180, 216, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(0, 119, 179, 0.06), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-feature-settings: "ss01" on, "kern" on;
}

body.app-redesign-2026 .app-header {
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.8);
}

body.app-redesign-2026 .page-intro,
body.app-redesign-2026 .clean-intro {
  padding: 18px 16px 8px;
}
body.app-redesign-2026 .page-intro h2,
body.app-redesign-2026 .clean-intro h2 {
  font-size: 26px;
  font-weight: 780;
  letter-spacing: -0.03em;
  color: var(--ink);
}
body.app-redesign-2026 .page-intro p,
body.app-redesign-2026 .clean-intro p {
  max-width: 36rem;
  color: var(--muted);
  font-size: 14px;
}

body.app-redesign-2026 .stimme-panel,
body.app-redesign-2026 .news-tool-card,
body.app-redesign-2026 .block,
body.app-redesign-2026 .weather-panel,
body.app-redesign-2026 .abfall-panel,
body.app-redesign-2026 .family-page-panel,
body.app-redesign-2026 .detail-section,
body.app-redesign-2026 .install-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

body.app-redesign-2026 .quick-link {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(18, 48, 80, 0.04);
  font-weight: 720;
}
body.app-redesign-2026 .quick-link:hover {
  border-color: rgba(0, 134, 201, 0.4);
  box-shadow: 0 8px 20px rgba(0, 134, 201, 0.12);
}

body.app-redesign-2026 .bottom-nav {
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
body.app-redesign-2026 .bottom-nav button.active {
  background: linear-gradient(145deg, rgba(0, 134, 201, 0.14), rgba(0, 180, 216, 0.10));
  color: var(--ink);
}
body.app-redesign-2026 .bottom-nav button.active svg { stroke: var(--accent); }

body.app-redesign-2026 .info-banner-inner {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.10), rgba(0, 134, 201, 0.06));
  border: 1px solid rgba(0, 134, 201, 0.2);
  backdrop-filter: blur(8px);
}

body.app-redesign-2026 .hero-clean,
body.app-redesign-2026 .hero {
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(18, 48, 80, 0.12);
  border: 1px solid var(--line);
}

body.app-redesign-2026 .push-topic {
  border-radius: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.app-redesign-2026 .push-topic:hover {
  border-color: rgba(0, 134, 201, 0.35);
  box-shadow: 0 6px 16px rgba(0, 134, 201, 0.08);
}

body.app-redesign-2026 .stimme-submit,
body.app-redesign-2026 .push-enable,
body.app-redesign-2026 .info-banner-btn,
body.app-redesign-2026 .abfall-push-hint {
  background: linear-gradient(135deg, #0077b3, #00a0d2);
  box-shadow: 0 8px 18px rgba(0, 119, 179, 0.25);
}

body.app-redesign-2026 .metrics-strip-compact .metric {
  border-radius: 12px;
  background: rgba(255,255,255,0.55);
}

/* Reduce visual noise */
body.app-redesign-2026 .stimme-glow { opacity: 0.35; }
body.app-redesign-2026 [data-page="news"] > .news-politik-card .stimme-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
