/* Brand: navy + gold from the Finanzbäse logo, blue gradient and type from the Meta ad. */
:root {
  --navy: #052443;
  --navy-deep: #09173e;
  --royal: #15449b;
  --gold: #b2894b;
  --gold-light: #d4b07a;
  --ink: #0b1a33;
  --muted: #5a6478;
  --line: #d7dce6;
  --error: #c4251a;
  --head: "League Spartan", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--navy-deep);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--royal); text-underline-offset: 2px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: -.01em; }

/* Header: white, so the navy/gold logo sits on its own background */
.top { position: sticky; top: 0; z-index: 10; background: #fff; box-shadow: 0 1px 0 rgba(5,36,67,.08); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-mark { height: 38px; width: auto; }
.brand-word { height: 17px; width: auto; }
.nav a {
  color: #fff; background: var(--navy); text-decoration: none; font-weight: 600; font-size: .85rem; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; transition: background-color .15s;
}
.nav a:hover { background: var(--royal); }
.nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Hero: the ad's vertical navy-to-royal gradient */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(180deg, var(--navy-deep) 0%, #102e6f 55%, var(--royal) 100%);
  padding: 36px 0 56px;
  overflow: hidden;
  overflow: clip; /* hidden is still scrollable: focusing a radio slid the hero sideways */
}
.hero-grid { display: grid; gap: 40px; position: relative; grid-template-areas: "intro" "steps" "form"; }
.hero-intro { grid-area: intro; text-align: center; }
.card { grid-area: form; }
.hero-steps { grid-area: steps; }

h1 { font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.05; margin: 0 auto 14px; max-width: 12em; }
.amount { font-family: var(--head); font-weight: 800; font-size: clamp(4rem, 19vw, 7rem); line-height: 1; letter-spacing: -.02em; margin: 0 0 20px; }
.amount sup { font-size: .35em; color: var(--gold-light); vertical-align: super; margin-left: 2px; }
.lead { font-size: 1.08rem; line-height: 1.5; color: rgba(255,255,255,.9); margin: 0 auto 14px; max-width: 30em; }
.meta { margin: 0 0 18px; font-weight: 700; font-size: .95rem; color: var(--gold-light); }
.footnote { margin: 0; font-size: .78rem; color: rgba(255,255,255,.6); }

.label { margin: 0 0 6px; font-family: var(--head); font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); }

/* Steps: large gold numerals on thin rules */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 48px 1fr; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.2); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.steps .num { font-family: var(--head); font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--gold-light); }
.steps h3 { margin: 0 0 2px; font-size: 1.15rem; }
.steps p { margin: 0; font-size: .93rem; color: rgba(255,255,255,.8); }

/* Form card */
.card {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 24px 20px;
  box-shadow: 0 24px 60px rgba(3, 12, 40, .35);
  scroll-margin-top: 80px; /* clears the sticky header */
}
.card h2 { font-size: 1.8rem; line-height: 1.1; color: var(--navy); margin: 0 0 4px; }
.card .sub { color: var(--muted); margin: 0 0 22px; font-size: .93rem; }
.field { margin-bottom: 18px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], select {
  width: 100%; font: inherit; font-size: 16px; /* 16px stops iOS zoom */
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  appearance: none; transition: border-color .15s;
}
select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6478' stroke-width='1.8'/%3E%3C/svg%3E") right 14px center/11px no-repeat; padding-right: 38px; }
input:hover, select:hover { border-color: #b4bccb; }
input:focus-visible, select:focus-visible { outline: none; border-color: var(--royal); box-shadow: 0 0 0 3px rgba(21,68,155,.18); }
.was-validated input:invalid, .was-validated select:invalid { border-color: var(--error); }

/* Choice tiles (radio) */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.choices.big { grid-template-columns: 1fr 1fr; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: block; text-align: center; padding: 12px 8px; border: 1.5px solid var(--line); border-radius: 12px;
  font-weight: 600; transition: border-color .15s, background-color .15s, color .15s;
}
.choice:hover span { border-color: #b4bccb; }
.choices.big .choice span { padding: 14px 8px; font-family: var(--head); font-weight: 700; font-size: 1.2rem; }
.choices.big .choice small { display: block; font-family: "Montserrat", sans-serif; font-size: .68rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); }
.choice input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.choice input:checked + span small { color: var(--gold-light); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(21,68,155,.25); }
.was-validated .choices:has(input:required:invalid) .choice span { border-color: var(--error); }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; line-height: 1.5; color: var(--muted); margin: 6px 0 20px; }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--navy); }
.err { color: var(--error); font-size: .82rem; font-weight: 600; margin: 6px 0 0; }
.err:empty { display: none; }
.alert { background: #fdeceb; color: var(--error); border-radius: 12px; padding: 12px 14px; font-size: .88rem; margin: 0 0 18px; }

/* Pill CTA like the ad's button; navy with a gold arrow to echo the logo */
.btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 10px;
  width: 100%; font: inherit; font-weight: 700; font-size: 1rem; color: #fff; text-decoration: none;
  background: var(--navy); border: 0; border-radius: 999px; padding: 17px 22px; cursor: pointer;
  transition: background-color .15s, transform .1s;
}
.btn::after { content: "→"; color: var(--gold-light); transition: transform .15s; }
.btn:hover { background: var(--royal); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.trust { display: flex; justify-content: center; align-items: center; gap: 6px; color: var(--muted); font-size: .78rem; margin: 14px 0 0; text-align: center; }
.trust svg { width: 13px; height: 13px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

footer { background: var(--navy-deep); color: rgba(255,255,255,.6); font-size: .82rem; padding: 32px 0; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.disclaimer { flex-basis: 100%; font-size: .74rem; line-height: 1.55; color: rgba(255,255,255,.42); margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }

/* Thank-you page: same blue as the hero, centred, fills the screen */
.thanks { min-height: calc(100svh - 64px); display: grid; place-items: center; text-align: center; }
.thanks .check { width: 64px; height: 64px; margin: 0 auto 20px; fill: var(--gold-light); stroke: var(--navy); }
.thanks h1 { margin-bottom: 16px; }
.sign { margin: 8px 0 0; font-family: var(--head); font-weight: 700; font-size: 1.2rem; color: var(--gold-light); }

/* Simple content pages */
.page { padding: 56px 0 72px; background: #fff; }
.page .wrap { max-width: 720px; }
.page h1 { color: var(--navy); font-size: clamp(2.2rem, 8vw, 3.2rem); margin-left: 0; }
.legal h2 { color: var(--navy); font-size: 1.35rem; margin: 36px 0 10px; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.legal p, .legal li { color: #2b364d; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 4px; }
.legal .updated { color: var(--muted); font-size: .88rem; margin-top: -4px; }
.legal mark { background: #fff1c2; padding: 0 3px; border-radius: 3px; } /* placeholders still to fill in */

@media (max-width: 399px) { .btn .wide { display: none; } } /* full label doesn't fit one line on phones */

@media (max-width: 380px) {
  .brand-mark { height: 32px; }
  .brand-word { height: 14px; }
  .nav a { padding: 8px 12px; font-size: .8rem; }
}

@media (min-width: 900px) {
  .top .wrap { height: 72px; }
  .brand { gap: 12px; }
  .brand-mark { height: 48px; }
  .brand-word { height: 28px; }
  .card { scroll-margin-top: 88px; }
  .thanks { min-height: calc(100svh - 72px); }
  .hero { padding: 72px 0 96px; }
  .hero-grid {
    grid-template-columns: 1.1fr .9fr; grid-template-rows: auto 1fr; align-items: start; gap: 48px 72px;
    grid-template-areas: "intro form" "steps form";
  }
  .hero-intro { text-align: left; }
  h1, .lead { margin-left: 0; }
  .card { padding: 34px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
