/* Zypressengrün und Gold, wie auf der Landingpage. Hell/dunkel folgt dem System. */
:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --sand: #ebe6d9;
  --ink: #1e2a24;
  --muted: #5d6a62;
  --line: #d9d5c8;
  --cypress: #24372e;
  --cypress-fg: #eef0e8;
  --cypress-muted: #a9b6ac;
  --gold: #b0863a;
  --gold-ink: #1b1408;
  --gold-soft: #f1e5c9;
  --rose: #b4646a;
  --ok: #3f7d55;
  --wait: #a87a1e;
  --no: #a54848;
  --f-display: "Gloock", "Bodoni 72", Georgia, serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --f-script: var(--f-display);
  --script-style: normal;
  --f-amp: var(--f-script);
  --hero-accent: color-mix(in srgb, var(--gold) 55%, #fff);   /* Akzent auf dem farbigen Kopfbereich */       /* Schrift für das „&“ zwischen den Namen */
  --script-scale: 1;
  --heading-weight: 400;
  --r: 12px;
  /* Papier (Karten, Umschlag) und Umschlag-Szene; das gewählte Design (/theme.css) überschreibt sie */
  --paper: #fbfaf6; --paper-ink: #1e2a24; --paper-muted: #46524b; --paper-line: #d9d5c8; --paper-accent: #b0863a; --paper-accent-ink: #8a6522;
  --env-bg1: #31493d; --env-bg2: #1a2721; --env-text: #eef0e8; --env-muted: #a9b6ac;
  --env-paper: #e6dcc6; --env-front1: #efe6d2; --env-front2: #e2d6bb; --env-flap1: #ddd0b2; --env-flap2: #d2c3a2;
  --seal1: #c9a052; --seal2: #9b7330; --seal3: #7d5a22; --seal-ink: #f8ecd0;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141a17; --surface: #1c2420; --sand: #222b26; --ink: #e8ebe4; --muted: #a2ada5; --line: #33403a;
    --cypress: #0e1411; --cypress-fg: #eef0e8; --cypress-muted: #95a399;
    --gold: #d6aa5c; --gold-soft: #3a311f; --rose: #d58a8f; --ok: #6fb487; --wait: #d4a54a; --no: #d47b7b;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.55 var(--f-body); }
h1, h2, h3 { font-family: var(--f-display); font-weight: var(--heading-weight); margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
/* Akzentfarbe auf dem farbigen Kopfbereich etwas heller, damit sie in jedem Design lesbar bleibt */
.amp { font-family: var(--f-amp); }
.hero .eyebrow, .hero .amp, .hero .count { color: var(--hero-accent); }
.script { font-family: var(--f-script); font-style: var(--script-style); font-weight: 400; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .6em 1.1em; border-radius: 999px; font: 600 .9rem var(--f-body); border: 1px solid transparent; cursor: pointer; text-decoration: none; background: var(--gold); color: var(--gold-ink); white-space: nowrap; }
.btn:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn.small { padding: .3em .8em; font-size: .8rem; }
.btn.danger { background: transparent; color: var(--no); border-color: transparent; }
.btn:disabled { opacity: .5; cursor: default; }

input, select, textarea { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .5em .7em; min-width: 0; width: 100%; }
textarea { resize: vertical; min-height: 4.5em; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--gold); }
[hidden] { display: none !important; }
label.field { display: grid; gap: 4px; font-size: .82rem; color: var(--muted); font-weight: 500; }
label.field > span { font-weight: 600; }

.pill { display: inline-block; font-size: .72rem; font-weight: 600; padding: 1px 9px; border-radius: 999px; border: 1px solid currentColor; white-space: nowrap; }
.pill.zugesagt, .pill.ok { color: var(--ok); }
.pill.offen, .pill.wait { color: var(--wait); }
.pill.abgesagt, .pill.no { color: var(--no); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; min-width: 0; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }

.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--cypress); color: var(--cypress-fg); padding: .7em 1.2em; border-radius: 999px; font-size: .9rem; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 50; max-width: calc(100% - 32px); }
.toast.err { background: var(--no); color: #fff; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
