/* Vera - Gestaltung der Textseiten (Impressum, Datenschutz, AGB, Anleitungen)
 *
 * Dieselbe Sprache wie die Anwendung: dunkler Grund, ruhige Leuchtkanten,
 * derselbe Farbverlauf. Bewusst KEIN eigener Auftritt - wer aus dem Chat auf
 * "Datenschutz" tippt, soll nicht das Gefuehl haben, die Seite gewechselt zu
 * haben.
 *
 * Unterschied zur Anwendung: hier wird gelesen, nicht bedient. Deshalb mehr
 * Zeilenabstand, begrenzte Zeilenlaenge (rund 70 Zeichen) und ruhigere
 * Farben im Fliesstext.
 */

:root {
    --grund:        #05070f;
    --grund-2:      #080c18;
    --flaeche:      rgba(255,255,255,.045);
    --kante:        rgba(255,255,255,.10);
    --kante-hell:   rgba(255,255,255,.18);
    --schrift:      #e6ecf7;
    --schrift-leise:#8b98b4;
    --tuerkis:      #5eead4;
    --blau:         #38bdf8;
    --violett:      #a78bfa;
    --warn:         #fbbf24;
    --verlauf:      linear-gradient(120deg, var(--tuerkis), var(--blau) 55%, var(--violett));
    --rund:         14px;
    --rund-klein:   10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    background: var(--grund);
    color: var(--schrift);
    font: 16px/1.75 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    min-height: 100%;
}

/* Der ruhige Schimmer aus der Anwendung - nur schwaecher, damit er beim
   Lesen langer Texte nicht stoert. */
.raum { position: fixed; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.schimmer {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .16;
}
.schimmer.a { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: var(--tuerkis); }
.schimmer.b { width: 40vw; height: 40vw; right: -10vw; top: 14vh; background: var(--violett); }
.schimmer.c { width: 34vw; height: 34vw; left: 34vw; bottom: -16vw; background: var(--blau); }
.netz {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

.blatt {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    padding: 26px 22px 80px;
}

/* ---------------------------------------------------------------- Kopf */
.kopf {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--kante);
    flex-wrap: wrap;
}
.zeichen { width: 32px; height: 32px; flex: 0 0 auto; }
.wortmarke {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .3px;
    background: var(--verlauf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.kopf .zurueck {
    margin-left: auto;
    font-size: .92rem;
    padding: 7px 14px;
    border: 1px solid var(--kante);
    border-radius: 999px;
    background: var(--flaeche);
    color: var(--schrift);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .18s, background .18s;
}
.kopf .zurueck:hover { border-color: var(--kante-hell); background: rgba(255,255,255,.075); }

/* ---------------------------------------------------------------- Text */
h1 {
    font-size: clamp(1.6rem, 4.4vw, 2.1rem);
    line-height: 1.25;
    margin: 0 0 6px;
    letter-spacing: -.4px;
}
h2 {
    font-size: 1.16rem;
    margin: 38px 0 8px;
    padding-top: 4px;
    letter-spacing: -.2px;
}
h2::before {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin-bottom: 12px;
    border-radius: 2px;
    background: var(--verlauf);
    opacity: .8;
}
h3 { font-size: 1rem; margin: 24px 0 6px; }
p { margin: 0 0 12px; }
ul, ol { margin: 6px 0 14px; padding-left: 22px; }
li { margin: 5px 0; }
strong, b { color: #fff; font-weight: 600; }
a { color: var(--blau); text-decoration-color: rgba(56,189,248,.4); text-underline-offset: 2px; }
a:hover { text-decoration-color: var(--blau); }
.leise { color: var(--schrift-leise); font-size: .93rem; }
code, .code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: .88em;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--kante);
    border-radius: 6px;
    padding: 1px 6px;
}

dl { margin: 10px 0 16px; }
dt { font-weight: 600; color: #fff; margin-top: 12px; }
dd { margin: 2px 0 0; color: var(--schrift-leise); }

/* ---------------------------------------------------------------- Bausteine */
.karte {
    background: var(--flaeche);
    border: 1px solid var(--kante);
    border-radius: var(--rund);
    padding: 16px 18px;
    margin: 16px 0;
}
.karte.hinweis { border-color: rgba(94,234,212,.28); }
.karte.warnung { border-color: rgba(251,191,36,.30); }
.karte > :first-child { margin-top: 0; }
.karte > :last-child { margin-bottom: 0; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 18px;
    font-size: .94rem;
}
.tabellenraum { overflow-x: auto; margin: 14px -4px 18px; padding: 0 4px; }
th, td {
    text-align: left;
    padding: 9px 12px;
    border-bottom: 1px solid var(--kante);
    vertical-align: top;
}
th {
    font-weight: 600;
    color: var(--schrift-leise);
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom-color: var(--kante-hell);
}
tbody tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- Fuss */
.fuss {
    margin-top: 54px;
    padding-top: 18px;
    border-top: 1px solid var(--kante);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-items: center;
    font-size: .9rem;
    color: var(--schrift-leise);
}
.fuss a { color: var(--schrift-leise); text-decoration: none; }
.fuss a:hover { color: var(--schrift); }
.fuss .stand { margin-left: auto; }

@media (max-width: 560px) {
    body { font-size: 15.5px; }
    .blatt { padding: 20px 16px 64px; }
    .fuss .stand { margin-left: 0; width: 100%; }
}

/* KEINE Hell-Umschaltung.
 *
 * Vera selbst ist immer dunkel und richtet sich bewusst NICHT nach der
 * Systemeinstellung. Wuerden sich diese Seiten danach richten, bekaeme
 * jeder mit hellem System beim Tippen auf "Datenschutz" einen harten
 * Helligkeitssprung aus der Anwendung heraus. Gleiches Produkt, gleiches
 * Aussehen.
 */