/* Die Rechtsseiten von zeigr.
 *
 * Dieselbe dunkle Anmutung wie die App und die Streckenplanung — jemand, der
 * aus der Oberfläche hierher klickt, soll nicht das Gefühl haben, die Seite
 * gewechselt zu haben.
 *
 * ⚠️ Kein Webfont, keine Fremdressource. Eine Rechtsseite, die Schriften von
 * einem fremden Server nachlädt, überträgt dabei die IP-Adresse des Lesers —
 * und erklärt genau darüber nichts. Das wäre der peinlichste denkbare Fehler
 * ausgerechnet in einer Datenschutzerklärung.
 */

:root {
    color-scheme: dark;
    --grund: #0b0d0e;
    --karte: #141719;
    --linie: #262b2d;
    --text: #f1f3f3;
    --leise: #99a1a4;
    --akzent: #3ddc84;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--grund);
    color: var(--text);
    font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          Helvetica, Arial, sans-serif;
    -webkit-text-size-adjust: 100%;
}

header {
    border-bottom: 1px solid var(--linie);
    padding: 22px 0;
}

main, header > div {
    max-width: 44rem;              /* rund 75 Zeichen — Lesebreite */
    margin: 0 auto;
    padding: 0 22px;
}

main { padding-bottom: 80px; }

.marke {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: lowercase;
    text-decoration: none;
    color: var(--text);
}

h1 {
    font-size: 28px;
    margin: 38px 0 6px;
    letter-spacing: -0.01em;
}

.stand {
    color: var(--leise);
    font-size: 13px;
    margin: 0 0 30px;
}

h2 {
    font-size: 17px;
    margin: 34px 0 10px;
    color: var(--akzent);
}

h3 {
    font-size: 15px;
    margin: 22px 0 6px;
}

p, li { color: #dfe3e4; }
li { margin-bottom: 6px; }
ul { padding-left: 20px; }

a { color: var(--akzent); }

.kasten {
    background: var(--karte);
    border: 1px solid var(--linie);
    border-radius: 12px;
    padding: 16px 18px;
    margin: 18px 0;
}

.hinweis {
    border-left: 3px solid var(--akzent);
    background: rgba(61, 220, 132, 0.07);
    border-radius: 0 10px 10px 0;
    padding: 14px 16px;
    margin: 20px 0;
    font-size: 15px;
}

.warnung {
    border-left-color: #ffab40;
    background: rgba(255, 171, 64, 0.08);
}

footer {
    border-top: 1px solid var(--linie);
    margin-top: 50px;
    padding: 22px;
    text-align: center;
    color: var(--leise);
    font-size: 13px;
}

footer a { margin: 0 10px; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
}

th, td {
    text-align: left;
    padding: 9px 10px;
    border-bottom: 1px solid var(--linie);
    vertical-align: top;
}

th { color: var(--leise); font-weight: 600; font-size: 13px; }

@media (max-width: 30rem) {
    h1 { font-size: 24px; }

    /* ⚠️ 16 Punkte hohe Links trifft am Telefon niemand zuverlaessig; Apple
     * nennt 44 als Mindestmass. Es sind ausgerechnet die drei, ueber die man
     * zwischen den Rechtsseiten wechselt. Die Hoehe kommt ueber Innenabstand,
     * der negative Aussenabstand haelt die Zeile so hoch wie vorher. */
    footer a, .fuss a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0 8px;
        margin: -14px -8px;
    }
    table, thead, tbody, th, td, tr { display: block; }
    th { border: 0; padding-bottom: 0; }
    td { padding-top: 2px; border-bottom: 0; }
    tr { border-bottom: 1px solid var(--linie); padding: 8px 0; }
}
