/* ================================================================
   STRUCTURA DIGITAL — Premium Design System v2
   Inspired by Apple · Stripe · Linear · Airbnb
   ================================================================ */

/* ── Google Fonts: Space Grotesk + Inter (loaded in HTML) ── */

/* ================================================================
   1. DESIGN TOKENS
   ================================================================ */
:root {
  /* Brand */
  --brand:         #2a9d8f;
  --brand-dark:    #1d7a6e;
  --brand-light:   #3cbfb0;
  --brand-xlight:  #e8f5f3;
  --brand-glow:    rgba(42, 157, 143, 0.18);

  /* Backgrounds */
  --bg:            #FAFAFA;
  --bg-alt:        #F2F6F5;
  --bg-card:       #FFFFFF;
  --bg-glass:      rgba(255,255,255,0.68);
  --bg-invert:     #060E0D;

  /* Text */
  --text:          #09100F;
  --text-2:        #3A5350;
  --text-3:        #7A9E9A;

  /* Borders */
  --line:          rgba(0,0,0,0.07);
  --line-md:       rgba(0,0,0,0.11);

  /* Shadows */
  --s-xs: 0 1px 2px rgba(0,0,0,.05);
  --s-sm: 0 2px 8px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.04);
  --s-md: 0 8px 24px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --s-lg: 0 24px 56px rgba(0,0,0,.10), 0 8px 20px rgba(0,0,0,.05);
  --s-xl: 0 48px 96px rgba(0,0,0,.14), 0 16px 40px rgba(0,0,0,.07);
  --s-brand: 0 8px 32px rgba(42,157,143,.30), 0 2px 8px rgba(42,157,143,.15);

  /* Typography */
  --f-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --f-body:    'Inter',        system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.46, 0.64, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
  --dur-xs: 120ms; --dur-sm: 200ms; --dur-md: 360ms; --dur-lg: 600ms;

  /* Radii */
  --r-sm:   8px; --r-md:  14px; --r-lg: 20px;
  --r-xl:  28px; --r-2xl: 40px; --r-full: 9999px;

  /* Spacing scale */
  --s4:  4px; --s8: 8px; --s12: 12px; --s16: 16px; --s20: 20px;
  --s24: 24px; --s32: 32px; --s40: 40px; --s48: 48px;
  --s64: 64px; --s80: 80px; --s96: 96px; --s128: 128px; --s160: 160px;

  /* Layout */
  --nav-h:   72px;
  --max-w:   1200px;
  --max-txt: 680px;
}

/* ── Dark Mode ── */
[data-theme="dark"] {
  --bg:         #050E0D;
  --bg-alt:     #081210;
  --bg-card:    #0D1C1A;
  --bg-glass:   rgba(8,18,16,0.72);
  --bg-invert:  #ECFAF8;
  --text:       #E8F5F3;
  --text-2:     #7ECFCA;
  --text-3:     #4A8A86;
  --line:       rgba(255,255,255,0.07);
  --line-md:    rgba(255,255,255,0.11);
  --brand-xlight: rgba(42,157,143,0.12);
  --s-sm: 0 2px 8px rgba(0,0,0,.2);
  --s-md: 0 8px 24px rgba(0,0,0,.28);
  --s-lg: 0 24px 56px rgba(0,0,0,.38);
  --s-xl: 0 48px 96px rgba(0,0,0,.50);
}

/* ================================================================
   2. RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--dur-md) var(--ease), color var(--dur-md) var(--ease);
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ================================================================
   3. TYPOGRAPHY
   ================================================================ */
h1,h2,h3,h4,h5 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}

/* Display sizes — Apple-level boldness */
.text-display {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.0;
}
.text-h1   { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
.text-h2   { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700; letter-spacing: -0.025em; }
.text-h3   { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; }
.text-lg   { font-size: 1.125rem; }
.text-base { font-size: 1rem; }
.text-sm   { font-size: 0.875rem; }
.text-xs   { font-size: 0.75rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 55%, #6de8dc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  background: var(--brand-xlight);
  padding: 5px 14px;
  border-radius: var(--r-full);
  border: 1px solid rgba(42,157,143,0.2);
  margin-bottom: var(--s24);
}

/* Text reveal wrapper */
.line-mask { overflow: hidden; display: block; }

/* ================================================================
   4. LAYOUT
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--s24);
}
.container--sm { max-width: 860px; margin-inline: auto; padding-inline: var(--s24); }
.container--xs { max-width: var(--max-txt); margin-inline: auto; padding-inline: var(--s24); }

.section { padding-block: var(--s128); }
.section--sm { padding-block: var(--s80); }
.section--lg { padding-block: var(--s160); }

/* Section head */
.sh { margin-bottom: var(--s80); }
.sh--center { text-align: center; }
.sh--center .sh-sub { margin-inline: auto; }
.sh-title { margin-bottom: var(--s20); }
.sh-sub { max-width: 54ch; font-size: 1.1rem; line-height: 1.75; color: var(--text-2); }

/* ================================================================
   5. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: all var(--dur-md) var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--s-brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 40px rgba(42,157,143,.40);
}
.btn-primary:active { transform: translateY(0) scale(0.99); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line-md);
}
.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-xlight);
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }

/* Shimmer on hover */
.btn::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: rgba(255,255,255,0.22);
  transform: skewX(-20deg);
  transition: left var(--dur-md) var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 120%; }

/* ================================================================
   6. NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: all var(--dur-md) var(--ease);
}

.nav.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 0 0 1px var(--line), 0 4px 24px rgba(0,0,0,.06);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s32);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  color: var(--text);
}
.nav-logo svg { height: 34px; width: auto; }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-md);
  transition: all var(--dur-sm) var(--ease);
}
.nav-link:hover { color: var(--text); background: var(--bg-alt); }
.nav-link.active { color: var(--brand); }

/* Dropdown */
.nav-item { position: relative; }

/* Unsichtbare Brücke: überbrückt die Lücke zwischen Link und Dropdown */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -12px;
  right: -12px;
  height: 14px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 8px;
  min-width: 260px;
  box-shadow: var(--s-lg);
  opacity: 0;
  visibility: hidden;
  /* 300ms Verzögerung beim Schließen */
  transition: opacity var(--dur-md) var(--ease) 200ms,
              visibility var(--dur-md) var(--ease) 200ms,
              transform var(--dur-md) var(--ease) 200ms;
  pointer-events: none;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
  /* Sofort öffnen, nur das Schließen verzögern */
  transition-delay: 0ms;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--dur-xs) var(--ease);
}
.nav-dropdown-item:hover { background: var(--brand-xlight); color: var(--brand); }
.nav-dd-icon {
  width: 36px; height: 36px;
  background: var(--brand-xlight);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  font-size: 15px;
  flex-shrink: 0;
}

/* Actions */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-icon-btn {
  width: 38px; height: 38px;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-size: 14px;
  transition: all var(--dur-sm) var(--ease);
}
.nav-icon-btn:hover { color: var(--brand); border-color: var(--brand); }

/* Hamburger */
.nav-hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
}
.nav-hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--dur-md) var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: var(--bg);
  z-index: 999;
  padding: var(--s32) var(--s24);
  overflow-y: auto;
  transform: translateX(110%);
  transition: transform var(--dur-lg) var(--ease);
}
.nav-mobile.open { transform: translateX(0); }
.nav-mob-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}
.nav-mob-sub { display: none; flex-direction: column; gap: 4px; padding: 8px 0 12px var(--s24); }
.nav-mob-sub a { font-size: 0.95rem; color: var(--text-2); padding: 8px 0; }
.nav-mob-actions { margin-top: var(--s32); display: flex; flex-direction: column; gap: 12px; }

/* ================================================================
   7. SCROLL PROGRESS
   ================================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  z-index: 1100;
  transform-origin: left;
  transform: scaleX(0);
}

/* ================================================================
   8. HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Mesh gradient background */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 40%, rgba(42,157,143,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(61,191,176,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 55% 80%, rgba(38,70,83,0.06) 0%, transparent 55%);
}
[data-theme="dark"] .hero-mesh::before {
  background:
    radial-gradient(ellipse 80% 60% at 15% 40%, rgba(42,157,143,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 80% 20%, rgba(61,191,176,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 55% 80%, rgba(38,70,83,0.10) 0%, transparent 55%);
}

/* Subtle grid pattern */
.hero-mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s96);
  align-items: center;
  padding-block: var(--s96);
}

/* Headline */
.hero-display-wrap {
  overflow: hidden;
  display: block;
  margin-bottom: 4px;
}
.hero-display {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 6.5vw, 5.8rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.045em;
  display: block;
  transform-origin: bottom;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-xlight);
  border: 1px solid rgba(42,157,143,0.22);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--s24);
  opacity: 0;
  transform: translateY(12px);
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.7); }
}

.hero-title-block { margin-bottom: var(--s28); }

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-2);
  max-width: 46ch;
  margin-bottom: var(--s40);
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: var(--s48);
  opacity: 0;
}

.hero-trust {
  display: flex;
  gap: var(--s24);
  flex-wrap: wrap;
  opacity: 0;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-3);
}
.hero-trust-item i { color: var(--brand); font-size: 12px; }

/* Hero figure (right side) */
.hero-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

/* Glass card */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--r-xl);
  box-shadow:
    0 0 0 0.5px rgba(0,0,0,0.04),
    var(--s-xl);
  overflow: hidden;
}
[data-theme="dark"] .glass-card {
  background: rgba(13,28,26,0.75);
  border-color: rgba(255,255,255,0.08);
}

.hero-card {
  padding: var(--s32);
  width: 380px;
}

.hero-card-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text);
}
.hero-card-sub {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: var(--s24);
}

/* Progress bars in hero card */
.progress-row { margin-bottom: var(--s16); }
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text-2);
}
.progress-labels span:last-child { color: var(--brand); }
.progress-track {
  height: 6px;
  background: var(--line-md);
  border-radius: var(--r-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--brand-dark), var(--brand-light));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease) 0.8s;
}
.progress-fill.animated { transform: scaleX(1); }

.hero-card-tip {
  background: var(--brand-xlight);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: var(--s20);
}
.hero-card-tip i { color: var(--brand); font-size: 16px; flex-shrink: 0; }
.hero-card-tip strong { display: block; font-size: 0.85rem; color: var(--text); margin-bottom: 2px; }
.hero-card-tip span { font-size: 0.75rem; color: var(--text-2); }

/* Floating mini cards */
.float-card {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--s-md);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
}
[data-theme="dark"] .float-card { background: rgba(13,28,26,0.8); border-color: rgba(255,255,255,0.09); }

.float-card-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--brand-xlight);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}

.float-1 { top: -24px; left: -48px; animation: float-y 5s ease-in-out infinite; }
.float-2 { bottom: 20px; right: -40px; animation: float-y 5s ease-in-out infinite; animation-delay: -2.5s; }

@keyframes float-y {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  cursor: pointer;
  animation: scroll-bob 2.2s ease-in-out infinite;
  z-index: 1;
}
@keyframes scroll-bob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ================================================================
   9. MARQUEE / TRUST BAR
   ================================================================ */
.trust-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: var(--s32);
  background: var(--bg-alt);
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s48);
  flex-wrap: wrap;
}
.trust-stat { text-align: center; }
.trust-num {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  display: block;
}
.trust-label { font-size: 0.8rem; color: var(--text-3); font-weight: 500; margin-top: 4px; }
.trust-sep { width: 1px; height: 44px; background: var(--line-md); flex-shrink: 0; }

/* ================================================================
   10. PROBLEM SECTION  (alternating split)
   ================================================================ */
.problems-list { display: flex; flex-direction: column; gap: var(--s96); }

.problem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s80);
  align-items: center;
}
.problem-split.flip { direction: rtl; }
.problem-split.flip > * { direction: ltr; }

.problem-num {
  font-family: var(--f-display);
  font-size: 7rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--brand);
  opacity: 0.12;
  margin-bottom: -24px;
  display: block;
}

.problem-card-visual {
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.problem-card-visual .icon-bg {
  font-size: 80px;
  opacity: 0.08;
  position: absolute;
  color: var(--brand);
}

.problem-icon-wrap {
  width: 72px; height: 72px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: var(--s-brand);
}

/* ================================================================
   11. SERVICES — HORIZONTAL SCROLL
   ================================================================ */
.services-hs-section {
  overflow: hidden;
  position: relative;
}

.services-hs-head {
  padding-bottom: var(--s48);
}

.services-hs-viewport {
  overflow: hidden;
  padding-inline: var(--s24);
  cursor: grab;
}
.services-hs-viewport:active { cursor: grabbing; }

.services-hs-track {
  display: flex;
  gap: var(--s24);
  width: max-content;
  padding-block: var(--s8) var(--s24);
}

.svc-card {
  width: 340px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s40) var(--s32);
  transition: all var(--dur-md) var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  opacity: 0;
  transition: opacity var(--dur-md);
}
.svc-card:hover {
  border-color: rgba(42,157,143,0.4);
  transform: translateY(-6px);
  box-shadow: var(--s-lg), 0 0 0 1px rgba(42,157,143,0.12);
}
.svc-card:hover::before { opacity: 1; }

.svc-icon {
  width: 60px; height: 60px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: var(--s24);
  box-shadow: var(--s-brand);
  flex-shrink: 0;
}
.svc-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-xlight);
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: var(--s16);
  align-self: flex-start;
}
.svc-card h3 {
  font-size: 1.35rem;
  margin-bottom: var(--s12);
  color: var(--text);
}
.svc-card > p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-2);
  margin-bottom: var(--s24);
  flex: 1;
}
.svc-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: var(--s32); }
.svc-feature {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--text-2);
}
.svc-feature i { color: var(--brand); font-size: 11px; flex-shrink: 0; }
.svc-card-cta { margin-top: auto; }

/* Scroll indicator dots */
/* Carousel prev/next arrows (nur Mobile sichtbar) */
.hs-arrows {
  display: none;
  justify-content: space-between;
  align-items: center;
  padding-inline: var(--s24);
  margin-top: var(--s16);
}
.hs-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-md);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all var(--dur-xs);
  flex-shrink: 0;
}
.hs-arrow:hover  { border-color: var(--brand); color: var(--brand); }
.hs-arrow:disabled { opacity: 0.3; cursor: default; pointer-events: none; }

.hs-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--s32);
}
.hs-dot {
  width: 6px; height: 6px;
  border-radius: var(--r-full);
  background: var(--line-md);
  transition: all var(--dur-md) var(--ease);
  cursor: pointer;
}
.hs-dot.active {
  width: 24px;
  background: var(--brand);
}

/* ================================================================
   12. PROCESS SECTION
   ================================================================ */
.process-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--s96);
}

.process-sticky-head {
  position: sticky;
  top: calc(var(--nav-h) + 48px);
  height: max-content;
}

.process-steps { display: flex; flex-direction: column; gap: 0; }

.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--s24);
  padding-block: var(--s40);
  position: relative;
  align-items: flex-start;
  cursor: default;
}

/* Linie im oberen Bereich jedes Schritts (Abstand von vorherigem Kreis bis zu diesem Kreis) */
.process-step + .process-step::before {
  content: '';
  position: absolute;
  left: 35px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand) var(--progress,0%), var(--line) var(--progress,0%));
  transition: background 0.4s;
  z-index: 0;
}

/* Linie im unteren Bereich jedes Schritts (vom Kreis bis zum Ende des Containers) */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 35px;
  top: calc(var(--s40) + 72px); /* Top-Padding + Kreishöhe */
  bottom: 0;
  width: 2px;
  background: var(--line);
  z-index: 0;
  transition: background 0.4s;
}
.process-step.active:not(:last-child)::after {
  background: var(--brand);
}

.step-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-3);
  transition: all var(--dur-md) var(--ease);
  flex-shrink: 0;
  background: var(--bg-card);
  position: relative;
  z-index: 1;
}

.process-step.active .step-circle,
.process-step:hover .step-circle {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: var(--s-brand);
  transform: scale(1.08);
}

.step-body { padding-top: 18px; }
.step-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: var(--brand-xlight);
  padding: 3px 10px;
  border-radius: var(--r-full);
  display: inline-block;
  margin-bottom: 10px;
}
.step-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step-body p { font-size: 0.9rem; line-height: 1.7; color: var(--text-2); }

/* ================================================================
   13. STATS SECTION
   ================================================================ */
.stats-section {
  background: #060E0D; /* immer dunkel – Text ist hardcoded #fff */
  padding-block: var(--s128);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 10% 30%, rgba(42,157,143,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 70%, rgba(61,191,176,0.10) 0%, transparent 55%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s24);
  position: relative;
  z-index: 1;
}

.stat-item { text-align: center; padding: var(--s40) var(--s24); }
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.stat-sep {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin-block: var(--s40);
}

/* ================================================================
   14. TESTIMONIAL
   ================================================================ */
.testimonial-section {
  padding-block: var(--s128);
  background: var(--bg-alt);
  position: relative;
}

.testimonial-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-icon {
  font-size: 3.5rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.5;
  margin-bottom: var(--s24);
  font-family: Georgia, serif;
}
.testimonial-quote {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: var(--s40);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--s16);
  justify-content: center;
}
.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.2rem;
  border: 3px solid var(--bg-alt);
  box-shadow: var(--s-md);
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-meta strong { display: block; font-weight: 700; font-size: 0.95rem; }
.testimonial-meta span { font-size: 0.82rem; color: var(--text-3); }
.placeholder-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-top: 6px;
}

/* Stars */
.stars { color: #f59e0b; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: var(--s24); }

/* ================================================================
   15. FAQ
   ================================================================ */
.faq-list { display: flex; flex-direction: column; gap: 6px; max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--dur-sm);
}
.faq-item:hover { border-color: rgba(42,157,143,0.4); }
.faq-item.open { border-color: var(--brand); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s16);
  padding: var(--s20) var(--s24);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  user-select: none;
  transition: color var(--dur-xs);
  text-align: left;
  width: 100%;
}
.faq-q:hover { color: var(--brand); }
.faq-item.open .faq-q { color: var(--brand); }
.faq-toggle {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--text-3);
  flex-shrink: 0;
  transition: all var(--dur-md) var(--ease);
}
.faq-item.open .faq-toggle {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: rotate(45deg);
}
.faq-body { height: 0; overflow: hidden; transition: height var(--dur-lg) var(--ease); }
.faq-body-inner { padding: 0 var(--s24) var(--s24); font-size: 0.9rem; line-height: 1.8; color: var(--text-2); }

.faq-cta-box {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s48);
  text-align: center;
  margin-top: var(--s64);
  max-width: 720px;
  margin-inline: auto;
}
.faq-cta-box p { font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: var(--s20); }

/* ================================================================
   16. BLOG
   ================================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s24); }

.blog-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: all var(--dur-md) var(--ease);
}
.blog-card:hover {
  border-color: rgba(42,157,143,0.35);
  transform: translateY(-5px);
  box-shadow: var(--s-lg);
}
.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-alt);
}
.blog-card-img img { width:100%; height:100%; object-fit:cover; transition: transform var(--dur-lg) var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: var(--s24); display:flex; flex-direction:column; flex:1; gap: 10px; }
.blog-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.blog-card-body h3 { font-size: 1rem; line-height: 1.35; }
.blog-card-body p { font-size: 0.85rem; color: var(--text-2); line-height: 1.7; flex:1; }
.blog-meta { display:flex; gap: var(--s16); font-size: 0.75rem; color: var(--text-3); }
.blog-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap var(--dur-sm);
}
.blog-card:hover .blog-more { gap: 9px; }

/* ================================================================
   17. CTA SECTION
   ================================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  padding-block: var(--s128);
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--brand-dark) 0%, var(--brand) 50%, var(--brand-light) 100%);
}
.cta-section::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 90%, rgba(255,255,255,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 10%, rgba(255,255,255,0.05) 0%, transparent 55%);
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-section h2 { color: #fff; margin-bottom: var(--s20); }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 52ch; margin: 0 auto var(--s40); line-height: 1.75; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   18. FOOTER
   ================================================================ */
.footer {
  background: #060E0D;
  color: rgba(255,255,255,0.6);
  padding-top: var(--s96);
  padding-bottom: var(--s40);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: var(--s48);
  padding-bottom: var(--s64);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 30ch;
  margin-block: var(--s16);
}
.footer-social { display: flex; gap: 10px; }
.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: all var(--dur-sm) var(--ease);
}
.footer-social-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--s20);
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--dur-xs);
}
.footer-link:hover { color: var(--brand-light); }
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  margin-bottom: 12px;
}
.footer-contact-row i { color: var(--brand); margin-top: 2px; flex-shrink: 0; font-size: 13px; }
.footer-contact-row a { color: inherit; transition: color var(--dur-xs); }
.footer-contact-row a:hover { color: var(--brand-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s16);
  padding-top: var(--s32);
  flex-wrap: wrap;
}
.footer-bottom-copy { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: var(--s24); }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.3); transition: color var(--dur-xs); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ================================================================
   19. PAGE HERO (sub-pages)
   ================================================================ */
.page-hero {
  padding-top: calc(var(--nav-h) + var(--s96));
  padding-bottom: var(--s80);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(42,157,143,0.10) 0%, transparent 60%);
  pointer-events: none;
}

/* ================================================================
   20. PRODUCT PAGE
   ================================================================ */
.product-hero {
  min-height: 75vh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + var(--s64));
  padding-bottom: var(--s80);
  position: relative;
  overflow: hidden;
}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s80);
  align-items: center;
}
.product-hero-img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 480px;
}
.product-hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.product-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s80);
  align-items: start;
}
.product-split.flip { direction: rtl; }
.product-split.flip > * { direction: ltr; }

/* ── Sticky-right variant: left content scrolls, right card stays fixed ── */
.product-split--sticky > :last-child {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  height: max-content;
}

/* ── Legacy include-item (kept for any remaining use) ── */
.product-includes { display: flex; flex-direction: column; gap: 12px; }
.include-item {
  display: flex;
  gap: 14px;
  padding: var(--s16) var(--s20);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: all var(--dur-sm) var(--ease);
}
.include-item:hover { border-color: rgba(42,157,143,0.4); background: var(--brand-xlight); }
.include-item-icon { color: var(--brand); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.include-item h4 { font-size: 0.9rem; margin-bottom: 3px; }
.include-item p { font-size: 0.82rem; color: var(--text-2); line-height: 1.6; }

/* ================================================================
   SERVICE STEPS — scrollable leistungsumfang steps
   (left column next to sticky price card)
   ================================================================ */
.service-steps {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
}

.service-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding-block: 40px;
  position: relative;
  align-items: flex-start;
}

/* Vertical connecting line between steps */
.service-step + .service-step::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--brand) 0%, var(--line) 100%);
  opacity: 0.35;
}

/* ── Step head: icon circle + number ── */
.service-step-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.service-step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 18px;
  flex-shrink: 0;
  transition: background var(--dur-sm) var(--ease), box-shadow var(--dur-sm) var(--ease);
  box-shadow: 0 0 0 4px var(--brand-xlight);
}

.service-step:hover .service-step-circle {
  background: var(--brand-xlight);
  box-shadow: 0 0 0 6px var(--brand-xlight);
}

.service-step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.05em;
  line-height: 1;
}

/* ── Step body ── */
.service-step-body {
  padding-top: 10px;
}

.service-step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.35;
}

.service-step-body p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-2);
  margin: 0;
}

/* ── Mobile: steps go full width, less padding ── */
@media (max-width: 1024px) {
  .service-step {
    padding-block: 28px;
    grid-template-columns: 52px 1fr;
    gap: 18px;
  }
  .service-step-circle {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .service-step + .service-step::before {
    left: 25px;
    z-index: 0;
  }
  /* Linie unterhalb des Kreises bis zum Ende des Schritts (füllt die Lücke) */
  .service-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 25px;
    top: calc(28px + 44px); /* padding-top + circle-height */
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand), var(--line));
    opacity: 0.35;
    z-index: 0;
  }
  .service-step-body h3 {
    font-size: 1rem;
  }
}

/* Pricing card */
.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--s48);
  text-align: center;
  position: relative;
}
.pricing-card.featured { border-color: var(--brand); box-shadow: var(--s-brand), var(--s-lg); }
.pricing-badge {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.pricing-num {
  font-family: var(--f-display);
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text);
  line-height: 1;
  margin-block: var(--s20) 6px;
}
.pricing-num sup { font-size: 1.6rem; vertical-align: top; margin-top: 8px; }
.pricing-note { font-size: 0.82rem; color: var(--text-3); margin-bottom: var(--s32); }
.pricing-features { text-align: left; display: flex; flex-direction: column; gap: 11px; margin-bottom: var(--s32); }
.pricing-features li { display: flex; gap: 10px; font-size: 0.875rem; color: var(--text-2); }
.pricing-features li i { color: var(--brand); flex-shrink: 0; margin-top: 1px; }

/* ================================================================
   21. CONTACT
   ================================================================ */
.contact-methods { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: var(--s64); }
.contact-method {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: 10px;
  padding: var(--s24) var(--s16);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  transition: all var(--dur-md) var(--ease);
  text-decoration: none;
}
.contact-method:hover {
  border-color: rgba(42,157,143,0.4);
  transform: translateY(-4px);
  box-shadow: var(--s-lg);
}
.contact-method-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.ci-primary   { background: var(--brand-xlight);        color: var(--brand); }
.ci-whatsapp  { background: rgba(37,211,102,0.1);        color: #25d366; }
.ci-phone     { background: rgba(59,130,246,0.1);        color: #3b82f6; }
.ci-calendar  { background: rgba(217,119,6,0.1);         color: #d97706; }
[data-theme="dark"] .ci-whatsapp { background: rgba(37,211,102,0.12); }
[data-theme="dark"] .ci-phone    { background: rgba(59,130,246,0.12); }
[data-theme="dark"] .ci-calendar { background: rgba(217,119,6,0.12); }
.contact-method h3 { font-size: 0.875rem; font-weight: 700; color: var(--text); }
.contact-method p  { font-size: 0.78rem; color: var(--text-3); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--s80); align-items: start; }
.form-group { margin-bottom: var(--s20); }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-card);
  color: var(--text);
  font-size: 0.9rem;
  transition: all var(--dur-sm) var(--ease);
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s20); }

/* ================================================================
   22. BLOG PAGE
   ================================================================ */
.blog-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--s-lg);
  margin-bottom: var(--s64);
}
.blog-filter-bar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: var(--s64); }
.filter-btn {
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid var(--line);
  background: var(--bg-card);
  color: var(--text-2);
  transition: all var(--dur-sm) var(--ease);
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ================================================================
   23. ABOUT PAGE
   ================================================================ */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--dur-md) var(--ease);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--s-lg); border-color: rgba(42,157,143,0.3); }
.team-card-img {
  aspect-ratio: 3/4;
  background: var(--brand-xlight);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px; padding: var(--s32);
}
.team-card-body { padding: var(--s24); }
.team-card-body h3 { font-size: 1.2rem; margin-bottom: 3px; }
.team-role { font-size: 0.82rem; font-weight: 600; color: var(--brand); margin-bottom: 12px; }

.value-card {
  padding: var(--s32) var(--s24);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  transition: all var(--dur-md) var(--ease);
}
.value-card:hover { border-color: rgba(42,157,143,0.35); transform: translateY(-3px); box-shadow: var(--s-md); }
.value-icon { font-size: 2rem; color: var(--brand); margin-bottom: var(--s16); }
.value-card h3 { font-size: 1rem; margin-bottom: 8px; }

.job-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s24);
  padding: var(--s24) var(--s32);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: all var(--dur-md) var(--ease);
}
.job-card:hover { border-color: rgba(42,157,143,0.4); box-shadow: var(--s-md); transform: translateX(4px); }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.job-tag {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-3);
  background: var(--bg-alt);
  padding: 3px 10px;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
}

/* ================================================================
   24. UTILITY
   ================================================================ */
/* GSAP initial states */
.reveal, .reveal-left, .reveal-right, .reveal-up, .reveal-scale {
  will-change: transform, opacity;
}

/* WhatsApp-Button */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 54px; height: 54px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 6px 20px rgba(37,211,102,.40);
  z-index: 900;
  transition: all var(--dur-md) var(--ease);
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 10px 30px rgba(37,211,102,.55); }

.back-to-top {
  position: fixed;
  bottom: 96px; right: 28px;
  width: 42px; height: 42px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  box-shadow: var(--s-md);
  z-index: 900;
  opacity: 0; pointer-events: none;
  transition: all var(--dur-md) var(--ease);
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Legal */
.legal-content { color: var(--text-2); }
.legal-content h2 { font-size: 1.5rem; margin: var(--s48) 0 var(--s16); color: var(--text); }
.legal-content h3 { font-size: 1.1rem; margin: var(--s32) 0 var(--s12); color: var(--text); }
.legal-content p, .legal-content li { font-size: 0.9rem; line-height: 1.85; margin-bottom: var(--s16); }
.legal-content ul { padding-left: var(--s24); }
.legal-content ul li { list-style: disc; }
.legal-content a { color: var(--brand); }

/* Grid shortcuts */
.g2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--s32); }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s24); }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s24); }

/* ================================================================
   25. RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { display: none; }
  .hero-content { max-width: 640px; text-align: center; margin: 0 auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }

  .product-hero-grid { grid-template-columns: 1fr; }
  .product-hero-img-wrap { display: none; }
  .product-split { grid-template-columns: 1fr; }
  .product-split.flip { direction: ltr; }

  /* On mobile: show the calculator/price FIRST (top), then the content below */
  .product-split--sticky {
    display: flex;
    flex-direction: column-reverse;
  }
  /* Undo sticky on mobile — scroll normally */
  .product-split--sticky > :last-child {
    position: static;
    top: auto;
  }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-methods { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .blog-featured { grid-template-columns: 1fr !important; }
  .blog-featured-img { min-height: 240px !important; max-height: 280px; }

  .process-layout { grid-template-columns: 1fr; }
  .process-sticky-head { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(2,1fr); }
  .g3 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root { --s128: 80px; --s96: 56px; --s160: 100px; }

  .nav-links, .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }

  /* Trust-Bar: 2×2 Grid statt 4er-Reihe */
  .trust-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s24) var(--s16);
    justify-items: center;
  }
  .trust-sep { display: none; }
  .trust-num { font-size: 1.8rem; }

  /* USP-Grid: 1 Spalte auf Mobile (überschreibt Inline-Style) */
  #warum-wir .stagger { grid-template-columns: 1fr !important; }

  /* Services Carousel: natives Scroll-Snap auf Mobile */
  .services-hs-section { overflow: visible; }
  .services-hs-viewport {
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services-hs-viewport::-webkit-scrollbar { display: none; }
  .svc-card {
    width: calc(100vw - 80px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .hs-arrows { display: flex; }      /* Arrows auf Mobile anzeigen */
  .hs-dots-desktop { display: none; } /* Desktop-dots auf Mobile verstecken */

  /* Hero: kleinere Headline, angenehme Lesbarkeit (Apple HIG ~34–40px Display) */
  .hero-display { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-sub { font-size: 1.0625rem; line-height: 1.7; }
  .hero-trust { gap: var(--s12); }
  .hero-trust-item { font-size: 0.875rem; }

  /* Problem-Section: Typografie nach Apple/Material-Empfehlung */
  .problem-num { font-size: 5rem; }
  .text-h3 { font-size: clamp(1.2rem, 4vw, 1.5rem); }
  .problems-list p { font-size: 1rem; line-height: 1.75; }

  /* Stats: weniger Padding, kleinere Zahl damit Labels nicht abgeschnitten */
  .stat-item { padding: var(--s24) var(--s12); }
  .stat-num { font-size: clamp(2.2rem, 10vw, 3rem); }
  .stat-label { font-size: 0.8rem; }

  .problems-list { gap: var(--s64); }
  .problem-split { grid-template-columns: 1fr; }
  .problem-split.flip { direction: ltr; }
  .problem-card-visual { display: none; }

  .blog-grid { grid-template-columns: 1fr; }
  .g2 { grid-template-columns: 1fr; }
  .g3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: var(--s12); }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  .contact-methods { grid-template-columns: repeat(2,1fr); }
  .contact-method { height: 195px; overflow: hidden; }
  .form-row { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }

  /* Über uns – Gründer: Text zuerst, Bild darunter */
  .founder-grid {
    grid-template-columns: 1fr !important;
    gap: var(--s48) !important;
  }
  .founder-grid .reveal-left  { order: 2; }
  .founder-grid .reveal-right { order: 1; }
  .founder-grid .team-card    { max-width: 100% !important; }

  /* Über uns – Kundenbeziehung: Text oben, Bild-Card unten */
  .kunden-grid {
    grid-template-columns: 1fr !important;
    gap: var(--s48) !important;
  }

  /* Blog featured card: stack vertically on mobile */
  .blog-featured { grid-template-columns: 1fr !important; }
  .blog-featured-img { min-height: 220px !important; max-height: 260px; }
  .blog-featured > div:last-child { padding: var(--s24) !important; }

  /* Artikel-CTA: Padding reduzieren & Button auf volle Breite */
  .artikel-cta { padding: var(--s24) !important; }
  .artikel-cta .btn {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--s16); }
  /* Noch kleinere Screens: Hero kompakter */
  .hero-display { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .wa-float { bottom: 16px; right: 16px; }
  .back-to-top { bottom: 80px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Accessibility: visually hidden but screen-reader accessible ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ================================================================
   PAKET-FINDER WIZARD OVERLAY
   ================================================================ */

/* Overlay backdrop */
#wizard-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 1;
  transition: opacity .2s ease;
  pointer-events: all;
}
#wizard-overlay.closing { opacity: 0; }

.wizard-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 26, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
}

/* Wizard panel (replaces iframe – works on file:// and all browsers) */
.wizard-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  height: min(720px, 90vh);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28), 0 0 0 1px rgba(255,255,255,0.06);
  background: var(--bg, #fff);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-body, system-ui, -apple-system, 'Segoe UI', sans-serif);
}
@media (max-width: 480px) {
  .wizard-panel { border-radius: 14px; height: min(740px, 96vh); }
}

/* ── Wizard inner components ── */
.wz-head {
  flex-shrink: 0;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--line, #e8eaf0);
  background: var(--bg, #fff);
}
.wz-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
}
.wz-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text, #1a1a2e);
}
.wz-step-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3, #8888a0);
  letter-spacing: .04em;
  flex: 1;
  text-align: center;
}
.wz-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-3, #8888a0);
  font-size: 16px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.wz-close:hover { background: var(--bg-alt, #f8f9fb); color: var(--text, #1a1a2e); }

.wz-prog-track {
  height: 4px;
  background: var(--line, #e8eaf0);
  border-radius: 4px;
  overflow: hidden;
}
.wz-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand, #2a9d8f), #1f7d72);
  border-radius: 4px;
  transition: width .45s cubic-bezier(.4,0,.2,1);
  width: 0%;
}

.wz-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 20px;
  -webkit-overflow-scrolling: touch;
  background: var(--bg, #fff);
  color: var(--text, #1a1a2e);
}
.wz-body::-webkit-scrollbar { width: 4px; }
.wz-body::-webkit-scrollbar-thumb { background: var(--line, #e8eaf0); border-radius: 4px; }

/* Start screen */
.wz-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 0 4px;
}
.wz-start-icon {
  width: 64px; height: 64px;
  background: #e8f7f5;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--brand, #2a9d8f);
  margin-bottom: 16px;
}
.wz-start-h {
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--text, #1a1a2e);
}
.wz-grad {
  background: linear-gradient(135deg, var(--brand, #2a9d8f) 0%, #3cbfb0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.wz-start-p {
  font-size: 13.5px;
  color: var(--text-2, #4a4a68);
  line-height: 1.7;
  margin-bottom: 18px;
}
.wz-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--text-2, #4a4a68);
}
.wz-meta i { color: var(--brand, #2a9d8f); margin-right: 3px; }

/* Question */
.wz-q-head {
  font-size: clamp(.95rem, 3.5vw, 1.15rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
  color: var(--text, #1a1a2e);
}
.wz-q-sub {
  font-size: 12px;
  color: var(--text-3, #8888a0);
  margin-bottom: 16px;
}
.wz-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wz-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid var(--line, #e8eaf0);
  border-radius: 14px;
  cursor: pointer;
  background: var(--bg, #fff);
  text-align: left;
  width: 100%;
  transition: border-color .15s, background .15s;
}
.wz-opt:hover, .wz-opt-sel {
  border-color: var(--brand, #2a9d8f);
  background: #e8f7f5;
}
.wz-opt-icon {
  width: 36px; height: 36px;
  background: var(--bg-alt, #f8f9fb);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--brand, #2a9d8f);
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.wz-opt-sel .wz-opt-icon { background: var(--brand, #2a9d8f); color: #fff; }
.wz-opt-txt { font-size: 13px; font-weight: 500; color: var(--text, #1a1a2e); line-height: 1.4; }

/* Result */
.wz-res-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #e8f7f5; color: var(--brand, #2a9d8f);
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  margin-bottom: 8px;
}
.wz-res-h {
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: 800; line-height: 1.35; margin-bottom: 16px;
  color: var(--text, #1a1a2e);
}
.wz-res-primary {
  background: linear-gradient(135deg, var(--brand, #2a9d8f) 0%, #1f7d72 100%);
  border-radius: 18px; padding: 18px; color: #fff; margin-bottom: 10px;
}
.wz-res-phead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.wz-res-picon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,.2); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; flex-shrink: 0;
}
.wz-res-phead strong { font-size: .95rem; font-weight: 700; display: block; }
.wz-res-phead small  { font-size: 11px; opacity: .8; }
.wz-res-primary p    { font-size: 12.5px; line-height: 1.65; opacity: .9; margin-bottom: 13px; }
.wz-res-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--brand, #2a9d8f);
  padding: 8px 14px; border-radius: 10px;
  font-weight: 700; font-size: 12px; text-decoration: none;
  transition: opacity .15s;
}
.wz-res-link:hover { opacity: .88; }
.wz-res-secondary {
  border: 2px solid var(--line, #e8eaf0);
  border-radius: 18px; padding: 14px; margin-bottom: 10px;
  background: var(--bg, #fff);
}
.wz-res-shead { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.wz-res-sicon {
  width: 32px; height: 32px;
  background: #e8f7f5; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--brand, #2a9d8f); flex-shrink: 0;
}
.wz-res-shead strong { font-size: 13px; font-weight: 700; color: var(--text, #1a1a2e); }
.wz-res-slbl { font-size: 10px; color: var(--text-3, #8888a0); }
.wz-res-secondary p { font-size: 12px; color: var(--text-2, #4a4a68); line-height: 1.6; margin-bottom: 7px; }
.wz-res-secondary a { font-size: 12px; color: var(--brand, #2a9d8f); font-weight: 600; text-decoration: none; }
.wz-res-secondary a:hover { text-decoration: underline; }
.wz-res-cta {
  background: var(--bg-alt, #f8f9fb);
  border-radius: 14px; padding: 14px; text-align: center;
}
.wz-res-cta p { font-size: 12.5px; color: var(--text-2, #4a4a68); line-height: 1.65; margin-bottom: 10px; }

/* Footer */
.wz-foot {
  flex-shrink: 0;
  padding: 12px 18px;
  border-top: 1px solid var(--line, #e8eaf0);
  display: flex; gap: 9px; justify-content: flex-end; align-items: center;
  background: var(--bg, #fff);
}

/* Wizard buttons (scoped to avoid clashing with site .btn) */
.wz-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 10px;
  font-weight: 600; font-size: 13px;
  cursor: pointer; border: none; text-decoration: none;
  transition: all .15s; white-space: nowrap;
  font-family: inherit;
}
.wz-btn-primary {
  background: linear-gradient(135deg, var(--brand, #2a9d8f), #1f7d72);
  color: #fff;
}
.wz-btn-primary:hover:not(:disabled) { opacity: .9; transform: translateY(-1px); }
.wz-btn-primary:disabled { opacity: .4; cursor: not-allowed; pointer-events: none; }
.wz-btn-ghost { background: var(--bg-alt, #f8f9fb); color: var(--text-2, #4a4a68); }
.wz-btn-ghost:hover { background: var(--line, #e8eaf0); }
.wz-btn-lg { padding: 11px 22px; font-size: 14px; }

/* Animation */
.wz-fade { animation: wzFadeUp .28s ease both; }
@keyframes wzFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Nav trigger button – hide on narrow viewports */
.wizard-trigger-btn {
  white-space: nowrap;
}
@media (max-width: 900px) {
  .wizard-trigger-btn { display: none !important; }
}


/* ================================================================
   POTENZIALRECHNER — Calculator Components
   ================================================================ */

/* ── Wrapper ── */
.calc-wrap {
  width: 100%;
}

/* ── Card base ── */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--line-md);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  will-change: opacity, transform;
}

/* ── Intro card ── */
.calc-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-xlight);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 26px;
  margin: 0 auto 20px;
}

.calc-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin: 0 0 10px;
  line-height: 1.35;
}

.calc-sub {
  font-size: 14px;
  color: var(--text-2);
  text-align: center;
  line-height: 1.65;
  margin: 0 0 20px;
}

.calc-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-bullets li {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-bullets li i {
  color: var(--brand);
  font-size: 12px;
  flex-shrink: 0;
}

.calc-disclaimer {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  margin: 12px 0 0;
}

/* ── Progress bar ── */
.calc-progress {
  height: 4px;
  background: var(--line-md);
  border-radius: 99px;
  margin-bottom: 20px;
  overflow: hidden;
}

.calc-progress-bar {
  height: 100%;
  background: var(--brand);
  border-radius: 99px;
  transition: width .3s ease;
}

.calc-step-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 10px;
}

.calc-q-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin: 0 0 8px;
}

.calc-hint {
  font-size: 13px;
  color: var(--text-3);
  margin: 0 0 16px;
  line-height: 1.55;
}

/* ── Option buttons ── */
.calc-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.calc-options--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .calc-options--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.calc-option {
  background: var(--bg-alt);
  border: 1.5px solid var(--line-md);
  border-radius: var(--r-md);
  padding: 14px 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  text-align: center;
  transition: border-color .15s, background .15s, color .15s, transform .1s;
  line-height: 1.35;
  font-family: inherit;
}

.calc-option i {
  font-size: 20px;
  color: var(--brand);
}

.calc-option:hover {
  border-color: var(--brand);
  background: var(--brand-xlight);
  color: var(--text);
  transform: translateY(-1px);
}

.calc-option:active {
  transform: translateY(0);
}

/* ── Slider ── */
.calc-slider-wrap {
  margin-top: 16px;
}

.calc-slider-val {
  text-align: center;
  margin-bottom: 12px;
}

.calc-slider-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.calc-slider-unit {
  font-size: 1rem;
  color: var(--text-3);
  margin-left: 4px;
  font-weight: 500;
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--line-md);
  border-radius: 99px;
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
  border: 2px solid #fff;
  transition: transform .1s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.calc-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 6px;
}

/* ── Back button ── */
.calc-back-btn {
  background: none;
  border: none;
  color: var(--text-3);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  transition: color .15s;
}

.calc-back-btn:hover {
  color: var(--text);
}

/* ── Result card ── */
.calc-result-header {
  text-align: center;
  margin-bottom: 24px;
}

.calc-result-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-xlight);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 24px;
  margin: 0 auto 16px;
}

.calc-result-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.calc-result-sub {
  font-size: 13px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.55;
}

/* ── Metrics (prozess result) ── */
.calc-result-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.calc-metric {
  background: var(--bg-alt);
  border: 1px solid var(--line-md);
  border-radius: var(--r-md);
  padding: 16px 12px;
  text-align: center;
}

.calc-metric--brand {
  background: var(--brand-xlight);
  border-color: var(--brand);
}

.calc-metric-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 4px;
}

.calc-metric--brand .calc-metric-val {
  color: var(--brand);
}

.calc-metric-label {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ── Tier box (agenten / beratung result) ── */
.calc-result-tier {
  background: var(--brand-xlight);
  border: 1px solid var(--brand);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-bottom: 16px;
  text-align: center;
}

.calc-tier-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 6px;
}

.calc-tier-invest {
  font-size: 14px;
  color: var(--text-2);
}

.calc-tier-invest strong {
  color: var(--text);
}

.calc-tier-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
  margin-top: 8px;
  background: rgba(var(--brand-rgb, 99,102,241), .1);
  padding: 4px 10px;
  border-radius: 99px;
}

/* ── Info note ── */
.calc-result-note {
  background: var(--bg-alt);
  border: 1px solid var(--line-md);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.calc-result-note i {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── CTA block ── */
.calc-result-cta-wrap {
  margin-bottom: 4px;
}

.calc-result-cta-sub {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  margin: 8px 0 0;
  line-height: 1.55;
}

/* ================================================================
   GEO — Festpreis + Custom Box (webseitenoptimierung)
   ================================================================ */

.calc-geo-wrap {
  width: 100%;
}

/* ── Simple 2-column layout: main card + custom box ── */
.calc-geo-simple {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 540px) {
  .calc-geo-simple {
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
  }
  .calc-geo-main  { flex: 1 1 0; }
  .calc-geo-custom { flex: 0 0 200px; }
}

/* ── Main price card ── */
.calc-geo-main {
  background: var(--bg-card);
  border: 2px solid var(--brand);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 4px var(--brand-xlight);
}

/* ── Custom / contact box ── */
.calc-geo-custom {
  background: var(--bg-alt);
  border: 1.5px solid var(--line-md);
  border-radius: var(--r-xl);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.calc-geo-custom-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--line-md);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 18px;
  margin: 0 auto;
}

.calc-geo-custom h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.35;
}

.calc-geo-custom p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* ── Shared badge ── */
.calc-geo-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-3);
  background: var(--bg-alt);
  border: 1px solid var(--line-md);
  border-radius: 99px;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 16px;
  align-self: flex-start;
}

.calc-geo-badge--brand {
  color: var(--brand);
  background: var(--brand-xlight);
  border-color: var(--brand);
}

/* ── Icon in main card ── */
.calc-geo-card-icon {
  width: 52px;
  height: 52px;
  background: var(--brand-xlight);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 22px;
  margin-bottom: 16px;
}

/* ── Price ── */
.calc-geo-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4px;
}

.calc-geo-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-3);
}

.calc-geo-price-note {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 18px;
}

/* ── Feature list ── */
.calc-geo-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.calc-geo-features--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

.calc-geo-features li {
  font-size: 13px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.calc-geo-features li i {
  color: var(--brand);
  font-size: 11px;
  flex-shrink: 0;
}

/* ── Responsive: on small screens the calc card fills full width ── */
@media (max-width: 600px) {
  .calc-card {
    padding: 24px 18px;
  }
  .calc-result-metrics {
    grid-template-columns: 1fr;
  }
  .calc-metric-val {
    font-size: 1.1rem;
  }
}
