@font-face { font-family: "Manrope"; src: url("fonts/Manrope-VF.24104438d240.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  /* Warme Fläche, dunkles Petrol, Apricot nur als Akzentfläche/Fokusring (Entwurf A, Kontraste: scripts/contrast.py). */
  --forest: #163c46;
  --forest-2: #1f4e5a;
  --meadow: #1f4e5a;
  --meadow-ink: #1f4e5a;
  --meadow-soft: #e4eef0;
  --sun: #e8a87c;
  --sun-soft: #fbe6d6;
  --terracotta: #9e3a22;
  --warn-bg: #f8e2d9;
  --paper: #fbf7f2;
  --paper-2: #ffffff;
  --card: #ffffff;
  --ink: #1d2a2e;
  --muted: #566468;
  --line: #d9dfe0;
  --line-strong: #77888c;
  --pine: var(--meadow-ink);
  --pine-soft: var(--meadow-soft);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-1: 0 1px 0 rgb(22 60 70 / .05), 0 2px 6px -2px rgb(22 60 70 / .12);
  --shadow-2: 0 1px 0 rgb(22 60 70 / .05), 0 10px 24px -12px rgb(22 60 70 / .28);
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font-body); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); }
h1 { font-size: 28px; line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -.2px; overflow-wrap: anywhere; color: var(--forest-2); }
h2 { font-size: 20px; line-height: 1.3; margin: 0 0 10px; font-weight: 650; color: var(--forest-2); }
p { margin: 0 0 8px; }
a { color: var(--meadow-ink); text-underline-offset: 2px; }
small, .small { font-size: 14px; line-height: 1.5; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; font-size: 16px; background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius); }
input:hover, select:hover, textarea:hover { border-color: #c3c9b6; }
input[type="checkbox"] { width: 22px; min-height: 22px; height: 22px; flex: none; accent-color: var(--meadow); }
input[type="radio"] { accent-color: var(--meadow); }
textarea { resize: vertical; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; box-shadow: 0 0 0 6px var(--sun); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 8px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; cursor: pointer; list-style: none; box-shadow: var(--shadow-1); }
.btn:hover { border-color: var(--meadow); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn.primary { background: var(--meadow); border-color: var(--meadow); color: #fff; box-shadow: inset 0 -2px 0 rgb(0 0 0 / .16), var(--shadow-1); }
.btn.primary:hover { background: var(--meadow-ink); }
.btn.danger { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.btn.small { padding: 6px 12px; font-size: 14.5px; }
.btn.wide { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 600; }
.stack label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; min-height: 44px; }
.form-error { background: var(--warn-bg); color: #7a2a16; padding: 10px 12px; border-radius: 12px; }

body.public { min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); }
.public-main { flex: 1; width: 100%; max-width: 420px; margin: 0 auto; padding: 48px 16px 16px; }
.public-main h1 { margin-bottom: 20px; }
.public-footer { padding: 16px; text-align: center; font-size: 14px; }
.public-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
