/*
 * stil.css — das einzige Stilblatt dieser drei Seiten.
 *
 * Regeln, die hier nicht verhandelbar sind:
 *   • Kein Framework, kein CDN, keine Schriftdatei von außen. Eine
 *     System-Schriftfolge steht sofort, ohne Nachladen und ohne Umbruch-Sprung.
 *   • Gold ist der EINZIGE Akzent. `--akzent` (#E8C65A) ist die Fläche der App
 *     (DSPPalette.gold) und erreicht auf hellem Grund nur 1,53:1 — deshalb wird
 *     es hier nie als Text gesetzt. Für Text steht `--akzent-text`: #8F6E14 im
 *     hellen Modus (4,76:1 auf Weiß), #E8C65A im dunklen (11,62:1 auf #0E0E10).
 *     Dieselbe Trennung wie in DSPPalette (`gold` gegen `goldText`).
 *   • Kein Analyse-Skript, kein Zähler, kein Cookie. Deshalb auch kein Banner.
 *   • Mobil zuerst: Rechtstexte werden auf dem Telefon gelesen, oft im
 *     Onboarding-Moment. Grundgröße 17 px, keine seitliche Rolle.
 *
 * SPDX-FileCopyrightText: 2026 DanceSportPro
 * SPDX-License-Identifier: MIT
 */

:root {
    color-scheme: light dark;

    --akzent: #e8c65a;
    --akzent-text: #8f6e14;
    --akzent-blass: #f5e3a6;

    --grund: #faf9f6;
    --flaeche: #ffffff;
    --tinte: #1a1a1c;
    --tinte-leise: #56565e;
    --linie: #e6e3db;
    --hinweis-grund: #fdf8e8;
}

@media (prefers-color-scheme: dark) {
    :root {
        --akzent-text: #e8c65a;
        --akzent-blass: #4a3f1c;

        --grund: #0e0e10;
        --flaeche: #17171b;
        --tinte: #ececee;
        --tinte-leise: #9b9ba3;
        --linie: #2b2b31;
        --hinweis-grund: #1c1a13;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 0 20px 72px;
    background: var(--grund);
    color: var(--tinte);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    /* Kein seitliches Rollen: ein langer Pfad bricht, statt die Seite zu weiten. */
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
}

.blatt {
    max-width: 34rem;
    margin: 0 auto;
}

/* ── Kopf ────────────────────────────────────────────────────────────────── */

header.kopf {
    padding: 40px 0 0;
}

.wortmarke {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tinte-leise);
    text-decoration: none;
}

.wortmarke:hover,
.wortmarke:focus-visible {
    color: var(--akzent-text);
}

h1 {
    margin: 20px 0 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Die eine goldene Linie. Mehr Akzent bekommt die Seite nicht. */
h1::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 16px;
    border-radius: 2px;
    background: var(--akzent);
}

.stand {
    margin: 16px 0 0;
    font-size: 14px;
    color: var(--tinte-leise);
}

/* ── Entwurfs-Hinweis ────────────────────────────────────────────────────── */

.hinweis {
    margin: 24px 0 0;
    padding: 14px 16px;
    border-left: 3px solid var(--akzent);
    border-radius: 0 8px 8px 0;
    background: var(--hinweis-grund);
    font-size: 15px;
    line-height: 1.55;
    color: var(--tinte);
}

.hinweis strong {
    font-weight: 600;
}

.hinweis p {
    margin: 0;
}

.hinweis p + p {
    margin-top: 8px;
}

/* ── Fließtext ───────────────────────────────────────────────────────────── */

main {
    padding-top: 8px;
}

h2 {
    margin: 44px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--linie);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.005em;
}

h3 {
    margin: 28px 0 0;
    font-size: 17px;
    font-weight: 700;
}

p {
    margin: 14px 0 0;
}

ul {
    margin: 14px 0 0;
    padding-left: 22px;
}

li {
    margin-top: 8px;
}

li::marker {
    color: var(--akzent-text);
}

strong {
    font-weight: 650;
}

a {
    color: var(--akzent-text);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
    text-decoration-thickness: 2px;
}

code,
.pfad {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.88em;
    padding: 1px 5px;
    border-radius: 4px;
    background: var(--flaeche);
    border: 1px solid var(--linie);
}

address {
    margin: 14px 0 0;
    padding: 14px 16px;
    border: 1px solid var(--linie);
    border-radius: 10px;
    background: var(--flaeche);
    font-style: normal;
    line-height: 1.55;
}

/* Was der Inhaber noch eintragen muss. Sichtbar als Lücke gekennzeichnet —
   eine erfundene Adresse wäre schlimmer als eine fehlende. */
.offen {
    display: inline-block;
    padding: 1px 8px;
    border: 1px dashed var(--akzent-text);
    border-radius: 999px;
    font-size: 0.9em;
    color: var(--akzent-text);
    white-space: nowrap;
}

/* ── Wegweiser auf der Startseite ────────────────────────────────────────── */

.wegweiser {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.wegweiser li {
    margin: 0;
}

.wegweiser li + li {
    margin-top: 12px;
}

.wegweiser a {
    display: block;
    padding: 16px 18px;
    border: 1px solid var(--linie);
    border-radius: 12px;
    background: var(--flaeche);
    color: var(--tinte);
    text-decoration: none;
}

.wegweiser a:hover,
.wegweiser a:focus-visible {
    border-color: var(--akzent);
}

.wegweiser .titel {
    display: block;
    font-weight: 650;
    color: var(--akzent-text);
}

.wegweiser .unterzeile {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    color: var(--tinte-leise);
}

/* ── Fuß ─────────────────────────────────────────────────────────────────── */

footer {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--linie);
    font-size: 14px;
    line-height: 1.6;
    color: var(--tinte-leise);
}

footer a {
    color: var(--tinte-leise);
}

footer a:hover,
footer a:focus-visible {
    color: var(--akzent-text);
}

footer nav a + a::before {
    content: " · ";
    color: var(--linie);
}

/* ── Größere Fenster ─────────────────────────────────────────────────────── */

@media (min-width: 40rem) {
    body {
        font-size: 18px;
        padding-bottom: 96px;
    }

    header.kopf {
        padding-top: 64px;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 23px;
    }
}

/* ── Ausdruck ────────────────────────────────────────────────────────────── */

@media print {
    body {
        background: #fff;
        color: #000;
        font-size: 11pt;
        padding: 0;
    }

    .hinweis {
        border: 1px solid #000;
        background: transparent;
    }

    footer nav,
    .wortmarke {
        display: none;
    }

    h2 {
        break-after: avoid;
    }
}

/* ── Bewegung sparsam ────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}
