@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,opsz,wght@0,6..18,400;0,6..18,500;0,6..18,600;0,6..18,700;0,6..18,800;1,6..18,600&family=JetBrains+Mono:wght@500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:        #17243F;
  --navy-deep:   #101B31;
  --navy-soft:   #26385C;
  --orange:      #FF6B35;
  --orange-dark: #E85826;
  --orange-light:#FF8A57;
  --orange-tint: #FFF2EC;
  --bg:          #FFFFFF;
  --bg-soft:     #F4F6FA;
  --line:        #E4E9F1;
  --line-strong: #D3DBE8;
  --text:        #2C3648;
  --text-soft:   #6B7688;
  --text-mute:   #97A1B2;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(16,27,49,0.06);
  --sh-md: 0 8px 24px rgba(16,27,49,0.10);
  --sh-lg: 0 18px 48px rgba(16,27,49,0.16);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 16px; line-height: 1.6; min-height: 100vh; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'JetBrains Mono', monospace; }

/* ── HEADER ── */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,0.08); }
.header-inner { height: 62px; display: flex; align-items: center; justify-content: space-between; }
.logo-wrap { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-product { padding-left: 12px; border-left: 1.5px solid rgba(255,255,255,0.18); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange); }
.header-right { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #AEBAD0; }
.header-right .dot { width: 7px; height: 7px; border-radius: 50%; background: #34D399; box-shadow: 0 0 7px #34D399; }

/* ── HERO ── */
.hero { position: relative; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 82% -10%, rgba(255,107,53,0.18) 0%, transparent 55%),
    radial-gradient(50% 70% at 8% 110%, rgba(59,90,160,0.22) 0%, transparent 60%);
}
.hero-inner { position: relative; z-index: 1; padding: 52px 0 92px; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  color: #DCE4F1; padding: 6px 14px; border-radius: var(--r-pill); font-size: 12.5px; font-weight: 600;
}
.hero-eyebrow img { width: 15px; height: 15px; }
.hero h1 { color: #fff; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-size: clamp(1.9rem, 3.8vw, 2.9rem); max-width: 720px; margin: 0 auto 14px; }
.hero h1 .accent { color: var(--orange-light); }
.hero-sub { color: #AEBAD0; font-size: 1.05rem; max-width: 500px; margin: 0 auto; line-height: 1.6; }
.hero-sub strong { color: #E7ECF4; font-weight: 600; }

/* ── SEARCH CARD (Kernstueck) ── */
.search-wrap { position: relative; z-index: 5; margin-top: -52px; }
.search-card { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); border: 1px solid var(--line); padding: 22px; }

.seg { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; margin-bottom: 20px; }
.seg button {
  display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; background: transparent;
  padding: 9px 22px; border-radius: var(--r-pill); font-family: inherit; font-size: 14.5px; font-weight: 700; color: var(--text-soft); transition: all .16s;
}
.seg button .ic { font-size: 15px; }
.seg button.is-active { background: var(--navy); color: #fff; box-shadow: var(--sh-sm); }

.fields { display: grid; grid-template-columns: 1.3fr 1.1fr auto auto; gap: 14px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label { font-size: 12px; font-weight: 700; color: var(--text-soft); letter-spacing: .01em; padding-left: 2px; }
.control {
  height: 54px; display: flex; align-items: center; gap: 8px; padding: 0 15px;
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); transition: border-color .16s, box-shadow .16s;
}
.control:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,53,0.14); }
.control input { border: none; outline: none; width: 100%; min-width: 0; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--navy); background: transparent; }
.control input::placeholder { color: var(--text-mute); font-weight: 500; }
.control .suffix { font-size: 13px; font-weight: 700; color: var(--text-mute); white-space: nowrap; }

.stepper { display: inline-flex; align-items: center; height: 54px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md); padding: 0 6px; }
.stepper button { width: 38px; height: 38px; border: none; cursor: pointer; background: var(--bg-soft); color: var(--navy); border-radius: 9px; font-size: 20px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; transition: background .14s; }
.stepper button:hover { background: var(--orange-tint); color: var(--orange-dark); }
.stepper .count { min-width: 40px; text-align: center; font-size: 17px; font-weight: 800; color: var(--navy); }

.btn-submit {
  height: 54px; padding: 0 26px; border: none; cursor: pointer; white-space: nowrap;
  background: var(--orange); color: #fff; border-radius: var(--r-md);
  font-family: inherit; font-size: 15px; font-weight: 800; display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 6px 16px rgba(255,107,53,0.3); transition: background .16s, transform .16s;
}
.btn-submit:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-submit .arrow { font-size: 17px; }

.search-note { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-soft); font-weight: 600; }
.search-note span { display: inline-flex; align-items: center; gap: 7px; }
.search-note .ck { color: var(--orange); font-weight: 800; }

/* ── RESULTS ── */
.results { padding: 46px 0 64px; }
.results-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 20px; }
.results-bar h2 { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.results-bar .meta { font-size: 14px; color: var(--text-soft); }
.results-bar .meta b { color: var(--navy); font-weight: 700; }

.iframe-shell { position: relative; min-height: 300px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.comm-ads-iframe { display: block; width: 100%; min-height: 620px; border: none; background: #fff; transition: height .3s ease; }
.iframe-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 300px; padding: 40px; text-align: center; color: var(--text-soft); font-size: 15px; font-weight: 600; }
.iframe-placeholder[hidden] { display: none; }
.iframe-placeholder img { width: 30px; height: 30px; opacity: .85; }
.iframe-loader { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(255,255,255,0.93); color: var(--navy); font-weight: 700; }
.iframe-loader[hidden] { display: none; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 4px solid var(--orange-tint); border-top-color: var(--orange); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.results-change { text-align: center; margin-top: 16px; }
.results-change a { color: var(--orange-dark); font-weight: 700; font-size: 14px; text-decoration: none; }
.results-change a:hover { text-decoration: underline; }

/* ── STEPS (kompakt) ── */
.steps { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 46px 0; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { display: flex; gap: 15px; align-items: flex-start; }
.step-num { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.step h3 { font-size: 1rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.step p { font-size: 13.5px; color: var(--text-soft); line-height: 1.6; }

/* ── FOOTER ── */
.site-footer { background: var(--navy-deep); color: #9AA6BE; padding: 34px 0 26px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { display: inline-flex; text-decoration: none; }
.footer-logo .logo-img { height: 46px; }
.footer-links { display: inline-flex; gap: 24px; }
.footer-links a { color: #9AA6BE; text-decoration: none; font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 20px; font-size: 12.5px; color: #6E7A94; }
.footer-bottom a { color: var(--orange-light); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .field-submit { grid-column: 1 / -1; }
  .btn-submit { width: 100%; justify-content: center; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 520px) {
  .fields { grid-template-columns: 1fr; }
  .stepper, .control { width: 100%; }
  .hero-inner { padding: 40px 0 84px; }
  .header-right { display: none; }
}
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
