/* Kuverta – Shop, Konfigurator, Gastgeber-Bereich */
:root {
  --bg: #f4efe7; --bg2: #ebe3d6; --card: #fffdf9; --ink: #1f1a16; --muted: #6f655b; --line: rgba(31, 26, 22, .12);
  --gold: #a8844d; --gold2: #d8bd8a; --ok: #3f6b4a; --warn: #a3463b;
  --f-disp: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --r: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #14110e; --bg2: #1c1814; --card: #1f1b17; --ink: #f1e9dd; --muted: #a99d8f; --line: rgba(241, 233, 221, .13); --gold: #cfaa6b; --gold2: #8d7244; }
}
:root[data-theme="dark"] { --bg: #14110e; --bg2: #1c1814; --card: #1f1b17; --ink: #f1e9dd; --muted: #a99d8f; --line: rgba(241, 233, 221, .13); --gold: #cfaa6b; --gold2: #8d7244; }

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.disp { font-family: var(--f-disp); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.muted { color: var(--muted); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--f-disp); font-size: 28px; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo i { width: 26px; height: 18px; border: 1.5px solid var(--ink); border-radius: 3px; position: relative; display: inline-block; }
.logo i::before { content: ""; position: absolute; left: 2px; right: 2px; top: -1px; height: 10px; border-bottom: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); transform: skewY(0); clip-path: polygon(0 0, 100% 0, 50% 100%); background: linear-gradient(var(--ink), var(--ink)) center/100% 1.5px no-repeat; }
.logo i::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); left: 50%; top: 6px; transform: translateX(-50%); }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 99px; border: 1px solid var(--ink);
  background: transparent; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn.dark { background: var(--ink); color: var(--bg); }
.btn.gold { background: linear-gradient(135deg, var(--gold2), var(--gold)); color: #fff; border-color: transparent; }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Karten & Formulare */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.field { display: grid; gap: 6px; }
.field > label, .lbl { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent); }
.field small { font-size: 13px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-group button { border: 1px solid var(--line); background: var(--bg); border-radius: 99px; padding: 8px 14px; font-size: 14px; min-height: 40px; }
.pill-group button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-size: 14px; opacity: 0; transition: .3s; z-index: 100; pointer-events: none; }
.toast.on { opacity: 1; transform: translateX(-50%); }

/* Fuß */
.footer { border-top: 1px solid var(--line); padding: 40px 0 60px; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* Rechtstexte */
.legal { padding: 60px 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-family: var(--f-disp); font-weight: 400; font-size: 52px; margin-bottom: 24px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.legal p, .legal li { margin-bottom: 10px; color: color-mix(in srgb, var(--ink) 85%, var(--muted)); }
.legal ul { padding-left: 20px; }
