/* Eigenes CSS der Weboberfläche (ADR-004): lesbar auf dem Handy,
   Kontrast mindestens 4,5:1 (WCAG AA, geprüft in css_test.go), Systemschrift,
   Tippflächen mindestens 48 px. Heller und dunkler Modus (ST-08-08). */
:root {
  color-scheme: light dark;
  --text: #1b1f24;
  --muted: #4a5260;
  --bg: #f4f6f9;
  --card: #ffffff;
  --card-open: #eef4fb;
  --card-booked: #edf7f1;
  --card-gone: #fdf3ea;
  --stripe-open: #0b5394;
  --stripe-booked: #1e7a46;
  --stripe-gone: #a35200;
  --stripe-info: #5b6472;
  --accent: #0b5394;
  --accent-text: #ffffff;
  --link: #0b5394;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #f1f3f5;
    --muted: #c3c9d2;
    --bg: #121417;
    --card: #1e2228;
    --card-open: #15233a;
    --card-booked: #13291d;
    --card-gone: #2e1f10;
    --stripe-open: #8ab4f8;
    --stripe-booked: #6fcf97;
    --stripe-gone: #f0a35e;
    --stripe-info: #9aa3ad;
    --accent: #8ab4f8;
    --accent-text: #0b0f14;
    --link: #8ab4f8;
  }
}
html { font-size: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}
main { max-width: 32rem; margin: 0 auto; padding: 1.5rem 1rem 2.5rem; }
h1 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 1rem; }
h2 { font-size: 1.15rem; margin: 0 0 0.5rem; }
p, li { font-size: 1.05rem; }
a { color: var(--link); text-decoration: underline; }

.card {
  background: var(--card);
  border-top: 6px solid var(--stripe-info);
  border-radius: 12px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.card-open { background: var(--card-open); border-top-color: var(--stripe-open); }
.card-booked { background: var(--card-booked); border-top-color: var(--stripe-booked); }
.card-gone { background: var(--card-gone); border-top-color: var(--stripe-gone); }

.slot { margin: 0 0 1rem; }
.slot span { display: block; }
.slot-date { font-size: 1.3rem; font-weight: 600; }
.slot-time { font-size: 2rem; font-weight: 700; line-height: 1.2; letter-spacing: 0.01em; }
.slot-details { color: var(--muted); margin-top: 0.25rem; }
.message { font-size: 1.1rem; margin: 0 0 1.25rem; }

.button {
  box-sizing: border-box;
  display: block;
  min-height: 48px;
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  color: var(--accent-text);
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
form { margin: 0; }

.more { margin-top: 2rem; padding: 0 0.25rem; }
.more ul { padding-left: 1.25rem; }
.alt-link { display: inline-flex; align-items: center; min-height: 48px; }

button:focus-visible, a:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
