/* =============================================================
   IMENDIT — Relaunch
   Frosted Glass / Glassmorphism · Light/Dark · Orange Accent
   ============================================================= */

:root {
  /* Akzentfarben (Logo-Orange) */
  --accent: #F5A423;
  --accent-hover: #E09317;
  --accent-2: #F87316;
  --accent-3: #FFBF57;
  --accent-glow: rgba(245, 164, 35, 0.4);
  --accent-soft: rgba(245, 164, 35, 0.15);
  --gradient-primary: linear-gradient(135deg, #F5A423 0%, #F87316 100%);

  --ok: #34d399;
  --warn: #fbbf24;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
}

/* ---------- Dark Theme (Default) ---------- */
:root,
[data-theme="dark"] {
  --bg: #0a0f1e;
  --bg-0: #070a15;
  --bg-1: #0a0f1e;
  --bg-2: #0f1529;
  --bg-secondary: #111827;

  --text: rgba(255, 255, 255, 0.95);
  --text-strong: #f4f6fb;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-tertiary: rgba(255, 255, 255, 0.45);
  --text-dim: rgba(255, 255, 255, 0.65);
  --text-mute: rgba(255, 255, 255, 0.45);

  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-hover: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-soft: 0 12px 40px -12px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.05),
                 0 20px 60px -20px var(--accent-glow);

  --body-bg:
    radial-gradient(1200px 800px at 80% -10%, rgba(245, 164, 35, 0.18), transparent 60%),
    radial-gradient(900px 700px at -10% 10%, rgba(248, 115, 22, 0.14), transparent 60%),
    linear-gradient(180deg, #070a15 0%, #0a0f1e 40%, #080c1a 100%);

  --blob-1: radial-gradient(circle, #F5A423 0%, transparent 70%);
  --blob-2: radial-gradient(circle, #F87316 0%, transparent 70%);
  --blob-3: radial-gradient(circle, #FFBF57 0%, transparent 70%);

  --logo-text: var(--text-strong);
  --hero-strong: #fff;
  --card-link: #fcd9a0;
  --card-link-hover: #fde6c2;

  --grid-line: rgba(255, 255, 255, 0.03);
}

/* ---------- Light Theme ---------- */
[data-theme="light"] {
  --bg: #f5f7fa;
  --bg-0: #eef1f6;
  --bg-1: #f5f7fa;
  --bg-2: #ffffff;
  --bg-secondary: #ffffff;

  --text: #1a1a2e;
  --text-strong: #0f0f1e;
  --text-secondary: #4a4a5e;
  --text-tertiary: #7a7a8e;
  --text-dim: #4a4a5e;
  --text-mute: #7a7a8e;

  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.9);
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);

  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 12px 40px -12px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 0 1px rgba(0, 0, 0, 0.04),
                 0 20px 60px -20px rgba(245, 164, 35, 0.35);

  --body-bg:
    radial-gradient(1200px 800px at 80% -10%, rgba(245, 164, 35, 0.14), transparent 60%),
    radial-gradient(900px 700px at -10% 10%, rgba(248, 115, 22, 0.10), transparent 60%),
    linear-gradient(180deg, #f5f7fa 0%, #ffffff 40%, #f0f3f8 100%);

  --blob-1: radial-gradient(circle, rgba(245, 164, 35, 0.7) 0%, transparent 70%);
  --blob-2: radial-gradient(circle, rgba(248, 115, 22, 0.55) 0%, transparent 70%);
  --blob-3: radial-gradient(circle, rgba(255, 191, 87, 0.5) 0%, transparent 70%);

  --logo-text: var(--text-strong);
  --hero-strong: #0f0f1e;
  --card-link: #c2800d;
  --card-link-hover: #E09317;

  --grid-line: rgba(0, 0, 0, 0.04);
}

/* ---------- Auto-Detection wenn kein data-theme gesetzt ---------- */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f5f7fa;
    --bg-0: #eef1f6;
    --bg-1: #f5f7fa;
    --bg-2: #ffffff;
    --bg-secondary: #ffffff;
    --text: #1a1a2e;
    --text-strong: #0f0f1e;
    --text-secondary: #4a4a5e;
    --text-tertiary: #7a7a8e;
    --text-dim: #4a4a5e;
    --text-mute: #7a7a8e;
    --surface: rgba(255, 255, 255, 0.7);
    --surface-strong: rgba(255, 255, 255, 0.9);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.9);
    --border: rgba(0, 0, 0, 0.08);
    --border-strong: rgba(0, 0, 0, 0.14);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 12px 40px -12px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 0 1px rgba(0, 0, 0, 0.04),
                   0 20px 60px -20px rgba(245, 164, 35, 0.35);
    --body-bg:
      radial-gradient(1200px 800px at 80% -10%, rgba(245, 164, 35, 0.14), transparent 60%),
      radial-gradient(900px 700px at -10% 10%, rgba(248, 115, 22, 0.10), transparent 60%),
      linear-gradient(180deg, #f5f7fa 0%, #ffffff 40%, #f0f3f8 100%);
    --blob-1: radial-gradient(circle, rgba(245, 164, 35, 0.7) 0%, transparent 70%);
    --blob-2: radial-gradient(circle, rgba(248, 115, 22, 0.55) 0%, transparent 70%);
    --blob-3: radial-gradient(circle, rgba(255, 191, 87, 0.5) 0%, transparent 70%);
    --logo-text: var(--text-strong);
    --hero-strong: #0f0f1e;
    --card-link: #c2800d;
    --card-link-hover: #E09317;
    --grid-line: rgba(0, 0, 0, 0.04);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }

/* ---------- Base ---------- */
html, body { background: var(--bg-0); color: var(--text); }
body {
  font-family: "MetaOT", "Meta OT", "FF Meta", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--body-bg);
  transition: background 0.4s var(--ease), color 0.3s var(--ease);
}

h1, h2, h3, h4 {
  font-family: "MetaOT", "Meta OT", "FF Meta", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--text-strong);
}
h1 { font-weight: 800; }

h1 { font-size: clamp(2.4rem, 5vw + 0.5rem, 4.2rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.6rem, 2.6rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); }

p { color: var(--text-dim); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3vw, 2rem);
}

.grad {
  background: linear-gradient(135deg, #F5A423 0%, #F87316 60%, #FFBF57 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent-glow);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--text-strong); color: var(--bg); padding: 10px 14px; border-radius: 6px;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 1000; }

/* ---------- Animated background ---------- */
.bg-wrap {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden;
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.45;
  animation: float 22s ease-in-out infinite;
  will-change: transform;
}
.blob-1 {
  width: 520px; height: 520px; left: -120px; top: -140px;
  background: var(--blob-1);
}
.blob-2 {
  width: 480px; height: 480px; right: -100px; top: 20vh;
  background: var(--blob-2);
  animation-delay: -7s;
}
.blob-3 {
  width: 560px; height: 560px; left: 25vw; bottom: -180px;
  background: var(--blob-3);
  animation-delay: -14s;
  opacity: 0.3;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, 40px) scale(1.08); }
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 90%);
}

/* ---------- Glass primitive ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    var(--shadow-soft);
  border-radius: var(--radius-lg);
}

/* Light-Mode: Karten klarer abheben vom hellen Seitenhintergrund */
[data-theme="light"] .usp,
[data-theme="light"] .tco-stat,
[data-theme="light"] .pain-card,
[data-theme="light"] .scope-item,
[data-theme="light"] .process-step,
[data-theme="light"] .testimonial,
[data-theme="light"] .related-card,
[data-theme="light"] .service-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 10px 30px -12px rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .usp:hover,
[data-theme="light"] .tco-stat:hover,
[data-theme="light"] .pain-card:hover,
[data-theme="light"] .scope-item:hover,
[data-theme="light"] .testimonial:hover,
[data-theme="light"] .related-card:hover,
[data-theme="light"] .service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 20px 40px -16px rgba(0, 0, 0, 0.18);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent;
  --bdr: var(--border-strong);
  --fg: var(--text);
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--bdr);
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  --bg: var(--gradient-primary);
  --bdr: transparent;
  color: #fff;
  box-shadow: 0 14px 40px -14px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
  box-shadow: 0 20px 50px -12px rgba(245, 164, 35, 0.75), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-ghost {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: var(--glass-hover);
  border-color: var(--border-strong);
}

.btn-sm { padding: 0.65rem 1.05rem; font-size: 0.88rem; }

/* Ripple */
.btn .ripple {
  position: absolute; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.28);
  width: 0; height: 0;
  pointer-events: none;
  animation: ripple 0.6s ease-out forwards;
}
@keyframes ripple {
  to { width: 420px; height: 420px; opacity: 0; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}
.header-actions {
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: "MetaOT", "Meta OT", "FF Meta", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700; font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.logo-img {
  width: 40px; height: 40px;
  border-radius: 9px;
  object-fit: contain;
}
.logo-img.sm { width: 32px; height: 32px; }
.logo-text {
  color: var(--logo-text);
  letter-spacing: 0.02em; /* innerhalb der Silben eng */
}
.logo-text > span + span {
  margin-left: 0.12em; /* kleine Zusatzluft an den Silbengrenzen: I·MEND·IT */
}

.main-nav ul { display: flex; gap: 2rem; align-items: center; }
.main-nav a {
  font-size: 0.95rem; color: var(--text-dim);
  transition: color .2s var(--ease);
  position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .25s var(--ease);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { transform: scaleX(1); }

.nav-cta { white-space: nowrap; }

/* ---------- Theme Toggle ---------- */
.theme-toggle {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--glass-bg);
  color: var(--text);
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.theme-toggle:hover {
  background: var(--glass-hover);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.theme-toggle svg { transition: opacity .25s var(--ease), transform .4s var(--ease); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--glass-bg);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--text);
  border-radius: 1px; transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav a {
  display: block; padding: 0.8rem 1rem;
  border-radius: 10px;
  color: var(--text);
  border: 1px solid transparent;
}
.mobile-nav a:hover { background: var(--surface); border-color: var(--border); }
.mobile-nav .btn { justify-content: center; margin-top: 0.5rem; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 1.3rem; }
.hero-copy h1 { margin-bottom: 1.2rem; }
.hero-copy .lead {
  font-size: 1.1rem;
  max-width: 36rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1rem; }

/* ---------- Hero Assurance (Risikoumkehr unter CTA) ---------- */
.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
  padding: 0;
  margin: 0 0 2.2rem;
  font-size: 0.88rem;
  color: var(--text-mute);
}
.hero-assurance li {
  position: relative;
  padding-left: 18px;
}
.hero-assurance li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Apple Consultants Network Badge ---------- */
.apple-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}
.apple-badge:hover {
  border-color: var(--accent);
  background: var(--glass-hover);
}
.apple-badge .apple-icon {
  opacity: 0.9;
  flex-shrink: 0;
}

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
}
.hero-meta li { display: flex; flex-direction: column; }
.hero-meta strong {
  font-family: "MetaOT", "Meta OT", "FF Meta", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.65rem; color: var(--hero-strong);
  line-height: 1;
}
.hero-meta span { font-size: 0.82rem; color: var(--text-mute); margin-top: 0.25rem; }

/* ---------- Hero Visual (Dashboard Mockup) ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
  perspective: 1200px;
}
.dashboard-card {
  width: 100%;
  max-width: 440px;
  padding: 1.4rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 30px 70px -30px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    var(--card-shadow);
  transform-style: preserve-3d;
  transition: transform .8s var(--ease);
  position: relative;
}
.tilt { transform: rotateX(4deg) rotateY(-6deg); }

.panel-head {
  display: flex; align-items: center; gap: 0.4rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.1rem;
}
.traffic {
  width: 11px; height: 11px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);
}
.traffic.r { background: #ff5f57; }
.traffic.y { background: #febc2e; }
.traffic.g { background: #28c840; }
.panel-title {
  margin-left: auto;
  font-size: 0.78rem; color: var(--text-mute);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  letter-spacing: 0.04em;
}
.panel-body { display: flex; flex-direction: column; gap: 1rem; }
.stat { display: flex; flex-direction: column; gap: 0.4rem; }
.stat-label {
  font-size: 0.78rem; color: var(--text-mute);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.stat-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
}
.stat-val {
  font-family: "MetaOT", "Meta OT", "FF Meta", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem; color: var(--hero-strong); font-weight: 600;
}
.pill {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 999px;
  flex-shrink: 0;
}
.pill-ok { background: rgba(52, 211, 153, 0.15); color: var(--ok); border: 1px solid rgba(52, 211, 153, 0.3); }
.pill-warn { background: rgba(251, 191, 36, 0.15); color: var(--warn); border: 1px solid rgba(251, 191, 36, 0.3); }

.bar {
  height: 6px; border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.bar > span {
  display: block; height: 100%;
  width: var(--w, 0%);
  background: var(--gradient-primary);
  border-radius: inherit;
  animation: fill 1.6s var(--ease) both;
}
@keyframes fill { from { width: 0; } }

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: 1.2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.trust-bar ul {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.trust-bar li {
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: var(--text-dim); font-size: 0.9rem;
}
.trust-bar li svg { color: var(--accent); opacity: 0.9; }

/* ---------- Sections ---------- */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}
.section-head {
  max-width: 760px; margin-bottom: 3rem;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- References / Marquee ---------- */
.section-references {
  padding: 80px 0 60px;
  overflow: hidden;
}
.section-references .container {
  margin-bottom: 40px;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 16px 0; /* Platz oben/unten für Hover-Translate + Shadow, ohne Overflow-Clip */
  mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  flex: 0 0 auto;
  width: 140px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: all 0.3s ease;
}
.marquee-item:hover {
  background: var(--glass-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}
.marquee-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.75;
  transition: all 0.3s ease;
}

/* Dark Mode: transparente WebPs + Filter für weiße Silhouetten-Optik */
[data-theme="dark"] .marquee-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .marquee-item:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(245, 164, 35, 0.15);
}
[data-theme="dark"] .marquee-item img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}
[data-theme="dark"] .marquee-item:hover img {
  filter: none;
  opacity: 1;
}

/* Light Mode: Logos auf normalem Chip, grayscale mit Farbe bei Hover */
[data-theme="light"] .marquee-item img {
  filter: grayscale(100%);
  opacity: 0.7;
}
[data-theme="light"] .marquee-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .marquee-item {
    width: 110px;
    height: 65px;
    padding: 8px 14px;
  }
  .marquee-track {
    gap: 28px;
    animation-duration: 45s;
  }
}

/* ---------- Partnerschaften ---------- */
.section-partners {
  padding: 80px 0 100px;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 48px;
}
.partner-item {
  min-width: 0; /* verhindert Grid-Overflow durch intrinsische Bildbreite */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 20px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.partner-item:hover {
  background: var(--glass-hover);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px var(--accent-glow);
}
.partner-item img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 56px; /* normalisiert optische Grösse aller Logos */
  object-fit: contain;
  display: block;
  opacity: 0.8;
  transition: all 0.3s ease;
}

/* Dark Mode: Logos sind jetzt transparente WebPs → kein weißer Chip mehr nötig.
   Filter macht Logos zu einheitlichen weißen Silhouetten. Bei Hover: Original-Logos auf hellem Chip. */
[data-theme="dark"] .partner-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .partner-item:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(245, 164, 35, 0.15);
}
[data-theme="dark"] .partner-item img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}
[data-theme="dark"] .partner-item:hover img {
  filter: none;
  opacity: 1;
}

[data-theme="light"] .partner-item img {
  filter: grayscale(100%);
  opacity: 0.75;
}
[data-theme="light"] .partner-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Touch-Geräte: kein Hover — Logos immer vollfarbig zeigen */
@media (hover: none) {
  .partner-item img,
  [data-theme="dark"] .partner-item img,
  [data-theme="light"] .partner-item img {
    filter: none;
    opacity: 1;
  }
}

.partners-footnote {
  margin: 36px auto 0;
  max-width: 680px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .partner-item { padding: 16px 18px; border-radius: 14px; min-height: 96px; }
  .partner-item img { max-height: 48px; }
}
@media (max-width: 640px) {
  .section-partners { padding: 56px 0 70px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 32px; }
  .partner-item { padding: 14px 16px; border-radius: 12px; min-height: 80px; }
  .partner-item img { max-height: 40px; }
  .partners-footnote { font-size: 0.92rem; margin-top: 26px; }
}

/* ---------- Footer Social ---------- */
.footer-social {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Services / Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.card {
  padding: 1.8rem;
  position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 40%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 164, 35, 0.22), rgba(248, 115, 22, 0.22));
  border: 1px solid rgba(245, 164, 35, 0.3);
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: 0.5rem; color: var(--text-strong); }
.card p { margin-bottom: 1.2rem; }

.card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem; font-weight: 600;
  color: var(--accent);
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.card-link:hover { gap: 0.7rem; color: var(--accent-hover); }

.card-wide { grid-column: span 3; }

/* ---------- USPs ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.usp {
  padding: 2rem;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.usp:hover { transform: translateY(-3px); border-color: var(--accent); }
.usp-num {
  font-family: "MetaOT", "Meta OT", "FF Meta", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.85rem; color: var(--accent); font-weight: 600; letter-spacing: 0.1em;
}
.usp h3 { margin: 0.8rem 0 0.6rem; font-size: 1.3rem; }
.usp-metric {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--border);
  display: flex; flex-direction: column;
}
.usp-metric strong {
  font-family: "MetaOT", "Meta OT", "FF Meta", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.8rem; color: var(--hero-strong); line-height: 1;
}
.usp-metric span { color: var(--text-mute); font-size: 0.85rem; margin-top: 0.35rem; }

/* ---------- Repair Notice ---------- */
.repair-notice-wrap { padding: 1rem 0 3rem; }
.repair-notice {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.3rem 1.5rem;
  border-color: rgba(251, 191, 36, 0.25);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.06), rgba(251, 191, 36, 0.02));
  border-radius: var(--radius-md);
}
.rn-icon {
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(251, 191, 36, 0.14);
  color: var(--warn);
  border: 1px solid rgba(251, 191, 36, 0.25);
}
.repair-notice h3 {
  font-size: 1rem;
  color: var(--text-strong);
  margin-bottom: 0.3rem;
}
.repair-notice p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 0;
}
.repair-notice a {
  color: var(--accent-hover);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- Förder-Sektion ---------- */
.section-funding {
  padding: 100px 0;
  position: relative;
}
.funding-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.funding-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
}
.funding-card > * {
  position: relative;
  z-index: 1;
}
.funding-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}
.section-funding h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}
.funding-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 40px;
}
.funding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.funding-item-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.funding-item-label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.funding-note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 32px;
}
.funding-disclaimer {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 24px;
  max-width: 600px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .section-funding { padding: 64px 0; }
  .funding-card { padding: 32px 24px; }
  .funding-grid { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; }
  .funding-item-value { font-size: 32px; }
}

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-visual { position: relative; }
.portrait {
  padding: 2rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 360px;
  margin-inline: auto;
}
.portrait-inner {
  width: 220px; height: 220px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 20px 60px -20px var(--accent-glow),
    0 0 0 3px var(--glass-border),
    0 0 0 6px var(--glass-bg);
  margin-bottom: 1.3rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.portrait-inner:hover {
  transform: scale(1.02);
  box-shadow:
    0 28px 70px -20px var(--accent-glow),
    0 0 0 3px var(--accent),
    0 0 0 6px var(--glass-bg);
}
.portrait-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portrait-caption { display: flex; flex-direction: column; gap: 0.15rem; }
.portrait-caption strong { color: var(--text-strong); font-size: 1.05rem; }
.portrait-caption span { color: var(--text-mute); font-size: 0.88rem; }

.about-badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
  margin-top: 1.3rem;
}
.chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
a.chip:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.about-copy blockquote {
  font-family: "MetaOT", "Meta OT", "FF Meta", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.4rem;
  color: var(--text-strong);
  line-height: 1.4;
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.2rem;
  margin: 1.3rem 0 1.5rem;
}
.about-copy p + p { margin-top: 1rem; }
.about-copy h2 { margin: 0.6rem 0 1rem; }

/* ---------- CTA ---------- */
.cta-section { padding-bottom: clamp(5rem, 9vw, 8rem); }
.cta-box {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(245, 164, 35, 0.12), rgba(248, 115, 22, 0.08));
  border-color: rgba(245, 164, 35, 0.25);
}
.cta-box::after {
  content: ""; position: absolute;
  width: 500px; height: 500px;
  right: -200px; top: -200px;
  background: radial-gradient(circle, rgba(245, 164, 35, 0.35), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-copy h2 { margin: 0.6rem 0 1rem; }
.cta-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; position: relative; z-index: 1; }

.cta-contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem;
  padding-top: 0.4rem;
  position: relative; z-index: 1;
}
.cta-contact li { display: flex; flex-direction: column; gap: 0.2rem; }
.ct-label {
  font-size: 0.72rem;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.cta-contact a, .cta-contact li span:last-child {
  color: var(--text-strong); font-weight: 500; font-size: 1rem;
  transition: color .2s var(--ease);
}
.cta-contact a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 3rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-col h4 { margin-bottom: 1rem; color: var(--text-strong); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a { color: var(--text-dim); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-col li { color: var(--text-dim); font-size: 0.94rem; }
.footer-brand p { font-size: 0.94rem; max-width: 22rem; margin-top: 0.7rem; }

.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-mute);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .bar > span { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; margin-top: 1rem; }
  .about-inner { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-column: span 2; }
  .usp-grid { grid-template-columns: 1fr; }
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .trust-bar ul { justify-content: flex-start; }
}

/* Hero-Dashboard-Mockup auf Mobile ausblenden — drückt CTA unter den Fold */
@media (max-width: 768px) {
  .hero-visual { display: none; }
  .hero { padding-top: clamp(2rem, 5vw, 3.5rem); }
  .hero-meta strong { font-size: 1.4rem; }
  .hero-meta { gap: 1rem 1.6rem; }
  .hero-assurance { font-size: 0.82rem; }
}

@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .cta-contact { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.2rem 1.8rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; }
}

/* Focus styles */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Booking Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open {
  display: flex;
  animation: modal-fade 0.3s ease-out;
}
@keyframes modal-fade { from { opacity: 0 } to { opacity: 1 } }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-content {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  width: min(900px, 100%);
  height: min(800px, 90vh);
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.modal-header {
  position: relative;
  display: flex;
  align-items: center;
  padding: 12px 20px;
  min-height: 44px;
  border-bottom: 1px solid var(--glass-border);
  background: linear-gradient(to bottom, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
[data-theme="light"] .modal-header {
  background: linear-gradient(to bottom, #ececec, #dcdcdc);
}
.modal-header h2 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
  letter-spacing: 0.1px;
  white-space: nowrap;
  pointer-events: none;
}
/* macOS Traffic Lights */
.traffic-lights {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0;
}
.traffic-lights .tl {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  padding: 0;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: filter .15s ease;
  box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.3);
}
.traffic-lights .tl:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.traffic-lights .tl svg {
  width: 7px;
  height: 7px;
  opacity: 0;
  transition: opacity .12s ease;
  color: rgba(0,0,0,0.65);
  stroke-width: 1.75;
  stroke-linecap: round;
}
.modal-header:hover .traffic-lights .tl svg,
.traffic-lights:hover .tl svg,
.traffic-lights .tl:hover svg {
  opacity: 1;
}
.tl-close { background: #ff5f57; }
.tl-min   { background: #febc2e; }
.tl-zoom  { background: #28c840; }
.traffic-lights .tl:active { filter: brightness(0.88); }
/* Gedimmt wenn Modal nicht aktiv (macOS-like, rein optisch) */
@media (prefers-reduced-motion: reduce) {
  .traffic-lights .tl svg { transition: none; }
}

.modal-body {
  flex: 1;
  overflow: hidden;
  background: #fff;
}
.modal-body iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
body.modal-open {
  overflow: hidden;
}
/* Zoom-Toggle (gruen) */
.modal-content.is-zoomed {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  border-radius: 0;
}
.modal-content.is-zoomed + * , .modal.is-zoomed { padding: 0 !important; }
.modal.is-zoomed { padding: 0; }

@media (max-width: 640px) {
  .modal { padding: 0; }
  .modal-content {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    max-height: none;
  }
  .modal-header h2 {
    font-size: 14px;
  }
  /* Mobile: Symbole immer sichtbar (kein Hover-Konzept) */
  .traffic-lights .tl svg { opacity: 1; }
}

/* ---------- Utility: muted note ---------- */
.muted-note {
  font-size: 12px;
  color: var(--text-tertiary);
  font-style: normal;
}

/* ---------- FAQ ---------- */
.section-faq {
  padding: 100px 0;
}
.section-faq .section-header {
  text-align: center;
}
.section-faq .section-header .section-lead,
.section-lead {
  color: var(--text-secondary);
  font-size: 16px;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.faq-grid {
  display: grid;
  gap: 12px;
  margin-top: 40px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  transition: background 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.faq-item[open] {
  background: var(--glass-hover);
  border-color: var(--accent);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ""; }
.faq-item summary h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--text);
  line-height: 1.4;
}
.faq-icon {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-flex;
}
.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}
.faq-item summary:hover h3 { color: var(--accent); }
.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: 14px;
}
.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 15px;
  animation: faq-open 0.3s ease-out;
}
.faq-answer p { margin: 0; }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Footer Hours ---------- */
.footer-hours .muted-note {
  display: block;
  margin-top: 4px;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  z-index: 999;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-text h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--text);
}
.cookie-text p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}
.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.cookie-option em {
  color: var(--text-tertiary);
  font-style: normal;
  font-size: 12px;
}
.cookie-option.disabled { cursor: default; }
.cookie-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-actions .btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  justify-content: center;
  min-width: 140px;
}
.cookie-links {
  font-size: 12px;
  color: var(--text-tertiary);
  margin: 0;
  text-align: center;
}
.cookie-links a {
  color: var(--text-secondary);
  text-decoration: underline;
}
.cookie-links a:hover {
  color: var(--accent);
}
@media (max-width: 600px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 20px;
  }
  .cookie-actions .btn { min-width: 0; }
}

/* =============================================================
   Prozess-Sektion (So arbeiten wir)
   ============================================================= */
.section-process { padding: 100px 0; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  list-style: none;
  padding: 0;
  counter-reset: step;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--glass-border), transparent);
  z-index: 0;
}
.process-step {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.process-step:hover {
  background: var(--glass-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--accent-glow);
}
.process-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.process-body h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--text);
}
.process-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.process-meta {
  font-size: 12px;
  color: var(--text-tertiary);
  display: block;
}

@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
}
@media (max-width: 600px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* =============================================================
   Testimonial
   ============================================================= */
.section-testimonial { padding: 80px 0; }
.testimonial {
  max-width: 780px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 48px;
  position: relative;
  text-align: center;
}
.testimonial-quote {
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 20px;
}
.testimonial-text {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 32px;
  font-weight: 400;
  font-style: normal;
  quotes: "„" "\"" "‚" "'";
}
.testimonial-text::before { content: open-quote; }
.testimonial-text::after { content: close-quote; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-hover);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-weight: 700;
}
.testimonial-author strong {
  display: block;
  color: var(--text);
  font-size: 15px;
}
.testimonial-author span {
  color: var(--text-secondary);
  font-size: 13px;
}
@media (max-width: 640px) {
  .testimonial { padding: 32px 24px; }
  .testimonial-text { font-size: 17px; }
}

/* =============================================================
   Pricing
   ============================================================= */
.section-pricing { padding: 100px 0; }

.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 30px 24px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  background: var(--glass-hover);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.pricing-card-highlight {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--glass-bg), var(--accent-soft));
}
.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 6px 14px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 12px;
}
.pricing-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.pricing-scale {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.pricing-amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.pricing-unit {
  color: var(--text-secondary);
  font-size: 14px;
}
.pricing-per-device {
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}
.pricing-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Einzelleistungen Block */
.pricing-onetime {
  margin-top: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 32px 36px;
}
.pricing-onetime-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.pricing-onetime-inner h3 {
  font-size: 20px;
  margin: 6px 0 4px;
  color: var(--text);
}
.pricing-onetime-inner p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}
.pricing-onetime-numbers {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 32px;
}
.pricing-onetime-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.pricing-onetime-item strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  line-height: 1;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}
.pricing-onetime-item span {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 1100px) {
  .pricing-tiers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pricing-onetime-inner { grid-template-columns: 1fr; }
  .pricing-onetime-numbers { grid-template-columns: repeat(2, 1fr); gap: 20px; justify-items: start; }
  .pricing-onetime-item { text-align: left; }
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A423' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}
.pricing-note {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 32px;
  font-size: 14px;
}
@media (max-width: 600px) {
  .pricing-tiers { grid-template-columns: 1fr; }
}

/* =============================================================
   Lead Magnet (Checkliste)
   ============================================================= */
.section-magnet { padding: 100px 0; }
.magnet-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.magnet-visual {
  flex-shrink: 0;
}
.magnet-body h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin: 0 0 12px;
}
.magnet-body p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.magnet-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 14px;
}
.magnet-form-row {
  display: flex;
  gap: 10px;
}
.magnet-form input[type=email] {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  min-height: 48px;
}
.magnet-form input[type=email]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.magnet-form input[aria-invalid="true"] {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,0.15);
}
.magnet-form button {
  white-space: nowrap;
  min-height: 48px;
}
.magnet-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
  text-align: left;
}
.magnet-consent input[type=checkbox] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.magnet-consent a {
  color: var(--text);
  text-decoration: underline;
}
.magnet-error {
  margin: 0;
  padding: 10px 14px;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  border-radius: 10px;
  color: #ef6b6b;
  font-size: 13.5px;
  line-height: 1.5;
}
.magnet-success {
  margin: 0;
  padding: 16px 18px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 12px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
}
.magnet-guarantees {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--text-tertiary);
}
.magnet-guarantees li {
  position: relative;
  padding-left: 18px;
}
.magnet-guarantees li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
@media (max-width: 768px) {
  .magnet-card { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .magnet-form-row { flex-direction: column; }
  .magnet-consent { text-align: left; }
  .magnet-guarantees { justify-content: center; }
}

/* =============================================================
   Legal Pages (Impressum / Datenschutz / AGB)
   ============================================================= */
.container-narrow {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.legal-section {
  padding: 120px 0 80px;
}
.legal-section h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
  color: var(--text);
}
.legal-meta {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-bottom: 40px;
}
.legal-content {
  color: var(--text-secondary);
  line-height: 1.7;
}
.legal-content h2 {
  color: var(--text);
  font-size: 22px;
  margin: 40px 0 16px;
}
.legal-content h3 {
  color: var(--text);
  font-size: 17px;
  margin: 28px 0 12px;
}
.legal-content p,
.legal-content ul {
  margin-bottom: 16px;
}
.legal-content ul {
  padding-left: 24px;
}
.legal-content li {
  margin-bottom: 8px;
}
.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}
.legal-content a:hover {
  text-decoration: none;
}
.legal-content strong {
  color: var(--text);
}

/* =============================================================
   Leistungs-Unterseiten (Service Landing Pages)
   ============================================================= */

/* Breadcrumb */
.breadcrumb {
  padding: 110px 0 20px;
  font-size: 14px;
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--text-secondary);
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li + li::before {
  content: "›";
  color: var(--text-tertiary);
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb [aria-current="page"] {
  color: var(--text);
}
@media (max-width: 640px) {
  .breadcrumb {
    padding-top: 90px;
    font-size: 13px;
  }
}

/* Service Page Hero */
.service-hero {
  padding: 40px 0 80px;
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.service-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.service-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.service-hero .lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 28px;
}
.service-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.service-hero-assurance {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}
.service-hero-assurance li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.service-hero-assurance li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}
.service-hero-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--card-shadow);
}
.service-hero-card h2 {
  font-size: 20px;
  margin: 0 0 16px;
}
.service-hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.service-hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
}
.service-hero-card li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: var(--accent-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23F5A423'%3E%3Cpath d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}
@media (max-width: 960px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Pain Points */
.pains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.pain-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.pain-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--text);
}
.pain-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.pain-card .pain-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(248,113,113,0.12);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
}

/* Scope / Leistungsumfang */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.scope-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.scope-item .scope-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.scope-item h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--text);
}
.scope-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
  counter-reset: step;
}
.process-grid .process-step {
  position: relative;
  padding: 28px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.process-grid .process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -8px var(--accent-glow);
}
.process-step h3 {
  font-size: 17px;
  margin: 8px 0 8px;
}
.process-step p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

/* Related Services */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.related-card {
  display: block;
  padding: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.related-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--text);
}
.related-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}
.related-card .related-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

/* Price/Model Banner */
.price-banner {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.price-banner h3 {
  font-size: 22px;
  margin: 0 0 8px;
}
.price-banner p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .price-banner {
    grid-template-columns: 1fr;
  }
}

/* Dropdown-Nav (Leistungen) */
.main-nav .has-submenu {
  position: relative;
}
.main-nav .has-submenu > a::after {
  content: "▾";
  margin-left: 4px;
  font-size: 10px;
  opacity: .7;
}
.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  /* Deckender dunkler Hintergrund, damit Seitentext nicht durchscheint */
  background: rgba(15, 20, 35, 0.96);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 10px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 100;
}
/* Im Light-Mode entsprechend deckendes Weiß */
[data-theme="light"] .main-nav .submenu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
}
.main-nav .has-submenu:hover > .submenu,
.main-nav .has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.main-nav .submenu li {
  display: block;
}
.main-nav .submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
}
.main-nav .submenu a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.mobile-nav .submenu {
  list-style: none;
  padding: 0 0 0 16px;
  margin: 4px 0 0;
  display: grid;
  gap: 2px;
}
.mobile-nav .submenu a {
  font-size: 15px;
  opacity: .8;
}

/* FAQ auf Leistungs-Unterseiten (generische <details> unter .faq) */
.faq {
  display: grid;
  gap: 12px;
  margin-top: 40px;
}
.faq > details {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  transition: background .3s ease, border-color .3s ease;
}
.faq > details[open] {
  background: var(--glass-hover);
  border-color: var(--accent);
}
.faq > details > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  line-height: 1.4;
}
.faq > details > summary::-webkit-details-marker { display: none; }
.faq > details > summary::marker { content: ""; display: none; }
.faq > details > summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5A423' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .3s ease;
}
.faq > details[open] > summary::after { transform: rotate(180deg); }
.faq > details > summary:hover { color: var(--accent); }
.faq > details > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: 14px;
}
.faq > details > p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 15px;
  animation: faq-open .3s ease-out;
}

/* ---------- Sticky Mobile CTA-Bar ---------- */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--glass-border);
  transform: translateY(120%);
  transition: transform .35s var(--ease);
}
.mobile-cta-bar.is-visible {
  transform: translateY(0);
}
[data-theme="light"] .mobile-cta-bar {
  background: rgba(255, 255, 255, 0.95);
}
.mobile-cta-bar .mcb-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease;
}
.mobile-cta-bar .mcb-btn:active {
  transform: scale(.97);
}
.mobile-cta-bar .mcb-call {
  background: var(--glass-bg);
  color: var(--text);
  border: 1px solid var(--glass-border);
}
.mobile-cta-bar .mcb-book {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.mobile-cta-bar .mcb-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
@media (max-width: 820px) {
  .mobile-cta-bar { display: flex; }
  body.has-mobile-cta { padding-bottom: 84px; }
}
@media (hover: hover) and (max-width: 820px) {
  .mobile-cta-bar .mcb-book:hover { background: var(--accent-hover, var(--accent)); }
}

/* ---------- Exit-Intent / Capacity-Banner ---------- */
.capacity-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px auto 0;
  padding: 10px 18px;
  max-width: 720px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
.capacity-banner strong { color: var(--accent); }
.capacity-banner .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: capacity-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes capacity-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.75); }
}
@media (prefers-reduced-motion: reduce) {
  .capacity-banner .dot { animation: none; }
}

/* ---------- Exit-Intent-Popup ---------- */
.exit-intent {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-intent.is-open {
  display: flex;
  animation: modal-fade 0.25s ease-out;
}
.exit-intent-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.exit-intent-card {
  position: relative;
  width: min(520px, 100%);
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 34px 30px 28px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
  text-align: left;
}
.exit-intent-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--glass-bg);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.exit-intent-close:hover {
  background: var(--glass-hover);
  color: var(--text);
}
.exit-intent-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.exit-intent-card h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.exit-intent-card > p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 18px;
}
.exit-intent-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.exit-intent-form input[type=email] {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
}
.exit-intent-form input[type=email]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.exit-intent-form button {
  padding: 13px 18px;
  font-size: 15px;
}
.exit-intent-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-top: 4px;
}
.exit-intent-consent input { margin-top: 2px; flex-shrink: 0; }
.exit-intent-consent a { color: var(--accent); text-decoration: underline; }
.exit-intent-error {
  color: #e25a50;
  font-size: 13px;
  margin: 0;
}
.exit-intent-success {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}
.exit-intent-foot {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 14px 0 0;
}
@media (max-width: 480px) {
  .exit-intent-card { padding: 28px 22px 22px; border-radius: 16px; }
  .exit-intent-card h3 { font-size: 19px; }
}

/* ---------- Testimonial-Section ---------- */
.section-testimonials { padding: 80px 0; }
.testimonials-intro { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.testimonials-intro .rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 14px;
  color: var(--text);
}
.testimonials-intro .rating .stars {
  color: #f5a623;
  font-size: 16px;
  letter-spacing: 1px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.testimonial {
  padding: 28px 26px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .3s ease, transform .3s ease;
}
.testimonial:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.testimonial .stars {
  color: #f5a623;
  font-size: 15px;
  letter-spacing: 1px;
}
.testimonial blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  font-family: inherit;
  font-style: normal;
}
.testimonial blockquote::before { content: "„"; }
.testimonial blockquote::after { content: "\201C"; }
.testimonial cite {
  font-style: normal;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.testimonial cite strong { color: var(--text); font-weight: 600; }
.testimonials-more {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}
.testimonials-more a { color: var(--accent); text-decoration: none; }
.testimonials-more a:hover { text-decoration: underline; }

/* ---------- Pwned Password Check ---------- */
.pwn-section { padding: 80px 0; }
.pwn-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 32px 28px;
  margin-top: 40px;
}
[data-theme="light"] .pwn-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.15);
}
.pwn-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.pwn-input-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  position: relative;
}
.pwn-input-row input[type=password],
.pwn-input-row input[type=text] {
  flex: 1;
  min-width: 0;
  padding: 14px 46px 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  font-size: 16px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.5px;
}
[data-theme="light"] .pwn-input-row input[type=password],
[data-theme="light"] .pwn-input-row input[type=text] {
  background: #f7f8fa;
}
.pwn-input-row input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.pwn-eye {
  position: absolute;
  right: 150px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  display: inline-flex;
}
.pwn-eye:hover { color: var(--accent); }
.pwn-input-row button[type=submit] {
  padding: 0 22px;
  white-space: nowrap;
}
.pwn-privacy {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 12px 0 0;
}
.pwn-privacy a { color: var(--accent); text-decoration: underline; }
.pwn-result {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.55;
}
.pwn-result.is-safe {
  background: rgba(40, 200, 64, 0.12);
  border: 1px solid rgba(40, 200, 64, 0.35);
  color: #28c840;
}
.pwn-result.is-pwned {
  background: rgba(255, 95, 87, 0.12);
  border: 1px solid rgba(255, 95, 87, 0.4);
  color: #ff6b5e;
}
.pwn-result.is-error {
  background: rgba(245, 164, 35, 0.12);
  border: 1px solid rgba(245, 164, 35, 0.4);
  color: var(--accent);
}
.pwn-result strong { font-size: 17px; display: block; margin-bottom: 4px; color: inherit; }
.pwn-result .pwn-hint { color: var(--text-secondary); font-size: 13px; margin-top: 8px; }
.pwn-result.is-loading {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}
@media (max-width: 560px) {
  .pwn-input-row { flex-direction: column; }
  .pwn-eye { right: 12px; top: 32px; transform: none; }
  .pwn-input-row input[type=password],
  .pwn-input-row input[type=text] { padding-right: 44px; }
  .pwn-input-row button[type=submit] { width: 100%; padding: 12px; }
}

/* ---------- IT-Fitness-Check Quiz ---------- */
.quiz-section { padding: 80px 0; }
.quiz-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 40px 36px;
  margin-top: 36px;
  box-shadow: 0 16px 40px -24px rgba(0,0,0,0.3);
}
[data-theme="light"] .quiz-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 20px 48px -26px rgba(0,0,0,0.15);
}
.quiz-state { animation: quiz-fade .3s ease-out; }
@keyframes quiz-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-intro { text-align: center; }
.quiz-intro-icon {
  color: var(--accent);
  margin: 0 auto 18px;
  display: inline-flex;
  padding: 18px;
  background: var(--accent-soft);
  border-radius: 50%;
}
.quiz-intro h3 { font-size: 26px; margin: 0 0 12px; line-height: 1.25; }
.quiz-intro p { font-size: 17px; line-height: 1.55; color: var(--text-secondary); margin: 0 auto 24px; max-width: 480px; }
.quiz-start { padding: 14px 32px; font-size: 16px; }
.quiz-meta { font-size: 13px; color: var(--text-secondary); margin: 18px 0 0; }

.quiz-progress {
  margin-bottom: 32px;
  height: 6px;
  background: var(--glass-bg);
  border-radius: 6px;
  position: relative;
}
[data-theme="light"] .quiz-progress { background: #e6e8ee; }
.quiz-progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 6px;
  width: 14%;
  transition: width .35s ease;
}
.quiz-progress-text {
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.quiz-question { font-size: 22px; font-weight: 600; line-height: 1.35; margin: 14px 0 24px; color: var(--text); }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  border: 2px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
  font-family: inherit;
}
[data-theme="light"] .quiz-option { background: #f7f8fa; border-color: rgba(0,0,0,0.08); }
.quiz-option:hover { border-color: var(--accent); background: var(--accent-soft); }
.quiz-option:active { transform: scale(0.99); }
.quiz-option:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.quiz-option.is-selected { border-color: var(--accent); background: var(--accent-soft); }
.quiz-nav { margin-top: 20px; display: flex; justify-content: flex-start; }
.quiz-back { padding: 8px 16px; font-size: 14px; }
.quiz-back[disabled] { opacity: 0.4; cursor: not-allowed; }

.quiz-result { text-align: center; }
.quiz-score-card {
  padding: 28px 24px;
  border-radius: 18px;
  margin-bottom: 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}
[data-theme="light"] .quiz-score-card { background: #fafbfd; border-color: rgba(0,0,0,0.08); }
.quiz-score-card.is-green { background: rgba(40, 200, 64, 0.08); border-color: rgba(40, 200, 64, 0.3); }
.quiz-score-card.is-orange { background: rgba(245, 164, 35, 0.08); border-color: rgba(245, 164, 35, 0.35); }
.quiz-score-card.is-red { background: rgba(255, 95, 87, 0.08); border-color: rgba(255, 95, 87, 0.35); }
.quiz-score-label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-secondary); margin-bottom: 8px; }
.quiz-score-value { font-size: 56px; font-weight: 800; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.quiz-score-value .quiz-score-max { font-size: 28px; color: var(--text-secondary); font-weight: 500; }
.is-green .quiz-score-value { color: #1a7f37; }
.is-orange .quiz-score-value { color: #b06a00; }
.is-red .quiz-score-value { color: #b91c1c; }
[data-theme="dark"] .is-green .quiz-score-value { color: #5ed87a; }
[data-theme="dark"] .is-orange .quiz-score-value { color: var(--accent); }
[data-theme="dark"] .is-red .quiz-score-value { color: #ff8073; }
.quiz-score-badge { display: inline-block; margin-top: 10px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--glass-bg); color: var(--text); }

.quiz-result-title { font-size: 24px; margin: 0 0 10px; line-height: 1.3; }
.quiz-result-desc { font-size: 16px; color: var(--text-secondary); line-height: 1.6; max-width: 560px; margin: 0 auto 28px; }

.quiz-recommendations { text-align: left; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 14px; padding: 22px 24px; margin: 0 auto 28px; max-width: 600px; }
[data-theme="light"] .quiz-recommendations { background: #f7f8fa; border-color: rgba(0,0,0,0.06); }
.quiz-recommendations h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; color: var(--text-secondary); }
.quiz-recommendations ul { list-style: none; padding: 0; margin: 0; }
.quiz-recommendations li { padding: 14px 0; border-bottom: 1px solid var(--glass-border); display: flex; gap: 14px; align-items: flex-start; }
.quiz-recommendations li:last-child { border-bottom: none; padding-bottom: 0; }
.quiz-recommendations li:first-child { padding-top: 0; }
[data-theme="light"] .quiz-recommendations li { border-bottom-color: rgba(0,0,0,0.06); }
.quiz-recommendations li strong { display: block; color: var(--text); margin-bottom: 4px; font-size: 15px; }
.quiz-recommendations li p { margin: 0 0 6px; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.quiz-recommendations li a { color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 600; }
.quiz-recommendations li a:hover { text-decoration: underline; }
.quiz-reco-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

.quiz-lead { text-align: left; background: var(--accent-soft); border: 1px solid var(--glass-border); border-radius: 14px; padding: 22px 24px; margin: 0 auto 28px; max-width: 600px; }
.quiz-lead h4 { margin: 0 0 6px; font-size: 17px; }
.quiz-lead p { margin: 0 0 14px; font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.quiz-lead-row { display: flex; gap: 10px; margin-bottom: 10px; }
.quiz-lead-row input[type=email] { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--glass-border); background: var(--glass-bg); color: var(--text); font-size: 16px; font-family: inherit; }
[data-theme="light"] .quiz-lead-row input[type=email] { background: #fff; border-color: rgba(0,0,0,0.12); }
.quiz-lead-row input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.quiz-lead-row button { white-space: nowrap; }
.quiz-lead-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.5; color: var(--text-secondary); }
.quiz-lead-consent input { margin-top: 2px; flex-shrink: 0; }
.quiz-lead-consent a { color: var(--accent); text-decoration: underline; }
.quiz-lead-error { color: #e25a50; font-size: 13px; margin: 10px 0 0; }
.quiz-lead-success { text-align: center; padding: 18px; color: var(--text); }
.quiz-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

@media (max-width: 640px) {
  .quiz-card { padding: 28px 22px; border-radius: 16px; }
  .quiz-question { font-size: 19px; }
  .quiz-option { padding: 14px 16px; font-size: 15px; }
  .quiz-score-value { font-size: 46px; }
  .quiz-score-value .quiz-score-max { font-size: 22px; }
  .quiz-lead-row { flex-direction: column; }
  .quiz-lead-row button { width: 100%; }
  .quiz-actions .btn { width: 100%; }
}

/* ---------- Eigener Cloudflare-Speedtest ---------- */
.st-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.st-metric {
  padding: 20px 16px;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}
[data-theme="light"] .st-metric {
  background: #f7f8fa;
  border-color: rgba(0,0,0,0.06);
}
.st-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.st-value {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.st-unit {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.st-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.st-status {
  text-align: center;
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
  min-height: 20px;
}
.st-metric.is-active .st-value {
  animation: st-pulse 0.8s ease-in-out infinite alternate;
}
@keyframes st-pulse {
  from { opacity: 1; }
  to { opacity: 0.5; }
}
@media (max-width: 560px) {
  .st-metrics { grid-template-columns: 1fr; gap: 10px; }
  .st-metric { padding: 14px 12px; }
  .st-value { font-size: 26px; }
  .st-actions .btn { width: 100%; }
}

/* ---------- Author-Byline auf Leistungsseiten ---------- */
.author-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 720px;
  margin: 36px auto 0;
  padding: 16px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
}
.author-byline img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-byline-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.author-byline-body strong {
  color: var(--text);
  font-weight: 600;
}
.author-byline-body .author-meta {
  display: block;
  margin-top: 2px;
  font-size: 13px;
}

/* ---------- YouTube Click-to-Load (DSGVO-konform) ---------- */
.yt-lite {
  position: relative;
  display: block;
  width: 100%;
  max-width: 880px;
  margin: 40px auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--glass-border);
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}
.yt-lite img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .88;
  transition: opacity .3s ease;
}
.yt-lite:hover img { opacity: 1; }
.yt-lite::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.yt-lite-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0,0,0,0.65);
  border: 2px solid rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
  color: #fff;
}
.yt-lite:hover .yt-lite-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent);
  border-color: var(--accent);
}
.yt-lite-play::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 22px solid currentColor;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 5px;
}
.yt-lite-info {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  font-size: 15px;
  line-height: 1.4;
}
.yt-lite-info strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.yt-lite-consent {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  background: rgba(0,0,0,0.55);
  padding: 8px 12px;
  border-radius: 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.yt-lite-consent a { color: #fff; text-decoration: underline; }
.yt-lite.is-active { cursor: default; }
.yt-lite.is-active .yt-lite-play,
.yt-lite.is-active .yt-lite-info,
.yt-lite.is-active .yt-lite-consent,
.yt-lite.is-active img,
.yt-lite.is-active::before { display: none; }
.yt-lite iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 640px) {
  .yt-lite { margin: 28px auto; border-radius: 14px; }
  .yt-lite-play { width: 60px; height: 60px; }
  .yt-lite-play::after { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
  .yt-lite-info strong { font-size: 16px; }
  .yt-lite-info { font-size: 13px; bottom: 12px; left: 14px; right: 14px; }
  .yt-lite-consent { font-size: 11px; padding: 6px 10px; }
}

/* ---------- TCO-Block (Warum Mac im Unternehmen) ---------- */
.tco-section {
  padding: 80px 0;
}
.tco-intro {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.tco-intro .eyebrow { margin-bottom: 14px; }
.tco-intro h2 { margin-bottom: 14px; }
.tco-intro p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
}
.tco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.tco-stat {
  padding: 28px 26px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  transition: border-color .3s ease, transform .3s ease;
}
.tco-stat:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.tco-stat-number {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.tco-stat-unit {
  font-size: 18px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: 4px;
}
.tco-stat h3 {
  font-size: 17px;
  margin: 10px 0 8px;
  font-weight: 600;
}
.tco-stat p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}
.tco-sources {
  margin-top: 36px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.pain-bridge {
  max-width: 720px;
  margin: 34px auto 0;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  background: var(--glass-bg);
  border-radius: 0 12px 12px 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
}

/* ---------- Live-Rechner (generische Tool-Klassen) ---------- */
.calc-section { padding: 80px 0; }
.calc-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 32px 28px;
  margin-top: 40px;
}
[data-theme="light"] .calc-card {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.15);
}
.calc-form { display: flex; flex-direction: column; gap: 22px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .calc-row { grid-template-columns: 1fr; } }
.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.calc-value-display {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.calc-field input[type=number],
.calc-field input[type=text] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  font-size: 16px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
[data-theme="light"] .calc-field input[type=number],
[data-theme="light"] .calc-field input[type=text] { background: #f7f8fa; }
.calc-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.calc-field input[type=range] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--glass-border);
  outline: none;
}
.calc-field input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid var(--bg, #0a0f1e);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.calc-field input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid var(--bg, #0a0f1e);
}
.calc-btn-group { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-btn-group button {
  flex: 1;
  min-width: 80px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}
.calc-btn-group button:hover:not(.is-active) { border-color: var(--accent); color: var(--accent); }
.calc-btn-group button.is-active,
.calc-btn-group button.is-active:hover {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}
/* Light-Mode: ruhiger Hintergrund fuer INAKTIVE Buttons — aktive bleiben orange */
[data-theme="light"] .calc-btn-group button:not(.is-active) { background: #f7f8fa; }
.calc-result {
  margin-top: 28px;
  padding: 24px;
  border-radius: 14px;
  background: rgba(40, 200, 64, 0.08);
  border: 1px solid rgba(40, 200, 64, 0.25);
  text-align: center;
}
.calc-result.is-warn {
  background: rgba(245, 164, 35, 0.1);
  border-color: rgba(245, 164, 35, 0.3);
}
.calc-result-label {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.calc-result-big {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin: 6px 0;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 560px) { .calc-result-big { font-size: 36px; } }
.calc-result-sub {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-top: 10px;
}
.calc-result-detail {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--glass-border);
  font-size: 14px;
  color: var(--text-secondary);
}
.calc-result-bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  text-align: left;
  display: inline-block;
}
.calc-result-bullets li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 3px 0 3px 22px;
  position: relative;
}
.calc-result-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.calc-steps { display: flex; flex-direction: column; gap: 24px; }
.calc-step { display: flex; flex-direction: column; gap: 10px; }
.calc-step-title { font-size: 15px; font-weight: 600; color: var(--text); }
.calc-plan-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  margin: 6px 0;
}
.calc-embed-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  margin-top: 20px;
}
.calc-embed-wrap iframe { display: block; width: 100%; border: 0; }
.calc-embed-note {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--glass-bg);
  border-left: 3px solid var(--accent);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==============================================================
   Usability / Accessibility Fixes fuer Tools (Rechner, Speedtest,
   Passwort-Check). Siehe Audit 2026-04-17.
   ============================================================== */

/* 1) Native Form-Controls sollen im jeweiligen Theme passend
      gerendert werden (verhindert weisser Number-Input-Hintergrund
      im Dark-Mode und umgekehrt). */
[data-theme="dark"] .calc-card,
[data-theme="dark"] .pwn-card,
[data-theme="dark"] .st-metric { color-scheme: dark; }
[data-theme="light"] .calc-card,
[data-theme="light"] .pwn-card,
[data-theme="light"] .st-metric { color-scheme: light; }

/* 2) Placeholder-Kontrast sicherstellen (min. 3:1).
      Browser-Default ist im Light-Mode oft zu hell. */
.calc-field input::placeholder,
.pwn-input-row input::placeholder {
  color: var(--text-tertiary);
  opacity: 1; /* Firefox defaulted sonst auf 0.54 */
}
[data-theme="light"] .calc-field input::placeholder,
[data-theme="light"] .pwn-input-row input::placeholder {
  color: #6b6b80; /* ~4.8:1 auf #f7f8fa */
}

/* 3) Slider: Track im Light-Mode zu schwach sichtbar, Fokus
      fuer Keyboard-Nutzer, Thumb-Border im Light-Mode anpassen. */
[data-theme="light"] .calc-field input[type=range] {
  background: #d9dde4; /* statt rgba(0,0,0,0.08) — besser sichtbar */
}
[data-theme="light"] .calc-field input[type=range]::-webkit-slider-thumb {
  border-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
[data-theme="light"] .calc-field input[type=range]::-moz-range-thumb {
  border-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.calc-field input[type=range]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}
.calc-field input[type=range]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* 4) Kontrast fuer grosse Accent-Zahlen im Light-Mode.
      Orange #F5A423 auf Weiss ~2.3:1 — unter WCAG-Schwelle.
      Wir nutzen im Light-Mode den dunkleren Accent-Hover-Ton
      und verstaerken das Gewicht der Zahl. */
[data-theme="light"] .calc-value-display,
[data-theme="light"] .calc-result-big,
[data-theme="light"] .calc-plan-name,
[data-theme="light"] .tco-stat-number,
[data-theme="light"] .st-value {
  color: #b06a00; /* dunklerer Orange-Ton, ~4.6:1 auf weiss */
}

/* 5) Pwned-Result-Farben im Light-Mode: dunklere Varianten
      damit Text min. 4.5:1 erreicht. */
[data-theme="light"] .pwn-result.is-safe {
  color: #1a7f37; /* dunkleres Gruen, ~4.8:1 auf hellgruenem Tint */
  background: rgba(40, 180, 60, 0.12);
  border-color: rgba(40, 180, 60, 0.4);
}
[data-theme="light"] .pwn-result.is-pwned {
  color: #b91c1c; /* dunkleres Rot, ~5.1:1 */
  background: rgba(255, 95, 87, 0.1);
  border-color: rgba(185, 28, 28, 0.35);
}
[data-theme="light"] .pwn-result.is-error {
  color: #8a5200;
  background: rgba(245, 164, 35, 0.1);
  border-color: rgba(138, 82, 0, 0.35);
}
/* Sub-Hint innerhalb Result muss im Light-Mode neutral bleiben */
[data-theme="light"] .pwn-result .pwn-hint {
  color: var(--text-secondary);
}

/* 6) Hover fuer Calc-Btn-Group darf den Hintergrund nicht
      entfernen (sonst "flackert" das Feld zwischen hell/dunkel).
      Nur Border + Farbe aendern. */
[data-theme="light"] .calc-btn-group button:not(.is-active):hover {
  background: #f0f2f5;
}

/* 7) Mobile: Buttongruppe soll auf sehr kleinen Screens umbrechen
      ohne dass einzelne Buttons zu schmal werden. */
@media (max-width: 480px) {
  .calc-btn-group button { min-width: calc(50% - 4px); flex: 1 1 calc(50% - 4px); }
  .calc-result-big { font-size: 34px; }
}

/* 8) Eingabefelder: auf Mobile volle Breite + groessere Tap-Targets
      (Mobile Safari rendered sonst <40px, below WCAG 2.5.5). */
@media (max-width: 640px) {
  .calc-field input[type=number],
  .calc-field input[type=text],
  .pwn-input-row input[type=password],
  .pwn-input-row input[type=text] {
    font-size: 16px; /* vermeidet iOS-Zoom-on-Focus */
    padding: 14px 14px;
  }
}

/* 9) Fokus-Ring fuer Calc-Group-Buttons (war nur global fuer .btn
      definiert, nicht fuer plain <button> in der Group). */
.calc-btn-group button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* 10) Langer Ergebnistext ("2.450 €/Monat") darf auf kleinen
       Screens umbrechen statt ueberzulaufen. */
.calc-result-big { overflow-wrap: anywhere; }

/* 11) St-Metric Label-Kontrast im Light-Mode sicherstellen.
       --text-secondary ist #4a4a5e — OK, aber sehr kleine
       Uppercase 12px auf --text-secondary: wir nehmen dunkler. */
[data-theme="light"] .st-label,
[data-theme="light"] .calc-result-label {
  color: #3a3a4e;
}

/* 12) Disabled-States fuer Speedtest/Calc-Buttons. */
.calc-btn-group button:disabled,
.st-actions .btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}


/* Preise-Teaser */
.pricing-teaser-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 10px;
}
.pricing-teaser-item {
  padding: 22px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  text-align: center;
}
[data-theme="light"] .pricing-teaser-item { background: #fff; border-color: rgba(0,0,0,0.08); box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.pricing-teaser-item strong { display: block; font-size: 15px; color: var(--accent); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.pricing-teaser-item span { display: block; font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* Pricing-Compare-Table (preise.html) */
.pricing-compare {
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  border-collapse: collapse;
  font-size: 14px;
}
.pricing-compare th, .pricing-compare td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}
.pricing-compare th {
  font-weight: 600;
  color: var(--text);
  background: var(--glass-bg);
}
.pricing-compare tbody tr:hover { background: var(--glass-bg); }
.pricing-compare .check { color: #1a7f37; font-weight: 700; }
.pricing-compare .dash { color: var(--text-secondary); }
