/* ============ LOTTA · Design Tokens ============ */
:root {
  /* Brand */
  --navy-950: #030c1a;
  --navy-900: #061625;
  --navy-800: #0a233e;
  --navy-700: #0e3158;
  --navy-600: #163e6f;
  --navy-500: #2d4fab;
  --navy-300: #6b80c2;
  --navy-100: #d9defc;

  --teal-700: #007a91;
  --teal-600: #0099b2;
  --teal-500: #00B8D3;
  --teal-400: #3fcde0;
  --teal-200: #a8e8f1;
  --teal-50:  #e0f6fa;

  --orange-700: #cc5e08;
  --orange-600: #ee6e0c;
  --orange-500: #FE7B13;
  --orange-400: #ff9248;
  --orange-100: #ffe2cd;

  /* Neutrals */
  --ink: #061625;
  --ink-soft: #2a3656;
  --ink-muted: #5c6a89;
  --line: #e6e9f2;
  --line-strong: #c9cee0;
  --bg: #fbfaf7;
  --bg-warm: #f4f1ea;
  --paper: #ffffff;
  --modal-tab-bg: #e6e0cf;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(6,22,37,.06), 0 2px 8px rgba(6,22,37,.04);
  --shadow-md: 0 8px 24px -8px rgba(6,22,37,.18), 0 2px 6px rgba(6,22,37,.06);
  --shadow-lg: 0 24px 60px -20px rgba(6,22,37,.30), 0 8px 24px -12px rgba(6,22,37,.18);
  --shadow-glow: 0 0 0 1px rgba(0,184,211,.4), 0 12px 40px -8px rgba(0,184,211,.35);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --nav-top-offset: 22px;
  --nav-row-height: 78px;
  --hero-nav-gap: 12px;
  --hero-bottom-gap: 32px;
  --hero-top-clearance: calc(var(--nav-top-offset) + var(--nav-row-height) + var(--hero-nav-gap));
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
}
body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-feature-settings: 'ss01','cv11';
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.55;
}

h1,h2,h3,h4 {
  font-family: 'Space Grotesk', 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
h2 { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.25; }

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============ Layout ============ */
.shell { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.shell-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .shell, .shell-wide { padding: 0 20px; } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange-500); color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 22px -6px rgba(254,123,19,.55);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(254,123,19,.65); }
.btn-navy { background: var(--navy-900); color: white; }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: white; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.15); }

/* ============ Header (morphing liquid glass) ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: var(--nav-top-offset) 20px;
  transition: padding .5s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.nav-row {
  pointer-events: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  width: 100%;
  height: var(--nav-row-height);
  max-width: 92rem;
  margin: 0 auto;
  padding: 10px 14px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(28px) saturate(190%) brightness(1.04);
  -webkit-backdrop-filter: blur(28px) saturate(190%) brightness(1.04);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 999px;
  box-shadow:
    0 18px 50px -28px rgba(7,22,37,.36),
    0 4px 14px -8px rgba(7,22,37,.12),
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -1px 0 rgba(255,255,255,.25);
  transition: all .5s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.nav-row::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.45) 0%, transparent 38%, rgba(0,184,211,.05) 68%, rgba(254,123,19,.06) 100%);
}
.nav-row > * { position: relative; z-index: 1; }
.nav-row > .brand { justify-self: start; }
.nav-row > .nav-links { justify-self: center; }
.nav-row > .nav-cta { justify-self: end; }
.nav.scrolled { padding: 18px 20px; }
.nav.scrolled .nav-row {
  height: 74px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 14px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(34px) saturate(200%) brightness(1.05);
  -webkit-backdrop-filter: blur(34px) saturate(200%) brightness(1.05);
  border-radius: 999px;
  border-color: rgba(255,255,255,.8);
  box-shadow:
    0 22px 58px -28px rgba(7,22,37,.44),
    0 10px 28px -18px rgba(7,22,37,.28),
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -1px 0 rgba(255,255,255,.3);
}
.nav .brand { color: var(--navy-900); }
.nav-links a {
  color: rgba(7,22,37,.66);
  border-radius: 999px;
  padding: 10px 16px;
  position: relative;
}
.nav-links a:hover {
  color: var(--navy-900);
  background: rgba(255,255,255,.5);
  box-shadow: 0 8px 20px rgba(7,22,37,.06);
}
.nav-links a.active {
  color: var(--navy-900);
  background: rgba(255,255,255,.92);
  box-shadow:
    0 8px 22px -10px rgba(7,22,37,.18),
    0 0 0 1px rgba(255,255,255,.95),
    inset 0 1px 0 rgba(255,255,255,1);
}
.nav-links a.active:hover {
  background: rgba(255,255,255,.98);
}
/* Shared sliding pill (wird per JS injiziert, gleitet zwischen aktiven Links) */
.nav-links.has-pill { position: relative; }
.nav-links.has-pill > a { position: relative; z-index: 1; }
.nav-links.has-pill > a.active {
  background: transparent;
  box-shadow: none;
}
.nav-pill {
  position: absolute;
  top: 50%; left: 0;
  height: 0; width: 0;
  transform: translate(0, -50%);
  background: rgba(255,255,255,.96);
  border-radius: 999px;
  box-shadow:
    0 8px 22px -10px rgba(7,22,37,.18),
    0 0 0 1px rgba(255,255,255,.95),
    inset 0 1px 0 rgba(255,255,255,1);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition:
    transform .55s cubic-bezier(.5,1.2,.3,1),
    width .55s cubic-bezier(.5,1.2,.3,1),
    height .55s cubic-bezier(.5,1.2,.3,1),
    opacity .25s ease;
}
.nav-pill.is-visible { opacity: 1; }
.nav .btn-phone.outline {
  background: transparent; color: var(--navy-900);
  border-color: transparent;
}
.nav .btn-phone.outline .ph-ico { background: rgba(34,197,94,.16); color: #15803d; }
.nav .btn-phone.outline:hover,
.nav .btn-phone.outline:focus-visible {
  background: rgba(220,252,231,.78);
  color: #14532d;
  border-color: rgba(34,197,94,.36);
  box-shadow: 0 10px 24px -16px rgba(22,163,74,.52);
  animation: phone-hover-pulse 1.35s ease-in-out infinite;
}
.nav .btn-phone.outline:hover .ph-ico,
.nav .btn-phone.outline:focus-visible .ph-ico {
  background: rgba(34,197,94,.16);
  color: #15803d;
}
@media (max-width: 720px) {
  :root {
    --nav-top-offset: 14px;
    --nav-row-height: 64px;
    --hero-nav-gap: 10px;
    --hero-bottom-gap: 28px;
  }
  .nav { padding: var(--nav-top-offset) 14px; }
  .nav-row, .nav.scrolled .nav-row { padding: 8px 10px; height: var(--nav-row-height); }
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 22px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background:
    url('images/brand/lotta-avatar.png') center 18% / 150% auto no-repeat,
    linear-gradient(135deg, var(--orange-500) 0%, var(--teal-500) 100%);
  position: relative; overflow: hidden; flex-shrink: 0;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.55),
    inset 0 1px 0 rgba(255,255,255,.45),
    0 10px 24px -12px rgba(7,22,37,.55);
}
.nav-links { display: flex; align-items: center; justify-content: center; gap: 6px; }
.nav-links a { font-size: 17px; color: var(--ink-soft); transition: color .2s, background .2s, box-shadow .2s; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 980px) {
  .nav-row,
  .nav.scrolled .nav-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .nav-links { display: none; }
}

/* Phone CTA buttons */
@keyframes phone-hover-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,.18),
      0 10px 24px -16px rgba(22,163,74,.52);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(34,197,94,0),
      0 12px 28px -16px rgba(22,163,74,.58);
  }
}

.btn-phone {
  display: inline-flex; align-items: center; gap: 11px;
  height: 50px; padding: 0 20px 0 14px; border-radius: 999px;
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: all .25s;
  border: 1px solid transparent;
}
.btn-phone .ph-ico {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.btn-phone.outline {
  background: rgba(255,255,255,.4); color: var(--navy-900);
  border-color: rgba(6,22,37,.12);
}
.btn-phone.outline .ph-ico { background: rgba(34,197,94,.16); color: #15803d; }
.btn-phone.outline:hover,
.btn-phone.outline:focus-visible {
  background: rgba(220,252,231,.78);
  color: #14532d;
  border-color: rgba(34,197,94,.36);
  box-shadow: 0 10px 24px -16px rgba(22,163,74,.52);
  animation: phone-hover-pulse 1.35s ease-in-out infinite;
}
.btn-phone.outline:hover .ph-ico,
.btn-phone.outline:focus-visible .ph-ico {
  background: rgba(34,197,94,.16);
  color: #15803d;
}
.btn-phone.filled {
  background: var(--orange-500); color: white;
  box-shadow: 0 6px 20px -6px rgba(254,123,19,.55);
}
.btn-phone.filled .ph-ico { display: none; }
.btn-phone.filled:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-phone .label-num { font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .btn-phone.outline .label { display: none; }
  .btn-phone.outline { padding: 0 12px 0 8px; }
}
@media (max-width: 380px) {
  .nav .btn-phone.outline { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-phone.outline:hover,
  .btn-phone.outline:focus-visible,
  .nav .btn-phone.outline:hover,
  .nav .btn-phone.outline:focus-visible {
    animation: none;
  }
}
@media (max-width: 340px) {
  .nav .brand > span:last-child { display: none; }
}

/* push content below fixed nav */
body { padding-top: 0; }
.hero { padding-top: var(--hero-top-clearance); }

/* ============ Section base ============ */
section { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--teal-50); color: var(--teal-700);
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--teal-200);
}
.eyebrow.on-dark { background: rgba(0,184,211,.12); color: var(--teal-400); border-color: rgba(0,184,211,.25); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 8px var(--teal-500); }

/* ============ Hero ============ */
.hero {
  max-width: none;
  padding: var(--hero-top-clearance) 48px var(--hero-bottom-gap);
}
.hero.shell-wide { max-width: none; }
.hero .shell { padding: 0 32px; }
.hero .hero-card { transform: none; transform-origin: top center; }
.hero-card {
  position: relative; border-radius: 28px; overflow: hidden;
  background: var(--navy-900);
  background-image: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  height: clamp(520px, calc(100vh - var(--hero-top-clearance) - var(--hero-bottom-gap)), 780px);
  max-width: 1640px;
  margin: 0 auto;
  color: white;
  box-shadow: var(--shadow-lg);
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,12,26,.94) 0%, rgba(3,12,26,.90) 36%, rgba(3,12,26,.62) 50%, rgba(3,12,26,.08) 66%, rgba(3,12,26,.18) 100%),
    linear-gradient(0deg, rgba(3,12,26,.24), rgba(3,12,26,0) 40%);
}
.hero-photo-slot {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 76% 50%, rgba(0,184,211,.16) 0%, transparent 60%);
}
.hero-photo-illustration {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 72%; height: 100%; object-fit: cover; object-position: 64% center;
  pointer-events: none; user-select: none;
  transform: scale(1.08);
}
@media (max-width: 900px) {
  .hero-photo-illustration { display: none; }
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .28; mix-blend-mode: overlay; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 3;
  height: 100%;
  max-width: 650px;
  padding: clamp(38px, 6vh, 70px) clamp(40px, 5vw, 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-badge {
  display: flex; align-items: center; gap: 10px;
  background: transparent; border: 0;
  border-radius: 0; padding: 0;
  font-size: 12px; line-height: 1.15; backdrop-filter: none;
}
.hero-badge .ico {
  width: 38px; height: 38px; border-radius: 10px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.10);
}
.hero h1 { color: white; margin-bottom: 22px; font-size: 64px; line-height: 1.04; }
.hero h1 em { font-style: normal; color: var(--teal-400); }
.hero-sub { font-size: 19px; color: rgba(255,255,255,.86); max-width: 560px; margin-bottom: 32px; line-height: 1.55; }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 34px; }
.hero-proof { display: flex; gap: 28px; align-items: center; color: rgba(255,255,255,.82); font-size: 14px; flex-wrap: wrap; }
.hero-proof .div { width: 1px; height: 24px; background: rgba(255,255,255,.18); }
.stars { color: #ffc954; letter-spacing: 1px; font-size: 16px; }
.hero-glow {
  position: absolute; pointer-events: none;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,184,211,.12) 0%, transparent 65%);
  filter: blur(50px);
  left: -150px; bottom: -200px; z-index: 2;
  animation: glow-float 14s ease-in-out infinite;
}
.hero-glow.b {
  background: radial-gradient(circle, rgba(254,123,19,.10) 0%, transparent 65%);
  left: auto; right: -100px; top: -150px; bottom: auto;
  animation-delay: -7s;
}
@media (min-width: 901px) and (max-height: 780px) {
  .hero { padding-top: var(--hero-top-clearance); padding-bottom: 24px; }
  .hero-card { height: calc(100vh - var(--hero-top-clearance) - 24px); }
  .hero-content { max-width: 610px; padding: 34px 56px; }
  .hero-badges { gap: 16px; margin-bottom: 18px; }
  .hero-badge .ico { width: 32px; height: 32px; }
  .hero h1 { font-size: 52px; margin-bottom: 16px; }
  .hero-sub { font-size: 17px; margin-bottom: 22px; }
  .hero-actions { margin-bottom: 24px; }
}
@media (min-width: 901px) and (max-height: 680px) {
  .hero { padding-top: var(--hero-top-clearance); padding-bottom: 20px; }
  .hero-card { height: calc(100vh - var(--hero-top-clearance) - 20px); }
  .hero-content { padding: 28px 50px; }
  .hero h1 { font-size: 44px; }
  .hero-sub { font-size: 16px; margin-bottom: 18px; }
  .hero-proof { display: none; }
}
@media (min-width: 901px) and (min-height: 900px) {
  .hero h1 { font-size: 72px; }
}
@media (max-width: 900px) {
  .hero { padding: var(--hero-top-clearance) 20px 28px; }
  .hero-card { height: auto; min-height: calc(100svh - var(--hero-top-clearance) - 28px); border-radius: 24px; }
  .hero-content {
    min-height: calc(100svh - var(--hero-top-clearance) - 28px);
    max-width: none;
    padding: 40px 28px 34px;
    justify-content: center;
  }
  .hero-badges { gap: 12px; margin-bottom: 24px; }
  .hero-badge {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 8px 10px;
  }
  .hero-badge .ico { width: 28px; height: 28px; border-radius: 8px; }
  .hero h1 { font-size: 36px; line-height: 1.08; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-actions { margin-bottom: 32px; }
  .hero-proof { display: none; }
}
@keyframes glow-float {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-30px) scale(1.1); }
}

/* ============ Integrations strip ============ */
.int-strip {
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  max-width: 100vw;
  overflow: hidden;
  overflow-x: clip;
  padding: 22px 0;
}
.int-strip-track {
  display: flex; gap: 56px; align-items: center;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.int-strip-item { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-weight: 500; font-size: 15px; opacity: .9; }
.int-strip-item .int-icon, .int-strip-item .glyph { width: 30px; height: 30px; flex-shrink: 0; }
.int-strip-item .int-icon { display: block; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ============ Generic Sections ============ */
.section { padding: 110px 0; position: relative; }
.section-warm { background: var(--bg-warm); }
.section-paper { background: var(--paper); }
.section-dark {
  background: var(--navy-900);
  color: white;
}
.section-dark h2, .section-dark h3 { color: white; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head p { color: var(--ink-muted); font-size: 18px; margin-top: 18px; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }

/* ============ Funktionen / Features grid ============ */
.feat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.feat-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; display: flex; flex-direction: column; gap: 18px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.feat-card.hero-feat { grid-column: span 7; background: var(--navy-900); background-image: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: white; border-color: transparent; min-height: 360px; }
.feat-card.hero-feat h3 { color: white; font-size: 30px; }
.feat-card.hero-feat .feat-desc { color: rgba(255,255,255,.75); }
.feat-card.alt { grid-column: span 5; background: var(--teal-50); border-color: var(--teal-200); }
.feat-card.std { grid-column: span 4; }
.feat-card .feat-ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal-50); color: var(--teal-700);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--teal-200);
}
.feat-card.hero-feat .feat-ico { background: rgba(0,184,211,.15); color: var(--teal-400); border-color: rgba(0,184,211,.3); }
.feat-card .feat-desc { color: var(--ink-muted); font-size: 15.5px; line-height: 1.55; }
.feat-card h3 { font-size: 22px; }
@media (max-width: 900px) {
  .feat-card.hero-feat, .feat-card.alt, .feat-card.std { grid-column: span 12; }
}

/* visual inside hero feat */
.waveform { display: flex; align-items: center; gap: 4px; height: 56px; margin-top: auto; }
.waveform i {
  display: block; width: 4px; background: var(--teal-400); border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.waveform i:nth-child(2n) { background: rgba(0,184,211,.6); }
@keyframes wave { 0%,100% { height: 10%; } 50% { height: 90%; } }

/* ============ How it works · sticky thread ============ */
.how-thread {
  position: relative;
  padding-top: 20px;
}
/* center spine */
.how-thread::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; transform: translateX(-1px);
  background: linear-gradient(180deg, transparent 0, var(--line) 6%, var(--line) 94%, transparent 100%);
}
/* moving progress bead anchored to the viewport */
.how-thread::after {
  content: ''; position: -webkit-sticky; position: sticky; top: 50vh; left: 0;
  display: block; width: 14px; height: 14px;
  margin: 0 auto;
  border-radius: 50%; background: var(--teal-500);
  box-shadow: 0 0 0 5px rgba(0,184,211,.18), 0 0 24px rgba(0,184,211,.55);
  transform: translateY(-7px);
  z-index: 3; pointer-events: none;
}
.how-row {
  position: relative;
  min-height: 110vh;
  margin-bottom: 0;
}
.how-row-stage {
  position: -webkit-sticky; position: sticky; top: 16vh;
  display: grid; grid-template-columns: 1fr 1fr; gap: 120px;
  align-items: center;
}
.how-row-stage > .how-visual { min-height: 420px; display: flex; flex-direction: column; justify-content: center; max-width: 460px; width: 100%; margin-left: auto; }
.how-row-stage > .how-content { min-height: 420px; display: flex; flex-direction: column; justify-content: center; max-width: 460px; width: 100%; margin-right: auto; }
.how-row .step-marker {
  position: -webkit-sticky; position: sticky; top: 16vh;
  margin: 0 auto -44px; transform: translateY(0);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--teal-500);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 16px; color: var(--teal-700);
  z-index: 3;
  box-shadow: 0 6px 14px -4px rgba(0,184,211,.25);
}
@supports (animation-timeline: view()) {
  .how-row-stage {
    animation: howRowEnter linear both, howRowExit linear both;
    animation-timeline: view(), view();
    animation-range: entry 5% cover 25%, cover 55% exit 80%;
    will-change: transform, opacity;
  }
  @keyframes howRowEnter {
    from { opacity: 0; transform: translateY(220px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes howRowExit {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-220px); }
  }
}
.how-js-fallback .how-row-stage {
  animation: none !important;
  will-change: transform, opacity;
}
@media (max-width: 880px) {
  .how-thread::before, .how-thread::after { display: none; }
  .how-row { min-height: auto; margin-bottom: 24px; }
  .how-row-stage { position: static; grid-template-columns: 1fr; gap: 18px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 24px; box-shadow: 0 8px 24px -16px rgba(6,22,37,.12); }
  .how-row-stage > .how-visual, .how-row-stage > .how-content { min-height: auto; }
  .how-row-stage > .how-visual { border: none; padding: 0; background: transparent; }
  .how-row .step-marker { position: static; margin: 0 0 8px; }
}
.how-step-num { font-family: 'Space Grotesk'; font-size: 18px; color: var(--teal-600); font-weight: 600; letter-spacing: .1em; }
.how-row h3 { font-size: clamp(28px, 2.5vw, 38px); margin-top: 10px; margin-bottom: 18px; }
.how-row p { color: var(--ink-muted); font-size: 17px; line-height: 1.6; margin-bottom: 22px; }
.how-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.how-bullets li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.how-bullets li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-50); border: 1.5px solid var(--teal-500); flex-shrink: 0; margin-top: 3px; position: relative; }
.how-visual {
  background: var(--paper); border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 28px; aspect-ratio: 5/4; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}

/* ============ Demo (interactive) ============ */
.demo-stage {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px;
  background: var(--navy-900);
  background-image: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-xl); padding: 50px; color: white;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) { .demo-stage { grid-template-columns: 1fr; padding: 32px; } }
.demo-phone {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px; padding: 22px; min-height: 460px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative; backdrop-filter: blur(8px);
}
.demo-phone-head { display:flex; align-items:center; gap:14px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  display: flex; align-items: center; justify-content: center; font-weight: 700; color: white;
  position: relative;
}
.avatar::after { content:''; position: absolute; right: -2px; bottom: -2px; width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid var(--navy-900); }
.demo-phone-name { font-weight: 600; }
.demo-phone-meta { font-size: 12px; color: rgba(255,255,255,.6); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; margin-left: auto; box-shadow: 0 0 8px #ef4444; animation: pulse-dot 1.4s ease-in-out infinite; }
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.bubble { padding: 12px 16px; border-radius: 18px; font-size: 14.5px; max-width: 80%; line-height: 1.5; }
.bubble.lotta { background: rgba(0,184,211,.18); border: 1px solid rgba(0,184,211,.25); align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble.caller { background: rgba(255,255,255,.08); align-self: flex-end; border-bottom-right-radius: 6px; }
.bubble-spacer {
  align-self: center;
  color: rgba(255,255,255,.5);
  font-size: 18px;
  line-height: 1;
  padding: 2px 10px 0;
}
.demo-controls {
  display: flex; flex-direction: column; gap: 20px; justify-content: center;
}
.demo-scenario {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px;
}
.demo-scenario button {
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500;
  transition: all .2s;
}
.demo-scenario button:hover { background: rgba(255,255,255,.12); }
.demo-scenario button.active { background: var(--orange-500); border-color: var(--orange-500); color: white; }
.ctrl-label { font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.voice-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.voice-chip {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 12px 10px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  color: rgba(255,255,255,.85); cursor: pointer; transition: all .25s;
  text-align: left;
}
.voice-chip:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.voice-chip.active { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); box-shadow: 0 8px 24px -10px rgba(0,0,0,.5); }
.voice-chip .voice-dot { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.voice-chip .voice-name { font-family: 'Space Grotesk'; font-weight: 600; font-size: 14px; color: white; }
.voice-chip .voice-tag { font-size: 11px; color: rgba(255,255,255,.55); letter-spacing: .04em; }

.player-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: rgba(255,255,255,.04);
  border-radius: 999px; border: 1px solid rgba(255,255,255,.08);
}
.player-btn {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--teal-500); border: none; color: white;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s;
  box-shadow: 0 6px 20px -6px rgba(0,184,211,.6);
}
.player-btn:hover { transform: scale(1.06); background: var(--teal-400); }
.player-bar {
  flex: 1; height: 4px; background: rgba(255,255,255,.12); border-radius: 999px; overflow: hidden;
}
.player-fill {
  height: 100%; background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
  transition: width .6s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 12px rgba(0,184,211,.6);
}
.player-time { font-size: 12px; color: rgba(255,255,255,.65); font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; }
.demo-meter {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  background: rgba(255,255,255,.04); border-radius: 14px; border: 1px solid rgba(255,255,255,.1);
}
.demo-meter .waveform { flex: 1; height: 36px; }
.demo-meter .waveform i { background: var(--teal-400); }
.demo-stat {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.demo-stat .item { background: rgba(255,255,255,.04); padding: 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); }
.demo-stat .num { font-family: 'Space Grotesk'; font-size: 28px; font-weight: 700; color: var(--teal-400); }
.demo-stat .lbl { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 2px; }
.demo-action {
  border: 1px solid rgba(0,184,211,.22);
  background: rgba(0,184,211,.1);
  border-radius: 14px;
  padding: 14px 16px;
  color: rgba(255,255,255,.82);
  font-size: 13.5px;
  line-height: 1.5;
}
.demo-action b { color: white; }

/* ============ Integrations grid ============ */
.int-section { padding: 110px 0; }
.int-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .int-row { grid-template-columns: 1fr; gap: 40px; } }
.int-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 720px) { .int-grid { grid-template-columns: repeat(3, 1fr); } }
.int-tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  aspect-ratio: 1.05; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;
  transition: all .25s; position: relative; cursor: default;
}
.int-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.int-tile .ico-wrap { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.int-tile .ico-wrap img { width: 100%; height: 100%; object-fit: contain; }
.int-tile .name { font-size: 14px; font-weight: 600; color: var(--ink); }
.int-tile .badge-soon {
  position: absolute; top: 10px; right: 10px;
  font-size: 10px; font-weight: 600; color: var(--orange-600);
  background: var(--orange-100); padding: 2px 8px; border-radius: 999px;
  letter-spacing: .04em;
}
.int-more { display: flex; justify-content: center; margin-top: 28px; }
.int-more button { background: transparent; border: 1px solid var(--line-strong); padding: 12px 22px; border-radius: 999px; font-weight: 500; transition: all .2s; }
.int-more button:hover { border-color: var(--ink); }

/* ============ Pricing ============ */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
  align-items: stretch;
}
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } .price-card.featured { transform: none; } }
.price-card { transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s, border-color .35s; }
/* default: middle (featured) is outlined */
/* on hover anywhere in grid: only the hovered card is outlined, featured loses its outline */
.pricing-grid:hover .price-card.featured { border: 1px solid var(--line); padding: 38px 34px; }
.pricing-grid:hover .price-card.featured:not(:hover) { transform: translateY(0); }
.price-card:hover { transform: translateY(-10px) scale(1.025); border: 2px solid var(--teal-500) !important; padding: 37px 33px !important; box-shadow: 0 30px 60px -22px rgba(0,184,211,.32), 0 10px 24px -10px rgba(6,22,37,.16); z-index: 2; }
.price-card:hover .price-ico { background: var(--teal-500); color: white; border-color: var(--teal-500); transform: scale(1.08); }
.price-card .price-ico { transition: all .3s; }
.pricing-grid:hover .price-card.featured:not(:hover) .price-ico { background: var(--teal-50); color: var(--teal-700); border-color: var(--teal-200); }
.price-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 34px; display: flex; flex-direction: column;
  position: relative; min-width: 0;
}
.price-card .price-amount { font-size: clamp(32px, 3.2vw, 44px); }
@media (max-width: 1100px) { .price-card { padding: 28px 22px; } .price-card.featured { padding: 27px 21px; } }
.price-card.featured { border: 2px solid var(--teal-500); transform: translateY(-12px); padding: 37px 33px; }
.price-card.featured .ribbon {
  position: absolute; top: -14px; right: 22px;
  background: var(--orange-500); color: white; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; font-size: 12px; letter-spacing: .06em;
  box-shadow: 0 8px 20px -8px rgba(254,123,19,.6);
}
.price-ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal-50); border: 1px solid var(--teal-200);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
  color: var(--teal-700);
}
.price-card.featured .price-ico { background: var(--teal-500); color: white; border-color: var(--teal-500); }
.price-card.scale .price-ico { background: var(--navy-900); color: white; border-color: var(--navy-900); }
.price-name { font-family: 'Space Grotesk'; font-size: 26px; font-weight: 600; margin-bottom: 4px; }
.price-fit { color: var(--ink-muted); font-size: 14px; margin-bottom: 24px; }
.price-amount { font-family: 'Space Grotesk'; font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }
.price-amount .pre { font-size: 18px; color: var(--ink-muted); font-weight: 500; margin-right: 4px; }
.price-amount .per { font-size: 14px; color: var(--ink-muted); font-weight: 500; }
.price-cta { margin: 26px 0; width: 100%; justify-content: center; }
.price-sep { height: 1px; background: var(--line); margin-bottom: 24px; }
.price-section-label { font-size: 11px; color: var(--ink-muted); font-weight: 600; letter-spacing: .12em; margin: 20px 0 10px; text-transform: uppercase; }
.price-section-label:first-child { margin-top: 0; }
.price-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.price-items li { display: block; }
.price-items li b { font-weight: 600; white-space: nowrap; }
.price-items li span { color: var(--ink-muted); font-size: 13.5px; margin-left: 6px; }

/* ============ FAQ ============ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.8fr; gap: 80px; align-items: start; }
@media (max-width: 880px) { .faq-wrap { grid-template-columns: 1fr; gap: 30px; } }
.faq-sticky { position: sticky; top: 100px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: var(--paper);
  padding: 18px 20px 18px 26px;
  cursor: pointer;
  box-shadow: 0 10px 26px -22px rgba(6,22,37,.28);
  transition: border-radius .25s ease, box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.faq-item:first-child { border-top: 1px solid rgba(255,255,255,.72); }
.faq-item:hover {
  transform: translateY(-1px);
  border-color: var(--line);
  box-shadow: 0 16px 34px -24px rgba(6,22,37,.34);
}
.faq-item.open {
  border-radius: 24px;
  border-color: var(--line);
}
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 19px; font-weight: 500; color: var(--ink); }
.faq-icon {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: all .25s; font-size: 18px; color: var(--ink-soft);
}
.faq-item.open .faq-icon { background: var(--navy-900); color: white; border-color: var(--navy-900); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease, opacity .35s ease;
  opacity: 0;
  color: var(--ink-muted); font-size: 15.5px; line-height: 1.65;
  padding-right: 60px;
}
.faq-item.open .faq-a { max-height: 320px; padding-top: 14px; opacity: 1; }

/* ============ CTA band ============ */
.cta-band {
  background: var(--navy-900);
  background-image: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-xl); padding: 70px 64px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center;
  color: white; position: relative; overflow: hidden;
}
@media (max-width: 880px) { .cta-band { grid-template-columns: 1fr; padding: 44px 28px; } }
.cta-band h2 { color: white; }
.cta-band p { color: rgba(255,255,255,.75); margin-top: 12px; font-size: 17px; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band-decoration {
  position: absolute; right: -100px; top: -100px; width: 400px; height: 400px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,184,211,.14), transparent 65%);
  filter: blur(50px);
}

/* ============ Footer ============ */
.footer { background: var(--navy-950); color: white; padding: 80px 0 32px; position: relative; overflow: hidden; }

/* ============ Legal pages ============ */
.legal-hero { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%); margin-top: var(--hero-top-clearance); padding: 72px 0 80px; position: relative; overflow: hidden; }
.legal-hero h1 { color: #ffffff; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: #ffffff; background: none; }
.legal-hero .legal-crumb { color: rgba(255,255,255,.55); }
.legal-hero .legal-crumb a { color: rgba(255,255,255,.9); }
.legal-hero .legal-crumb a:hover { color: var(--teal-300); }
.legal-hero p { color: rgba(255,255,255,.82); }
.legal-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(0,184,211,.12), transparent 50%); pointer-events: none; }
.legal-hero .shell { position: relative; z-index: 1; }
.legal-hero h1 { font-family: 'Space Grotesk'; font-weight: 700; font-size: clamp(38px, 5vw, 64px); margin: 0 0 16px; letter-spacing: -.02em; }
.legal-hero p { font-size: 18px; color: rgba(255,255,255,.7); max-width: 640px; line-height: 1.5; margin: 0; }
.legal-crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 24px; letter-spacing: .12em; text-transform: uppercase; }
.legal-crumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.legal-crumb a:hover { color: var(--teal-400); }

.legal-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; padding: 80px 0 120px; align-items: start; }
@media (max-width: 980px) { .legal-wrap { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 80px; } }

.legal-prose { font-size: 16px; line-height: 1.75; color: var(--ink-soft); max-width: 720px; }
.legal-prose h2 { font-family: 'Space Grotesk'; font-weight: 700; font-size: 28px; margin: 48px 0 16px; color: var(--ink); letter-spacing: -.01em; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { font-family: 'Space Grotesk'; font-weight: 600; font-size: 20px; margin: 32px 0 10px; color: var(--ink); }
.legal-prose p { margin: 0 0 16px; }
.legal-prose ul { padding-left: 22px; margin: 0 0 18px; }
.legal-prose li { margin-bottom: 6px; }
.legal-prose a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-prose a:hover { color: var(--teal-500); }
.legal-prose strong { color: var(--ink); font-weight: 600; }
.legal-meta-block { display: grid; grid-template-columns: 140px 1fr; gap: 10px 24px; padding: 20px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin: 24px 0; }
.legal-meta-block dt { font-weight: 500; color: var(--ink-muted); font-size: 14px; }
.legal-meta-block dd { margin: 0; font-size: 15px; color: var(--ink); }
@media (max-width: 540px) { .legal-meta-block { grid-template-columns: 1fr; gap: 4px; } .legal-meta-block dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; } }

.legal-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 100px; }
@media (max-width: 980px) { .legal-side { position: static; } }

.widget-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.widget-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(6,22,37,.18); }
.widget-card .w-eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.widget-card .w-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); }
.widget-card h3 { font-family: 'Space Grotesk'; font-weight: 700; font-size: 22px; margin: 0 0 10px; letter-spacing: -.01em; color: var(--ink); }
.widget-card p { margin: 0 0 18px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.widget-card .btn { width: 100%; justify-content: center; }

/* Quote widget */
.widget-quote { background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 100%); color: white; border: none; }
.widget-quote .w-mark { font-family: 'Space Grotesk'; font-size: 64px; line-height: 1; color: var(--teal-400); opacity: .35; position: absolute; top: 14px; right: 22px; }
.widget-quote blockquote { margin: 0 0 14px; font-family: 'Space Grotesk'; font-weight: 600; font-size: 19px; line-height: 1.4; letter-spacing: -.005em; position: relative; z-index: 1; }
.widget-quote .w-author { font-size: 13px; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 10px; }
.widget-quote .w-author::before { content: ''; width: 22px; height: 1px; background: rgba(255,255,255,.3); }

/* CTA widget */
.widget-cta .w-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-100); color: var(--orange-700); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.widget-cta .w-icon svg { width: 22px; height: 22px; }
.consent-current-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
}
.consent-current-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ink-muted);
  box-shadow: 0 0 0 4px rgba(92,106,137,.12);
  flex-shrink: 0;
}
.consent-current-status.is-all .consent-current-dot {
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(0,184,211,.14);
}
.consent-current-status.is-partial .consent-current-dot {
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(254,123,19,.15);
}
.consent-current-status.is-required .consent-current-dot {
  background: var(--ink-muted);
  box-shadow: 0 0 0 4px rgba(92,106,137,.12);
}

/* Location widget */
.widget-location { padding: 0; overflow: hidden; }
.widget-location .map-illu { aspect-ratio: 4 / 3; background:
  linear-gradient(135deg, #cfe6ee 0%, #e8f3f6 100%);
  position: relative; overflow: hidden;
}
.widget-location .map-illu::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(0deg, rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0,184,211,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,184,211,.18) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
  opacity: .8;
}
.widget-location .map-illu::after {
  content: ''; position: absolute;
  width: 60%; height: 8px; background: rgba(0,184,211,.45); border-radius: 4px;
  top: 38%; left: 12%; transform: rotate(-12deg);
  box-shadow:
    0 60px 0 -2px rgba(0,184,211,.35),
    -20px 30px 0 -1px rgba(0,184,211,.4),
    80px -20px 0 -3px rgba(0,184,211,.3);
}
.widget-location .map-pin { position: absolute; top: 46%; left: 50%; transform: translate(-50%,-100%); z-index: 2; filter: drop-shadow(0 8px 12px rgba(6,22,37,.25)); }
.widget-location .map-pin .pulse { position: absolute; left: 50%; top: 100%; transform: translate(-50%,-50%); width: 18px; height: 18px; border-radius: 50%; background: var(--orange-500); opacity: .4; animation: pinPulse 2s ease-in-out infinite; }
@keyframes pinPulse { 0% { transform: translate(-50%,-50%) scale(1); opacity: .45; } 70% { transform: translate(-50%,-50%) scale(2.8); opacity: 0; } 100% { transform: translate(-50%,-50%) scale(2.8); opacity: 0; } }
.widget-location .map-pin .head { width: 26px; height: 26px; border-radius: 50%; background: var(--orange-500); border: 3px solid white; box-shadow: 0 6px 14px -3px rgba(217,119,87,.55); position: relative; z-index: 1; }
.widget-location .map-pin .stem { width: 2px; height: 14px; background: var(--orange-500); margin: -2px auto 0; }
.widget-location .loc-body { padding: 22px 26px 26px; }
.widget-location .loc-body h3 { margin-bottom: 6px; }
.widget-location .loc-body .addr { font-size: 14px; color: var(--ink-soft); line-height: 1.55; margin: 0 0 14px; }
.widget-location .loc-body .badges { display: flex; gap: 8px; flex-wrap: wrap; }
.widget-location .loc-body .badge { font-size: 11px; padding: 4px 10px; background: var(--teal-50); color: var(--teal-700); border-radius: 999px; font-weight: 500; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal-500), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 64px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.footer h4 { color: white; font-size: 15px; margin-bottom: 18px; font-family: 'Inter'; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: 14.5px; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-tagline { color: rgba(255,255,255,.6); font-size: 14.5px; margin-top: 14px; line-height: 1.6; max-width: 320px; }
.footer-socials { display: flex; gap: 12px; margin-top: 22px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; transition: all .2s; }
.footer-socials a:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }

/* ============ Reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal-stagger.in > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: .24s; }
.reveal-stagger.in > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: .32s; }
.reveal-stagger.in > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: .40s; }
.reveal-stagger.in > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: .48s; }
.reveal-stagger.in > *:nth-child(n+8) { opacity: 1; transform: translateY(0); transition-delay: .56s; }

/* parallax */
.parallax { will-change: transform; }

/* misc */
.muted { color: var(--ink-muted); }
.text-center { text-align: center; }

/* ============ Modal ============ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(6,22,37,.45);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fade-in .25s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: white; border-radius: 24px; padding: 32px;
  width: 100%; max-width: 540px; max-height: 90vh; overflow: auto;
  box-shadow: 0 40px 100px -20px rgba(7,22,37,.45);
  animation: pop-in .35s cubic-bezier(.32,1.4,.55,1);
  position: relative;
}
@keyframes pop-in { from { opacity: 0; transform: scale(.92) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); transition: all .2s;
}
.modal-close:hover { background: var(--ink); color: white; border-color: var(--ink); }
.modal-eyebrow { font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--teal-700); text-transform: uppercase; margin-bottom: 8px; }
.modal-title { font-family: 'Space Grotesk'; font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.modal-sub { color: var(--ink-muted); font-size: 14.5px; margin-bottom: 24px; line-height: 1.55; }
.modal-tabs { display: flex; gap: 6px; background: var(--modal-tab-bg); padding: 5px; border-radius: 12px; margin-bottom: 24px; }
.modal-tab {
  flex: 1; padding: 10px 14px; border-radius: 9px; background: transparent; border: 0;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .2s;
}
.modal-tab.active { background: white; color: var(--navy-900); box-shadow: 0 2px 6px rgba(6,22,37,.08); }
.modal-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.modal-input {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line-strong); font-family: inherit; font-size: 15px;
  background: white; transition: all .2s;
  box-sizing: border-box;
}
.modal-input:focus { outline: none; background: white; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(0,184,211,.12); }
.modal-textarea {
  min-height: 112px;
  resize: vertical;
  line-height: 1.5;
}
.mail-note {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--teal-200);
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
.modal-cta { width: 100%; justify-content: center; margin-top: 18px; height: 50px; padding: 0 24px; }
.modal-foot { font-size: 12px; color: var(--ink-muted); text-align: center; margin-top: 14px; }
.modal-foot a {
  color: var(--teal-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.slot-btn {
  padding: 12px 6px; border-radius: 10px; background: white; border: 1px solid var(--line);
  font-family: inherit; font-size: 13px; text-align: center; transition: all .2s;
}
.slot-btn:hover { border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(0,184,211,.08); }
.slot-btn.active { background: #f4eadb; color: var(--teal-700); border-color: var(--teal-500); box-shadow: 0 0 0 3px rgba(0,184,211,.12); }
.slot-btn .d { display: block; font-size: 11px; opacity: .7; font-weight: 500; }
.slot-btn .t { font-weight: 600; }

/* Booking step 1: 21-day date picker */
.date-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 16px; }
.date-grid .slot-btn { padding: 10px 4px; font-size: 12.5px; }
@media (max-width: 540px) {
  .date-grid { grid-template-columns: repeat(5, 1fr); }
}
.date-back {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 0; padding: 4px 8px 8px 0;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-muted);
  cursor: pointer; transition: color .15s;
}
.date-back:hover { color: var(--navy-900); }
.time-grid { grid-template-columns: repeat(3, 1fr) !important; }
.time-grid .slot-btn { padding: 14px 6px; }

/* ---------- AI edit reference tags (toggle with ?dev=1 or ?refs=1, disable with ?dev=0) ---------- */
body.dev-ids [data-ai-ref] {
  position: relative;
  outline: 1px dashed rgba(217, 70, 239, 0.48);
  outline-offset: -1px;
}

body.dev-ids [data-ai-ref]::before {
  content: attr(data-ai-ref);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2147483000;
  max-width: min(100%, 28rem);
  overflow: hidden;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-bottom-right-radius: 8px;
  background: #d946ef;
  box-shadow: 0 6px 14px rgba(7, 22, 37, 0.18);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  pointer-events: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.dev-ids [data-ai-ref]:hover {
  outline-color: rgba(217, 70, 239, 0.95);
}

body.dev-ids [data-ai-ref]:hover::before {
  background: #a21caf;
}

/* ---------- Consent modal ---------- */
.consent-root[hidden] {
  display: none;
}
.consent-banner {
  position: fixed;
  inset: 0;
  z-index: 2147482500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6,22,37,.45);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  animation: fade-in .25s ease;
}
.consent-banner-card {
  width: min(448px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 40px 100px -20px rgba(7,22,37,.45);
  animation: pop-in .35s cubic-bezier(.32,1.4,.55,1);
}
.consent-banner-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.consent-cookie-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,184,211,.12);
  color: var(--teal-700);
  flex-shrink: 0;
}
.consent-banner h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 750;
  color: var(--ink);
}
.consent-banner p {
  margin: 0 0 16px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.5;
}
.consent-banner p a {
  color: var(--teal-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-banner-actions {
  display: flex;
  gap: 10px;
}
.consent-banner-actions .btn,
.consent-action-row .btn {
  flex: 1;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  font-size: 14px;
}
.consent-modal {
  z-index: 2147482600;
}
.consent-modal[hidden] {
  display: none;
}
.consent-card {
  max-width: 620px;
}
.consent-card .modal-sub a {
  color: var(--teal-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-category-list {
  display: grid;
  gap: 12px;
  max-height: min(56vh, 560px);
  overflow-y: auto;
  padding-right: 2px;
}
.consent-category-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.consent-category-card:hover {
  border-color: rgba(0,184,211,.42);
  box-shadow: 0 14px 30px -24px rgba(6,22,37,.35);
}
.consent-category-card.is-required {
  cursor: default;
  background: var(--bg);
}
.consent-category-copy {
  display: flex;
  gap: 12px;
  min-width: 0;
}
.consent-category-copy strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.25;
}
.consent-category-copy small {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.consent-category-copy em {
  display: block;
  color: var(--ink-muted);
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.48;
}
.consent-category-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--bg);
  color: var(--ink-muted);
}
.consent-switch-wrap {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
}
.consent-switch-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.consent-switch {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #d8dde6;
  transition: background .2s;
  position: relative;
}
.consent-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: white;
  box-shadow: 0 2px 6px rgba(6,22,37,.16);
  transition: transform .2s;
}
.consent-switch-input:checked + .consent-switch {
  background: var(--teal-600);
}
.consent-switch-input:checked + .consent-switch::after {
  transform: translateX(20px);
}
.consent-switch-input:disabled + .consent-switch {
  background: var(--ink-muted);
  opacity: .72;
}
.consent-action-row {
  display: flex;
  gap: 10px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}
.consent-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.consent-summary-pill {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.consent-summary-pill:hover {
  border-color: rgba(0,184,211,.55);
  transform: translateY(-1px);
}
.consent-summary-pill.is-required {
  border-color: rgba(0,184,211,.34);
  background: var(--teal-50);
  cursor: default;
  transform: none;
}
.consent-summary-pill.is-selected {
  border-color: rgba(0,184,211,.85);
  background: linear-gradient(180deg, rgba(230,249,252,.95), #fff);
  box-shadow: 0 8px 22px -16px rgba(0,184,211,.5), inset 0 0 0 1px rgba(0,184,211,.18);
}
.consent-summary-pill.is-selected .t::after {
  content: ' aktiv';
  color: var(--teal-700);
  font-size: 11px;
  font-weight: 800;
}
.consent-summary-pill .d {
  display: block;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 600;
}
.consent-summary-pill .t {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.consent-options {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.consent-option-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  overflow: hidden;
}
.consent-option-card[open] {
  background: white;
  border-color: rgba(0,184,211,.34);
  box-shadow: 0 8px 24px -20px rgba(6,22,37,.22);
}
.consent-option-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}
.consent-option-card summary::-webkit-details-marker {
  display: none;
}
.consent-option-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.consent-option-check strong {
  display: block;
  color: var(--ink);
  line-height: 1.1;
}
.consent-option-check small {
  display: block;
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.consent-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal-600);
}
.consent-chevron {
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 800;
}
.consent-option-card[open] .consent-chevron::after {
  content: ' offen';
  color: var(--ink-muted);
  font-weight: 700;
}
.consent-option-card ul {
  margin: 0;
  padding: 0 14px 14px 42px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.45;
}
.consent-option-card li + li {
  margin-top: 5px;
}
.consent-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}
.consent-text-btn {
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.consent-text-btn:hover {
  color: var(--teal-700);
}
.consent-link {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  color: var(--teal-700);
  font-size: 13px;
  font-weight: 700;
}
.consent-save-selection {
  margin-top: 10px;
}
.hidden { display: none !important; }
@media (max-width: 720px) {
  .consent-banner {
    padding: 16px;
  }
  .consent-banner-actions,
  .consent-action-row {
    flex-direction: column;
  }
  .consent-category-card {
    gap: 12px;
    padding: 14px;
  }
  .consent-summary-grid {
    grid-template-columns: 1fr;
  }
}
