/* Tresorbuch – Landingpage. Keine externen Ressourcen: Schriften liegen in /fonts. */

@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/IBMPlexSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/IBMPlexSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); }

:root {
  --ink: #17212A;
  --ink-2: #3E4A54;
  --ink-3: #5A6772;
  --line: #D9DFE3;
  --line-2: #E8ECEF;
  --field: #78848F;
  --bg: #F4F6F7;
  --panel: #ECEFF1;
  --gold: #8A6A22;
  --gold-text: #7A5C1A;
  --gold-dark: #5A430F;
  --cream: #F2E3C0;
  --note: #FBF3E4;
  --ok: #1E7A4F;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--gold-text); }
a:hover { color: var(--gold-dark); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.page { min-height: 100vh; display: flex; flex-wrap: wrap; }

.intro {
  flex: 1 1 480px;
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 10px;
  border: 1.5px solid var(--gold); background: #FFFFFF;
  display: flex; align-items: center; justify-content: center; flex: none;
}
.brand-name { font-weight: 600; font-size: 20px; letter-spacing: .02em; }

.claim {
  margin: auto 0 0;
  font-size: clamp(40px, 5.2vw, 60px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.01em;
}
.claim span { color: var(--gold-text); }

.benefits {
  list-style: none; margin: 0 0 auto; padding: 0;
  display: flex; flex-direction: column; gap: 16px;
  color: var(--ink-2); max-width: 460px;
}
.benefits li { display: flex; gap: 12px; }
.benefits svg { flex: none; margin-top: 2px; }

.main {
  flex: 1 1 520px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 56px 40px 32px;
  gap: 24px;
}

.card {
  width: 100%; max-width: 480px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(23, 33, 42, .06);
}
.stack { display: flex; flex-direction: column; gap: 22px; }

.eyebrow { font-size: 13px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.card h2 { margin: 6px 0 8px; font-size: 28px; font-weight: 500; line-height: 1.25; }
.card p { margin: 0; color: var(--ink-2); }

/* ---------- Formular ---------- */
.lbl { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.fld {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--field); border-radius: 8px;
  background: #FFFFFF; color: var(--ink);
  font: 16px "IBM Plex Sans", system-ui, sans-serif;
}
.fld:user-invalid { border-color: #B3261E; }
.hint { margin-top: 8px; font-size: 14px; color: var(--ink-3); }

.consent {
  background: var(--note);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 16px;
  display: flex; gap: 12px; align-items: flex-start;
}
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.consent label { font-size: 15px; line-height: 1.5; }

.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 52px;
  border-radius: 10px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--cream);
  font: 500 16px "IBM Plex Sans", system-ui, sans-serif;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: #24313C; color: var(--cream); }

.small { margin: -8px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }

/* Honeypot gegen Bots – für Menschen unsichtbar */
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Fußzeile ---------- */
.footer { font-size: 14px; color: var(--ink-3); display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer a { color: var(--ink-3); }
.footer a:hover { color: var(--ink); }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }
.doc .brand { margin-bottom: 40px; }
.doc h1 { font-size: 36px; font-weight: 500; line-height: 1.2; margin: 0 0 24px; }
.doc h2 { font-size: 20px; font-weight: 600; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc .todo { background: var(--note); border: 1px dashed var(--gold); border-radius: 4px; padding: 0 4px; color: var(--ink); }
.doc .footer { justify-content: flex-start; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
  .intro { padding: 32px 24px; gap: 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .claim { margin-top: 8px; }
  .benefits { margin-bottom: 0; }
  .main { padding: 32px 16px 24px; }
  .card { padding: 28px 22px; }
}
