/* Website zweihaus.com. Farben, Schrift und Formen wie die App (docs/DESIGN.md, src/styles/tokens.css). */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/schrift/plex-400.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/schrift/plex-500.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/schrift/plex-600.woff2') format('woff2'); }

:root {
  --bg: #f5f5f3; --surface: #ffffff; --line: #e3e3df; --line-strong: #8c9099; --fill: #efefec;
  --ink: #1d1f24; --ink-2: #5e636e; --action: #1f3a5f; --on-action: #ffffff; --action-soft: #e8edf3;
  --danger: #a3352b; --me: #426b3a; --other: #7e4d96; --confirmed: #426b3a; --wait: #86621a;
  --radius-card: 12px; --radius-control: 10px; --radius-small: 8px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121417; --surface: #1b1e23; --line: #2a2e35; --line-strong: #646a75; --fill: #23272d;
    --ink: #eceef1; --ink-2: #9aa0aa; --action: #8fb0d9; --on-action: #121417; --action-soft: #22303f;
    --danger: #e58a80; --me: #94c08b; --other: #c6abd4; --confirmed: #94c08b; --wait: #d9a84a;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; hyphens: manual; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; font-variant-numeric: tabular-nums; }
img, svg { display: block; max-width: 100%; }
a { color: var(--action); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: var(--radius-small); }
.skip:focus { left: 16px; z-index: 10; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.wide { max-width: 1040px; }

header.top { border-bottom: 1px solid var(--line); background: var(--bg); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 19px; min-height: 44px; }
.brand svg { width: 32px; height: 32px; }
.brand .m { fill: var(--me); } .brand .o { fill: var(--other); }
nav.main { display: flex; gap: 4px; align-items: center; }
nav.main a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-weight: 500; font-size: 15px; white-space: nowrap; text-decoration: none; border-radius: var(--radius-control); }
@media (max-width: 359px) { .brand span { display: none; } }
nav.main a:hover { background: var(--fill); }

main { padding: 32px 0 48px; }
h1 { font-size: 30px; line-height: 1.25; font-weight: 600; margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: 22px; line-height: 1.3; font-weight: 600; margin: 48px 0 12px; }
h3 { font-size: 17px; line-height: 1.35; font-weight: 600; margin: 24px 0 8px; }
p, ul, ol { margin: 0 0 12px; }
ul { padding-left: 20px; }
li { margin-bottom: 6px; }
.lead { font-size: 18px; color: var(--ink); }
.muted { color: var(--ink-2); font-size: 15px; }
.small { font-size: 14px; color: var(--ink-2); }

.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--radius-control); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn.primary { background: var(--action); color: var(--on-action); }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); font-weight: 500; }
.btn svg { width: 20px; height: 20px; }
.btn[disabled] { opacity: 0.6; cursor: default; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px; margin: 0 0 12px; }
.note { background: var(--fill); border-radius: var(--radius-card); padding: 12px 16px; font-size: 15px; color: var(--ink); margin: 16px 0; }
.hinweis { background: var(--fill); border-radius: var(--radius-card); padding: 12px 16px; font-size: 15px; }

.features { display: grid; gap: 16px; margin-top: 16px; }
.feature { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px; }
.feature h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.feature h3 svg { width: 22px; height: 22px; color: var(--action); flex: none; }
.feature p { margin: 0; }
.shot { background: var(--fill); border-radius: var(--radius-card); padding: 16px; display: flex; justify-content: center; }
.shot img { width: 260px; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.shot figcaption { font-size: 13px; color: var(--ink-2); }
@media (min-width: 720px) {
  .feature { grid-template-columns: 1fr 290px; align-items: center; padding: 24px; }
  h1 { font-size: 38px; }
}

.rules { list-style: none; padding: 0; margin: 0; }
.rules li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.rules li:last-child { border-bottom: 0; }
.rules svg { width: 22px; height: 22px; color: var(--confirmed); flex: none; margin-top: 2px; }

.prices { display: grid; gap: 12px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 16px; }
.price .amount { font-size: 26px; font-weight: 600; margin: 4px 0; }
@media (min-width: 720px) { .prices { grid-template-columns: repeat(3, 1fr); } }

details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); margin-bottom: 8px; }
summary { cursor: pointer; padding: 12px 16px; min-height: 48px; display: flex; align-items: center; font-weight: 500; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; margin-left: auto; padding-left: 12px; color: var(--ink-2); font-size: 20px; }
details[open] summary::after { content: '–'; }
details > div { padding: 0 16px 12px; }

form { display: grid; gap: 16px; }
label, .label { font-size: 13px; font-weight: 500; color: var(--ink-2); display: block; margin-bottom: 6px; }
input[type='email'], input[type='text'], textarea, select { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-control); }
textarea { min-height: 140px; resize: vertical; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--action); outline-offset: 0; border-color: var(--action); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-small); background: var(--surface); color: var(--ink); font-size: 15px; margin: 0; cursor: pointer; }
.choices input { accent-color: var(--action); width: 18px; height: 18px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--action); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 24px; font-weight: 500; margin: 0; }
.status.ok { color: var(--confirmed); }
.status.error { color: var(--danger); }

.legal h1 { font-size: 30px; }
.legal h2 { font-size: 20px; margin-top: 32px; }
.toc { font-size: 15px; }

footer.bottom { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 15px; }
footer.bottom ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 4px 4px; }
footer.bottom a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
footer.bottom p { color: var(--ink-2); margin: 0 8px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
