
/* Layout: BP24-Hausstil (Flyer) · weiße Kopfzeile, Navy-Hero, Schritt-Leiste mit Navy-Kreisen, weiße Karten, Creme-Hinweise, Gold-Akzente. Bewusst nur helles Design (Markenauftritt). */
:root {
  --navy: #153a64; --navy-dark: #0e2947; --hero-a: #0f2c4b; --hero-b: #1b4576;
  --gold: #b48b4b; --gold-a: #a37b40; --gold-b: #8f6933; --gold-light: #ecd9b3; --kicker: #e3c48f;
  --cream: #f6f4ef; --line: #eae6dc; --text: #2b3440; --grey: #5a6470; --white: #ffffff;
  --err: #a3271d; --err-bg: #fdeaea; --ok: #1f7a4a; --ok-bg: #e7f5ec; --page: #f1efe9;
  --font: Arial, "Liberation Sans", "Helvetica Neue", Helvetica, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--page); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.5; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.gut { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 900px; margin: 0 auto; }

/* Kopf */
.top { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 12px; }
.top .inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.logo { display: grid; line-height: 1.1; }
.logo__name { font-weight: 700; font-size: 22px; color: var(--navy); letter-spacing: -.01em; }
.logo__name span { color: var(--gold); }
.logo__claim { font-size: 10.5px; letter-spacing: .18em; color: var(--gold); font-weight: 700; margin-top: 3px; }
.contact { font-size: 14px; color: var(--grey); text-align: right; }
.contact b { color: var(--navy); }
.hero { background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: var(--white); padding-block: 28px 30px; }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 700; color: var(--kicker); margin: 0 0 8px; }
.hero h1 { margin: 0 0 10px; font-size: clamp(26px, 5vw, 38px); line-height: 1.15; text-wrap: balance; }
.hero p { margin: 0; max-width: 62ch; color: #dfe7f1; }
.pill { display: inline-block; margin-top: 14px; background: var(--gold); color: var(--white); font-weight: 700; padding: 6px 16px; border-radius: 8px; font-size: 14px; }
.pillrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pillrow .pill { margin-top: 0; }
.pill--ghost { background: rgba(255,255,255,.12); }

main { padding-block: 22px 40px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 22px; }
.stack { display: grid; gap: 16px; }

/* Schritte */
.steps { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; counter-reset: s; }
.step { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; color: var(--grey); background: none; border: 0; padding: 4px 8px 4px 4px; border-radius: 8px; }
.step__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: var(--white); border: 2px solid var(--line); color: var(--grey); flex: none; }
.step.done .step__n { background: var(--gold); border-color: var(--gold); color: var(--white); }
.step.on { color: var(--navy); font-weight: 700; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.step.on .step__n { background: var(--navy); border-color: var(--navy); color: var(--white); }
.progress { height: 6px; background: var(--line); border-radius: 8px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--gold); transition: width .3s; }

.sec-title { margin: 0; font-size: 22px; color: var(--navy); }
.sec-intro { margin: 4px 0 0; color: var(--grey); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.f { display: grid; gap: 6px; min-width: 0; align-content: start; }
.f--full { grid-column: 1 / -1; }
.f > label, .f > .lbl { font-weight: 700; font-size: 15px; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.req { color: var(--gold); }
.pre { font-size: 12px; font-weight: 700; color: var(--gold-b); background: var(--gold-light); border-radius: 8px; padding: 1px 8px; }
.f input[type=text], .f input[type=tel], .f input[type=email], .f input[type=date], .f input[type=number], .f textarea, .f select {
  width: 100%; background: var(--cream); border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 13px; font-size: 16px; min-height: 48px; }
.f textarea { min-height: 96px; resize: vertical; }
.f input:focus, .f textarea:focus { border-color: var(--gold); background: var(--white); outline: none; box-shadow: 0 0 0 4px rgba(180,139,75,.18); }
.f.prefilled input, .f.prefilled textarea { background: #fbf6ec; border-color: var(--gold-light); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 8px; padding: 9px 15px; font-size: 15px; background: var(--white); min-height: 44px; }
.opt input[type=checkbox] + span::before { content: ""; width: 16px; height: 16px; border-radius: 8px; border: 1.5px solid #c9c1b0; flex: none; }
.opt input:checked + span { border-color: var(--gold); background: #fbf6ec; font-weight: 700; color: var(--navy); }
.opt input[type=checkbox]:checked + span::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--gold); }
.opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.opts--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.opts--grid .opt span { width: 100%; border-radius: 8px; }
.note { grid-column: 1 / -1; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 15px; display: flex; gap: 10px; }
.note::before { content: "i"; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-light); color: var(--gold-b); display: grid; place-items: center; font-weight: 700; flex: none; font-size: 14px; }
.sub { grid-column: 1 / -1; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 6px 0 -6px; padding-top: 10px; border-top: 1px dashed var(--line); }
.f.invalid input, .f.invalid textarea { border-color: var(--err); }
.f.invalid .opts .opt span { border-color: #e9b4ae; }
.errtxt { color: var(--err); font-size: 14px; font-weight: 700; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; background: var(--cream); border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 14.5px; cursor: pointer; }
.consent input { width: 22px; height: 22px; accent-color: var(--gold); flex: none; margin-top: 1px; }
.consent.invalid { border-color: var(--err); }
.sig { border: 1.5px dashed #c9c1b0; border-radius: 8px; background: var(--white); touch-action: none; width: 100%; height: 150px; display: block; }

.nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn { border: 0; border-radius: 8px; padding: 13px 26px; font-weight: 700; font-size: 16px; min-height: 48px; background: linear-gradient(135deg, var(--gold-a), var(--gold-b)); color: var(--white); }
.btn:hover { filter: brightness(1.08); }
.btn--ghost { background: var(--white); color: var(--navy); border: 2px solid var(--line); }
.btn--navy { background: var(--navy); }
.saved { font-size: 13px; color: var(--grey); }
.alert { background: var(--err-bg); color: var(--err); border-radius: 8px; padding: 12px 14px; font-weight: 700; }

/* Abschluss / Ablauf */
.center { text-align: center; display: grid; justify-items: center; gap: 12px; }
.bigicon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; font-weight: 700; background: var(--gold); color: var(--white); }
.bigicon--grey { background: var(--gold-light); color: var(--gold-b); }
.center h2 { margin: 0; color: var(--navy); font-size: 26px; text-wrap: balance; }
.center p { margin: 0; max-width: 56ch; color: var(--grey); }
.linkbox { background: var(--cream); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; text-align: left; }
.check-list li { display: flex; gap: 10px; }
.check-list li::before { content: "✓"; color: var(--gold); font-weight: 700; }

.foot { background: var(--navy-dark); color: #c8d3e0; padding-block: 18px; font-size: 14px; }
.foot .inner { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .fields { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 16px; }
  .contact { text-align: left; }
  .step__t { display: none; }
  .step.on .step__t { display: inline; }
  .nav .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.foot a { color: inherit; }
.saved--err { color: var(--err); font-weight: 700; }
[hidden] { display: none !important; }
body { min-height: 100vh; display: flex; flex-direction: column; } #app { flex: 1; }

/* Anfrage-Maske */
html.embedded .only-solo { display: none; }
html.embedded body { background: transparent; min-height: 0; }
.threesteps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
.threesteps li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; }
.threesteps li::before { content: counter(s); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.threesteps b { color: var(--navy); }
.threesteps span { color: var(--grey); font-size: 15px; }
.opts--who { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.opts--who .opt span { width: 100%; height: 100%; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.andere[hidden] { display: none !important; }

.logo-img { display: block; width: 300px; max-width: 72vw; height: auto; }
