/* BlurPass24 – Clean Minimal, mobile-first, keine externen Ressourcen */

:root {
    --bg: #ffffff;
    --bg-soft: #f6f7f9;
    --text: #14171f;
    --muted: #5b6472;
    --border: #e4e7ec;
    --accent: #2354d1;
    --accent-hover: #1b45ad;
    --accent-soft: #eef2fd;
    --accent-transparent: rgba(35, 84, 209, 0.32);
    --danger: #b3261e;
    --radius: 12px;
    --radius-sm: 8px;
    --maxw: 1080px;
    --shadow: 0 1px 3px rgba(20, 23, 31, 0.06), 0 8px 24px rgba(20, 23, 31, 0.05);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img, canvas { max-width: 100%; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 { line-height: 1.25; }
h2 { font-size: 1.5rem; margin: 0 0 24px; }
h3 { font-size: 1.05rem; margin: 0 0 8px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ------------------------------------------------ Buttons */

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover:not(:disabled) { background: var(--accent-hover); }

.btn-secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--border);
}
.btn-secondary:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }

.btn-lg { padding: 14px 28px; font-size: 1.05rem; border-radius: 10px; }

/* ------------------------------------------------ Header */

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}
.brand {
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text);
    letter-spacing: -0.01em;
}
.brand span { color: var(--accent); }

/* Beta-Badge neben dem Logo + Badge „kommerzielle Nutzung" im Editor */
.beta-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(255, 168, 10, 0.16);
    border: 1px solid rgba(255, 168, 10, 0.45);
    color: #f59e0b;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
    line-height: 1.5;
}
.use-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #e7f6ec;
    border: 1px solid #9fd8b1;
    color: #137333;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}
.use-badge a { color: inherit; text-decoration: underline; }
.brand:hover { text-decoration: none; }

.site-nav { display: flex; gap: 20px; }
.site-nav a { color: var(--muted); font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 560px) {
    .site-nav { gap: 12px; }
    .site-nav a { font-size: 0.88rem; }
    .site-nav a:last-child { display: none; }
}

/* ------------------------------------------------ Hero */

.hero {
    padding: 56px 0 40px;
    text-align: center;
}
.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.hero .sub {
    font-size: 1.1rem;
    color: var(--muted);
    margin: 0 0 8px;
}
.hero .intro {
    max-width: 640px;
    margin: 8px auto 24px;
    color: var(--muted);
}
.hero-actions { margin: 24px 0 16px; }

.hero-hints {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    padding: 0;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}
.hero-hints li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    margin-right: 6px;
}

@media (min-width: 640px) {
    .hero h1 { font-size: 2.5rem; }
}

/* ------------------------------------------------ Editor */

.editor-section { padding: 8px 0 56px; }

.editor-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.dropzone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 44px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
.dropzone:hover, .dropzone.dragover {
    border-color: var(--accent);
    background: var(--accent-soft);
}
.dz-title { font-weight: 700; margin: 0 0 6px; }
.dz-sub { color: var(--muted); font-size: 0.9rem; margin: 0; }

.editor-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb {
    position: relative;
    width: 64px;
    height: 64px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    background: var(--bg-soft);
    flex: none;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.active { border-color: var(--accent); }
.thumb .thumb-done {
    position: absolute;
    right: 3px;
    bottom: 3px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 4px;
}
/* Anzahl noch nicht angewendeter Markierungen am Thumbnail */
.thumb .thumb-pending {
    position: absolute;
    right: 3px;
    top: 3px;
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 16px;
    text-align: center;
    padding: 1px 4px;
    border-radius: 4px;
}

/* „Bilder hinzufügen"-Kachel am Ende der Thumbnail-Leiste */
.thumb-add {
    border-style: dashed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    color: var(--muted);
}
.thumb-add .plus { font-size: 1.7rem; line-height: 1; font-weight: 700; color: var(--accent); }
.thumb-add .lbl { font-size: 0.56rem; line-height: 1.15; text-align: center; font-weight: 600; }
.thumb-add:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.thumb-add:disabled { opacity: 0.45; cursor: not-allowed; }

.session-timer { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }

.canvas-wrap {
    position: relative;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    overflow: hidden;
}
#editorCanvas {
    display: block;
    max-width: 100%;
    touch-action: none;
    cursor: crosshair;
}
.canvas-empty { color: var(--muted); padding: 48px 20px; }

/* Vorschau-Lupe rechts im Canvas: zeigt den geblurten/verpixelten Bereich */
.loupe {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 5px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    cursor: zoom-in;
    z-index: 5;
}
.loupe canvas { display: block; border-radius: 3px; }
.loupe .loupe-hint {
    display: block;
    font-size: 0.68rem;
    color: var(--muted);
    text-align: center;
    padding-top: 3px;
}
.loupe.enlarged { cursor: zoom-out; }
.loupe.enlarged canvas { max-width: min(380px, calc(100vw - 60px)); height: auto; }

/* Zoom-Reset unten links, erscheint nur bei Zoom > 1 */
.zoom-reset {
    position: absolute;
    left: 10px;
    bottom: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    z-index: 5;
}
.zoom-reset:hover { border-color: var(--accent); color: var(--accent); }

/* Blauer Fortschrittsbalken während der KI-Analyse */
.ai-progress {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ai-progress-track {
    flex: 1;
    max-width: 420px;
    height: 8px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
}
.ai-progress-fill {
    height: 100%;
    width: 0%;
    background: #2354d1;
    border-radius: 999px;
    transition: width 0.25s linear;
}
.ai-progress-label {
    font-size: 0.82rem;
    color: #2354d1;
    white-space: nowrap;
}

.controls {
    display: flex;
    gap: 12px 28px;
    flex-wrap: wrap;
    margin-top: 16px;
}
.seg-group { border: none; margin: 0; padding: 0; }
.seg-group legend { font-size: 0.82rem; color: var(--muted); padding: 0; margin-bottom: 4px; }

.segmented { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.segmented input { position: absolute; opacity: 0; width: 0; height: 0; }
.segmented label {
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    background: #fff;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.segmented label + input + label { border-left: 1px solid var(--border); }
.segmented input:checked + label {
    background: var(--accent-soft);
    color: var(--accent);
}
.segmented input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Intensitäts-Slider */
.slider-row { display: flex; align-items: center; gap: 12px; min-width: 240px; }
.slider-row input[type="range"] {
    flex: 1;
    accent-color: var(--accent);
    height: 28px;
    cursor: pointer;
}
.slider-val {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 48px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    transition: opacity 0.15s ease;
}
.slider-row input[type="range"]:disabled { cursor: default; }

/* KI-Erkennung */
.ai-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 24px 12px 10px;
    background: var(--bg-soft);
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}
.ai-panel .ai-choice { border-radius: var(--radius-sm); }
.btn-ai { font-weight: 700; }
.ai-quota { font-size: 0.84rem; color: var(--muted); margin-left: auto; }

/* Gesichtserkennung „kommt demnächst": Optionen ausgegraut, ein durchgehender
 * Strich von „Gesichter" bis „Beides", Hinweis darüber. Der KI-Button folgt,
 * sobald die Erkennung wirklich verfügbar ist. */
.ai-soon-wrap { position: relative; }
.segmented .ai-soon {
    display: inline-flex;
    position: relative;
    border-left: 1px solid var(--border);
}
.segmented input:disabled + label {
    color: var(--muted);
    opacity: 0.55;
    cursor: not-allowed;
}
.ai-soon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    transform: translateY(-50%);
    background: var(--muted);
    pointer-events: none;
}
.ai-soon-note {
    position: absolute;
    bottom: calc(100% + 3px);
    right: 2px;
    font-size: 0.68rem;
    font-weight: 600;
    font-style: italic;
    color: var(--muted);
    white-space: nowrap;
}

.canvas-hint { color: var(--muted); font-size: 0.88rem; margin: 14px 0 8px; }

.region-list {
    list-style: none;
    padding: 0;
    margin: 0 0 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.region-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 0.9rem;
}
.region-item .ri-remove {
    border: none;
    background: none;
    color: var(--danger);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 2px 6px;
    font-weight: 600;
}

.editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.status {
    margin-top: 14px;
    font-size: 0.92rem;
    min-height: 1.4em;
}
.status.ok { color: #1e6f3e; }
.status.error { color: var(--danger); }
.status:empty { margin-top: 0; }

/* ------------------------------------------------ Über / Zielgruppen / Fakten (SEO/GEO) */

.about-section { padding: 56px 0; }
.about-lede {
    max-width: 760px;
    margin: 0 0 24px;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.65;
}
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}
.audience-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.audience-card h3 { margin: 0 0 8px; font-size: 1rem; }
.audience-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.facts-heading { margin-top: 8px; }
.facts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 760px;
}
.facts-list li {
    padding: 10px 0 10px 26px;
    border-bottom: 1px solid var(--border);
    position: relative;
    font-size: 0.95rem;
}
.facts-list li::before {
    content: "✓";
    position: absolute;
    left: 2px;
    color: var(--accent);
    font-weight: 700;
}
.facts-list li:last-child { border-bottom: none; }

/* ------------------------------------------------ Vertrauen / Schritte / FAQ */

.trust-section {
    background: var(--bg-soft);
    padding: 56px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.trust-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.trust-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.steps-section { padding: 56px 0; }
.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.steps li { position: relative; padding-top: 6px; }
.step-num {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 10px;
}
.steps p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.faq-section { padding: 24px 0 64px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    margin-bottom: 10px;
}
.faq-item summary { font-weight: 600; cursor: pointer; }
.faq-item p { color: var(--muted); margin: 10px 0 0; font-size: 0.95rem; }

/* ------------------------------------------------ Cookie-Consent (DSGVO) */

.cookie-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 23, 31, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 60;
}
/* hidden-Attribut muss display:flex überschreiben */
.cookie-overlay[hidden] { display: none; }
.cookie-modal {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(20, 23, 31, 0.3);
    max-width: 480px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 24px;
    position: relative;
}
.cookie-modal h2 { font-size: 1.2rem; margin: 0 0 10px; }
.cookie-intro { font-size: 0.92rem; color: var(--muted); margin: 0 0 16px; }
.cookie-cat {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    background: var(--bg-soft);
}
.cookie-cat strong { font-size: 0.92rem; }
.cookie-cat p { font-size: 0.85rem; color: var(--muted); margin: 4px 0 0; }
.ck-always { font-weight: 600; font-size: 0.72rem; color: var(--muted); margin-left: 6px; }

/* Kippschalter */
.ck-switch { position: relative; display: inline-block; width: 40px; height: 22px; flex: none; margin-top: 2px; }
.ck-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.ck-slider {
    position: absolute;
    inset: 0;
    background: #c8cdd6;
    border-radius: 999px;
    transition: background-color 0.15s ease;
    cursor: pointer;
}
.ck-slider::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.ck-switch input:checked + .ck-slider { background: var(--accent); }
.ck-switch input:checked + .ck-slider::before { transform: translateX(18px); }
.ck-switch input:disabled + .ck-slider { cursor: not-allowed; opacity: 0.55; }
.ck-switch input:focus-visible + .ck-slider { outline: 2px solid var(--accent); outline-offset: 2px; }

.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cookie-actions .btn { flex: 1; min-width: 150px; }
.cookie-more { font-size: 0.84rem; margin: 14px 0 0; }
.cookie-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: none;
    background: none;
    font-size: 1.6rem;
    color: var(--muted);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}
.cookie-close:hover { color: var(--text); }

/* Footer-Button „Cookie-Einstellungen" (sieht aus wie ein Nav-Link) */
.footer-link-btn {
    border: none;
    background: none;
    color: var(--muted);
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}
.footer-link-btn:hover { color: var(--text); text-decoration: underline; }

/* ------------------------------------------------ Bedienungshilfen (BFSG) */

/* Button unten links, klar erkennbar */
.a11y-btn {
    position: fixed;
    left: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 3px solid #fff;
    background: var(--accent);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 14px rgba(20, 23, 31, 0.35);
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.a11y-btn:hover { background: var(--accent-hover); }
.a11y-btn:focus-visible { outline: 3px solid #ffe100; outline-offset: 2px; }
.a11y-btn.active { background: var(--accent-hover); }

/* Einstellungs-Panel über dem Button */
.a11y-panel {
    position: fixed;
    left: 16px;
    bottom: 80px;
    width: min(340px, calc(100vw - 32px));
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(20, 23, 31, 0.3);
    padding: 18px;
    z-index: 70;
}
.a11y-panel h2 { font-size: 1.1rem; margin: 0 0 12px; }
.a11y-row {
    display: flex;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    background: var(--bg-soft);
}
.a11y-row strong { font-size: 0.92rem; }
.a11y-row p { font-size: 0.82rem; color: var(--muted); margin: 3px 0 0; }
.a11y-actions { margin-top: 4px; }
.a11y-reset { width: 100%; }
.a11y-more { font-size: 0.84rem; margin: 12px 0 0; }
.a11y-contact { font-size: 0.82rem; color: var(--muted); margin: 6px 0 0; }

/* Modus: Schriftgröße vergrößern */
html.a11y-font { font-size: 115%; }
html.a11y-font body { font-size: 1.125rem; }

/* Modus: Links unterstreichen */
html.a11y-underline a { text-decoration: underline !important; }

/* Modus: Bewegungen reduzieren */
html.a11y-calm *,
html.a11y-calm *::before,
html.a11y-calm *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
}

/* Modus: Hoher Kontrast */
html.a11y-contrast body,
html.a11y-contrast .site-header,
html.a11y-contrast .site-footer,
html.a11y-contrast .editor-card,
html.a11y-contrast .trust-card,
html.a11y-contrast .cookie-modal,
html.a11y-contrast .cookie-cat,
html.a11y-contrast .ai-panel,
html.a11y-contrast .canvas-wrap,
html.a11y-contrast .dropzone,
html.a11y-contrast .region-item,
html.a11y-contrast .faq-item,
html.a11y-contrast .zoom-reset,
html.a11y-contrast .a11y-panel,
html.a11y-contrast .a11y-row,
html.a11y-contrast .legal-body,
html.a11y-contrast .trust-section,
html.a11y-contrast .steps-section,
html.a11y-contrast .faq-section {
    background: #000 !important;
    color: #fff !important;
    border-color: #8a8f98 !important;
}
html.a11y-contrast body,
html.a11y-contrast body p,
html.a11y-contrast body li,
html.a11y-contrast body td,
html.a11y-contrast body strong,
html.a11y-contrast body span,
html.a11y-contrast body h1,
html.a11y-contrast body h2,
html.a11y-contrast body h3,
html.a11y-contrast body legend {
    color: #fff !important;
}
html.a11y-contrast a,
html.a11y-contrast .hero-hints li::before { color: #ffe100 !important; }
html.a11y-contrast .muted,
html.a11y-contrast .footer-note,
html.a11y-contrast .dz-sub,
html.a11y-contrast .canvas-hint,
html.a11y-contrast .legal-updated,
html.a11y-contrast .a11y-contact,
html.a11y-contrast .a11y-row p,
html.a11y-contrast .ck-always,
html.a11y-contrast .cookie-intro,
html.a11y-contrast .cookie-cat p {
    color: #d8dce2 !important;
}
html.a11y-contrast .btn-primary {
    background: #ffe100 !important;
    color: #000 !important;
    border-color: #ffe100 !important;
}
html.a11y-contrast .btn-secondary,
html.a11y-contrast .segmented label {
    background: #000 !important;
    color: #fff !important;
    border-color: #8a8f98 !important;
}
html.a11y-contrast .segmented input:checked + label {
    background: #ffe100 !important;
    color: #000 !important;
}
html.a11y-contrast .step-num,
html.a11y-contrast .brand span { color: #ffe100 !important; }
html.a11y-contrast .brand { color: #fff !important; }
html.a11y-contrast .thumb { background: #000 !important; }
html.a11y-contrast .thumb-done { background: #ffe100 !important; color: #000 !important; }
html.a11y-contrast .a11y-btn { background: #ffe100 !important; color: #000 !important; }
html.a11y-contrast .beta-badge { background: #ffe100 !important; color: #000 !important; border-color: #ffe100 !important; }
html.a11y-contrast .use-badge { background: #000 !important; border-color: #ffe100 !important; color: #ffe100 !important; }
html.a11y-contrast .use-badge a { color: #ffe100 !important; }
html.a11y-contrast .about-section,
html.a11y-contrast .audience-card { background: #000 !important; }
html.a11y-contrast .facts-list li { border-bottom-color: #8a8f98 !important; }
html.a11y-contrast .ck-slider { background: #8a8f98 !important; }
html.a11y-contrast .ck-switch input:checked + .ck-slider { background: #ffe100 !important; }
html.a11y-contrast .ck-slider::before { background: #fff !important; }

/* ------------------------------------------------ Footer */

.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    padding: 32px 0;
    text-align: center;
}
.footer-lede { font-weight: 700; margin: 0 0 10px; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 10px; }
.footer-note { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* ------------------------------------------------ Legal-Seiten */

.legal-body { max-width: 760px; }
.legal-body h1 { font-size: 1.6rem; margin: 32px 0 16px; }
.legal-body h2 { font-size: 1.15rem; margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: var(--text); font-size: 0.97rem; }
.legal-body .muted { color: var(--muted); }
.legal-updated { color: var(--muted); font-size: 0.85rem; }