/*
 * Absichtlich minimal. Nur so viel, dass die Seiten lesbar sind und man den Aufbau
 * erkennt – die eigentliche Gestaltung kommt als eigener Schritt ganz zum Schluss.
 * Wer hier etwas ergänzt, sollte sich fragen, ob es wirklich jetzt schon nötig ist.
 */

:root {
  --fg: #1a1a1a;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --akzent: #7c3aed;
}

@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e8e8ea;
    --muted: #9ca3af;
    --line: #33343a;
    --bg: #17181c;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}

header, main, footer {
  max-width: 46rem;
  margin: 0 auto;
  padding: 1rem;
}

header {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}

.marke { font-weight: 800; letter-spacing: .08em; text-decoration: none; color: inherit; }
nav { display: flex; gap: 1rem; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; }
nav a.aktiv, nav a:hover { color: var(--fg); }

main { padding-top: 2rem; padding-bottom: 3rem; min-height: 60vh; }

h1 { font-size: 1.6rem; margin: 0 0 .5rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
a { color: var(--akzent); }

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}

.klein { font-size: .8rem; }
.muted { color: var(--muted); }

/* Listen (Veranstaltungen, FAQ) */
.liste { list-style: none; margin: 0; padding: 0; }
.liste > li { padding: .8rem 0; border-top: 1px solid var(--line); }
.liste > li:first-child { border-top: 0; }

/* Formular */
form { display: grid; gap: 1rem; max-width: 32rem; }
label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; }
input, select, textarea {
  font: inherit; width: 100%; padding: .55rem .65rem;
  border: 1px solid var(--line); border-radius: .4rem;
  background: transparent; color: inherit;
}
button {
  font: inherit; font-weight: 600; padding: .55rem 1rem; cursor: pointer;
  border-radius: .4rem; border: 1px solid var(--akzent);
  background: var(--akzent); color: #fff;
}
button.sek { background: transparent; color: inherit; border-color: var(--line); }

/* Erkennungs-Ergebnis auf der Reservierungsseite */
.box { border: 1px solid var(--line); border-radius: .6rem; padding: 1rem; margin: 1.5rem 0; }
.status { display: inline-block; padding: .1rem .5rem; border-radius: 99px; font-size: .75rem; font-weight: 700; }
.status-KNOWN   { background: #dcfce7; color: #166534; }
.status-SUGGEST { background: #fef3c7; color: #92400e; }
.status-NEW     { background: #e0e7ff; color: #3730a3; }
.treffer {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: .75rem; flex-wrap: wrap; padding: .7rem 0; border-top: 1px solid var(--line);
}
.treffer form { display: inline; }
.marke-stammteam {
  background: var(--akzent); color: #fff; padding: .05rem .4rem;
  border-radius: .25rem; font-size: .7rem; font-weight: 700;
}
.warn { border-left: 3px solid #f59e0b; padding-left: .7rem; }
code { background: rgba(125,125,125,.15); padding: .1rem .3rem; border-radius: .25rem; font-size: .85em; }
