/* pool.bitaxe.de – Solo-Pool-Frontend im Markenbild von bitaxe.de:
   Albert Sans (selbst gehostet, wie der Shop), Akzent Blau #4933d1, sehr
   runde Karten (20 px) und Pillen-Buttons. Eine helle Seite mit dunklen,
   blaustichigen Akzentflächen (Verbindungskarte, Global Stats, Footer).
   Ein Theme, keine Frameworks, kein externer Request. */

@font-face {
    font-family: 'Albert Sans';
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    src: url('/assets/albert-sans-latin.woff2') format('woff2');
}

:root {
    --brand: #4933d1;
    --brand-dark: #412ebc;
    --brand-50: #f4f3fc;
    --brand-100: #e9e7fa;
    --brand-200: #d0caf3;
    --brand-300: #b6adec;
    --brand-700: #3928a3;
    --ink: #17152b;
    --text: #4f4c6b;
    --muted: #8b89a3;
    --line: #e6e5f0;
    --line-2: #d9d7e8;
    --surface: #f6f6fa;
    --surface-2: #eeedf5;
    --navy: #14122b;
    --navy-2: #1d1a3a;
    --navy-3: #28254c;
    --navy-line: #2f2c55;
    --navy-text: #b9b6d6;
    --navy-muted: #7a77a0;
    --code: #c9c3ff;
    --ok: #16a34a;
    --bad: #dc2626;
    --r-card: 20px;
    --r-md: 14px;
    --r-pill: 35px;
    --shadow-sm: 0 1px 2px rgb(23 21 43 / 0.05);
    --shadow-md: 0 6px 20px -6px rgb(23 21 43 / 0.12);
    --shadow-lg: 0 24px 48px -16px rgb(23 21 43 / 0.28);
    --container: 1200px;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    font-family: 'Albert Sans', Arial, Helvetica, sans-serif;
    background: #fff;
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h2 { font-size: 1.75rem; margin: 0.25rem 0 0.5rem; text-wrap: balance; }
a { color: inherit; }
strong { color: var(--ink); font-weight: 700; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
code {
    font-family: var(--mono);
    background: var(--surface-2);
    border-radius: 0.375rem;
    padding: 0.1rem 0.4rem;
    font-size: 0.88em;
    color: var(--ink);
    word-break: break-all;
}
button { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Kleinteile ---------- */
.eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--brand);
}
.eyebrow-light { color: var(--brand-200); }
.meta-text { font-size: 0.75rem; color: var(--muted); }
.section-note { font-size: 0.74rem; color: var(--muted); margin: 0.875rem 0 0; }
.section-head { max-width: 46rem; margin-bottom: 1.5rem; }
.section-sub { margin: 0; font-size: 1rem; }

.chip {
    display: inline-block;
    font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--brand-700); background: var(--brand-50);
    border: 1px solid var(--brand-100); border-radius: 999px; padding: 0.3rem 0.75rem;
    white-space: nowrap;
}
.chip-dark { background: var(--navy-2); border-color: var(--navy-line); color: var(--navy-text); }

.pill {
    display: inline-block; vertical-align: middle;
    font-size: 0.62rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
    padding: 0.22rem 0.6rem; border-radius: 999px;
    background: var(--surface-2); color: var(--text); border: 1px solid var(--line);
    white-space: nowrap;
}
.pill-brand { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }

/* Pulsierender Live-Punkt */
.pulse { position: relative; display: inline-grid; place-items: center; height: 0.6rem; width: 0.6rem; flex: none; }
.pulse-core { display: block; height: 0.6rem; width: 0.6rem; border-radius: 999px; background: var(--muted); }
.pulse::after { content: ''; position: absolute; inset: 0; border-radius: 999px; background: var(--muted); opacity: 0; }
.pulse.is-ok .pulse-core { background: #22c55e; box-shadow: 0 0 0 2px rgb(34 197 94 / 0.2); }
.pulse.is-ok::after { background: #22c55e; animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.pulse.is-bad .pulse-core { background: var(--bad); box-shadow: 0 0 0 2px rgb(220 38 38 / 0.2); }
@keyframes pulse-ring {
    0%   { transform: scale(1);   opacity: 0.55; }
    70%  { transform: scale(2.6); opacity: 0; }
    100% { transform: scale(2.6); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; } }

.dot { display: inline-block; height: 0.6rem; width: 0.6rem; border-radius: 999px; background: var(--line-2); vertical-align: middle; }
.dot-ok { background: var(--ok); box-shadow: 0 0 0 3px rgb(22 163 74 / 0.15); }
.dot-unknown { background: var(--line-2); }

/* ---------- Buttons (Pillen wie im Shop) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.8rem 1.6rem; border-radius: var(--r-pill);
    font-size: 0.9375rem; font-weight: 600; line-height: 1.2; text-decoration: none;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.875rem; }
.btn-icon { height: 1rem; width: 1rem; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px -4px rgb(73 51 209 / 0.55); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-50); }
.btn-ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.45); }
.btn-ghost:hover { background: rgb(255 255 255 / 0.12); border-color: #fff; }
.btn-block { width: 100%; margin-top: 1.25rem; }

.copy-btn {
    flex: none; font-size: 0.72rem; font-weight: 600;
    padding: 0.4rem 0.8rem; border-radius: 999px;
    background: transparent; border: 1px solid var(--navy-line); color: var(--navy-text);
    cursor: pointer; transition: all .15s; white-space: nowrap;
}
.copy-btn:hover { border-color: #fff; color: #fff; }
.copy-btn.copied { background: var(--brand); border-color: var(--brand); color: #fff; }
.cc-field-light .copy-btn { border-color: var(--line-2); color: var(--text); background: #fff; }
.cc-field-light .copy-btn:hover { border-color: var(--brand); color: var(--brand-700); }
.cc-field-light .copy-btn.copied { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: rgb(255 255 255 / 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.logo-img { display: block; height: 34px; width: auto; }
.logo-tag {
    display: inline-block;
    font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
    color: #fff; background: var(--brand); border-radius: 999px; padding: 0.22rem 0.6rem;
    transform: translateY(1px);
}
.header-nav { display: flex; align-items: center; gap: 0.2rem; }
.nav-link {
    font-size: 0.875rem; font-weight: 600; color: var(--text);
    padding: 0.5rem 0.8rem; border-radius: 999px; text-decoration: none; white-space: nowrap;
    transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--surface); color: var(--ink); }
.nav-cta { margin-left: 0.5rem; }
@media (max-width: 900px) { .nav-link-lg { display: none; } }
@media (max-width: 720px) { .nav-link-md { display: none; } }
/* Schmale Handys: Logo, Pool-Tag, Button und Sprachwahl muessen in 360 px passen. */
@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .logo { gap: 0.4rem; }
    .logo-img { height: 28px; }
    .nav-cta { margin-left: 0; padding: 0.5rem 0.85rem; font-size: 0.78rem; }
    .lang-switch { margin-left: 0.3rem; padding: 0.4rem 0.5rem; }
}

.lang-switch {
    display: inline-flex; align-items: center; gap: 0.4rem;
    margin-left: 0.5rem; padding: 0.45rem 0.65rem;
    border: 1px solid var(--line); border-radius: 999px;
    font-size: 0.72rem; font-weight: 700; color: var(--text);
    text-decoration: none; transition: all .15s; white-space: nowrap;
}
.lang-switch:hover { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.flag { height: 0.75rem; width: 1.25rem; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.1); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    padding: 4.5rem 0 3.5rem;
    background: radial-gradient(60rem 28rem at 88% -12%, var(--brand-100), transparent 62%), #fff;
}
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(var(--brand-200) 1px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.55), transparent 75%);
    mask-image: linear-gradient(180deg, rgb(0 0 0 / 0.55), transparent 75%);
}
.hero-grid { position: relative; display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }
.hero-chips { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0 0 1.25rem; }
.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.9rem); font-weight: 800; letter-spacing: -0.03em;
    margin: 0 0 1.1rem; text-wrap: balance;
}
.hl {
    background-image: linear-gradient(92deg, var(--brand), #7c5cff);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 36rem; font-size: 1.1rem; margin: 0 0 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-facts {
    list-style: none; margin: 2.25rem 0 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
@media (max-width: 560px) { .hero-facts { grid-template-columns: 1fr; gap: 0.875rem; } }
.hero-facts li { border-left: 2px solid var(--brand-200); padding-left: 0.8rem; display: flex; flex-direction: column; gap: 0.15rem; }
.hero-facts strong { font-size: 0.95rem; }
.hero-facts span { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }

/* Verbindungskarte */
.connect-card {
    background: var(--navy); color: #fff;
    border: 1px solid var(--navy-line); border-radius: var(--r-card);
    padding: 1.5rem; box-shadow: var(--shadow-lg);
}
.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.live-badge { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.8rem; color: var(--navy-text); font-variant-numeric: tabular-nums; }
.cc-tag {
    font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--navy-text); border: 1px solid var(--navy-line); border-radius: 999px; padding: 0.22rem 0.6rem;
}
.cc-title { margin: 0 0 0.25rem; font-size: 1.05rem; font-weight: 700; color: #fff; }
.cc-label {
    display: block; margin: 0.9rem 0 0.35rem;
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-muted);
}
.cc-field { display: flex; align-items: stretch; gap: 0.5rem; }
.cc-field code {
    flex: 1; min-width: 0;
    background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 10px;
    padding: 0.6rem 0.8rem; color: var(--code);
    font-size: 0.84rem; line-height: 1.5; word-break: break-all;
}
.cc-field-multi code { color: #e9e7fa; }
.cc-field-light code { background: var(--surface); border-color: var(--line); color: var(--brand-700); }
.cc-field-light.cc-field-multi code { color: var(--ink); }
.cc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 480px) { .cc-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Abschnitte ---------- */
.section { padding: 2.75rem 0; }
.section-tight { padding: 0.5rem 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 3.5rem 0; margin-top: 1.5rem; }

/* Adress-Suche */
.lookup { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.5rem 0; }
.lookup-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.lookup-copy { min-width: 16rem; max-width: 34rem; }
.lookup-copy h2 { font-size: 1.4rem; margin: 0 0 0.35rem; }
.lookup-sub { margin: 0; font-size: 0.9rem; }
.addr-form { display: flex; gap: 0.6rem; flex: 1; min-width: 18rem; max-width: 36rem; }
.addr-input {
    flex: 1; min-width: 10rem; width: 100%;
    font: inherit; font-size: 1rem; font-family: var(--mono);
    padding: 0.8rem 1.25rem;
    border: 1px solid var(--line-2); border-radius: var(--r-pill);
    background: #fff; color: var(--ink);
    transition: border-color .15s, box-shadow .15s;
}
.addr-input::placeholder { color: var(--muted); }
.addr-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(73 51 209 / 0.18); }
.addr-result { margin-top: 1.5rem; }
.addr-error {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 1rem 1.25rem; font-size: 0.9375rem; box-shadow: var(--shadow-sm);
}

/* Kacheln */
.tiles-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 26rem) { .tiles-grid { grid-template-columns: 1fr; } }
@media (min-width: 56rem) { .tiles-grid { grid-template-columns: repeat(4, 1fr); } }
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.stat-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-card); padding: 1.15rem 1.3rem; box-shadow: var(--shadow-sm);
    transition: border-color .15s;
}
.stat-card:hover { border-color: var(--line-2); }
.stat-card-hero { background: linear-gradient(135deg, var(--brand) 0%, #6a55e6 100%); border-color: transparent; color: #fff; }
.stat-card-hero:hover { border-color: transparent; }
.stat-label { margin: 0; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.stat-value { margin: 0.3rem 0 0; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.stat-sub { margin: 0.25rem 0 0; font-size: 0.74rem; color: var(--muted); }
.stat-card-hero .stat-label { color: rgb(255 255 255 / 0.78); }
.stat-card-hero .stat-value { color: #fff; }
.stat-card-hero .stat-sub { color: rgb(255 255 255 / 0.72); }

/* Karten, Tabs, Chart */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.chart-card { padding: 1.25rem 1.5rem 1.5rem; }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.card-title { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.tabs { display: inline-flex; gap: 0.2rem; background: var(--surface); border-radius: 999px; padding: 0.25rem; }
.tab {
    font: inherit; font-size: 0.8rem; font-weight: 600;
    border: none; background: transparent; color: var(--muted);
    border-radius: 999px; padding: 0.4rem 0.85rem; cursor: pointer; transition: all .15s; white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tabs-dark { background: var(--navy-3); }
.tabs-dark .tab { color: var(--navy-text); }
.tabs-dark .tab:hover { color: #fff; }
.tabs-dark .tab.active { background: var(--brand); color: #fff; box-shadow: none; }
.chart-body { min-height: 240px; }
.chart-body svg { display: block; width: 100%; height: auto; }
.chart-empty { display: grid; place-items: center; min-height: 240px; color: var(--muted); font-size: 0.9375rem; text-align: center; padding: 1rem; line-height: 1.7; }

/* Tabellen */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th {
    text-align: left; padding: 0.7rem 1rem;
    font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
    color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.data-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--surface-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.data-table tr:last-child td { border-bottom: none; }
.data-table code { background: none; padding: 0; font-size: 0.8rem; color: var(--text); }
.table-empty { color: var(--muted); text-align: center; padding: 2.5rem 1rem !important; white-space: normal !important; }
.rank-1, .best-1 { color: var(--brand); font-weight: 800; }

/* Global Solo Stats (dunkles Panel) */
.gs-panel { background: var(--navy); color: #fff; border: 1px solid var(--navy-line); border-radius: var(--r-card); padding: 1.5rem 1.75rem; }
.gs-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.gs-title { margin: 0; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy-text); }
.gs-title-gap { margin-top: 1.25rem; }
.gs-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 1rem; }
@media (max-width: 640px) { .gs-cells { grid-template-columns: 1fr; } }
.gs-cell { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--r-md); padding: 1rem; text-align: center; }
.gs-label { margin: 0; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--navy-muted); line-height: 1.45; }
.gs-value { margin: 0.3rem 0 0; font-size: 1.75rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.gs-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0.75rem; margin-top: 0.75rem; }
.gs-block { display: block; text-decoration: none; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--r-md); padding: 0.85rem 1rem; transition: border-color .15s; }
a.gs-block:hover { border-color: var(--brand-300); }
.gs-block-h { margin: 0; font-size: 1.1rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.gs-block-sub { margin: 0.15rem 0 0; font-size: 0.72rem; color: var(--navy-muted); }
.gs-src { margin: 1rem 0 0; font-size: 0.68rem; color: var(--navy-muted); }

/* SOLO Groups */
.feature-card { padding: 1.75rem; margin-bottom: 1rem; }
.feature-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.feature-head > div:first-child { max-width: 42rem; }
.feature-title { margin: 0.75rem 0 0.4rem; font-size: 1.6rem; }
.feature-lead { margin: 0 0 0.6rem; font-size: 1.05rem; font-weight: 700; color: var(--brand-700); }
.feature-text { margin: 0; font-size: 0.95rem; }
.feature-actions { display: flex; flex-direction: column; gap: 0.6rem; min-width: 13rem; }
@media (max-width: 720px) { .feature-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; } }
.feature-tiles { margin-bottom: 1rem; }
.info-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.25rem; }
.info-title { margin: 0 0 0.75rem; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink); }
.info-text { margin: 0.75rem 0 0; font-size: 0.82rem; line-height: 1.65; }
.info-card .cc-field-light code { background: #fff; }

.group-row { cursor: pointer; transition: background .12s; }
.group-row:hover { background: var(--brand-50); }
.group-row.active { background: var(--brand-50); box-shadow: inset 3px 0 0 var(--brand); }
.group-name { font-weight: 700; color: var(--ink); }
.group-name::before { content: '#'; color: var(--brand); }
.group-detail { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.group-detail-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.group-detail-head h4 { margin: 0; font-size: 1.1rem; }
.group-detail .gs-title { color: var(--muted); }
.group-preview-note { font-size: 0.78rem; color: var(--muted); margin: 0.875rem 0 0; }

/* FAQ */
.faq-list { display: grid; gap: 0.6rem; max-width: 56rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 1.25rem; box-shadow: var(--shadow-sm); transition: border-color .15s; }
.faq-item:hover { border-color: var(--line-2); }
.faq-item[open] { border-color: var(--brand-200); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1rem 2.25rem 1rem 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { display: inline; margin: 0; font-size: 0.98rem; font-weight: 700; letter-spacing: 0; }
.faq-item summary::after {
    content: '+'; position: absolute; right: 0.1rem; top: 50%;
    transform: translateY(-50%); color: var(--brand); font-size: 1.35rem; font-weight: 700;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 0 0 1rem; font-size: 0.95rem; }
.faq-item a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }

/* Shop-Hinweis */
.cta-band { margin-top: 3rem; background: linear-gradient(135deg, var(--brand) 0%, #3a27b0 100%); color: #fff; padding: 3.25rem 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner > div:first-child { max-width: 40rem; }
.cta-band h2 { color: #fff; font-size: 1.6rem; margin: 0.25rem 0 0.5rem; }
.cta-band p { margin: 0; color: rgb(255 255 255 / 0.82); }
.cta-band .eyebrow { margin-bottom: 0.25rem; }
.cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-text); padding: 3.5rem 0 1.75rem; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); font-size: 0.875rem; }
@media (min-width: 900px) { .footer-cols { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; } }
.footer-brand { max-width: 24rem; }
.footer-logo { margin-bottom: 1rem; }
/* Der Schriftzug ist schwarz mit weisser Kontur; auf Navy verschwindet das
   ".de" - deshalb als weisser Sticker. */
.footer-logo .logo-img { height: 40px; background: #fff; border-radius: 10px; padding: 5px 9px; }
.footer-tag { margin: 0 0 1rem; font-size: 0.82rem; line-height: 1.7; }
.footer-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0; }
.footer-chips .chip { font-size: 0.62rem; padding: 0.22rem 0.6rem; }
.footer-head { margin: 0 0 0.875rem; font-size: 0.82rem; font-weight: 700; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.site-footer a { color: var(--navy-text); text-decoration: none; font-size: 0.82rem; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--navy-line);
    font-size: 0.75rem; color: var(--navy-muted);
}
.footer-bottom p { margin: 0; }
.footer-status { display: inline-flex; align-items: center; gap: 0.5rem; font-variant-numeric: tabular-nums; }

/* ---------- Modal ---------- */
.modal-backdrop {
    position: fixed; inset: 0; z-index: 100;
    background: rgb(20 18 43 / 0.72);
    backdrop-filter: blur(4px);
    display: grid; place-items: start center;
    padding: 2.5rem 1rem; overflow-y: auto;
    animation: fade-in .15s ease-out;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
    width: 100%; max-width: 54rem;
    background: #fff; border-radius: var(--r-card);
    box-shadow: var(--shadow-lg); padding: 1.75rem;
    animation: modal-in .18s ease-out;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal, .modal-backdrop { animation: none; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.modal-head h2 { margin: 0; font-size: 1.4rem; }
.modal-close {
    font-size: 1.5rem; line-height: 1; background: none; border: none; color: var(--muted);
    cursor: pointer; padding: 0.2rem 0.5rem; border-radius: 999px; transition: all .15s;
}
.modal-close:hover { color: var(--ink); background: var(--surface); }
.modal-intro { margin: 0.625rem 0 1.25rem; font-size: 0.9375rem; }

.mode-cards { display: grid; gap: 0.875rem; grid-template-columns: 1fr; margin-bottom: 1rem; }
@media (min-width: 700px) { .mode-cards { grid-template-columns: 1fr 1fr; } }
.mode-card {
    position: relative; text-align: left; display: block; width: 100%;
    background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md);
    padding: 1rem 2.75rem 1rem 1.125rem; cursor: pointer; transition: all .15s;
}
.mode-card:hover { border-color: var(--line-2); }
.mode-card.active { border-color: var(--brand); background: var(--brand-50); }
.mode-title { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1rem; color: var(--ink); }
.mode-sub { display: block; margin-top: 0.3rem; font-size: 0.82rem; color: var(--text); line-height: 1.5; }
.mode-radio {
    position: absolute; right: 1rem; top: 1.15rem;
    height: 1.1rem; width: 1.1rem; border-radius: 999px;
    border: 1.5px solid var(--line-2); background: #fff; transition: all .15s;
}
.mode-card.active .mode-radio { border-color: var(--brand); border-width: 5px; }

.cm-grid { display: grid; gap: 0.875rem; grid-template-columns: 1fr; margin-top: 0.875rem; }
@media (min-width: 700px) { .cm-grid { grid-template-columns: 1fr 1fr; } }
.cm-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.125rem 1.25rem; }
.cm-box-title { margin: 0 0 0.875rem; font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.cm-label { display: block; margin: 0.875rem 0 0.35rem; font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.cm-label:first-of-type { margin-top: 0; }
.cm-text { margin: 0 0 0.5rem; font-size: 0.82rem; line-height: 1.6; }
.cm-text-gap { margin-top: 0.75rem; }
.cm-hint { margin: 0.875rem 0 0; font-size: 0.75rem; color: var(--muted); line-height: 1.6; }
.cm-list { margin: 0.875rem 0 0; padding-left: 1.1rem; font-size: 0.82rem; display: flex; flex-direction: column; gap: 0.4rem; }
.cm-steps { margin: 0; padding-left: 1.2rem; font-size: 0.82rem; display: flex; flex-direction: column; gap: 0.5rem; }
.cm-note { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r-md); padding: 0.95rem 1.125rem; margin-top: 0.875rem; }
.cm-note p { margin: 0; font-size: 0.82rem; line-height: 1.65; }
.device-row { display: flex; gap: 0.625rem; flex-wrap: wrap; align-items: flex-start; }
.device {
    display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
    width: 8.5rem; padding: 0.9rem 0.5rem;
    background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md);
    cursor: pointer; transition: all .15s; color: var(--text);
}
.device svg { height: 1.75rem; width: 1.75rem; }
.device span { font-size: 0.7rem; font-weight: 600; text-align: center; line-height: 1.3; }
.device:hover { border-color: var(--line-2); }
.device.active { border-color: var(--brand); background: var(--brand-50); color: var(--brand-700); }
.device-hint { flex: 1; min-width: 14rem; margin: 0; font-size: 0.75rem; color: var(--muted); line-height: 1.65; }
body.modal-open { overflow: hidden; }

/* ---------- Warum der Bitaxe Pool ---------- */
.why-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.why-icon { display: grid; place-items: center; height: 2.5rem; width: 2.5rem; border-radius: 12px; background: var(--brand-50); color: var(--brand); margin-bottom: 0.9rem; }
.why-icon svg { height: 1.25rem; width: 1.25rem; }
.why-card h3 { margin: 0 0 0.4rem; font-size: 1.02rem; letter-spacing: -0.01em; }
.why-card p { margin: 0; font-size: 0.9rem; }

/* ---------- Einrichten in drei Schritten ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.5rem 1.5rem 1.4rem; box-shadow: var(--shadow-sm); }
.step-no { display: inline-grid; place-items: center; height: 2.1rem; width: 2.1rem; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: 0.95rem; margin-bottom: 0.9rem; }
.step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 0.9rem; }
.step-links { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; }

/* ---------- Vergleichstabelle ---------- */
.compare-wrap { padding: 0; }
.compare-table th:first-child, .compare-table td:first-child { position: sticky; left: 0; background: #fff; }
.compare-table tbody th { text-align: left; padding: 0.8rem 1rem; font-size: 0.875rem; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--ink); border-bottom: 1px solid var(--surface-2); white-space: nowrap; }
.compare-table tr:last-child th { border-bottom: none; }
.compare-table thead th.is-us { color: var(--brand); }
.compare-table td.is-us { background: var(--brand-50); color: var(--ink); font-weight: 600; }
.compare-table td { white-space: normal; min-width: 9rem; }
