/* ============================================================
   web.agentur — premium B2B lead supplier (web.agentur, Köln)
   Recreation study of factbinger.com, rebranded royal-blue.
   ============================================================ */

:root {
  --bg:        #f7f8fa;
  --bg-warm:   #f2f4f8;
  --surface:   #ffffff;
  --ink:       #0a0b0d;
  --ink-soft:  #54585f;
  --ink-faint: #898d95;
  --line:      rgba(10,11,13,.10);
  --line-soft: rgba(10,11,13,.05);
  --accent:    #2563EB;
  --accent-ink:#1d4ed8;
  --accent-glow: rgba(37,99,235,.18);
  --dark:      #0a0b0f;
  --radius:    20px;
  --radius-sm: 13px;
  --maxw:      1240px;
  --pad:       clamp(20px, 5vw, 64px);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22,.61,.36,1);
}

[data-theme="dark"] {
  --bg:        #0a0b0d;
  --bg-warm:   #0d0e12;
  --surface:   #131419;
  --ink:       #f4f5f7;
  --ink-soft:  #a4a8b0;
  --ink-faint: #6b6f78;
  --line:      rgba(255,255,255,.12);
  --line-soft: rgba(255,255,255,.06);
  --accent:    #4f86ff;
  --accent-glow: rgba(79,134,255,.22);
  --dark:      #06070a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); display: flex; align-items: center; gap: 12px;
  margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.eyebrow .rule { width: 34px; height: 1px; background: var(--ink-faint); flex: none; }

.arrow { display: inline-block; transition: transform .3s var(--ease); }

/* pills / buttons */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 500; line-height: 1;
  padding: 13px 22px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.pill:hover .arrow { transform: translateX(4px); }
.pill--dark { background: var(--ink); color: var(--bg); }
.pill--dark:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(10,11,13,.5); }
.pill--outline { border-color: var(--line); color: var(--ink); background: transparent; }
.pill--outline:hover { border-color: var(--ink); }
.pill--ghost { background: transparent; border-color: var(--line); color: var(--ink); font-family: var(--mono); font-size: 12px; padding: 9px 14px; }
.pill--ghost:hover { border-color: var(--accent); color: var(--accent); }
.pill--lg { padding: 16px 28px; font-size: 16px; }
.pill--block { width: 100%; justify-content: center; padding: 18px; font-size: 16px; grid-column: 1 / -1; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--ink); display: grid; place-items: center;
  cursor: pointer; transition: border-color .25s, transform .4s var(--ease), color .25s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); transform: rotate(40deg); }

/* grid line texture */
.grid-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 40%, transparent 100%);
}
.grid-lines--soft { opacity: .55; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 14px var(--pad);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.nav__links { display: flex; gap: 30px; margin-left: 14px; }
.nav__links a { font-size: 15px; color: var(--ink-soft); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
/* Hamburger (nur Mobile sichtbar) */
.nav__toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 0 9px; margin-left: 4px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav__toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 116px) 0 64px; overflow: hidden; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; opacity: .9; }
.hero__glow--a { width: 620px; height: 460px; top: -120px; left: -160px; background: radial-gradient(circle, var(--accent-glow), transparent 70%); }
.hero__glow--b { width: 540px; height: 460px; top: 40px; right: -180px; background: radial-gradient(circle, rgba(37,99,235,.12), transparent 70%); }
.hero .container { position: relative; z-index: 2; }

.hero__title {
  font-size: clamp(46px, 8.4vw, 116px);
  font-weight: 700; letter-spacing: -.045em; line-height: .94;
  margin: 4px 0 26px;
}
.hero__title .accent { color: var(--accent); }
.hero__sub { max-width: 640px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 0; }
.hero__meta {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em;
  color: var(--ink-faint); margin: 64px 0 14px; text-transform: uppercase;
}
.hero__meta .live { color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.hero__meta .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 var(--accent-glow);} 50% { opacity: .5; box-shadow: 0 0 0 6px transparent; } }

/* dark map panel */
.panel {
  position: relative; height: clamp(280px, 38vw, 460px);
  border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 140% at 70% 10%, #15171f 0%, #060709 60%);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 40px 80px -40px rgba(10,11,13,.55);
}
#leadMap { width: 100%; height: 100%; display: block; }
.panel__tag {
  position: absolute; font-family: var(--mono); font-size: 10px; letter-spacing: .14em;
  color: rgba(255,255,255,.45); text-transform: uppercase;
}
.panel__tag--tl { top: 18px; left: 20px; }
.panel__tag--br { bottom: 18px; right: 20px; }

/* stats */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--line);
}
.stat__num { font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stat__num span { color: var(--accent); }
.stat__label { font-size: 13px; color: var(--ink-faint); margin-top: 12px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- SECTIONS ---------- */
.section { position: relative; padding: clamp(72px, 11vw, 150px) 0; overflow: hidden; }
.section--alt { background: var(--bg-warm); }
.section .container { position: relative; z-index: 2; }
.section__title { font-size: clamp(32px, 5.2vw, 64px); font-weight: 700; letter-spacing: -.038em; line-height: 1.02; }
.section__lead { max-width: 760px; margin-top: 28px; font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-soft); line-height: 1.55; }
.section__lead--tight { max-width: 640px; }
.section__lead strong { color: var(--ink); font-weight: 600; }

/* cards */
.cards { margin-top: 56px; }
.cards--3 { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cards--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cards--flush { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cards--framed { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cards--framed .card { border-right: 1px solid var(--line); }
.cards--framed .card:last-child { border-right: none; }

.card { padding: clamp(24px, 2.4vw, 38px); position: relative; transition: background .3s; }
.cards--3 .card:not(:last-child) { border-right: 1px solid var(--line); }
.card:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.card__idx { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); letter-spacing: .06em; }
.card__title { font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.02em; margin: 34px 0 14px; }
.card--sm .card__title { margin-top: 0; font-size: 19px; }
.card__body { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.card__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; margin: 28px 0 26px; }
.card__rows .k { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.card__rows .v { font-size: 14px; color: var(--ink); }
.card__link { font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--ink); padding-bottom: 3px; display: inline-flex; gap: 7px; }
.card__link:hover { color: var(--accent); border-color: var(--accent); }
.card--sm { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }

/* quality cells */
.cell { padding: clamp(24px, 2.4vw, 36px); border-right: 1px solid var(--line); transition: background .3s; }
.cell:last-child { border-right: none; }
.cell:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.cell__idx { font-family: var(--mono); font-size: 12px; color: var(--ink-faint); }
.cell__title { font-size: 19px; font-weight: 600; margin: 36px 0 12px; letter-spacing: -.01em; }
.cell__body { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* score panel */
.score {
  position: relative; margin-top: 60px; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(130% 130% at 100% 0%, #1b1d27 0%, #0a0b0f 55%);
  color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px;
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid rgba(255,255,255,.07);
}
.score__glow { position: absolute; top: -40%; right: -10%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(37,99,235,.4), transparent 65%); filter: blur(40px); pointer-events: none; }
.score__title { font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; letter-spacing: -.03em; }
.score__body { margin: 18px 0 26px; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.55; max-width: 420px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 13px; padding: 8px 15px; border-radius: 100px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); }
.score__right { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.pipe__label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; color: rgba(255,255,255,.5); }
.pipe__track { height: 2px; background: rgba(255,255,255,.14); margin: 16px 0 10px; border-radius: 2px; overflow: hidden; }
.pipe__track i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), #7aa6ff); transition: width 1.4s var(--ease); }
.pipe.is-in i { width: var(--w); }
.pipe__stages { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.5); }
.gauge { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; }
.gauge__val { font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -.04em; }
.gauge__val span { font-size: .42em; color: rgba(255,255,255,.5); font-weight: 500; }
.gauge__cap { font-size: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .05em; margin-top: 8px; }

.disclaimer { margin-top: 30px; font-size: 13px; color: var(--ink-faint); font-style: italic; }
code { font-family: var(--mono); font-size: .88em; background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 1px 6px; border-radius: 5px; color: var(--accent-ink); }
[data-theme="dark"] code { color: var(--accent); }

/* ---------- TIMELINE ---------- */
.timeline { list-style: none; margin-top: 64px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--line); }
.tl { position: relative; padding: 36px 22px 0 0; }
.tl__node { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink-faint); transition: background .3s, border-color .3s, box-shadow .3s; }
.tl:first-child .tl__node { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-glow); }
.tl__idx { font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.tl__title { font-size: 18px; font-weight: 600; margin: 10px 0 8px; }
.tl__body { font-size: 14px; color: var(--ink-soft); line-height: 1.5; padding-right: 8px; }

/* ---------- FORM ---------- */
.form-wrap { margin-top: 56px; display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 90px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; align-content: start; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--ink-faint); margin-bottom: 10px; }
.field label .opt { text-transform: lowercase; letter-spacing: .02em; opacity: .55; margin-left: 6px; font-style: italic; }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 8px 0; transition: border-color .25s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--accent); }
.select { position: relative; }
.select select { width: 100%; appearance: none; cursor: pointer; }
.select__chev { position: absolute; right: 2px; top: 6px; color: var(--ink-faint); pointer-events: none; }
.form__status { grid-column: 1/-1; font-size: 14px; color: var(--accent); margin-top: -6px; }

.contact { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 44px); display: flex; flex-direction: column; gap: 30px; }
.contact__row { display: flex; flex-direction: column; gap: 8px; }
.contact__row .k { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--ink-faint); }
.contact__row .v { font-size: 17px; color: var(--ink); }
a.v:hover { color: var(--accent); }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(60px,7vw,96px) 0 36px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 40px; }
.footer__tag { margin-top: 20px; font-size: 14px; color: var(--ink-soft); max-width: 280px; line-height: 1.55; }
.cookie-note { margin-top: 14px; font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; max-width: 300px; }
.cookie-note a { color: var(--accent); }
.footer__col h4, .footer__col--sister h4 { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--ink-faint); margin-bottom: 18px; }
.footer__col a { display: block; font-size: 15px; color: var(--ink); margin-bottom: 12px; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__base { display: flex; justify-content: space-between; margin-top: clamp(50px,7vw,90px); padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-faint); }
.footer__base .mono { font-family: var(--mono); letter-spacing: .1em; }

/* ---------- reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .nav__toggle { display: flex; }
  /* Aufklappbares Mobil-Menü (Dropdown unter der Nav) */
  .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 4px var(--pad) 12px; box-shadow: 0 20px 40px -24px rgba(10,11,13,.4);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .28s ease, opacity .2s ease, padding .2s ease;
  }
  .nav.is-open .nav__links { max-height: 70vh; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 15px 2px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .cards--3 { grid-template-columns: 1fr; }
  .cards--3 .card:not(:last-child) { border-right: none; border-bottom: 1px solid var(--line); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .cards--flush, .cards--framed { grid-template-columns: 1fr 1fr; }
  .cards--framed .card:nth-child(2n) { border-right: none; }
  .cards--framed .card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cell { border-bottom: 1px solid var(--line); }
  .cell:nth-child(2n) { border-right: none; }
  .score { grid-template-columns: 1fr; gap: 36px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .timeline::before { display: none; }
  .tl { padding-top: 30px; }
  .form-wrap { grid-template-columns: 1fr; }
  .contact { border-left: none; border-top: 1px solid var(--line); padding-left: 0; padding-top: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .cards--4, .cards--flush, .cards--framed { grid-template-columns: 1fr; }
  .cards--framed .card { border-right: none; border-bottom: 1px solid var(--line); }
  .cards--framed .card:last-child { border-bottom: none; }
  .cell:nth-child(2n) { border-right: none; }
  .cell { border-right: none; }
  .timeline { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__meta { font-size: 10px; }
  .hero__title { font-size: clamp(38px, 11vw, 50px); }

  /* Nav kompakt: alles muss ins Viewport passen (kein Abschneiden/Scrollen) */
  .nav__inner { gap: 10px; }
  .nav__actions { gap: 8px; }
  #themeToggle { display: none; }                 /* Theme-Toggle spart Platz */
  .brand { font-size: 16px; }
  .pill--ghost { padding: 7px 10px; font-size: 11px; }     /* EN/DE-Umschalter */
  .nav__actions .pill--dark { padding: 10px 15px; font-size: 13px; }
  .nav__actions .pill--dark .arrow { display: none; }      /* Pfeil weg -> kürzer */
}
/* sehr schmale Geräte (iPhone SE/mini): Brand-Text ausblenden, nur Punkt + CTA */
@media (max-width: 380px) {
  .nav__actions .pill--dark { padding: 9px 13px; font-size: 12.5px; }
  .pill--ghost { padding: 6px 8px; }
}

/* ============================================================
   ADD-ONS: pricing · integrations · gauge · sample modal · FAQ · form
   ============================================================ */

/* ---- Task 2: pricing indicator ---- */
.pricing-indicator {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  margin-top: 18px; font-size: 13.5px; color: var(--ink-faint);
  cursor: default; outline: none;
}
.pricing-indicator__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.pricing-indicator .tip {
  position: absolute; bottom: calc(100% + 10px); left: 0; width: max-content; max-width: 280px;
  background: var(--ink); color: var(--bg); font-size: 12.5px; line-height: 1.4;
  padding: 9px 12px; border-radius: 9px; opacity: 0; transform: translateY(4px);
  pointer-events: none; transition: opacity .2s, transform .2s; z-index: 5;
}
.pricing-indicator:hover .tip, .pricing-indicator:focus-visible .tip { opacity: 1; transform: none; }

/* ---- Task 8: live demo badge ---- */
.panel__badge {
  position: absolute; top: 18px; right: 20px; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  padding: 5px 10px; border-radius: 100px; backdrop-filter: blur(4px);
}
.panel__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
.panel__tag--br { bottom: 18px; }

/* ---- Task 3: integrations ---- */
.integrations { margin-top: 40px; padding-top: 36px; border-top: 1px solid var(--line); }
.integrations__lead { font-size: 15px; color: var(--ink-soft); margin-bottom: 26px; }
.logos { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; }
.logo {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px;
  border: 1px solid var(--line); border-radius: 100px; color: var(--ink-faint);
  font-size: 14px; font-weight: 500; transition: color .25s, border-color .25s, transform .25s, background .25s;
  cursor: default;
}
.logo svg { color: inherit; transition: color .25s; }
.logo:hover { transform: translateY(-2px); border-color: color-mix(in srgb, currentColor 40%, var(--line)); }
.logo[data-brand="hubspot"]:hover  { color: #ff7a59; }
.logo[data-brand="salesforce"]:hover { color: #00a1e0; }
.logo[data-brand="pipedrive"]:hover { color: #1f7a3d; }
.logo[data-brand="zapier"]:hover    { color: #ff4f00; }
.logo[data-brand="dynamics"]:hover  { color: #0067b8; }

/* ---- Task 9: gauge bar (on dark score panel) ---- */
.pill--light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.2); margin-top: 26px; }
.pill--light:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.gaugebar { color: #fff; }
.gaugebar__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.gaugebar .gauge__val { font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -.04em; }
.gaugebar .gauge__val span { font-size: .42em; color: rgba(255,255,255,.5); font-weight: 500; }
.gaugebar .gauge__cap { font-size: 12px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .05em; }
.gaugebar__track {
  position: relative; height: 12px; border-radius: 100px; overflow: visible;
  background: linear-gradient(90deg, rgba(37,99,235,.22) 0%, rgba(37,99,235,.5) 45%, #3b82f6 72%, var(--accent) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
}
.gaugebar__fill { display: none; }
.gaugebar__track::after {
  content: ""; position: absolute; top: 50%; left: var(--p, 87%); width: 16px; height: 16px;
  background: #fff; border-radius: 50%; transform: translate(-50%,-50%);
  box-shadow: 0 0 0 4px rgba(8,9,12,.5), 0 2px 8px rgba(0,0,0,.4); transition: left 1.3s var(--ease);
}
.gaugebar__threshold {
  position: absolute; top: -5px; bottom: -5px; left: var(--t, 75%); width: 2px;
  background: rgba(255,255,255,.85); border-radius: 2px;
}
.gaugebar__threshold::after {
  content: "7.5"; position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 9px; color: rgba(255,255,255,.7); white-space: nowrap;
}
.gaugebar__scale { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--mono); font-size: 10px; color: rgba(255,255,255,.45); }
.gaugebar__note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.7); }

/* chip tooltips */
.chip { position: relative; cursor: help; outline: none; }
.chip__tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px);
  width: max-content; max-width: 240px; background: #fff; color: #0a0b0d;
  font-size: 12px; line-height: 1.45; padding: 9px 12px; border-radius: 9px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 6;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.5);
}
.chip:hover .chip__tip, .chip:focus-visible .chip__tip { opacity: 1; transform: translate(-50%, 0); }

/* ---- Task 4: sample modal ---- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(8,9,12,.6); backdrop-filter: blur(4px); animation: fade .25s var(--ease); }
.modal__dialog {
  position: relative; width: min(620px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 42px); box-shadow: 0 40px 90px -30px rgba(0,0,0,.5);
  animation: pop .3s var(--ease);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__close {
  position: absolute; top: 16px; right: 18px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 20px; line-height: 1;
  cursor: pointer; transition: border-color .2s, color .2s;
}
.modal__close:hover { border-color: var(--accent); color: var(--accent); }
.modal__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; margin: 6px 0 10px; }
.modal__sub { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 22px; line-height: 1.5; }
.modal__tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-warm); border-radius: 100px; margin-bottom: 20px; }
.tab { border: none; background: transparent; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-soft); padding: 8px 18px; border-radius: 100px; cursor: pointer; transition: background .2s, color .2s; }
.tab.is-active { background: var(--ink); color: var(--bg); }
.leadtbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.leadtbl th, .leadtbl td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.leadtbl th { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); width: 38%; font-weight: 400; }
.leadtbl td { color: var(--ink); }
.leadtbl .mono, .scorefactors { font-family: var(--mono); font-size: 12.5px; }
.badge { display: inline-block; font-family: var(--mono); font-size: 12px; padding: 3px 9px; border-radius: 6px; }
.badge--ok { background: color-mix(in srgb, #30a46c 16%, transparent); color: #1f7a3d; }
[data-theme="dark"] .badge--ok { color: #5fd39a; }
.badge--score { background: var(--accent); color: #fff; font-weight: 500; }
.scorefactors { display: block; margin-top: 7px; color: var(--ink-faint); }
.leadjson { background: #0a0b0f; color: #d6deeb; border-radius: 12px; padding: 20px; overflow-x: auto; font-size: 12.5px; line-height: 1.65; }
.leadjson code { background: none; color: inherit; padding: 0; }

/* ---- Task 5: FAQ accordion ---- */
.accordion { margin-top: 50px; border-top: 1px solid var(--line); max-width: 880px; }
.acc { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; text-align: left; background: none; border: none; font: inherit;
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; color: var(--ink); letter-spacing: -.01em;
  padding: 26px 44px 26px 0; cursor: pointer; position: relative; transition: color .2s;
}
.acc__q::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  margin-top: -6px; transition: transform .3s var(--ease);
  background: no-repeat center/contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  background-color: var(--ink-faint);
}
.acc__q:hover { color: var(--accent); }
.acc.is-open .acc__q::after { transform: rotate(135deg); background-color: var(--accent); }
.acc__a { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.acc__a p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; padding: 0 44px 26px 0; margin: 0; max-width: 760px; }

/* ---- Task 10: checkbox + success ---- */
.checkbox { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; color: var(--ink-soft); }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox__box { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--line); border-radius: 6px; margin-top: 1px; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.checkbox__box::after { content: ""; width: 10px; height: 10px; clip-path: polygon(14% 44%, 0 65%, 43% 100%, 100% 16%, 84% 0, 41% 68%); background: #fff; transform: scale(0); transition: transform .15s var(--ease); }
.checkbox input:checked + .checkbox__box { background: var(--accent); border-color: var(--accent); }
.checkbox input:checked + .checkbox__box::after { transform: scale(1); }
.checkbox input:focus-visible + .checkbox__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.checkbox a { color: var(--accent); text-decoration: underline; }
.checkbox.is-error .checkbox__box { border-color: #e5484d; }
.field.is-error input, .field.is-error select { border-bottom-color: #e5484d; }
.form__success { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 12px; background: color-mix(in srgb, #30a46c 12%, transparent); color: var(--ink); font-size: 15px; line-height: 1.45; animation: pop .4s var(--ease); }
.form__success[hidden] { display: none; }
.form__check { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #30a46c; color: #fff; display: grid; place-items: center; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; }

@media (max-width: 980px) {
  .logos { gap: 10px; }
  .logo { padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 560px) {
  .logo span { display: none; }
  .logo { padding: 12px; }
  .gaugebar__head { flex-direction: column; gap: 4px; }
  .modal__dialog { padding: 22px 18px; }
  .leadtbl th { width: 44%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===== NISCHEN (5 Home-Service-Fokus-Nischen) ===== */
.cards--niches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.nicard { display: flex; flex-direction: column; padding: 22px 20px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--card, #fff); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.nicard:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 16px 40px -18px rgba(37,99,235,.35); }
.nicard__icon { font-size: 26px; line-height: 1; }
.nicard__title { font-size: 16px; font-weight: 700; margin: 14px 0 6px; letter-spacing: -.2px; }
.nicard__tag { font-size: 12.5px; color: var(--muted, #5b6b7f); line-height: 1.5; margin: 0 0 16px; flex: 1; }
.nicard__price { font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.nicard__price span { color: var(--muted, #5b6b7f); font-weight: 500; }
.nicard__sub { margin-top: 4px; font-size: 12px; color: var(--muted, #5b6b7f); }

/* Preistabelle je Nische */
.pricetable { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pricerow { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.pricerow:last-child { border-bottom: none; }
.pricerow--head { background: var(--alt, #f5f7fa); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted, #5b6b7f); font-weight: 600; }
.pricerow__niche { font-weight: 700; display: flex; align-items: center; gap: 9px; }
.pricerow__val { font-variant-numeric: tabular-nums; font-weight: 600; }
.pricerow__val small { display: block; font-weight: 500; color: var(--muted, #5b6b7f); font-size: 11.5px; }

@media (max-width: 980px) {
  .cards--niches { grid-template-columns: repeat(2, 1fr); }
  .pricerow { grid-template-columns: 1fr; gap: 4px; }
  .pricerow--head { display: none; }
}
@media (max-width: 560px) {
  .cards--niches { grid-template-columns: 1fr; }
}

/* Accessibility: Skip-Link (sichtbar bei Tastatur-Fokus) */
.skip-link{position:absolute;left:12px;top:-48px;z-index:200;background:var(--accent);color:#fff;
  padding:10px 16px;border-radius:8px;font-weight:600;text-decoration:none;transition:top .15s}
.skip-link:focus{top:12px;outline:2px solid #fff;outline-offset:2px}
