/* ==========================================================================
   kardhero. — Stylesheet
   Markenkonform nach Brand Guidelines Edition 2026
   Heldenblau dominiert · Heldengold als Akzent (<15%) · Poppins exklusiv
   ========================================================================== */

@import url('fonts.css');

:root {
  /* Markenfarben */
  --blau:        #071126;  /* Heldenblau — Primär, Header, Flächen */
  --blau-soft:   #0e1d3a;  /* abgeleitet — dunkle Karten/Sektionen */
  --blau-line:   #1c2c4a;  /* Trennlinien auf Dunkel */
  --gold:        #D6AE28;  /* Heldengold — Akzent, nie Fließtext */
  --gold-tint:   #f4e7b4;  /* Gold-Tint — sehr sparsam */
  --nebel:       #F7F8FA;  /* Nebelweiß — Flächen/Hintergrund */
  --weiss:       #FFFFFF;  /* Reinweiß */

  /* Text */
  --text:        #071126;  /* Fließtext auf Hell = Heldenblau */
  --muted:       #5b6576;  /* Sekundärtext */
  --hint:        #8a93a3;  /* Hinweise */
  --line:        #e4e7ec;  /* Hairlines auf Hell */

  --maxw:        760px;    /* Lesebreite Rechtstexte */
  --maxw-wide:   1080px;   /* Landing-Container */
  --radius:      14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--nebel);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

/* ---------- Wortmarke ---------------------------------------------------- */
.wordmark {
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.wordmark .dot { color: var(--gold); }

/* ---------- Header / Topbar ---------------------------------------------- */
.topbar {
  background: var(--blau);
  color: var(--weiss);
}
.topbar .inner {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar .wordmark { font-size: 22px; color: var(--weiss); }
.topbar nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  font-size: 15px;
  margin-left: 22px;
  transition: color .15s ease;
}
.topbar nav a:hover { color: var(--weiss); }

/* ---------- Landing: Hero ------------------------------------------------ */
.hero {
  background: var(--blau);
  color: var(--weiss);
  padding: 86px 24px 104px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero .inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.hero .badge {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(214,174,40,0.4);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 28px;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.hero h1 .accent { color: var(--gold); }
.hero p.lead {
  font-size: clamp(17px, 2.4vw, 21px);
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin: 0 auto 36px;
}
.hero .stores {
  font-weight: 500;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
}
/* dezenter Gold-Schimmer, kein Default-Verlauf-Klotz */
.hero::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -160px;
  width: 520px; height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(214,174,40,0.16), transparent 70%);
  pointer-events: none;
}

/* ---------- Landing: Sektionen ------------------------------------------- */
.section { padding: 72px 24px; }
.section .inner { max-width: var(--maxw-wide); margin: 0 auto; }
.section h2 {
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 32px);
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 8px;
}
.section .sub {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 48px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--weiss);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
}
.step .num {
  font-weight: 700;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.step h3 { font-weight: 600; font-size: 19px; margin: 0 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; line-height: 1.6; }

/* ---------- Rechtstext-Seiten -------------------------------------------- */
.legal {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal .doc {
  background: var(--weiss);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
}
.legal h1 {
  font-weight: 700;
  font-size: clamp(28px, 5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.legal .stand { color: var(--hint); font-size: 14px; margin: 0 0 36px; }
.legal h2 {
  font-weight: 700;
  font-size: 22px;
  margin: 44px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal h3 { font-weight: 600; font-size: 17.5px; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 16px; color: #222a39; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 7px; }
.legal a { color: #1a3a7a; text-underline-offset: 2px; }
.legal strong { font-weight: 600; }

.legal .kv { margin: 0 0 20px; }
.legal .kv div { margin-bottom: 2px; }
.legal .kv .label { font-weight: 600; }

/* Platzhalter, die Marcel vor Veröffentlichung ersetzen muss */
.todo {
  background: var(--gold-tint);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14.5px;
  color: #5a4a12;
  margin: 14px 0;
}
.todo::before { content: "Zu prüfen / ergänzen: "; font-weight: 600; }

/* ---------- Footer ------------------------------------------------------- */
.footer {
  background: var(--blau);
  color: rgba(255,255,255,0.7);
  padding: 40px 24px;
}
.footer .inner {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer .wordmark { font-size: 18px; color: var(--weiss); }
.footer nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 14.5px;
  margin-left: 20px;
  transition: color .15s ease;
}
.footer nav a:first-child { margin-left: 0; }
.footer nav a:hover { color: var(--weiss); }
.footer .copy { font-size: 13px; color: rgba(255,255,255,0.45); width: 100%; }

/* ---------- Back-Link auf Rechtstexten ----------------------------------- */
.backlink {
  display: inline-block;
  margin-bottom: 28px;
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
}
.backlink:hover { color: var(--text); }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .topbar nav a { margin-left: 16px; font-size: 14px; }
  .footer nav { width: 100%; }
  .footer nav a { margin-left: 0; margin-right: 18px; }
}

/* ---------- Accessibility ------------------------------------------------ */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ==========================================================================
   LANDINGPAGE v2 — erweiterte Sektionen (neuropsychologisch aufgebaut)
   ========================================================================== */

/* Sektion-Hintergründe für Rhythmus (Blau dominiert) */
.section.bg-nebel { background: var(--nebel); }
.section.bg-weiss { background: var(--weiss); }
.section.bg-blau  { background: var(--blau); color: var(--weiss); }
.section.bg-blau h2 { color: var(--weiss); }
.section.bg-blau .sub { color: rgba(255,255,255,0.72); }

.eyebrow {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* ---------- Verlust-Sektion (Loss Aversion) ------------------------------ */
.lossgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
}
.loss-item {
  background: var(--weiss);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 22px 24px;
}
.loss-item h3 { font-weight: 600; font-size: 17px; margin: 0 0 4px; }
.loss-item p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.55; }

/* ---------- Feature-Grid ------------------------------------------------- */
.fgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.fcard {
  background: var(--weiss);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.fcard .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--nebel);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--blau);
  margin-bottom: 16px;
}
.fcard .ico svg { width: 23px; height: 23px; }
.fcard h3 { font-weight: 600; font-size: 18px; margin: 0 0 7px; }
.fcard p { color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }

/* ---------- Anchor / echte Ersparnis (Anchoring) ------------------------- */
.anchor-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.anchor-copy { max-width: 420px; }
.anchor-copy h2 { text-align: left; margin-bottom: 14px; }
.anchor-copy p { color: rgba(255,255,255,0.78); font-size: 17px; line-height: 1.65; margin: 0; }
.savecard {
  background: var(--blau-soft);
  border: 1px solid var(--blau-line);
  border-radius: 20px;
  padding: 30px 34px;
  min-width: 280px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.savecard .cap {
  font-weight: 500; font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: space-between;
}
.savecard .tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(214,174,40,0.4);
  border-radius: 999px; padding: 3px 9px;
}
.savecard .big {
  font-weight: 800; font-size: 56px; line-height: 1.05;
  color: var(--gold); margin: 14px 0 6px; letter-spacing: -0.02em;
}
.savecard .meta { font-size: 14px; color: rgba(255,255,255,0.6); }
.savecard .bar {
  height: 8px; border-radius: 999px; background: rgba(255,255,255,0.12);
  margin-top: 20px; overflow: hidden;
}
.savecard .bar > span { display: block; height: 100%; width: 71%; background: var(--gold); border-radius: 999px; }

/* ---------- Trust / Datenschutz ------------------------------------------ */
.tlist {
  max-width: 720px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px;
}
.titem { display: flex; gap: 13px; align-items: flex-start; }
.titem .chk {
  flex: 0 0 auto; width: 24px; height: 24px; margin-top: 2px;
  color: var(--gold);
}
.titem p { margin: 0; font-size: 15.5px; color: #222a39; line-height: 1.5; }
.titem strong { font-weight: 600; }

/* ---------- Finaler CTA -------------------------------------------------- */
.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 14px; }
.cta-final p.lead {
  color: rgba(255,255,255,0.8); font-size: 18px;
  max-width: 540px; margin: 0 auto 26px; line-height: 1.6;
}
.cta-final .stores { font-weight: 500; font-size: 15px; color: rgba(255,255,255,0.62); }
.cta-final .softcta { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,0.72); }
.cta-final .softcta a { color: var(--gold); text-decoration: none; font-weight: 500; }
.cta-final .softcta a:hover { text-decoration: underline; }

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 860px) {
  .fgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .lossgrid, .fgrid, .tlist { grid-template-columns: 1fr; }
  .anchor-wrap { gap: 32px; }
  .anchor-copy h2 { text-align: center; }
  .anchor-copy { text-align: center; }
}
