/* Ruhig und warm: helles Papier, dunkles Braun als Akzent, Listen statt Kästen. */
:root {
  --grund: #fdfcfb; --flaeche: #ffffff; --text: #101113; --akzent: #4d3533; --akzent-text: #fdfcfb;
  --leise: rgba(77, 53, 51, 0.7); --linie: rgba(77, 53, 51, 0.1); --zart: rgba(77, 53, 51, 0.06);
  --warn: #c4202d; --warn-grund: rgba(237, 49, 62, 0.1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #17120f; --flaeche: #1f1916; --text: #f3ede9; --akzent: #e6d6cf; --akzent-text: #1f1916;
    --leise: rgba(243, 237, 233, 0.65); --linie: rgba(243, 237, 233, 0.12); --zart: rgba(243, 237, 233, 0.06);
    --warn: #ff8a8f; --warn-grund: rgba(255, 99, 110, 0.14);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
body.mit-nav { padding-bottom: 96px; }
header, main, footer { max-width: 600px; margin: 0 auto; padding: 0 16px; }
header { display: flex; justify-content: center; padding-top: 14px; padding-bottom: 14px; }
.marke { font-size: 1.3rem; letter-spacing: 0.04em; color: var(--akzent); text-decoration: none; font-family: Georgia, "Times New Roman", serif; }
h1 { font-size: 1.6rem; font-weight: 600; color: var(--akzent); margin: 24px 0 6px; letter-spacing: -0.01em; }
h2 { font-size: 1.06rem; font-weight: 600; color: var(--akzent); margin: 0; }
.einleitung { color: var(--leise); margin: 0 0 8px; }
section { padding: 28px 0 8px; }
section .kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
section > h2 { margin-bottom: 4px; }

ul.liste { list-style: none; margin: 0; padding: 0; }
ul.liste li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
ul.liste li:last-child { border-bottom: 0; }
.text { display: flex; flex-direction: column; min-width: 0; }
.titel { overflow-wrap: anywhere; }
.unter, .leer, .klein { color: var(--leise); font-size: 0.93rem; }
.leer { padding: 10px 0; margin: 0; }
p.unter { margin: 8px 0 0; }
.zahlencode { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 2.4rem; font-weight: 600; letter-spacing: 0.15em; margin: 4px 0 8px; }
.wert { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.88rem; overflow-wrap: anywhere; }
.marke-klein { flex: none; font-size: 0.78rem; color: var(--leise); background: var(--zart); border-radius: 999px; padding: 2px 9px; }

label { display: block; font-size: 0.9rem; color: var(--leise); margin-top: 12px; }
input[type=text], input[type=email], textarea { width: 100%; padding: 10px 12px; margin-top: 4px; border: 1px solid var(--linie); border-radius: 8px; background: var(--flaeche); color: var(--text); font: inherit; }
button, a.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; margin-top: 14px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; background: var(--akzent); color: var(--akzent-text); font: inherit; font-size: 0.93rem; font-weight: 500; cursor: pointer; text-decoration: none; }
button.hell, button.leise, a.knopf.hell { background: var(--flaeche); color: var(--akzent); border-color: var(--linie); margin-top: 0; }
section .kopf a.knopf { margin-top: 0; }
button.gefahr { background: var(--warn-grund); color: var(--warn); }
form.zeile { margin: 0; flex: none; }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }

.meldung { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: var(--zart); }
.meldung.fehler { background: var(--warn-grund); color: var(--warn); }
.gefahrzone h2 { color: var(--warn); }

table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
td { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
td.zeit { white-space: nowrap; color: var(--leise); font-variant-numeric: tabular-nums; }

footer { color: var(--leise); font-size: 0.85rem; padding-top: 32px; padding-bottom: 24px; }

/* Schwebende Navigation unten, wie eine Pille */
nav { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--akzent); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
nav a { color: var(--akzent-text); opacity: 0.72; text-decoration: none; font-size: 0.9rem; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
nav a:hover { opacity: 1; }
nav a[aria-current="page"] { opacity: 1; background: rgba(255, 255, 255, 0.14); }
@media (prefers-color-scheme: dark) { nav a[aria-current="page"] { background: rgba(0, 0, 0, 0.12); } }
textarea { resize: vertical; line-height: 1.5; }
a.titel { color: var(--text); text-decoration: none; }
a.titel:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Fußzeile mit Datenschutz und Impressum; die langen Rechtstexte */
footer p.rechtliches { margin: 6px 0 0; }
footer a { color: inherit; }
.recht ul { margin: 8px 0; padding-left: 1.2em; }
.recht li { margin: 8px 0; }
.recht p { margin: 8px 0; }
.recht h2 { margin-bottom: 6px; }

/* Startseite und Seiten vor der Anmeldung: eine schmale Spalte, die Wortmarke groß, ein einziger Knopf */
body.start { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; font-size: 16px; }
body.start main { flex: 1; width: 100%; max-width: 28rem; padding-top: clamp(3rem, 16vh, 9rem); padding-bottom: 2rem; }
body.start footer { width: 100%; max-width: 28rem; }
h1.wortmarke { margin: 0 0 1.25rem; font: 400 clamp(3.25rem, 17vw, 4.75rem)/1 Georgia, "Times New Roman", serif; letter-spacing: 0.01em; }
h1.wortmarke a { color: var(--akzent); text-decoration: none; }
.leitsatz { font-size: 1.15rem; line-height: 1.5; margin: 0 0 2rem; }
h2.leitsatz { font: 600 1.3rem/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--akzent); margin-bottom: 0.75rem; }
body.start p { margin: 0 0 1rem; }
form.anmeldung label { margin: 0; font-size: 0.95rem; }
form.anmeldung input[type=email] { min-height: 3rem; margin-top: 0.4rem; padding: 0 0.9rem; font-size: 16px; }
form.anmeldung input[type=email]:focus { border-color: var(--akzent); }
form.anmeldung button { width: 100%; min-height: 3rem; margin-top: 0.9rem; font-size: 1rem; }
body.start .klein { margin-top: 1rem; line-height: 1.55; }
body.start .einladung { margin-top: 2.25rem; padding-top: 1.25rem; border-top: 1px solid var(--linie); color: var(--leise); font-size: 0.93rem; line-height: 1.55; }
body.start a.knopf { margin-top: 0.5rem; min-height: 3rem; padding: 0 1.25rem; font-size: 1rem; }
body.start .meldung { margin: 0 0 1.5rem; }
@media (prefers-reduced-motion: no-preference) { body.start button, body.start a.knopf { transition: opacity 0.15s; } body.start button:hover, body.start a.knopf:hover { opacity: 0.88; } }

/* Warteliste: ein zweiter, stiller Bereich unter der Anmeldung. Der Knopf ist zweitrangig, „Anmelden“ bleibt der Hauptknopf. */
body.start .warteliste { margin-top: 2.25rem; padding: 1.5rem 0 0; border-top: 1px solid var(--linie); }
body.start .warteliste h2 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 0.6rem; }
body.start .kennzeichen { display: inline-block; margin: 0 0 0.85rem; padding: 0.2rem 0.75rem; border: 1px solid var(--akzent); border-radius: 999px; color: var(--akzent); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; }
body.start .warteliste p { line-height: 1.55; }
form.anmeldung button.hell { background: var(--flaeche); color: var(--akzent); border-color: var(--akzent); margin-top: 0.9rem; }
