/* Ben Bibeltreu – gemeinsames Design. Bewusst ohne Google Fonts (DSGVO). */
:root {
  /* Branding: Schwarz, Weiß, Gold */
  --gold: #c9a24a;        /* Flächen, Rahmen, Icons */
  --bg: #ffffff;
  --bg-2: #f6f3ec;
  --card: #ffffff;
  --ink: #0d0d0d;
  --ink-2: #3d3d3d;
  --muted: #767676;
  --line: #e6e0d2;
  --accent: #96751f;      /* Gold, dunkel genug für Text auf Weiß */
  --accent-ink: #0d0d0d;
  --forest: #0d0d0d;      /* Hauptfarbe für Buttons: Schwarz */
  --forest-ink: #ffffff;
  --ok: #2f6b45;
  --err: #a2352b;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.06);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a; --bg-2: #161513; --card: #141414; --ink: #ffffff; --ink-2: #cfcfcf;
    --muted: #8c8c8c; --line: #2c2a25; --accent: #d4b05a; --accent-ink: #0a0a0a; --gold: #d4b05a;
    --forest: #d4b05a; --forest-ink: #0a0a0a; --ok: #7cc492; --err: #f08a7e;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.25);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 520px; margin: 0 auto; padding: 0 16px; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: .6em; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Kopfzeile */
.topbar { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.topbar nav { display: flex; gap: 18px; align-items: center; }
.topbar nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.topbar nav a:hover { color: var(--ink); }
.topbar nav a.btn, .topbar nav a.btn:hover { color: var(--forest-ink); }
@media (max-width: 560px) { .topbar nav a.hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 3px; border: 1px solid transparent;
  background: var(--forest); color: var(--forest-ink); font: 600 1rem/1.2 var(--sans);
  text-decoration: none; cursor: pointer; transition: opacity .12s ease, border-color .12s ease;
}
/* Bewusst ruhig: Buttons bewegen sich nicht, sie werden nur leicht heller/dunkler. */
.btn:hover { opacity: .9; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-accent { background: var(--gold); color: var(--accent-ink); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }

/* Formulare */
label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: .88rem; }
input[type=text], input[type=tel], input[type=password], input[type=date], input[type=number], textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 16px;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus, select:focus, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { margin-bottom: 20px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--ink-2); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: .95rem; margin-bottom: 16px; }
.alert-err { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.alert-ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }

footer.site { padding: 32px 0 48px; text-align: center; font-size: .85rem; color: var(--muted); }
footer.site a { color: var(--muted); }

/* Platzhalter: sichtbar markieren, was noch ausgefüllt werden muss */
.todo { border: 1.5px dashed var(--accent); border-radius: 10px; padding: 10px 14px; background: color-mix(in srgb, var(--accent) 7%, transparent); }
