/* Seitomat — Funnel-App Chrome. Modern, konversionsstark, eigene Marke.
   Palette: Indigo #5B57E4 · Coral #FF7A59 · Ink #14161D · Off-White #F6F7FB */
:root {
  --bg: #F6F7FB; --surf: #FFFFFF; --ink: #14161D; --sub: #5A6172; --line: #E6E8F0;
  --brand: #5B57E4; --brand-d: #4A46C7; --coral: #FF7A59; --coral-d: #F2683F;
  --ok: #17b26a; --radius: 18px; --shadow: 0 2px 6px rgba(20,22,29,.06), 0 24px 60px rgba(20,22,29,.10);
  --shadow-sm: 0 1px 2px rgba(20,22,29,.06), 0 8px 22px rgba(20,22,29,.06);
  --ff-h: "Manrope",-apple-system,"Segoe UI",Arial,sans-serif; --ff-b: "Inter",-apple-system,"Segoe UI",Arial,sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--ff-b); background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1,h2,h3 { font-family: var(--ff-h); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .4em; }
p { margin: 0 0 1rem; color: var(--sub); }
a { color: var(--brand); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(246,247,251,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.hdr img { height: 30px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--ff-h); font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s; min-height: 52px; }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(91,87,228,.32); }
.btn--brand:hover { background: var(--brand-d); transform: translateY(-2px); }
.btn--coral { background: var(--coral); color: #3a1608; box-shadow: 0 10px 24px rgba(255,122,89,.34); }
.btn--coral:hover { background: var(--coral-d); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; min-height: 58px; }
.btn--block { width: 100%; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px,8vw,96px) 0 clamp(30px,5vw,50px); text-align: center; }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(91,87,228,.18), transparent 70%); top: -280px; left: 50%; transform: translateX(-50%); filter: blur(30px); z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: .5em; background: var(--surf); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-family: var(--ff-h); font-weight: 600; font-size: .84rem; box-shadow: var(--shadow-sm); margin-bottom: 22px; }
.pill b { color: var(--brand); }
.hero h1 { font-size: clamp(2.3rem,6vw,4.1rem); max-width: 820px; margin: 0 auto .3em; }
.hero h1 .g { background: linear-gradient(90deg,var(--brand),var(--coral)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: clamp(1.1rem,2vw,1.35rem); max-width: 620px; margin: 0 auto 28px; color: var(--sub); }
.steps3 { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 34px; color: var(--sub); font-size: .95rem; }
.steps3 span { display: inline-flex; align-items: center; gap: .5em; font-family: var(--ff-h); font-weight: 600; }
.steps3 b { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; }

/* Questionnaire */
.builder { padding: 20px 0 80px; }
.card { background: var(--surf); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px,3vw,38px); max-width: 780px; margin: 0 auto; }
.card + .card { margin-top: 22px; }
.card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.card__num { width: 30px; height: 30px; border-radius: 9px; background: rgba(91,87,228,.12); color: var(--brand); font-family: var(--ff-h); font-weight: 800; font-size: .95rem; display: flex; align-items: center; justify-content: center; flex: none; }
.card h2 { font-size: clamp(1.3rem,2.6vw,1.7rem); margin: 0; }
.card__sub { color: var(--sub); font-size: .95rem; margin: 4px 0 22px 42px; }
@media(max-width:560px){ .card__sub { margin-left: 0; } }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:560px){ .grid2 { grid-template-columns: 1fr; } }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-family: var(--ff-h); font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
.fld label .opt { color: var(--sub); font-weight: 500; font-size: .8rem; }
input[type=text], input[type=email], input[type=tel], textarea, select { width: 100%; font-family: var(--ff-b); font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, background .2s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); background: var(--surf); box-shadow: 0 0 0 4px rgba(91,87,228,.1); }
textarea { min-height: 104px; resize: vertical; line-height: 1.5; }
.hlp { font-size: .8rem; color: var(--sub); margin-top: 6px; }
.badge-detect { display: inline-flex; align-items: center; gap: .5em; font-family: var(--ff-h); font-weight: 600; font-size: .82rem; color: var(--brand); background: rgba(91,87,228,.1); border-radius: 999px; padding: 6px 13px; margin-top: 8px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-h); font-weight: 600; font-size: .88rem; padding: 9px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; transition: all .2s; }
.chip[aria-pressed="true"] { border-color: var(--brand); background: rgba(91,87,228,.08); box-shadow: 0 0 0 2px rgba(91,87,228,.14); }
.chip__sw { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); }

/* Foto-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px,1fr)); gap: 12px; }
.tile { position: relative; aspect-ratio: 1; border: 1.5px dashed var(--line); border-radius: 14px; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; color: var(--sub); font-family: var(--ff-h); font-weight: 600; font-size: .82rem; text-align: center; padding: 8px; transition: border-color .2s, background .2s; overflow: hidden; }
.tile:hover { border-color: var(--brand); background: rgba(91,87,228,.04); }
.tile svg { color: var(--brand); }
.tile.has-img { border-style: solid; border-color: var(--line); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile__x { position: absolute; top: 6px; right: 6px; z-index: 2; width: 24px; height: 24px; border-radius: 50%; background: rgba(20,22,29,.7); color: #fff; border: 0; cursor: pointer; font-size: 14px; display: none; align-items: center; justify-content: center; line-height: 1; }
.tile.has-img .tile__x { display: flex; }
.tile__cap { position: absolute; bottom: 0; left: 0; right: 0; z-index: 1; background: rgba(20,22,29,.6); color: #fff; font-size: .68rem; padding: 3px; text-align: center; }

/* Generate bar */
.gen-cta { max-width: 780px; margin: 26px auto 0; text-align: center; }
.gen-cta .note { font-size: .86rem; color: var(--sub); margin-top: 12px; }

/* Fullscreen finished site */
.stage-full { position: fixed; inset: 0; z-index: 100; background: #fff; display: none; }
.stage-full.on { display: block; }
.stage-full iframe { width: 100%; height: 100%; border: 0; display: block; }
.stage-back { position: fixed; top: 16px; left: 16px; z-index: 102; }
.stage-back .btn { min-height: 44px; padding: 10px 18px; font-size: .92rem; box-shadow: var(--shadow); background: #fff; color: var(--ink); border: 1px solid var(--line); }
.stage-back .btn:hover { border-color: var(--brand); color: var(--brand); }

/* Footer */
.ft { border-top: 1px solid var(--line); padding: 30px 0; color: var(--sub); font-size: .9rem; text-align: center; }
