:root {
  --ground: #f2f4f8;
  --surface: #ffffff;
  --tone: #e6eaf3;
  --ink: #0f1b3d;
  --ink-2: #3d4867;
  --accent: #3b5af5;
  --accent-press: #2c47d6;
  --accent-soft: #eaeefe;
  --field: #0f1b3d;
  --on-field: #ffffff;
  --ok: #1d7a4c;
  --warn: #8a5a00;
  --error: #b42318;
  --radius: 16px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Leiste ---------- */
.bar { background: var(--surface); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.bar-logo img { width: 128px; height: auto; }
.bar-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; text-decoration: none; font-size: 16px; padding: 10px 0; }
.bar-phone svg { width: 20px; height: 20px; color: var(--accent); }
.bar-phone span.long { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 72px; }
.hero-grid { display: grid; gap: 20px; }
.hero-intro { container-type: inline-size; }
.hero h1 { font-size: clamp(32px, 8.4vw, 84px); font-size: clamp(32px, 11.4cqi, 84px); max-width: 15ch; }
.hero-lead { margin-top: 12px; font-size: clamp(17px, 2.2vw, 20px); color: var(--ink); max-width: 38ch; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 12px; font-weight: 600; font-size: 15px; }
.stars { display: inline-flex; gap: 2px; color: #f2a516; }
.stars svg { width: 18px; height: 18px; }
.hero-photo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--tone); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 16px; }
.facts svg { flex: none; width: 22px; height: 22px; color: var(--ok); margin-top: 1px; }

/* ---------- Funnel-Karte ---------- */
.funnel-card { background: var(--surface); border-radius: calc(var(--radius) + 4px); padding: 22px 18px 20px; scroll-margin-top: 12px; }
.funnel-foot { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.funnel-foot svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.f-progress { margin-bottom: 18px; }
.f-progress-bar { height: 8px; border-radius: 99px; background: var(--tone); overflow: hidden; }
.f-progress-bar span { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .45s var(--ease); }

.f-q { font-size: clamp(22px, 5.6vw, 28px); line-height: 1.15; outline: none; }
.f-hint { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.f-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.f-opts-list { grid-template-columns: 1fr; }
.f-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 112px; padding: 14px 10px; border: 2px solid var(--tone); border-radius: 14px;
  background: var(--surface); color: var(--ink); font: inherit; cursor: pointer;
  transition: border-color .15s, background-color .15s, transform .15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.f-opts-list .f-opt { flex-direction: row; justify-content: flex-start; text-align: left; min-height: 64px; padding: 12px 16px; gap: 14px; }
.f-opt:hover { border-color: #b9c4f8; }
.f-opt:active { transform: scale(.98); }
.f-opt.is-on { border-color: var(--accent); background: var(--accent-soft); }
.f-ico { display: inline-flex; width: 44px; height: 44px; color: var(--accent); flex: none; }
.f-ico svg { width: 100%; height: 100%; }
.f-opts-list .f-ico { width: 34px; height: 34px; }
.f-opt-text { display: flex; flex-direction: column; gap: 2px; }
.f-opt-label { font-weight: 700; font-size: 16px; line-height: 1.25; }
.f-opt-sub { font-size: 14px; color: var(--ink-2); line-height: 1.3; }
.f-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; min-height: 8px; }
.f-nav:empty { display: none; }
.f-back { background: none; border: 0; padding: 10px 0; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.f-back:hover { color: var(--ink); }
.f-next, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font: inherit; font-weight: 700; font-size: 17px;
  cursor: pointer; text-decoration: none; transition: background-color .15s, transform .15s var(--ease);
}
.f-next:hover, .btn:hover { background: var(--accent-press); }
.f-next:active, .btn:active { transform: scale(.98); }
.f-next:disabled { background: #b8c2ec; cursor: not-allowed; transform: none; }
.f-nav .f-next { margin-left: auto; }
.f-form { margin-top: 18px; display: grid; gap: 14px; }
.f-field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.f-field input {
  width: 100%; min-height: 54px; padding: 0 16px; border: 2px solid var(--tone); border-radius: 12px;
  font: inherit; font-size: 17px; color: var(--ink); background: var(--surface);
}
.f-field input:focus { outline: none; border-color: var(--accent); }
.f-submit { width: 100%; margin-top: 4px; min-height: 58px; font-size: 18px; }
.f-legal { font-size: 13px; color: var(--ink-2); line-height: 1.45; }
.f-err { color: var(--error); font-weight: 600; font-size: 15px; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; } /* taste-skill-ignore: unsichtbares Honeypot-Feld */
.f-area { display: inline-block; margin-bottom: 12px; padding: 6px 12px; border-radius: 10px; background: #e3f3ea; color: var(--ok); font-weight: 600; font-size: 14px; }
.f-area.is-out { background: #fdf1d8; color: var(--warn); }
.f-end { display: grid; gap: 14px; padding: 8px 0 4px; }
.f-end p { color: var(--ink); }
.f-thanks .f-ico-big { width: 56px; height: 56px; color: var(--ok); }
.f-link { justify-self: start; }

/* ---------- Abschnitte ---------- */
.section { padding: 88px 0; }
.section h2 { font-size: clamp(30px, 6vw, 48px); max-width: 18ch; }
.section-lead { margin-top: 14px; font-size: 18px; max-width: 52ch; }

.why-grid { display: grid; gap: 32px; margin-top: 36px; }
.why-photo { border-radius: var(--radius); overflow: hidden; }
.why-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; align-content: center; }
.why-list strong { display: block; font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--accent); }
.why-list span { display: block; margin-top: 6px; font-size: 17px; max-width: 40ch; }

.next-field { background: var(--field); color: var(--on-field); }
.next-field h2 { color: var(--on-field); }
.next-steps { margin: 36px 0 0; padding: 0; list-style: none; display: grid; gap: 28px; counter-reset: s; }
.next-steps li { display: grid; gap: 8px; }
.next-steps h3 { font-size: 22px; letter-spacing: -0.015em; }
.next-steps p { color: #d5dbf0; font-size: 17px; max-width: 38ch; }

.faq-grid { display: grid; gap: 32px; }
.faq details { background: var(--surface); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 500; color: var(--accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 20px; font-size: 16px; max-width: 62ch; }

.closing { padding: 88px 0; background: var(--surface); }
.closing-grid { display: grid; gap: 24px; align-items: center; }
.closing h2 { font-size: clamp(30px, 6vw, 52px); max-width: 16ch; }
.closing p { margin-top: 12px; font-size: 18px; max-width: 44ch; }
.closing-photo { border-radius: var(--radius); overflow: hidden; }
.closing-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.closing .btn { margin-top: 24px; }

.foot { padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); }
.foot-name { font-size: clamp(28px, 7vw, 72px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; font-size: 15px; }
.foot-row a { color: var(--ink); }
.foot-note { margin-top: 20px; font-size: 13px; color: var(--ink-2); max-width: 80ch; }

/* ---------- Mobile Sticky-Button ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: none; }
.sticky-cta .btn { width: 100%; box-shadow: 0 8px 24px rgba(15, 27, 61, .25); } /* taste-skill-ignore: schwebender Sticky-Button */
.show-sticky .sticky-cta { display: block; }
.lead-sent .sticky-cta { display: none !important; }
.show-sticky body { padding-bottom: 88px; }

/* ---------- Cookie-Hinweis ---------- */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 520px; margin: 0 auto; background: var(--surface); color: var(--ink); border-radius: 16px; padding: 18px; box-shadow: 0 12px 40px rgba(15, 27, 61, .22); } /* taste-skill-ignore: Dialog */
.consent p { font-size: 14px; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.consent-actions button { min-height: 46px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; border: 2px solid var(--accent); background: var(--surface); color: var(--accent); }
.consent-actions button[data-consent="yes"] { background: var(--accent); color: #fff; }

/* ---------- Einblenden ---------- */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }

@media (min-width: 640px) {
  .bar-phone span.long { display: inline; }
  .f-opts { grid-template-columns: repeat(2, 1fr); }
  .funnel-card { padding: 28px 28px 24px; }
  .next-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 980px) {
  .bar .wrap { min-height: 80px; }
  .bar-logo img { width: 150px; }
  .hero { padding: 48px 0 120px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(380px, 480px); grid-template-areas: "intro funnel" "more funnel"; column-gap: 56px; row-gap: 0; align-items: start; }
  .hero-intro { grid-area: intro; }
  .funnel-col { grid-area: funnel; }
  .hero-more { grid-area: more; }
  .hero-photo { margin-top: 36px; }
  .hero-photo img { aspect-ratio: 16 / 10; }
  .facts { margin-top: 28px; }
  .hero-lead { margin-top: 20px; }
  .rating { margin-top: 20px; }
  .funnel-col { position: sticky; top: 24px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
  .section { padding: 140px 0; }
  .why-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; margin-top: 48px; }
  .faq-grid { grid-template-columns: 1fr 1.4fr; gap: 64px; }
  .closing { padding: 140px 0; }
  .closing-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .show-sticky .sticky-cta { display: none; }
  .show-sticky body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
  .f-opt, .f-next, .btn, .f-progress-bar span { transition: none; }
}

/* ---------- Bildband ---------- */
.band { margin: 0; }
.band img { width: 100%; height: clamp(260px, 42vw, 620px); object-fit: cover; }
.band figcaption { padding: 12px var(--gutter) 0; font-size: 14px; color: var(--ink-2); max-width: var(--max); margin: 0 auto; }

/* ---------- Auftritt beim Laden ---------- */
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-intro > *, .funnel-card, .hero-more > * { animation: up .7s var(--ease) both; }
.hero-intro > :nth-child(2) { animation-delay: .08s; }
.hero-intro > :nth-child(3) { animation-delay: .16s; }
.funnel-card { animation-delay: .12s; }
.hero-more > :nth-child(1) { animation-delay: .24s; }
.hero-more > :nth-child(2) { animation-delay: .32s; }
.hero-photo img { animation: settle 1.6s var(--ease) both; }
.f-step { animation: up .35s var(--ease) both; }
@media (prefers-reduced-motion: reduce) {
  .hero-intro > *, .funnel-card, .hero-more > *, .hero-photo img, .f-step { animation: none; }
}
