/* ==========================================================================
   myDashboard — Designsprache "Signal"
   Design-Tokens: CI unverändert (Petrol #245e6d, Sky #8dc4d3, Pale #e6f2f5)
   ========================================================================== */

:root {
  /* --- Petrol-Rampe: alle Werte aus CI-Primär #245e6d abgeleitet --- */
  --petrol-950: #071519;
  --petrol-900: #0a1d23;
  --petrol-800: #0f2a33;
  --petrol-700: #163b47;
  --petrol-600: #1d4d5c;
  --petrol-500: #245e6d;  /* CI PRIMÄR */
  --petrol-400: #3d7c8c;
  --petrol-300: #5c9dad;

  /* --- Sky: CI-Sekundär --- */
  --sky-300: #8dc4d3;     /* CI AKZENT */
  --sky-200: #b8dbe5;
  --sky-100: #e6f2f5;     /* CI PALE */
  --sky-50:  #f4fafb;

  /* --- Ampelsystem: ausschliesslich funktional, nie dekorativ --- */
  --sig-green: #2fa36b;
  --sig-amber: #e9a13b;
  --sig-red:   #e0534e;

  --white: #ffffff;
  --ink:   #0d1c21;
  --ink-2: #3f565d;
  --ink-3: #6d858c;

  /* --- Text auf dunklem Grund --- */
  --on-dark:   #ffffff;
  --on-dark-2: rgba(255, 255, 255, .74);
  --on-dark-3: rgba(255, 255, 255, .52);

  /* --- Hairlines --- */
  --line-dark:  rgba(141, 196, 211, .16);
  --line-dark2: rgba(141, 196, 211, .28);
  --line-light: rgba(36, 94, 109, .14);

  /* --- Typografie ---
     Wix Madefor Text: dieselbe Schrift wie auf der bisherigen Seite,
     lokal gehostet als Variable Font (wght 400-800), SIL OFL 1.1.
     --font-label trägt die Versalien-Rollen (Eyebrows, Badges, Tabellen-
     köpfe, Ziffern-Labels). Aktuell dieselbe Familie, damit die Seite
     einstimmig bleibt; ein Monospace wäre hier ein Einzeiler. */
  --font-sans:  'Wix Madefor Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-label: 'Wix Madefor Text', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* --- Radien --- */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* --- Rhythmus --- */
  --gutter: 24px;
  --maxw: 1180px;
  --section-y: clamp(72px, 9vw, 128px);

  /* --- Easing: eine Kurve für alles --- */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ==========================================================================
   Reset & Basis
   ========================================================================== */

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

/* Scrollbar überlagert keine fixed-Elemente (Hamburger-Bug) */
html {
  scrollbar-width: thin;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html::-webkit-scrollbar { width: 0; background: transparent; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--sky-300);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute; left: 12px; top: -100px;
  z-index: 999; padding: 12px 18px;
  background: var(--white); color: var(--petrol-500);
  border-radius: var(--r-sm); font-weight: 600;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   Typografie-Skala
   ========================================================================== */

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -.022em;
  line-height: 1.12;
  text-wrap: balance;
}

.t-display {
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.035em;
}
.t-h2 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); letter-spacing: -.028em; }
.t-h3 { font-size: 1.1875rem; letter-spacing: -.012em; }

.t-lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  max-width: 62ch;
  text-wrap: pretty;
}

/* Eyebrow: der einzige Ort für Versalien */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-label);
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--petrol-500);
  margin: 0 0 18px;
}
.on-dark .eyebrow, .eyebrow--dark { color: var(--sky-300); }
.eyebrow::before {
  content: ''; width: 22px; height: 1px;
  background: currentColor; opacity: .5; flex-shrink: 0;
}

/* Zahlen-Rolle: Preise, Metriken, Tabellenwerte.
   Achtung: Wix Madefor Text enthält KEINE tnum-Tabelle — die Deklaration
   bleibt hier wirkungslos (geprüft: '111' 86px vs '999' 110px). Sie steht
   als Vorbereitung, falls die Schrift je getauscht wird. Praktisch
   unkritisch, weil die Preise einstellig und je Karte isoliert stehen. */
.tnum { font-variant-numeric: tabular-nums; }

/* Der Wortmarken-Split: my = light, Dashboard = semibold */
.wordmark-light { font-weight: 400; opacity: .82; }

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); position: relative; }

.section--dark {
  background: var(--petrol-900);
  color: var(--on-dark);
}
.section--pale { background: var(--sky-50); }
.section--petrol { background: var(--petrol-500); color: var(--on-dark); }

.section-head { max-width: 62ch; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .t-lead { color: var(--ink-2); margin: 18px 0 0; }
.section--dark .section-head .t-lead,
.section--petrol .section-head .t-lead { color: var(--on-dark-2); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-size: .96rem; font-weight: 600;
  letter-spacing: -.005em;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
  /* Lange deutsche CTAs müssen umbrechen dürfen */
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  max-width: 100%;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--petrol-500); color: var(--white); }
.btn--primary:hover { background: var(--petrol-600); }

.btn--onDark { background: var(--white); color: var(--petrol-500); }
.btn--onDark:hover { background: var(--sky-100); }

.btn--ghost {
  background: transparent; color: var(--petrol-500);
  border-color: var(--line-light);
}
.btn--ghost:hover { background: var(--sky-100); border-color: var(--petrol-300); }

.btn--ghostDark {
  background: transparent; color: var(--on-dark);
  border-color: var(--line-dark2);
}
.btn--ghostDark:hover { background: rgba(141, 196, 211, .1); border-color: var(--sky-300); }

.btn--sm { padding: 10px 18px; font-size: .875rem; }
.btn .ico { flex-shrink: 0; }
.btn:hover .ico--arrow { transform: translateX(2px); }
.ico--arrow { transition: transform .2s var(--ease); }

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background-color .3s var(--ease), backdrop-filter .3s var(--ease),
              border-color .3s var(--ease), padding .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding: 9px 0;
  background: rgba(10, 29, 35, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-dark);
}
.nav-inner {
  display: flex; align-items: center; gap: 20px;
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav-logo {
  flex-shrink: 0; display: flex; align-items: center;
  position: relative; z-index: 2;   /* über dem Mobile-Menü-Panel */
}
.nav-logo img { height: 34px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin: 0 auto;
}
/* Direktes Kind: sonst greift diese Regel (0,1,1) auch auf die
   CTA-Buttons im Mobile-Menü und schlägt .btn--onDark (0,1,0) —
   weisser Button mit weisser Schrift. */
.nav-links > a {
  padding: 8px 13px;
  border-radius: var(--r-sm);
  font-size: .9375rem; font-weight: 500;
  color: var(--on-dark-2);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav-links > a:hover { color: var(--on-dark); background: rgba(141, 196, 211, .1); }
.nav-links > a[aria-current='page'] { color: var(--on-dark); }

.nav-cta {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  position: relative; z-index: 2;   /* über dem Mobile-Menü-Panel */
}

/* CTA-Paar im Mobile-Menü — auf Desktop unsichtbar */
.nav-links-cta { display: none; }

.nav-burger {
  display: none; flex-shrink: 0;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-dark2);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-burger span {
  display: block; position: relative;
  width: 18px; height: 1.5px;
  background: var(--on-dark);
  border-radius: 2px;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.nav-burger span::before, .nav-burger span::after {
  content: ''; position: absolute; left: 0;
  width: 18px; height: 1.5px;
  background: var(--on-dark); border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav-burger[aria-expanded='true'] span { background: transparent; }
.nav-burger[aria-expanded='true'] span::before { top: 0; transform: rotate(45deg); }
.nav-burger[aria-expanded='true'] span::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  /* Kein Bodenpolster: den Abstand zum Ampel-Panel setzt .ampel,
     damit dieses mittig zwischen Hero-Inhalt und Folgesektion sitzt. */
  padding: clamp(130px, 16vw, 190px) 0 0;
  background: var(--petrol-900);
  color: var(--on-dark);
  overflow: hidden;
}

/* Punktraster statt Stockfoto — evoziert die Monitoring-Fläche */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(141, 196, 211, .13) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 42% 32%, #000 12%, transparent 72%);
  mask-image: radial-gradient(ellipse 78% 62% at 42% 32%, #000 12%, transparent 72%);
  pointer-events: none;
}
/* Petrol-Glow als Tiefenebene */
.hero::after {
  content: '';
  position: absolute;
  left: 50%; top: -22%;
  width: 1100px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
              rgba(36, 94, 109, .55) 0%,
              rgba(36, 94, 109, .18) 42%,
              transparent 70%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero .t-lead { color: var(--on-dark-2); margin: 0 0 34px; max-width: 46ch; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero-trust {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 10px 22px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: .875rem;
  color: var(--on-dark-3);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sig-green); flex-shrink: 0;
}

/* Produkt-Visual */
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 34px 64px rgba(0, 0, 0, .5));
}

/* Schwebende Status-Karte über dem Screenshot */
.hero-badge {
  position: absolute;
  right: -4px; bottom: 6%;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 17px;
  background: rgba(15, 42, 51, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-dark2);
  border-radius: var(--r-md);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
}
.hero-badge-num {
  font-family: var(--font-label);
  font-size: 1.4rem; font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.hero-badge-label {
  font-size: .75rem; line-height: 1.35;
  color: var(--on-dark-3);
}
.hero-badge .pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--sig-green);
  box-shadow: 0 0 0 0 rgba(47, 163, 107, .7);
  animation: pulse 2.4s var(--ease) infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(47, 163, 107, .6); }
  70%  { box-shadow: 0 0 0 11px rgba(47, 163, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 163, 107, 0); }
}

/* ==========================================================================
   Signature-Element: Ampel-Leiste
   Das Produktversprechen als ein einziges Bild
   ========================================================================== */

/* Symmetrisches Polster: das Panel soll mittig in seinem Band sitzen,
   nicht obenbündig. Der Hero endet ohne eigenes Bodenpolster, damit der
   Abstand oberhalb des Panels exakt dem unterhalb entspricht — beide
   Sektionen tragen denselben Grund, der Übergang ist unsichtbar. */
.ampel {
  background: var(--petrol-900);
  padding-block: clamp(56px, 7vw, 88px);
}
.ampel-panel {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(22, 59, 71, .5), rgba(10, 29, 35, .2));
  padding: clamp(22px, 3vw, 30px);
}
.ampel-top {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: baseline; justify-content: space-between;
  margin-bottom: 20px;
}
.ampel-title {
  font-family: var(--font-label);
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--sky-300);
}
.ampel-legend {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: .8125rem; color: var(--on-dark-3);
}
.ampel-legend li { display: flex; align-items: center; gap: 7px; }
.ampel-legend i {
  width: 9px; height: 9px; border-radius: 2px; flex-shrink: 0;
}

.ampel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(26px, 1fr));
  gap: 6px;
}
.ampel-cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--sig-green);
  opacity: .28;
  animation: cellIn .5s var(--ease) forwards;
}
.ampel-cell[data-s='amber'] { background: var(--sig-amber); }
.ampel-cell[data-s='red']   { background: var(--sig-red); }
@keyframes cellIn { to { opacity: .85; } }

/* ==========================================================================
   Vergleich: Andere Software vs. myDashboard
   ========================================================================== */

/* Gegenüberstellung.
   Keine Kriterienspalte — die Wertung entsteht aus der Gewichtung:
   die myDashboard-Spalte ist breiter, grösser gesetzt, erhöht und farbig,
   die Gegenseite bleibt flach und gedeckt. */
.vs {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(20px, 3.4vw, 48px);
  align-items: center;
}

.vs-label {
  margin: 0 0 clamp(18px, 2vw, 26px);
  font-family: var(--font-label);
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--on-dark-3);
}

.vs-col ul { display: grid; }
.vs-col li { display: flex; align-items: center; }

/* --- Gegenseite: flach, gedeckt, kleiner --- */
.vs-col--other { padding-block: clamp(8px, 1.6vw, 20px); }
.vs-col--other li {
  gap: 14px;
  padding: clamp(13px, 1.5vw, 17px) 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  color: var(--on-dark-3);
}
.vs-col--other li:first-child { border-top: 0; }
.vs-col--other .ico { flex-shrink: 0; color: var(--sig-red); opacity: .75; }

/* --- myDashboard: erhöhte Karte, grösser gesetzt --- */
.vs-col--mine {
  padding: clamp(30px, 3.4vw, 46px) clamp(26px, 3vw, 42px);
  border-radius: var(--r-xl);
  background:
    linear-gradient(158deg, rgba(47, 163, 107, .22) 0%, rgba(15, 42, 51, .5) 68%);
  box-shadow:
    inset 0 0 0 1px rgba(47, 163, 107, .4),
    inset 0 1px 0 rgba(120, 220, 170, .22),
    0 0 90px -24px rgba(47, 163, 107, .45),
    0 34px 70px rgba(0, 0, 0, .42);
}
.vs-logo {
  height: clamp(28px, 2.6vw, 34px); width: auto;
  margin-bottom: clamp(22px, 2.4vw, 32px);
}
.vs-col--mine li {
  gap: clamp(14px, 1.4vw, 18px);
  padding: clamp(12px, 1.4vw, 16px) 0;
  font-size: clamp(1.1875rem, 1.55vw, 1.3125rem);
  font-weight: 600;
  letter-spacing: -.014em;
  line-height: 1.35;
  color: var(--on-dark);
}
.vs-col--mine li + li { border-top: 1px solid rgba(47, 163, 107, .16); }

/* Gefülltes Häkchen — der stärkste Marker auf der Seite nach dem CTA */
.vs-check {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: clamp(24px, 2.2vw, 28px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sig-green);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(47, 163, 107, .14);
}

/* ==========================================================================
   Features
   ========================================================================== */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}
.feature {
  position: relative;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: border-color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.feature:hover {
  border-color: var(--petrol-300);
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(36, 94, 109, .11);
}
.feature-num {
  font-family: var(--font-label);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .1em;
  color: var(--petrol-300);
  margin-bottom: 20px;
}
.feature-ico {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: 18px;
  border-radius: var(--r-md);
  background: var(--sky-100);
  color: var(--petrol-500);
}
.feature h3 { margin-bottom: 10px; }
.feature p { margin: 0; color: var(--ink-2); font-size: .96rem; }

/* ==========================================================================
   Hersteller / Integrationen
   ========================================================================== */

.vendor-groups {
  display: grid;
  /* 200px lässt alle 5 Gruppen auf Desktop in einer Reihe stehen */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  margin-bottom: clamp(40px, 5vw, 60px);
}
.vendor-group {
  padding: 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  background: rgba(15, 42, 51, .4);
}
.vendor-group h3 {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  font-size: .9375rem;
  margin-bottom: 14px;
}
.vendor-group ul { display: flex; flex-wrap: wrap; gap: 7px; }
.vendor-group li {
  padding: 5px 11px;
  border: 1px solid var(--line-dark2);
  border-radius: var(--r-pill);
  font-size: .8125rem;
  color: var(--on-dark-2);
}
.tag-soon {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(233, 161, 59, .16);
  color: var(--sig-amber);
  font-family: var(--font-label);
  font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
}

/* Marquee: 3 identische Sets, width max-content, Shift -33.333% */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set {
  display: flex; align-items: center;
  gap: clamp(40px, 5vw, 66px);
  padding-inline: clamp(20px, 2.5vw, 33px);
}
/* Gleich grosse Slots: sonst dominieren breite Wortmarken (Fortinet 8:1)
   die kompakten Bildmarken (Microsoft 365 1:1) um den Faktor 8. */
.marquee-set img {
  width: 116px;
  height: 34px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .5;
  transition: opacity .25s var(--ease), filter .25s var(--ease);
}
/* Optische Korrektur: extrem breite Wortmarken dürfen breiter laufen */
.marquee-set img[src*='fortinet'],
.marquee-set img[src*='servereye'] { width: 150px; }
/* Quadratische Marken dürfen höher laufen, sonst wirken sie winzig */
.marquee-set img[src*='sophos'],
.marquee-set img[src*='3cx'],
.marquee-set img[src*='microsoft365'] { height: 42px; }

.marquee-set img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-33.333%); } }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}
.quote {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  background: var(--white);
}
.quote-text {
  margin: 0 0 22px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  text-wrap: pretty;
}
.quote-who {
  display: flex; align-items: center; gap: 13px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}
.quote-who img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sky-100);
  flex-shrink: 0;
}
.quote-name { font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.quote-org { font-size: .8125rem; color: var(--ink-3); line-height: 1.35; }

/* ==========================================================================
   Preise
   ========================================================================== */

.perks {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: clamp(32px, 4vw, 46px);
}
.perk {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-pill);
  background: var(--white);
  font-size: .875rem; font-weight: 500;
}
.perk .ico { color: var(--sig-green); flex-shrink: 0; }

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
  padding: 28px 24px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.plan:hover { border-color: var(--petrol-300); }
.plan--featured {
  border-color: var(--petrol-500);
  border-width: 1.5px;
  box-shadow: 0 18px 44px rgba(36, 94, 109, .14);
}
.plan-flag {
  position: absolute; top: -11px; left: 24px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--petrol-500); color: var(--white);
  font-family: var(--font-label);
  font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em;
}
.plan-name { font-size: 1.0625rem; margin-bottom: 4px; }
.plan-incl {
  font-size: .8125rem; color: var(--ink-3);
  margin: 0 0 22px; min-height: 2.6em;
}
.plan-price {
  display: flex; align-items: baseline; gap: 5px;
  margin-bottom: 4px;
}
.plan-amount {
  font-size: 2.5rem; font-weight: 600;
  letter-spacing: -.04em; line-height: 1;
  color: var(--petrol-500);
}
.plan-amount--sm { font-size: 1.375rem; letter-spacing: -.02em; }
.plan-unit { font-size: .8125rem; color: var(--ink-3); }
.plan-meta {
  margin: 0 0 22px;
  font-size: .8125rem; color: var(--ink-3);
}
.plan-feats { display: grid; gap: 9px; margin-bottom: 24px; }
.plan-feats li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: .875rem; color: var(--ink-2);
}
.plan-feats .ico { color: var(--sig-green); flex-shrink: 0; margin-top: 3px; }
.plan .btn { margin-top: auto; width: 100%; }

.plans-note {
  margin: 26px 0 0;
  font-size: .875rem; color: var(--ink-3);
}

/* Feature-Matrix in <details> — nativ, accessible */
.matrix { margin-top: clamp(32px, 4vw, 44px); }
.matrix-sum {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border: 1px solid var(--line-light);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
  list-style: none;
  font-weight: 600; font-size: .9375rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.matrix-sum::-webkit-details-marker { display: none; }
.matrix-sum::marker { content: ''; }
.matrix-sum:hover { border-color: var(--petrol-300); background: var(--sky-50); }
.matrix-sum .chev { transition: transform .25s var(--ease); flex-shrink: 0; }
.matrix[open] .matrix-sum {
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
.matrix[open] .chev { transform: rotate(180deg); }

.matrix-scroll {
  overflow-x: auto;
  border: 1px solid var(--line-light);
  border-top: 0;
  border-radius: 0 0 var(--r-md) var(--r-md);
  background: var(--white);
}
table.matrix-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: .875rem;
}
.matrix-table th, .matrix-table td {
  padding: 12px 16px;
  text-align: left;
  border-top: 1px solid var(--line-light);
}
.matrix-table thead th {
  border-top: 0;
  background: var(--sky-50);
  font-family: var(--font-label);
  font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--petrol-500);
  white-space: nowrap;
}
.matrix-table tbody th {
  font-weight: 500; color: var(--ink);
  min-width: 230px;
}
.matrix-table td {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.matrix-table td[data-v='no']  { color: var(--ink-3); }
.matrix-table td[data-v='yes'] { color: var(--sig-green); font-weight: 600; }
.matrix-table tbody tr:hover { background: var(--sky-50); }

/* ==========================================================================
   Abschluss-CTA
   ========================================================================== */

.cta-final { text-align: center; }
.cta-final .wrap { max-width: 720px; }
.cta-final h2 { margin-bottom: 16px; }
.cta-final p {
  margin: 0 auto 30px;
  color: var(--on-dark-2);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  max-width: 52ch;
}
.cta-final .hero-ctas { justify-content: center; margin-bottom: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--petrol-950);
  color: var(--on-dark-3);
  padding: clamp(52px, 6vw, 72px) 0 30px;
  font-size: .9375rem;
}
.footer-top {
  display: flex; flex-wrap: wrap;
  gap: 32px; align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand { max-width: 34ch; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 16px; }
.footer-brand p { margin: 0; line-height: 1.6; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 44px; }
.footer-nav h4 {
  font-family: var(--font-label);
  font-size: .6875rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .13em;
  color: var(--sky-300);
  margin-bottom: 14px;
}
.footer-nav ul { display: grid; gap: 9px; }
.footer-nav a { transition: color .18s var(--ease); }
.footer-nav a:hover { color: var(--on-dark); }
.footer-bottom {
  display: flex; flex-wrap: wrap;
  gap: 12px 24px; justify-content: space-between;
  padding-top: 26px;
  font-size: .875rem;
}

/* ==========================================================================
   Scroll-Reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Navigation hat einen eigenen Breakpoint, unabhängig vom Inhaltslayout.
   Wix Madefor Text ist deutlich breiter als eine enge UI-Grotesk: Logo 200 +
   Links 505 + CTAs 360 = 1065 px plus Gaps. Unter ~1150 px passt das nicht
   mehr, und der Overflow wäre unsichtbar (overflow-x: hidden am body). */
@media (max-width: 1150px) {
  .nav-cta .btn--ghostDark { display: none; }   /* spart ~200 px */
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed; inset: 0 0 auto 0;
    top: 0;
    z-index: 1;               /* unter Logo und Hamburger */
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 86px 20px 24px;
    background: rgba(10, 29, 35, .97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-102%);
    transition: transform .34s var(--ease);
  }
  .nav-links.is-open { transform: none; }
  .nav-links > a { padding: 13px 14px; font-size: 1.0625rem; }
  .nav-links-cta {
    display: grid; gap: 10px;
    margin-top: 16px; padding-top: 18px;
    border-top: 1px solid var(--line-dark);
  }
  .nav-burger { display: flex; }
  .nav-cta { margin-left: auto; }
  /* Logo verkleinern: bei 34px belegt die Wortmarke 200px und drängt
     den Hamburger aus dem Viewport (von overflow-x: hidden verschluckt) */
  .nav-logo img { height: 30px; }
}

/* Inhaltslayout bleibt bei 900px — unabhängig von der Navigation */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { order: -1; }
  .hero-badge { right: 0; bottom: 2%; }

  .features, .quotes { grid-template-columns: minmax(0, 1fr); }

  /* Vergleich stapelt: erst das Problem, dann die Lösung */
  .vs { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  :root { --gutter: 18px; }

  /* Auf Telefonbreite reicht der Platz nur für Logo + Hamburger.
     Beide CTAs stehen im Menü und direkt im Hero. */
  .nav-cta .btn--onDark { display: none; }

  .hero-ctas .btn { width: 100%; }
  .hero-badge {
    position: static;
    margin-top: 18px;
    width: fit-content;
  }

  /* Preis-Karten als Snap-Carousel statt gestapeltem Grid */
  .plans {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 12px 0 16px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plans > .plan {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .footer-nav { gap: 30px; }
  .ampel-grid { grid-template-columns: repeat(auto-fill, minmax(22px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ampel-cell { opacity: .85; }
}
