/* Zero · Finn 1.0 (13.11.2026). Zero-Look: goldene Null auf warmem Schwarz. Zustände immer mit Zeichen und Text,
   nie nur Farbe (Simon ist farbenblind). Touch-Ziele mindestens 44 px, Eingaben 16 px (kein Zoom auf dem iPhone). */
:root {
  --bg: #0d0a07;
  --flaeche: #17120c;
  --flaeche-2: #1f1910;
  --linie: rgba(255, 236, 200, 0.12);
  --linie-stark: rgba(255, 236, 200, 0.26);
  --text: #f6f1e7;
  --text-2: #c9bfae;
  --text-3: #9d927f;
  --gold: #f0b93a;
  --gold-tief: #d69c1c;
  --auf-gold: #1a1205;
  --fehler: #ff8f7a;
  --radius: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* Karten mit display:grid sollen „hidden“ trotzdem verstecken */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: radial-gradient(120% 60% at 50% -10%, #2a1d0c 0%, var(--bg) 55%) fixed, var(--bg);
  color: var(--text); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--gold); text-underline-offset: 2px; }
.seite { width: 100%; max-width: 560px; margin: 0 auto; padding: 40px 20px 24px; flex: 1; }
h1 { font: 700 24px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif; letter-spacing: -0.02em; margin: 0; }
.unter { color: var(--text-2); margin: 6px 0 0; font-size: 14px; }

/* Linkseite */
.profil { text-align: center; margin-bottom: 28px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; display: block; margin: 0 auto 14px; box-shadow: 0 0 0 1px var(--linie-stark), 0 12px 40px rgba(240, 185, 58, 0.18); }
.links { display: grid; gap: 10px; }
.abschnitt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin: 18px 4px 2px; }
.knopf {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px;
  border-radius: var(--radius); border: 1px solid var(--linie-stark); background: var(--flaeche); color: var(--text);
  text-decoration: none; font: inherit; font-size: 15px; cursor: pointer; text-align: left; width: 100%;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.knopf:hover { background: var(--flaeche-2); border-color: var(--gold); }
.knopf:active { transform: scale(0.99); }
.knopf.haupt { background: var(--gold); color: var(--auf-gold); border-color: var(--gold); font-weight: 600; }
.knopf.haupt:hover { background: #ffc94f; }
.knopf.leise { background: transparent; color: var(--text-2); }
.knopf[disabled], .knopf[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.knopf-text { display: grid; gap: 1px; }
.knopf-text small { font-size: 12.5px; font-weight: 500; opacity: 0.78; }
.pfeil { font-size: 18px; line-height: 1; }
.sozial { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 22px; font-size: 13px; }
.sozial a { color: var(--text-2); text-decoration: none; padding: 8px 2px; }
.sozial a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* Buchung */
.kopf { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.zurueck img { width: 40px; height: 40px; border-radius: 50%; display: block; box-shadow: 0 0 0 1px var(--linie-stark); }
.karte { background: rgba(23, 18, 12, 0.86); border: 1px solid var(--linie); border-radius: 18px; padding: 18px; display: grid; gap: 18px; }
.schritt { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; }
.schritt[disabled] { opacity: 0.5; }
legend { font-weight: 600; font-size: 16px; padding: 0; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.nr { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--auf-gold); font-size: 12.5px; font-weight: 700; }
.hinweis { color: var(--text-3); font-size: 12.5px; margin: 0; }
.tage { display: grid; grid-auto-flow: column; grid-auto-columns: 72px; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x mandatory; }
.tag, .zeit {
  border: 1px solid var(--linie-stark); background: var(--flaeche); color: var(--text); border-radius: 12px; cursor: pointer;
  font: inherit; scroll-snap-align: start; position: relative;
}
.tag { display: grid; gap: 0; padding: 8px 4px; min-height: 64px; text-align: center; }
.tag b { font-size: 18px; font-weight: 650; }
.tag span { font-size: 12px; color: var(--text-2); }
.zeiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.zeit { min-height: 44px; padding: 8px 6px; font-size: 15px; font-weight: 600; display: grid; gap: 0; text-align: center; }
.zeit small { font-size: 11.5px; font-weight: 500; color: var(--text-2); }
.tag[aria-checked="true"], .zeit[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: var(--auf-gold); }
.tag[aria-checked="true"] span, .zeit[aria-checked="true"] small { color: var(--auf-gold); }
.tag[aria-checked="true"]::after, .zeit[aria-checked="true"]::after {
  content: "✓"; position: absolute; top: 3px; right: 6px; font-size: 11px; font-weight: 800;
}
.gewaehlt { margin: 0; font-size: 14px; color: var(--text-2); }
.gewaehlt b { color: var(--text); }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.felder label, .breit { display: grid; gap: 6px; font-size: 13px; color: var(--text-2); }
.breit { grid-column: 1 / -1; }
input, select {
  font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--linie-stark);
  border-radius: 10px; min-height: 44px; padding: 10px 12px; width: 100%;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
input::placeholder { color: var(--text-3); }
input:focus, select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(240, 185, 58, 0.25); }
[aria-invalid="true"] { border-color: var(--fehler); box-shadow: 0 0 0 1px var(--fehler); }
.falle { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.zustimmung { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13px; color: var(--text-2); }
.zustimmung input { min-height: 0; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold); }
.fehler { margin: 0; color: var(--fehler); font-size: 14px; font-weight: 500; }
.fehler::before { content: "⚠︎ "; }
.senden { justify-content: center; }
.fertig h2 { margin: 0; font-size: 20px; }
.fertig p { margin: 0; color: var(--text-2); }
.status-zeile { margin: 0; font-weight: 600; display: flex; gap: 8px; align-items: center; }
.marke { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 13px; font-weight: 800; }
.marke.ok { background: var(--gold); color: var(--auf-gold); }
.knopf-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.knopf-reihe .knopf { justify-content: center; min-height: 44px; }
.trenner { border: 0; border-top: 1px solid var(--linie); margin: 4px 0; width: 100%; }
.karte p { margin: 0; }
.fuss { width: 100%; max-width: 560px; margin: 0 auto; padding: 18px 20px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  color: var(--text-3); font-size: 12px; border-top: 1px solid var(--linie); }
.fuss-links { display: flex; gap: 14px; }
.fuss a { color: var(--text-3); }
@media (max-width: 480px) {
  .seite { padding-top: 28px; }
  .felder { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
