/* ==========================================================================
   LukeTV Theme – Design System
   Farben & Schrift aus dem ursprünglichen AI-Studio-Design übernommen
   (Violett auf Tiefschwarz, Plus Jakarta Sans), bereinigt und vereinheitlicht.
   ========================================================================== */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #07090e;
  --panel: #0d111a;
  --panel-2: #121826;
  --line: #1c2434;
  --line-2: #2a3448;
  --text: #f1f5f9;
  --muted: #a3afc2;
  --dim: #6b778b;
  --violet: #8b5cf6;
  --violet-strong: #7c3aed;
  --violet-soft: rgba(139, 92, 246, 0.14);
  --mint: #34d399;
  --mint-soft: rgba(52, 211, 153, 0.12);
  --amber: #fbbf24;

  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Typo-Skala (Verhältnis ~1.25) */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --fs-3xl: clamp(2.1rem, 1.5rem + 2.8vw, 3.75rem);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --wrap: 1200px;
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: rgba(139, 92, 246, 0.5); text-underline-offset: 3px; }
a:hover { color: #fff; text-decoration-color: var(--violet); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 800; color: #fff; text-wrap: balance; }
h1 { font-size: var(--fs-3xl); letter-spacing: -0.03em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
::selection { background: var(--violet-strong); color: #fff; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text, .sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
  background: #fff; color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.lead { font-size: var(--fs-lg); color: var(--muted); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem; border-radius: var(--r-md);
  font: inherit; font-weight: 700; font-size: var(--fs-sm); line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--violet-strong); color: #fff; box-shadow: 0 10px 30px -12px rgba(124, 58, 237, 0.7); }
.btn--primary:hover { background: var(--violet); color: #fff; }
.btn--ghost { background: var(--panel); color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--violet); color: #fff; }
.btn--lg { min-height: 54px; padding: 0.9rem 1.8rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 14, 0.88);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; color: #fff; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--violet-strong);
  display: grid; place-items: center; box-shadow: inset 0 -2px 0 rgba(0,0,0,.25);
}
.brand__mark svg { width: 18px; height: 18px; }
.brand__tld { color: var(--dim); font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 0.25rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav a { display: block; padding: 0.55rem 0.8rem; border-radius: var(--r-sm); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.nav a:hover, .nav .current-menu-item > a, .nav .current_page_item > a { color: #fff; background: var(--panel); }
.header-cta { margin-left: 0.5rem; min-height: 42px; padding: 0.55rem 1rem; }
.region-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.region-switch a { padding: 0.3rem 0.55rem; border-radius: 7px; font-size: var(--fs-xs); font-weight: 700; text-decoration: none; color: var(--dim); }
.region-switch a[aria-current="page"], .region-switch a:hover { background: var(--panel-2); color: #fff; }

.menu-toggle { display: none; }
@media (max-width: 980px) {
  .nav, .region-switch--desktop { display: none; }
  .menu-toggle { display: block; margin-left: auto; position: relative; }
  .menu-toggle > summary {
    list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center;
    border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--panel);
  }
  .menu-toggle > summary::-webkit-details-marker { display: none; }
  .menu-toggle[open] > summary { border-color: var(--violet); }
  .mobile-panel {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; overflow-y: auto;
    background: var(--ink); border-top: 1px solid var(--line); padding: 1.25rem var(--gutter) 6rem;
  }
  .mobile-panel ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
  .mobile-panel li a { display: block; padding: 0.95rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: var(--fs-lg); font-weight: 700; }
  .mobile-panel .region-switch { display: inline-flex; margin-bottom: 1.25rem; }
  .header-cta { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: var(--fs-xs); color: var(--dim); padding-top: 1.25rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line-2); }
.crumbs a { text-decoration: none; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); border-top: 1px solid var(--line); }
.section--flush { border-top: 0; }
.section--tint { background: linear-gradient(180deg, var(--panel) 0%, var(--ink) 100%); }
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section__head p { color: var(--muted); font-size: var(--fs-lg); margin: 0; }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.section__head--split > div { max-width: 640px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2.5rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 5rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto; height: 620px; pointer-events: none;
  background: radial-gradient(50% 50% at 35% 40%, rgba(124, 58, 237, 0.22), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }
.hero h1 { max-width: 20ch; margin-bottom: 0.4em; }
.hero__sub { font-size: var(--fs-lg); color: var(--muted); max-width: 54ch; margin-bottom: 1.75rem; }
.hero__sub strong { color: #fff; font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: var(--fs-sm); color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 0.45rem; }
.checks svg { width: 16px; height: 16px; color: var(--mint); flex: none; }

/* ---------- EPG (das prägende Element) ---------- */
.epg {
  --slot: 25%;
  position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  background: linear-gradient(180deg, #0f1420, var(--panel)); overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(139, 92, 246, 0.06);
  font-size: var(--fs-xs);
}
.epg__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.epg__title { font-weight: 700; color: #fff; font-size: var(--fs-sm); }
.epg__live { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--mint); font-weight: 700; }
.epg__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.epg__grid { position: relative; display: grid; grid-template-columns: 118px 1fr; }
.epg__times { grid-column: 2; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); color: var(--dim); font-variant-numeric: tabular-nums; }
.epg__times span { padding: 0.45rem 0.6rem; border-left: 1px solid var(--line); }
.epg__ch { display: flex; align-items: center; gap: 0.5rem; padding: 0 0.75rem; min-height: 46px; border-bottom: 1px solid var(--line); font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg__ch small { color: var(--dim); font-weight: 600; font-size: 0.7rem; }
.epg__row { position: relative; display: flex; min-height: 46px; border-bottom: 1px solid var(--line); }
.epg__prog { flex: 0 0 var(--w); padding: 0.35rem 0.6rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.epg__prog b { font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.epg__prog i { font-style: normal; color: var(--dim); font-size: 0.7rem; }
.epg__prog.is-now { background: var(--violet-soft); }
.epg__prog.is-now b { color: #fff; }
.epg__prog.is-live b::before { content: "LIVE"; font-size: 0.6rem; letter-spacing: 0.04em; background: #e11d48; color: #fff; padding: 1px 4px; border-radius: 3px; margin-right: 6px; vertical-align: 1px; }
.epg__now { position: absolute; top: 0; bottom: 0; left: calc(118px + (100% - 118px) * var(--now, 0.38)); width: 2px; background: var(--violet); box-shadow: 0 0 12px var(--violet); pointer-events: none; }
.epg__now::before { content: ""; position: absolute; top: -1px; left: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--violet); }
.epg__foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; justify-content: space-between; padding: 0.75rem 1rem; color: var(--dim); }
.epg__foot b { color: var(--muted); font-weight: 700; }
@media (max-width: 520px) {
  .epg__grid { grid-template-columns: 92px 1fr; }
  .epg__now { left: calc(92px + (100% - 92px) * var(--now, 0.38)); }
  .epg__times span:nth-child(4) { display: none; }
}

/* ---------- Stats row ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); }
.facts > div { padding: 1.4rem 1.5rem; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts strong { display: block; font-size: var(--fs-xl); font-weight: 800; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.6rem 1.4rem 1.4rem; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.plan--featured { border-color: var(--violet); background: linear-gradient(180deg, rgba(124,58,237,.16), var(--panel) 45%); box-shadow: 0 30px 60px -35px rgba(124, 58, 237, 0.8); }
.plan__badge { position: absolute; top: -12px; left: 1.4rem; background: var(--violet-strong); color: #fff; font-size: var(--fs-xs); font-weight: 700; padding: 0.2rem 0.65rem; border-radius: var(--r-sm); }
.plan__name { font-size: var(--fs-lg); font-weight: 800; color: #fff; margin: 0 0 0.2rem; }
.plan__note { font-size: var(--fs-xs); color: var(--muted); margin: 0 0 1.25rem; min-height: 1.4em; }
.plan__price { display: flex; align-items: baseline; gap: 0.35rem; margin-bottom: 0.25rem; font-variant-numeric: tabular-nums; }
.plan__price strong { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: #fff; line-height: 1; }
.plan__price span { color: var(--muted); font-weight: 600; }
.plan__pm { font-size: var(--fs-sm); color: var(--mint); font-weight: 600; margin: 0 0 1.25rem; font-variant-numeric: tabular-nums; }
.plan ul { list-style: none; margin: 0 0 1.5rem; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.6rem; font-size: var(--fs-sm); color: var(--muted); }
.plan li { display: flex; gap: 0.55rem; align-items: flex-start; }
.plan li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--mint); flex: none; }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: var(--muted); font-size: var(--fs-sm); }
.plans-note span { display: inline-flex; align-items: center; gap: 0.45rem; }
.plans-note svg { width: 16px; height: 16px; color: var(--mint); }

/* ---------- Cards / Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { padding: 1.5rem; border-radius: var(--r-md); background: var(--panel); border: 1px solid var(--line); }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.card__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--violet-soft); color: #c4b5fd; display: grid; place-items: center; margin-bottom: 1rem; }
.card__icon svg { width: 20px; height: 20px; }

/* Geräte-Kacheln */
.devices { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0.75rem; }
.device { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s, background-color .15s; }
.device:hover { border-color: var(--violet); background: var(--panel-2); }
.device__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line-2); display: grid; place-items: center; color: #c4b5fd; flex: none; }
.device__icon svg { width: 20px; height: 20px; }
.device strong { display: block; color: #fff; font-size: var(--fs-sm); }
.device small { color: var(--dim); font-size: var(--fs-xs); }

/* Schritte (echte Reihenfolge) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; position: relative; padding: 1.5rem; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--violet); color: #c4b5fd; font-weight: 800; margin-bottom: 1rem; }
.steps h3 { font-size: var(--fs-base); }
.steps p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

/* Vergleich */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--panel); color: var(--muted); font-weight: 700; }
.compare thead th:nth-child(2) { color: #fff; background: var(--violet-soft); }
.compare td:nth-child(2) { background: rgba(139, 92, 246, 0.05); color: #fff; font-weight: 600; }
.compare td:nth-child(3) { color: var(--muted); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare th[scope="row"] { color: var(--text); font-weight: 700; }

/* ---------- Senderliste Teaser (Startseite) ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.8rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); font-size: var(--fs-sm); font-weight: 600; color: var(--text); text-decoration: none; }
.chip:hover { border-color: var(--violet); }
.chip small { color: var(--dim); font-weight: 600; font-variant-numeric: tabular-nums; }
.teaser-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
@media (max-width: 900px) { .teaser-cols { grid-template-columns: 1fr; } }
.teaser-col { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); padding: 1.25rem; }
.teaser-col h3 { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-base); margin-bottom: 0.75rem; }
.teaser-col ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1rem; font-size: var(--fs-sm); color: var(--muted); }
.teaser-col li { padding: 0.25rem 0; break-inside: avoid; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.6rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 700; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); border-color: var(--violet); }
.faq .faq__a { padding: 0 1.25rem 1.2rem; color: var(--muted); font-size: var(--fs-sm); }
.faq .faq__a p:last-child { margin: 0; }

/* ---------- CTA Band ---------- */
.cta-band { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(1.75rem, 1rem + 3vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; background: radial-gradient(80% 140% at 100% 0%, rgba(124,58,237,.28), transparent 60%), var(--panel); }
.cta-band h2 { font-size: var(--fs-xl); margin: 0 0 0.3rem; }
.cta-band p { margin: 0; color: var(--muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Page header (Unterseiten) ---------- */
.page-hero { position: relative; padding-block: clamp(1.5rem, 1rem + 3vw, 3.5rem) clamp(2rem, 1rem + 3vw, 3.5rem); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% 0 auto; height: 460px; pointer-events: none; background: radial-gradient(45% 50% at 20% 40%, rgba(124, 58, 237, 0.18), transparent 70%); }
.page-hero > .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem); max-width: 22ch; }
.page-hero .lead { margin-bottom: 1.5rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; color: var(--muted); font-size: var(--fs-sm); }
.meta-row span { display: inline-flex; gap: 0.4rem; align-items: center; }
.meta-row svg { width: 16px; height: 16px; color: #c4b5fd; }

/* ---------- Prose (Anleitungen, Blog, Rechtstexte) ---------- */
.prose { max-width: 72ch; font-size: var(--fs-base); color: #d6dde8; }
.prose h2 { font-size: var(--fs-xl); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose a { color: #c4b5fd; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose blockquote { margin: 1.5em 0; padding: 0.25em 1.25em; border-left: 3px solid var(--violet); color: var(--muted); }
.prose img { border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 0.6rem 0.5rem; text-align: left; }
.prose code { background: var(--panel-2); border: 1px solid var(--line); padding: 0.1em 0.35em; border-radius: 4px; font-size: 0.9em; }
.todo { background: rgba(251, 191, 36, 0.08); border: 1px dashed rgba(251, 191, 36, 0.5); color: #fde68a; padding: 1rem 1.25rem; border-radius: var(--r-md); }

/* Anleitung Layout */
.guide { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (max-width: 980px) { .guide { grid-template-columns: 1fr; } }
.guide-steps { list-style: none; margin: 0 0 2.5rem; padding: 0; counter-reset: gs; }
.guide-steps > li { counter-increment: gs; position: relative; padding: 0 0 2rem 3.4rem; border-left: 1px solid var(--line-2); margin-left: 17px; }
.guide-steps > li:last-child { border-left-color: transparent; padding-bottom: 0.5rem; }
.guide-steps > li::before { content: counter(gs); position: absolute; left: -18px; top: -4px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); border: 1px solid var(--violet); color: #c4b5fd; font-weight: 800; }
.guide-steps h3 { font-size: var(--fs-lg); margin-bottom: 0.4rem; }
.guide-steps p { color: var(--muted); }
.guide-steps ul { margin: 0.5rem 0 0; padding-left: 1.1em; color: #d6dde8; font-size: var(--fs-sm); }
.guide-steps li li { margin: 0.3em 0; }
.tip { margin-top: 0.9rem; padding: 0.8rem 1rem; border-radius: var(--r-sm); background: var(--mint-soft); border: 1px solid rgba(52, 211, 153, 0.25); color: #bbf7d0; font-size: var(--fs-sm); }
.aside-box { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--panel); padding: 1.4rem; }
.aside-box h2, .aside-box h3 { font-size: var(--fs-base); }
.aside-box dl { margin: 0 0 1.25rem; display: grid; gap: 0.6rem; font-size: var(--fs-sm); }
.aside-box dt { color: var(--dim); font-size: var(--fs-xs); }
.aside-box dd { margin: 0; color: #fff; font-weight: 600; }
.aside-box .btn + .btn { margin-top: 0.6rem; }
.app-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.4rem; font-size: var(--fs-sm); }
.app-list li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.55rem 0.75rem; background: var(--panel-2); border-radius: var(--r-sm); }
.app-list em { font-style: normal; color: var(--mint); font-size: var(--fs-xs); font-weight: 700; }

/* ---------- Senderliste (volle Seite) ---------- */
.cl { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .cl { grid-template-columns: 1fr; } }
.cl__side { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); padding: 0.5rem; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
@media (max-width: 900px) {
  .cl__side { position: static; max-height: none; display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.5rem; }
  .cl__side h2 { display: none; }
  .cl__side a { white-space: nowrap; }
  .cl__side hr { display: none; }
}
.cl__side h2 { font-size: var(--fs-xs); color: var(--dim); font-weight: 700; letter-spacing: 0; margin: 0.75rem 0.6rem 0.4rem; }
.cl__side a { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.55rem 0.65rem; border-radius: var(--r-sm); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); }
.cl__side a:hover, .cl__side a.is-active { background: var(--panel-2); color: #fff; }
.cl__side a small { color: var(--dim); font-variant-numeric: tabular-nums; font-weight: 600; }
.cl__side hr { border: 0; border-top: 1px solid var(--line); margin: 0.5rem 0.4rem; }
.cl__search { position: relative; margin-bottom: 1.25rem; }
.cl__search input { width: 100%; min-height: 54px; padding: 0.9rem 1rem 0.9rem 3rem; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--panel); color: #fff; font: inherit; font-size: var(--fs-base); }
.cl__search input::placeholder { color: var(--dim); }
.cl__search input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.cl__search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--dim); pointer-events: none; }
.cl__status { color: var(--muted); font-size: var(--fs-sm); margin: -0.5rem 0 1rem; min-height: 1.4em; }
.region { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); margin-bottom: 1rem; overflow: hidden; }
.region > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; }
.region > summary::-webkit-details-marker { display: none; }
.region > summary h2 { margin: 0; font-size: var(--fs-lg); display: flex; align-items: center; gap: 0.6rem; }
.region > summary .count { margin-left: auto; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; font-variant-numeric: tabular-nums; }
.region > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--dim); border-bottom: 2px solid var(--dim); transform: rotate(45deg); transition: transform .2s; }
.region[open] > summary::after { transform: rotate(-135deg); }
.region[open] > summary { border-bottom: 1px solid var(--line); }
.region__body { padding: 0.5rem 1.25rem 1.25rem; }
.subcat h3 { font-size: var(--fs-sm); color: #c4b5fd; margin: 1.1rem 0 0.6rem; display: flex; gap: 0.5rem; }
.subcat h3 small { color: var(--dim); font-weight: 600; }
.chan-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.4rem; }
.chan-list li { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.5rem 0.7rem; border-radius: var(--r-sm); background: var(--panel-2); font-size: var(--fs-sm); min-width: 0; }
.chan-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chan-list mark { background: rgba(139, 92, 246, 0.35); color: #fff; border-radius: 2px; }
.q { display: inline-flex; gap: 3px; flex: none; }
.q i { font-style: normal; font-size: 0.66rem; font-weight: 700; padding: 1px 5px; border-radius: 4px; background: var(--line); color: var(--muted); }
.q i.q4k { background: rgba(139, 92, 246, 0.25); color: #ddd6fe; }
.q i.qev { background: rgba(225, 29, 72, 0.2); color: #fecdd3; }
.region__loading { color: var(--muted); padding: 1rem 0; font-size: var(--fs-sm); }
.cl__empty { padding: 2rem; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-md); color: var(--muted); }

/* ---------- Formular (Test) ---------- */
.form { display: grid; gap: 1rem; }
.field label { display: block; font-size: var(--fs-sm); font-weight: 700; margin-bottom: 0.4rem; color: #fff; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.9rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--ink); color: #fff; font: inherit; font-size: var(--fs-base);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.field--check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-xs); color: var(--muted); }
.field--check input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--violet); flex: none; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 1rem 1.25rem; border-radius: var(--r-md); margin-bottom: 1.25rem; font-weight: 600; }
.notice--ok { background: var(--mint-soft); border: 1px solid rgba(52, 211, 153, 0.35); color: #bbf7d0; }
.notice--err { background: rgba(225, 29, 72, 0.1); border: 1px solid rgba(225, 29, 72, 0.4); color: #fecdd3; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel); overflow: hidden; text-decoration: none; }
.post-card:hover { border-color: var(--line-2); }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card__body { padding: 1.25rem; }
.post-card h2 { font-size: var(--fs-lg); margin-bottom: 0.4rem; }
.post-card p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.post-card time { display: block; color: var(--dim); font-size: var(--fs-xs); margin-bottom: 0.5rem; }
.pagination { margin-top: 2rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pagination .page-numbers { padding: 0.5rem 0.85rem; border-radius: var(--r-sm); border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--violet-strong); border-color: var(--violet-strong); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; background: #05070b; font-size: var(--fs-sm); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: var(--fs-sm); color: #fff; margin-bottom: 0.9rem; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--dim); font-size: var(--fs-xs); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

/* ---------- Mobile Sticky Bar & Support ---------- */
.m-bar { display: none; }
@media (max-width: 640px) {
  .m-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 0.65rem var(--gutter) calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: rgba(13, 17, 26, 0.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line-2);
  }
  .m-bar strong { display: block; color: #fff; font-size: var(--fs-sm); }
  .m-bar span { color: var(--mint); font-size: var(--fs-xs); font-weight: 600; }
  .m-bar .btn { min-height: 44px; padding: 0.5rem 1rem; }
  body.has-mbar { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .wa-fab { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }
}
.wa-fab { position: fixed; right: 18px; bottom: 22px; z-index: 39; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.6); }
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab:hover { color: #fff; transform: translateY(-2px); }

/* ---------- WooCommerce (Kasse & Konto im Dark Design) ---------- */
.woocommerce, .woocommerce-page { color: var(--text); }
.woo-wrap { padding-block: 2rem 4rem; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.select2-container--default .select2-selection--single {
  background: var(--ink) !important; color: #fff !important; border: 1px solid var(--line-2) !important;
  border-radius: var(--r-sm) !important; min-height: 48px; padding: 0.6rem 0.8rem !important; font: inherit !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered { color: #fff !important; line-height: 30px !important; }
.select2-dropdown { background: var(--panel) !important; color: #fff !important; border-color: var(--line-2) !important; }
.woocommerce form .form-row label { color: var(--muted); font-weight: 600; font-size: var(--fs-sm); }
.woocommerce table.shop_table { border-color: var(--line) !important; border-radius: var(--r-md) !important; background: var(--panel); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--line) !important; }
.woocommerce #payment, .woocommerce-checkout #payment { background: var(--panel) !important; border-radius: var(--r-md) !important; border: 1px solid var(--line); }
.woocommerce-checkout #payment div.payment_box { background: var(--panel-2) !important; color: var(--muted) !important; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--panel-2) !important; }
.woocommerce #payment ul.payment_methods { border-color: var(--line) !important; }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce button.button.alt, .woocommerce a.button.alt {
  background: var(--violet-strong) !important; color: #fff !important; border-radius: var(--r-md) !important;
  font-weight: 700 !important; padding: 0.9rem 1.4rem !important; font-family: var(--font) !important;
}
.woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce button.button.alt:hover { background: var(--violet) !important; }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-notice {
  background: var(--panel) !important; color: var(--text) !important; border-top-color: var(--violet) !important; border-radius: var(--r-sm);
}
.woocommerce-info::before, .woocommerce-message::before { color: var(--violet) !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.3rem; }
.woocommerce-MyAccount-navigation a { display: block; padding: 0.6rem 0.9rem; border-radius: var(--r-sm); text-decoration: none; background: var(--panel); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--violet-soft); color: #fff; }
.checkout-summary { border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--panel); padding: 1rem 1.25rem; margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: var(--fs-sm); color: var(--muted); }
.checkout-summary span { display: inline-flex; gap: 0.4rem; align-items: center; }
.checkout-summary svg { width: 16px; height: 16px; color: var(--mint); }

/* Utility */
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2rem; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---------- WooCommerce Block-Kasse (Standard seit WooCommerce 8.3) ---------- */
.wc-block-checkout, .wc-block-components-sidebar-layout { color: var(--text); }
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input,
.wc-blocks-components-select__select,
.wc-block-components-select-input select {
  background: var(--ink) !important; color: #fff !important; border: 1px solid var(--line-2) !important; border-radius: var(--r-sm) !important;
}
.wc-block-components-text-input label, .wc-blocks-components-select__label, .wc-block-components-combobox label { color: var(--muted) !important; }
.wc-block-components-text-input.is-active input, .wc-block-components-text-input input:focus { border-color: var(--violet) !important; box-shadow: 0 0 0 3px var(--violet-soft) !important; }
.wc-block-components-button:not(.is-link), .wc-block-components-checkout-place-order-button {
  background: var(--violet-strong) !important; color: #fff !important; border-radius: var(--r-md) !important; font-weight: 700 !important; min-height: 52px;
}
.wc-block-components-button:not(.is-link):hover { background: var(--violet) !important; }
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-color: var(--line-2) !important; }
.wc-block-components-radio-control__input { background: var(--ink) !important; border-color: var(--line-2) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--violet) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { background: var(--ink) !important; border-color: var(--line-2) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff !important; }
.wc-block-components-order-summary, .wp-block-woocommerce-checkout-order-summary-block { background: var(--panel); border-radius: var(--r-md); border: 1px solid var(--line) !important; }
.wc-block-components-panel, .wc-block-components-totals-wrapper { border-color: var(--line) !important; }
.wc-block-components-notice-banner { background: var(--panel) !important; color: var(--text) !important; border-color: var(--line-2) !important; }
.wc-block-components-product-metadata, .wc-block-components-product-price, .wc-block-components-totals-item__description { color: var(--muted) !important; }
.wc-block-components-validation-error { color: #fda4af !important; }
.wc-block-checkout__terms, .wc-block-components-checkout-step__description { color: var(--muted); }
.wc-block-components-quantity-selector { display: none !important; }

/* ---------- Bewertungen ---------- */
.review { margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.review--draft { outline: 1px dashed rgba(251, 191, 36, 0.5); }
.review__stars { display: flex; gap: 2px; }
.review__stars svg { width: 16px; height: 16px; color: var(--line-2); }
.review__stars svg.on { color: var(--amber); fill: var(--amber); }
.review h3 { font-size: var(--fs-base); margin: 0; }
.review blockquote { margin: 0; color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.review blockquote p { margin: 0; }
.review figcaption { font-size: var(--fs-xs); color: var(--dim); display: grid; gap: 2px; }
.review figcaption strong { color: var(--text); font-size: var(--fs-sm); }

/* ---------- Streichpreis ---------- */
.plan__was { color: var(--dim); font-weight: 600; font-size: 1.05rem; text-decoration: line-through; text-decoration-color: rgba(225, 29, 72, 0.8); }
.plan__save { display: inline-block; margin-left: 0.35rem; font-size: var(--fs-xs); font-weight: 700; color: var(--mint); }
