/* Online-Marketing.ai Checkout. Fürs Handy gebaut: jeder Schritt passt ohne Scrollen auf einen Bildschirm ab 360 x 640,
   der Kaufknopf steht immer unten. Auf dem Desktop steht dieselbe Spalte mittig.
   Aufbau wie ein gewohnter Online-Checkout: Countdown der Aktion, Bestellübersicht mit Produktbild und Preisen rechts,
   Garantie-Siegel, Kaufknopf, darunter Sicherheit und Zahlungsarten. Hell, Blau #033FCD als Akzent, Grün für „Free“. */
@font-face { font-family: 'Geist'; font-weight: 600; font-display: swap; src: url(fonts/geist-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 700; font-display: swap; src: url(fonts/geist-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 800; font-display: swap; src: url(fonts/geist-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(fonts/inter-latin-700-normal.woff2) format('woff2'); }

:root {
  --brand: #033FCD; --brand-hell: #EEF3FF; --brand-linie: #D5E0FF;
  --ink: #0F172A; --text: #334155; --grau: #64748B; --blass: #94A3B8;
  --grund: #F3F5F9; --karte: #FFFFFF; --linie: #E2E8F0; --linie2: #CBD5E1; --zart: #F8FAFC;
  --gruen: #0E9F6E; --gruen-hell: #E8F8F1; --rot: #DC2626;
  --nacht: #0B1020; --akzent: #FFD60A;   /* Countdown: dunkler Grund, Name in der Farbe der Aktion (checkout.js) */
  --rand: 16px;
  --schatten: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 28px -18px rgba(15, 23, 42, .28);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.4; color: var(--ink); background: #E3E8F1; -webkit-font-smoothing: antialiased; }
h1, h2, .g { font-family: 'Geist', 'Inter', system-ui, sans-serif; letter-spacing: -0.025em; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { display: block; }
.i { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
s { text-decoration-thickness: 1.5px; }
em { font-style: normal; }

/* Spalte */
.app { max-width: 440px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--grund); position: relative; }
@media (min-width: 520px) { body { padding: 24px 0; } .app { min-height: calc(100dvh - 48px); border-radius: 28px; box-shadow: 0 40px 90px -40px rgba(15, 23, 42, .5), 0 0 0 1px rgba(15, 23, 42, .06); overflow: hidden; } }

/* Kopf */
.top { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 var(--rand); background: var(--karte); border-bottom: 1px solid var(--linie); flex: none; }
.back { width: 32px; height: 32px; margin-left: -8px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--text); }
.back svg { width: 20px; height: 20px; stroke-width: 2.2; }
.back[hidden] { display: none; }
.wm { font-family: 'Geist', sans-serif; font-weight: 800; font-size: 15px; letter-spacing: -0.02em; white-space: nowrap; }
.wm b { color: var(--brand); font-weight: 800; }
.secure { margin-left: auto; display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--gruen); white-space: nowrap; }
.secure svg { width: 14px; height: 14px; stroke-width: 2.3; }

/* Schritte: 1 Offer, 2 Details, 3 Payment */
.steps { list-style: none; display: flex; align-items: center; gap: 8px; padding: 12px var(--rand) 0; flex: none; }
.steps li { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--blass); white-space: nowrap; }
.steps li i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--linie2); display: flex; align-items: center; justify-content: center; font-style: normal; font-family: 'Geist', sans-serif; font-weight: 700; font-size: 11.5px; color: var(--grau); background: var(--karte); flex: none; }
.steps li i svg { width: 12px; height: 12px; stroke-width: 3; }
.steps li.an { color: var(--ink); } .steps li.an i { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps li.fertig { color: var(--text); } .steps li.fertig i { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.steps li.strich { flex: 1; height: 2px; background: var(--linie2); border-radius: 1px; min-width: 12px; }
.steps li.strich.fertig { background: var(--gruen); }

/* Inhalt */
.screen { flex: 1; padding: 12px var(--rand) 12px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.screen > * { animation: rein .26s ease both; }
@keyframes rein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .screen > * { animation: none; } }

/* Countdown der Aktion */
.timer { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 44px; padding: 0 8px 0 12px; overflow: hidden; border-radius: 14px; background: var(--nacht); color: #fff; box-shadow: 0 10px 24px -16px rgba(11, 16, 32, .9); flex: none; }
.timer .name { display: flex; align-items: center; gap: 6px; font-family: 'Geist', sans-serif; font-weight: 800; font-size: 11.5px; letter-spacing: .06em; color: var(--akzent); white-space: nowrap; }
.timer .name svg { width: 14px; height: 14px; stroke-width: 2.2; }
.timer .zeit { display: flex; align-items: center; gap: 4px; }
.timer .zeit small { font-size: 10.5px; font-weight: 500; color: rgba(255, 255, 255, .6); margin-right: 3px; white-space: nowrap; }
.timer .z { display: flex; align-items: baseline; gap: 1px; height: 28px; padding: 0 5px; border-radius: 8px; background: rgba(255, 255, 255, .12); line-height: 28px; }
.timer .z b { font-family: 'Geist', sans-serif; font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.timer .z i { font-style: normal; font-size: 10px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.timer.aus .name { color: rgba(255, 255, 255, .65); }
/* schmale Handys: ohne Sekunden, damit der Countdown in eine Zeile passt */
@media (max-width: 380px) { .timer .z:nth-of-type(4) { display: none; } }
@media (max-width: 380px) { .dabei li { font-size: 13px !important; gap: 8px; } .dabei .w { gap: 5px; } .dabei .w s { font-size: 12px; } .dabei .w b.frei { padding: 3px 6px; } .dabei { padding-left: 12px !important; padding-right: 12px !important; } }

/* Karte */
.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; box-shadow: var(--schatten); overflow: hidden; }

/* Bestellübersicht: oben das große Bild (drei Anzeigen und eine neue Anfrage) mit der Überschrift links darüber,
   darunter was dabei ist und der heutige Betrag */
.hero { position: relative; height: 152px; padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; color: #fff; background: #061B6B url(img/hero.jpg) right center / cover no-repeat; }
.hero .art { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.hero h1 { font-weight: 800; font-size: 23px; line-height: 1.08; margin-top: 6px; max-width: 52%; text-wrap: balance; }
.hero h1 b { color: #FFD60A; font-weight: 800; }
.hero h1.lang { font-size: 17.5px; max-width: 54%; }
.hero p { font-size: 12px; color: rgba(255, 255, 255, .82); margin-top: 7px; max-width: 48%; line-height: 1.3; }
.dabei { list-style: none; border-top: 1px solid var(--linie); padding: 4px 14px; }
.dabei li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; font-weight: 500; line-height: 1.25; }
.dabei li + li { border-top: 1px dashed var(--linie); }
.dabei .ok { width: 20px; height: 20px; border-radius: 50%; background: var(--gruen); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.dabei .ok svg { width: 11px; height: 11px; stroke-width: 3.4; }
.dabei .t { flex: 1; min-width: 0; }
.dabei .w { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; flex: none; }
.dabei .w s { font-size: 12.5px; color: var(--blass); text-decoration-color: var(--rot); }
.dabei .w b { font-family: 'Geist', sans-serif; font-weight: 700; font-size: 14.5px; }
.dabei .w b.frei { color: var(--gruen); font-size: 12px; font-weight: 800; letter-spacing: .06em; padding: 3px 7px; border-radius: 6px; background: var(--gruen-hell); }
.gesamt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--zart); border-top: 1px solid var(--linie); }
.gesamt .txt b { display: block; font-size: 14.5px; font-weight: 700; }
.gesamt .txt small { display: block; font-size: 12px; color: var(--grau); margin-top: 1px; line-height: 1.3; }
.gesamt .betrag { font-family: 'Geist', sans-serif; font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -0.03em; color: var(--brand); white-space: nowrap; flex: none; }

/* kleine Produktzeile (Schritt 2 und 3) */
.mini { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }
.mini img { width: 48px; height: 48px; border-radius: 10px; flex: none; object-fit: cover; }
.mini .txt { flex: 1; min-width: 0; }
.mini .txt b { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.mini .txt small { display: block; font-size: 12px; color: var(--grau); margin-top: 2px; line-height: 1.3; }
.mini .betrag { font-family: 'Geist', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -0.03em; color: var(--brand); white-space: nowrap; flex: none; }

/* Garantie mit Siegel */
.garantie { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--karte); border: 1px solid var(--linie); box-shadow: var(--schatten); }
.siegel { width: 58px; height: 58px; flex: none; }
.garantie b { display: block; font-size: 14px; font-weight: 700; line-height: 1.25; }
.garantie span { display: block; font-size: 12.5px; color: var(--grau); margin-top: 2px; line-height: 1.35; }
.garantie .kuend { display: flex; align-items: center; gap: 6px; margin-top: 5px; font-size: 12.5px; font-weight: 700; color: var(--gruen); }
.garantie .kuend svg { width: 14px; height: 14px; stroke-width: 3.2; padding: 2px; border-radius: 50%; background: var(--gruen); color: #fff; }

/* Formular */
.kopf h2 { font-weight: 800; font-size: 23px; line-height: 1.12; }
.kopf p { font-size: 14px; color: var(--grau); margin-top: 4px; }
.form { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.feld span { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.feld input { width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--linie2); background: #fff; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.feld input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(3, 63, 205, .12); }
.feld input.falsch { border-color: var(--rot); box-shadow: 0 0 0 4px rgba(220, 38, 38, .1); }
.fehler { font-size: 12.5px; font-weight: 600; color: var(--rot); }
.fehler:empty { display: none; }
.hinweis { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--grau); line-height: 1.35; padding: 0 2px; }
.hinweis svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }

/* Zahlung */
.zahl .titel { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--linie); font-size: 14.5px; font-weight: 700; }
.zahl .titel span { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: var(--gruen); }
.zahl .titel svg { width: 13px; height: 13px; stroke-width: 2.3; }
.whop { padding: 10px 8px; min-height: 170px; }
.whop iframe { width: 100% !important; border: 0; }
.laedt { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 150px; font-size: 13px; font-weight: 500; color: var(--grau); }
.laedt i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--linie); border-top-color: var(--brand); animation: dreh .8s linear infinite; }
@keyframes dreh { to { transform: rotate(360deg); } }
.offen { margin: 14px; padding: 14px; border-radius: 12px; border: 1.5px dashed var(--linie2); font-size: 13px; color: var(--grau); line-height: 1.4; }
.offen b { display: block; margin-bottom: 3px; color: var(--ink); font-weight: 600; }
.zahlfehler { padding: 10px 12px; border-radius: 12px; background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; font-size: 12.5px; font-weight: 600; }
.klein { font-size: 12px; color: var(--grau); line-height: 1.4; padding: 0 2px; }

/* Bestätigung */
.erfolg { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 0 2px; }
.erfolg .kreis { width: 64px; height: 64px; border-radius: 50%; background: var(--gruen); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(14, 159, 110, .14); margin-bottom: 14px; }
.erfolg .kreis svg { width: 30px; height: 30px; stroke-width: 2.8; }
.naechste { list-style: none; counter-reset: n; }
.naechste li { counter-increment: n; display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; font-size: 14px; color: var(--text); line-height: 1.35; }
.naechste li + li { border-top: 1px solid var(--linie); }
.naechste li::before { content: counter(n); width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: #fff; font-family: 'Geist', sans-serif; font-weight: 700; font-size: 12.5px; display: flex; align-items: center; justify-content: center; flex: none; }
.naechste b { font-weight: 700; color: var(--ink); }

/* Fuß: Kaufknopf, Sicherheit und Zahlungsarten, immer unten */
.bar { flex: none; position: sticky; bottom: 0; background: var(--karte); padding: 12px var(--rand) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linie); box-shadow: 0 -10px 24px -20px rgba(15, 23, 42, .35); }
.knopf { width: 100%; height: 56px; border-radius: 14px; background: linear-gradient(180deg, #1A56F0, #033FCD); color: #fff; font-family: 'Geist', sans-serif; font-weight: 700; font-size: 17.5px; letter-spacing: -0.01em; display: flex; align-items: center; justify-content: center; gap: 9px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(15, 23, 42, .12), 0 12px 24px -10px rgba(3, 63, 205, .75); transition: transform .12s, filter .15s; text-decoration: none; }
.knopf:active { transform: scale(.985); }
.knopf svg { width: 19px; height: 19px; stroke-width: 2.4; }
.knopf[disabled] { background: #B6C2DA; box-shadow: none; cursor: default; }
.knopf .spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: dreh .8s linear infinite; }
.sicher { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.sicher .p { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--text); white-space: nowrap; }
.sicher .p svg { width: 15px; height: 15px; color: var(--gruen); stroke-width: 2.2; }
.logos { display: flex; align-items: center; gap: 5px; }
.logos .k { height: 24px; min-width: 38px; padding: 0 6px; border-radius: 5px; border: 1px solid var(--linie); background: #fff; display: flex; align-items: center; justify-content: center; }
.recht { margin-top: 8px; text-align: center; font-size: 10.5px; color: var(--blass); line-height: 1.4; }
.recht a { text-decoration: underline; text-underline-offset: 2px; }

/* kleine Bildschirme (bis 680 px Höhe): enger, damit Schritt 1 ohne Scrollen passt */
@media (max-height: 680px) {
  .top { height: 44px; } .steps { padding-top: 9px; } .screen { padding-top: 9px; padding-bottom: 8px; gap: 8px; }
  .timer { height: 38px; } .timer .z { height: 24px; line-height: 24px; }
  .hero { height: 118px; padding: 10px 14px; } .hero h1 { font-size: 21px; margin-top: 4px; } .hero h1.lang { font-size: 16.5px; } .hero p { display: none; }
  .dabei { padding: 2px 12px; } .dabei li { padding: 6px 0; font-size: 13.5px; }
  .gesamt { padding: 8px 12px; } .gesamt .betrag { font-size: 27px; }
  .garantie { padding: 7px 12px 7px 8px; } .siegel { width: 46px; height: 46px; } .garantie b { font-size: 13.5px; } .garantie span { font-size: 12px; }
  .bar { padding-top: 9px; padding-bottom: calc(9px + env(safe-area-inset-bottom)); } .knopf { height: 50px; font-size: 16.5px; } .sicher { margin-top: 8px; }
}
/* hohe Bildschirme: mehr Luft, größeres Produktbild */
@media (min-height: 780px) {
  .screen { padding-top: 16px; gap: 14px; } .timer { height: 48px; }
  .hero { height: 176px; padding: 18px 18px; } .hero h1 { font-size: 25px; max-width: 50%; } .hero h1.lang { font-size: 18.5px; max-width: 52%; } .hero p { font-size: 12.5px; margin-top: 8px; max-width: 46%; }
  .dabei { padding: 6px 16px; } .dabei li { padding: 11px 0; font-size: 14.5px; } .gesamt { padding: 15px 16px; } .gesamt .betrag { font-size: 36px; }
  .garantie { padding: 14px 16px 14px 12px; } .siegel { width: 66px; height: 66px; }
}
