/* Markenschrift Inter, selbst gehostet (keine Verbindung zu Dritten) */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url("/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url("/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url("/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url("/fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url("/fonts/inter-800.woff2") format("woff2"); }

:root {
  --bg: #f5f2ec;
  --ink: #16171d;
  --muted: #666873;
  --card: #ffffff;
  --line: #e3ded3;
  --accent: #ff5b2e;
  --accent-dark: #e2461b;
  --radius: 18px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--font); }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

/* Kopf */
.top { display: flex; align-items: center; justify-content: space-between; max-width: 1160px; margin: 0 auto; padding: 20px 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; display: block; }
.brand-word { font-size: 21px; letter-spacing: -0.045em; line-height: 1; }
.brand-word i { font-style: normal; color: var(--accent); }
.top-nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.top-nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.top-nav a:not(.btn):hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 16px/1 var(--font); padding: 15px 24px; cursor: pointer; text-decoration: none; transition: background .15s, transform .15s; }
.btn:hover { background: #000; transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn-small { padding: 10px 16px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: rgba(22, 23, 29, .05); }
.card .actions .btn[type="submit"] { background: var(--accent); flex: 1; }
.card .actions .btn[type="submit"]:hover { background: var(--accent-dark); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; max-width: 1160px; margin: 0 auto; padding: 36px 24px 88px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px; }
h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.03; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
.mark { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 45%, transparent) 62%); }
.lead { margin: 20px 0 30px; font-size: 19px; color: var(--muted); max-width: 34em; }

/* Karte mit Formular */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 24px 60px -32px rgba(22, 23, 29, .28); scroll-margin-top: 16px; }
.steps { display: flex; gap: 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.steps li { flex: 1; padding-top: 10px; border-top: 3px solid var(--line); transition: border-color .2s, color .2s; }
.steps li.is-on { border-color: var(--accent); color: var(--ink); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .panel h2 { padding: 0; font-size: 23px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 18px; }
.panel-sub { color: var(--muted); margin: -8px 0 18px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; background: #fcfbf8; font: 16px/1.4 var(--font); color: var(--ink); padding: 13px 14px; transition: border-color .15s, background .15s; }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 0; border-color: var(--ink); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fcfbf8; border-radius: 999px; padding: 9px 14px; font: 500 14px/1 var(--font); color: var(--ink); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--ink); }
.swatch-auto { width: auto; border-radius: 999px; padding: 0 14px; background: #fcfbf8; font: 500 14px/34px var(--font); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.actions { display: flex; gap: 10px; margin-top: 6px; }
.form-error { color: #b3261e; font-size: 14px; margin: 0 0 12px; }
.note { background: #fff6e5; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 16px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 16px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.progress { list-style: none; margin: 0; padding: 0 0 8px; }
.progress li { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--muted); transition: color .2s; }
.progress li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.progress li.is-active { color: var(--ink); font-weight: 600; }
.progress li.is-active::before { border-color: var(--accent); border-top-color: transparent; animation: spin .7s linear infinite; }
.progress li.is-done { color: var(--ink); }
.progress li.is-done::before { border-color: var(--accent); background: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

.tick { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); margin-bottom: 18px; position: relative; }
.tick::after { content: ""; position: absolute; left: 19px; top: 13px; width: 11px; height: 20px; border: solid #fff; border-width: 0 3.5px 3.5px 0; transform: rotate(42deg); }
#thanks h2 { margin-bottom: 10px; }
#thanks .panel-sub { margin-top: 0; }

/* iPhone */
.hero-phone { position: sticky; top: 24px; display: flex; flex-direction: column; align-items: center; padding-top: 8px; }
.hero-phone::before { content: ""; position: absolute; inset: 60px 0 40px; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 26%, transparent), transparent); z-index: -1; }
.phone-tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.phone-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47, 191, 113, .2); }
.phone { width: 308px; height: 632px; border-radius: 52px; background: #0d0d10; padding: 11px; box-shadow: 0 0 0 2px #2c2c33, 0 40px 80px -30px rgba(22, 23, 29, .55), inset 0 0 0 2px #3a3a42; position: relative; }
.phone::before { content: ""; position: absolute; left: -4px; top: 130px; width: 4px; height: 56px; border-radius: 3px 0 0 3px; background: #2c2c33; box-shadow: 0 74px 0 #2c2c33; }
.phone::after { content: ""; position: absolute; right: -4px; top: 170px; width: 4px; height: 86px; border-radius: 0 3px 3px 0; background: #2c2c33; }
.phone-screen { width: 100%; height: 100%; border-radius: 42px; background: var(--bg, #f5f5f7); overflow: hidden; position: relative; display: flex; flex-direction: column; font: 13px/1.35 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--text, #15161a); transition: filter .3s, opacity .3s; }
.phone.is-building .phone-screen { filter: blur(7px) saturate(.6); opacity: .7; }
.phone.is-fresh { animation: pop .5s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes pop { from { transform: scale(.96); } to { transform: scale(1); } }


/* Weitere Abschnitte */
.band { max-width: 1160px; margin: 0 auto; padding: 72px 24px; }
.band > h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 800; margin-bottom: 36px; max-width: 18em; text-wrap: balance; }
.flow { list-style: none; counter-reset: flow; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; }
.flow li { counter-increment: flow; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.flow li::before { content: counter(flow); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 16px; }
.flow b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.flow p { color: var(--muted); }
.band > .eyebrow + h2 { margin-bottom: 14px; }
.band-lead { font-size: 18px; color: var(--muted); max-width: 36em; margin-bottom: 34px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.feat:hover { border-color: #cfc8ba; transform: translateY(-2px); }
.feat-ic { width: 44px; height: 44px; border-radius: 13px; background: #ffece5; color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 16px; }
.feat-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.900; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 6px; }
.feat p { font-size: 15px; color: var(--muted); line-height: 1.5; flex: 1; }
.feat small { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.500px; font-weight: 600; color: var(--ink); opacity: .7; }
.features-more { margin-top: 18px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.features-more p { color: #c9cad3; }
.features-more b { color: #fff; }
.features-more .btn { background: var(--accent); flex: none; }
.features-more .btn:hover { background: var(--accent-dark); }
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 650; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 40em; }
.cta-line { margin-top: 36px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: 1160px; margin: 0 auto; padding: 28px 24px 40px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }

/* Rechtstexte */
.legal { max-width: 720px; margin: 0 auto; padding: 40px 24px 80px; }
.legal h1 { font-size: 36px; margin-bottom: 24px; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }
.legal p { margin-bottom: 12px; }
.legal .todo { background: #fff6e5; border-radius: 12px; padding: 14px 16px; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 16px; padding-bottom: 56px; }
  .hero-phone { position: static; }
  body[data-stage="result"] .hero-phone, body[data-stage="thanks"] .hero-phone { order: -1; }
  body[data-stage="result"] .hero-copy > :not(.card), body[data-stage="thanks"] .hero-copy > :not(.card) { display: none; }
  .flow { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .top-nav a:not(.btn) { display: none; }
  .band { padding: 52px 24px; }
}
@media (max-width: 520px) {
  .top, .hero, .band, .foot { padding-left: 16px; padding-right: 16px; }
  .card { padding: 20px; border-radius: 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .features { grid-template-columns: 1fr; gap: 8px; }
  .feat { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 15px 16px; }
  .feat-ic { width: 40px; height: 40px; margin: 0; grid-row: span 3; }
  .feat h3 { font-size: 16px; margin-bottom: 3px; }
  .feat p { font-size: 14.500px; }
  .feat small { margin-top: 8px; padding-top: 0; border-top: 0; color: var(--accent-dark); opacity: 1; }
  .features-more { flex-direction: column; align-items: flex-start; }
  .lead { font-size: 17px; }
  .phone { transform: scale(.92); transform-origin: top center; margin-bottom: -50px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Prompt-Formular und Ergebnis */
.field > .field-title { font-size: 21px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 12px; }
#prompt { font-size: 17px; min-height: 132px; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 18px; font-size: 13px; color: var(--muted); }
.examples .chip { padding: 7px 12px; font-size: 13px; }
.feature-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; font-size: 15px; }
.feature-list li { display: flex; gap: 10px; align-items: baseline; }
.feature-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-2px); }
.panel-ask { font-weight: 650; margin-bottom: 14px; }
#lead .panel-sub { margin-bottom: 12px; }
