/* Bewusst ohne externe Fonts oder CDNs — nichts verlässt den eigenen Server (DSGVO). */

/* Noir-Token der Hauptseite (app/globals.css), hier als statische Werte —
   die Buchungsseite lädt bewusst kein CSS der Next-App. */
:root {
  --bg: #0a0a0a;
  --panel: #141414;
  --line: #262626;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --accent: #1479e2;
  --accent-ink: #ffffff;
  --danger: #ff6b6b;
  --ok: #7ee787;
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 3rem 1.25rem 5rem;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  line-height: 1.55;
}

.shell {
  max-width: 44rem;
  margin: 0 auto;
}

.head {
  margin-bottom: 2.5rem;
}

/* Mono-Eyebrow wie auf der Hauptseite: Hairline + gesperrte Mono-Type. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--accent);
}

h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.lede {
  margin: 0;
  color: var(--muted);
}

.panel {
  margin-bottom: 1.25rem;
  padding: 1.5rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.step {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.8rem;
  color: var(--muted);
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.selection {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.95rem;
}

.date-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
}

select {
  background: var(--panel);
}

textarea {
  resize: vertical;
  min-height: 6rem;
}

form label + select,
form label + textarea {
  margin-bottom: 1.1rem;
}

.date-input:focus-visible,
input:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

form label + input {
  margin-bottom: 1.1rem;
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.slots:empty {
  margin-top: 0;
}

.slot {
  padding: 0.7rem 0.5rem;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.slot:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.slot[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

/* Pill-CTA wie die Buttons der Hauptseite (--cta-radius: 999px). */
button[type="submit"] {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

button[type="submit"]:hover:not(:disabled) {
  opacity: 0.9;
}

button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.message {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-left-width: 3px;
  border-radius: 8px;
  background: var(--panel);
}

.message.error {
  border-left-color: var(--danger);
  color: var(--danger);
}

.message.success {
  border-left-color: var(--ok);
  color: var(--ok);
}
