/* ============================================================
   hands-on Marketing · DESIGN E – "CLAAS-Stil"
   Foto-First · Industrieblau-Akzent · Karten-Pairs · Quer-Banner
   ============================================================ */

/* ============================================================
   FONT-FACE (lokal, DSGVO-konform)
   ============================================================ */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/archivo-v25-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/archivo-v25-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/archivo-v25-latin_latin-ext-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/archivo-v25-latin_latin-ext-800.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-v23-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-v23-latin_latin-ext-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-v23-latin_latin-ext-600.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-v23-latin_latin-ext-700.woff2') format('woff2');
}

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Hauptfarben */
  --white:         #FFFFFF;
  --off-white:     #F7F7F5;
  --light-grey:    #EDEDEB;
  --grey:          #B4B4B0;
  --text:          #1A1D20;
  --text-2:        #4A4F54;
  --text-3:        #7A7F84;

  /* Akzent: Industrieblau (statt CLAAS-Gelb) */
  --blue:          #1B3550;
  --blue-2:        #2C4A6A;
  --blue-dark:     #122538;
  --blue-light:    #E8EEF4;

  /* CTA-Orange (sparsam für primäre Aktionen) */
  --orange:        #C8541A;
  --orange-2:      #DD6826;

  /* Glitch-Akzent (für animiertes Logo) */
  --cyan:          #2BA8C7;

  /* Typografie */
  --font-display:  'Archivo', system-ui, -apple-system, sans-serif;
  --font-body:     'IBM Plex Sans', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --gutter:        clamp(1.25rem, 4vw, 3rem);
  --container-max: 1320px;
  --section-y:     clamp(4rem, 8vw, 7rem);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: transparent; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--blue); color: var(--white); }

/* ============================================================
   GLOBALE CUSTOM SCROLLBAR (gesamte Seite + Mobile-Menü)
   Konsistent zum Modal-Stil
   ============================================================ */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--blue) var(--off-white);
}
html::-webkit-scrollbar {
  width: 10px;
}
html::-webkit-scrollbar-track {
  background: var(--off-white);
}
html::-webkit-scrollbar-thumb {
  background: var(--blue);
  border: 2px solid var(--off-white);
  border-radius: 0;
  transition: background 220ms;
}
html::-webkit-scrollbar-thumb:hover {
  background: var(--blue-dark);
}
html::-webkit-scrollbar-thumb:active {
  background: var(--orange);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Visually-hidden für Screen-Reader-Texte */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blue);
  margin-bottom: 1rem;
  text-transform: none;
}
.kicker--light {
  color: rgba(255, 255, 255, 0.85);
}

.section-h {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem 0;
  color: var(--text);
}

/* ============================================================
   BUTTONS (CLAAS-Stil: dünne Outline + filled)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 240ms ease;
  border-radius: 0;
  text-align: center;
  background: transparent;
  position: relative;
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(27, 53, 80, 0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn--ghost:hover {
  background: var(--text);
  color: var(--white);
}

.btn--primary-on-blue {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn--primary-on-blue:hover {
  background: transparent;
  color: var(--white);
}

.btn--primary-on-dark {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary-on-dark:hover {
  background: var(--orange-2);
  border-color: var(--orange-2);
}

.btn--block {
  display: flex;
  width: 100%;
}

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--light-grey);
}

.hdr__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 2rem;
}

.hdr__logo {
  display: flex;
  align-items: center;
  height: 100%;
}

/* ============================================================
   ANIMIERTES LOGO (übernommen aus Design B)
   3 Phasen: Bars wachsen → Brand-Text fadet ein → Name mit Glitch
   ============================================================ */
.logo-anim {
  position: relative;
  width: 280px;
  height: 100%;
  display: flex;
  align-items: center;
}
.logo-anim__bars, .logo-anim__brand, .logo-anim__name {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.logo-anim__bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
}
.logo-anim__bar {
  width: 10px;
  background: var(--text);
  transform: scaleY(0);
  transform-origin: bottom center;
}
.logo-anim__bar--1 { height: 50px; animation: logoBarGrow 9s infinite ease-in-out; }
.logo-anim__bar--2 { height: 34px; animation: logoBarGrow 9s infinite ease-in-out 0.15s; }
.logo-anim__bar--3 { height: 60px; animation: logoBarGrow 9s infinite ease-in-out 0.30s; }
@keyframes logoBarGrow {
  0% { transform: scaleY(0); }
  8% { transform: scaleY(1); }
  28% { transform: scaleY(1); }
  33% { transform: scaleY(0); }
  100% { transform: scaleY(0); }
}
.logo-anim__brand {
  opacity: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.025em;
  white-space: nowrap;
  animation: logoBrandFade 9s infinite ease-in-out;
}
@keyframes logoBrandFade {
  0% { opacity: 0; transform: translateY(calc(-50% + 6px)); }
  33% { opacity: 0; transform: translateY(calc(-50% + 6px)); }
  40% { opacity: 1; transform: translateY(-50%); }
  60% { opacity: 1; transform: translateY(-50%); }
  66% { opacity: 0; transform: translateY(calc(-50% - 6px)); }
  100% { opacity: 0; transform: translateY(calc(-50% - 6px)); }
}
.logo-anim__name {
  opacity: 0;
  animation: logoNameFade 9s infinite;
}
@keyframes logoNameFade {
  0%, 66% { opacity: 0; }
  67% { opacity: 1; }
  72%, 94% { opacity: 1; }
  100% { opacity: 0; }
}
.logo-anim__name-text {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
  animation: logoGlitchMain 9s infinite;
}
@keyframes logoGlitchMain {
  0%, 66% { transform: translate(0, 0); }
  67% { transform: translate(-2px, 1px); }
  67.5% { transform: translate(2px, -1px); }
  68% { transform: translate(-1px, 1px); }
  68.5% { transform: translate(2px, 0); }
  69% { transform: translate(0, 0); }
  88% { transform: translate(0, 0); }
  88.3% { transform: translate(-2px, 0); }
  88.6% { transform: translate(2px, 0); }
  89% { transform: translate(0, 0); }
}
.logo-anim__name-text::before,
.logo-anim__name-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.logo-anim__name-text::before {
  color: var(--orange);
  animation: logoGlitchBefore 9s infinite;
  mix-blend-mode: multiply;
}
.logo-anim__name-text::after {
  color: var(--cyan);
  animation: logoGlitchAfter 9s infinite;
  mix-blend-mode: multiply;
}
@keyframes logoGlitchBefore {
  0%, 66% { opacity: 0; clip-path: inset(0 0 0 0); }
  67% { opacity: 0.9; transform: translate(-3px, -1px); clip-path: inset(20% 0 60% 0); }
  67.5% { opacity: 0.9; transform: translate(2px, 2px); clip-path: inset(70% 0 10% 0); }
  68% { opacity: 0.9; transform: translate(-2px, 0); clip-path: inset(40% 0 40% 0); }
  69% { opacity: 0; }
  88% { opacity: 0; }
  88.3% { opacity: 0.8; transform: translate(-3px, 0); clip-path: inset(30% 0 50% 0); }
  88.6% { opacity: 0.8; transform: translate(2px, 0); clip-path: inset(50% 0 30% 0); }
  89% { opacity: 0; }
}
@keyframes logoGlitchAfter {
  0%, 66% { opacity: 0; clip-path: inset(0 0 0 0); }
  67% { opacity: 0.9; transform: translate(3px, 1px); clip-path: inset(60% 0 20% 0); }
  67.5% { opacity: 0.9; transform: translate(-2px, -2px); clip-path: inset(10% 0 70% 0); }
  68% { opacity: 0.9; transform: translate(2px, 0); clip-path: inset(50% 0 30% 0); }
  69% { opacity: 0; }
  88% { opacity: 0; }
  88.3% { opacity: 0.8; transform: translate(3px, 0); clip-path: inset(40% 0 40% 0); }
  88.6% { opacity: 0.8; transform: translate(-2px, 0); clip-path: inset(20% 0 60% 0); }
  89% { opacity: 0; }
}

/* Logo-Variante: Footer (dunkler Hintergrund → weiße Schrift + screen-blend) */
.logo-anim--footer .logo-anim__bar {
  background: var(--white);
}
.logo-anim--footer .logo-anim__brand,
.logo-anim--footer .logo-anim__name-text {
  color: var(--white);
}
.logo-anim--footer .logo-anim__name-text::before {
  color: var(--orange);
  mix-blend-mode: screen;
}
.logo-anim--footer .logo-anim__name-text::after {
  color: var(--cyan);
  mix-blend-mode: screen;
}

/* Logo Mobile: kleiner */
@media (max-width: 720px) {
  .logo-anim { width: 220px; }
  .logo-anim__bars { height: 40px; }
  .logo-anim__bar--1 { height: 32px; }
  .logo-anim__bar--2 { height: 22px; }
  .logo-anim__bar--3 { height: 40px; }
  .logo-anim__brand { font-size: 16px; }
  .logo-anim__name-text { font-size: 15px; }
}

/* Reduced Motion: Animation stoppen, statisches Logo zeigen */
@media (prefers-reduced-motion: reduce) {
  .logo-anim__bars { display: none; }
  .logo-anim__brand {
    opacity: 1;
    animation: none;
    transform: translateY(-50%);
  }
  .logo-anim__name { display: none; }
}

.hdr__nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.hdr__nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 0.25rem 0;
  position: relative;
  transition: color 220ms;
}
.hdr__nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.hdr__nav a:hover {
  color: var(--text);
}
.hdr__nav a:hover::after {
  transform: scaleX(1);
}

.hdr__phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.5rem 1rem;
  background: var(--light-grey);
  transition: all 220ms;
}
.hdr__phone:hover {
  background: var(--blue);
  color: var(--white);
}

.hdr__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.hdr__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 300ms;
}

@media (max-width: 980px) {
  .hdr__nav { display: none; }
  .hdr__phone { display: none; }
  .hdr__burger { display: flex; }
  .hdr__inner {
    grid-template-columns: 1fr auto;
    height: 64px;
  }
}

/* ============================================================
   HERO (Full-Viewport-Höhe, zentriert, Ken-Burns-Zoom)
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  /* Volle Viewport-Höhe abzüglich Header (76px Desktop / 64px Mobile) */
  height: calc(100vh - 76px);
  /* iOS-Safari Safari-Issue: 100vh ist auf iOS instabil — svh ist sicherer */
  height: calc(100svh - 76px);
  min-height: 540px;
  max-height: 980px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  .hero {
    height: calc(100vh - 64px);
    height: calc(100svh - 64px);
  }
}

/* Bild-Wrapper – hier passiert die Ken-Burns-Animation */
.hero__img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Sanfter, langsamer Zoom + minimaler Drift — wirkt cinematic */
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1.04) translate(0, 0);
  }
  100% {
    transform: scale(1.14) translate(-1.5%, -1%);
  }
}

/* Gradient-Overlay für bessere Lesbarkeit des Textes
   Dunkel oben + unten, etwas heller in der Mitte wo der Text sitzt */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Vertikal: oben + unten dunkler, Mitte etwas heller */
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.25) 30%,
      rgba(0, 0, 0, 0.25) 70%,
      rgba(0, 0, 0, 0.55) 100%
    ),
    /* Radial: Mitte etwas dunkler für besseren Text-Kontrast */
    radial-gradient(ellipse at center,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.1) 60%,
      transparent 100%
    );
  pointer-events: none;
}

/* Content zentriert */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  width: 100%;
  padding: 0 var(--gutter);
  text-align: center;
  color: var(--white);
  /* Sanfter Fade-In beim Laden */
  animation: heroFadeIn 1.2s ease-out 0.2s both;
}

@keyframes heroFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero__kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.5rem 0;
  color: var(--white);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem 0;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto 2.5rem auto;
  max-width: 640px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero__cta {
  /* Etwas größer als normale Buttons */
  padding: 1.1rem 2rem;
  font-size: 1rem;
}

/* Scroll-Indikator unten */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40px;
  height: 50px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 280ms;
}
.hero__scroll:hover { opacity: 1; }

.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.hero__scroll-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: var(--white);
  animation: heroScrollPulse 2.4s ease-in-out infinite;
}

@keyframes heroScrollPulse {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(400%); }
}

/* Reduced motion: keine Animation */
@media (prefers-reduced-motion: reduce) {
  .hero__img { animation: none; transform: none; }
  .hero__content { animation: none; }
  .hero__scroll-line::before { animation: none; opacity: 0.5; }
}

/* ============================================================
   SRV-SECTION (Karten-Pairs CLAAS-Stil)
   ============================================================ */
.srv-section {
  padding: var(--section-y) 0;
  background: var(--off-white);
}

.srv-section__head {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}
.srv-section__head .section-h {
  margin-bottom: 0;
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 800px) {
  .srv-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.srv-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 320ms;
  display: flex;
  flex-direction: column;
}
.srv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 29, 32, 0.08);
}

.srv-card__img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--light-grey);
}
.srv-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.srv-card:hover .srv-card__img-wrap img {
  transform: scale(1.04);
}

.srv-card__body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.srv-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

.srv-card__lead {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
  flex: 1;
}

/* ============================================================
   CROSS-BANNER (Quer-Banner mit Foto + Farbfläche)
   ============================================================ */
.cross-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: clamp(420px, 60vh, 640px);
  background: var(--white);
}
.cross-banner--reverse {
  /* normal: foto links, color rechts. reverse: umgekehrt durch HTML-Reihenfolge */
}

@media (max-width: 900px) {
  .cross-banner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  /* Auf Mobile: Foto IMMER zuerst, dann Farbe */
  .cross-banner__img-side { order: 1; }
  .cross-banner__color-side { order: 2; }
}

.cross-banner__img-side {
  position: relative;
  overflow: hidden;
  background: var(--light-grey);
  min-height: 380px;
}
.cross-banner__img-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cross-banner:hover .cross-banner__img-side img {
  transform: scale(1.03);
}

.cross-banner__color-side {
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  /* Standard: Bild ist LINKS, Farbe RECHTS → Text linksbündig (zum Bild hin) */
  justify-content: flex-start;
  padding: clamp(2rem, 5vw, 4rem);
}
.cross-banner__color-side--dark {
  background: var(--text);
}

/* Reverse-Variante: Farbe LINKS, Bild RECHTS → Text rechtsbündig (zum Bild hin) */
.cross-banner--reverse .cross-banner__color-side {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  /* Auf Mobile: alles linksbündig — wirkt sauberer */
  .cross-banner--reverse .cross-banner__color-side {
    justify-content: flex-start;
  }
}

.cross-banner__content {
  max-width: 540px;
  width: 100%;
}

.cross-banner__h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem 0;
  color: var(--white);
}

.cross-banner__body {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.75rem 0;
}
.cross-banner__body--quote {
  font-style: italic;
  font-weight: 500;
  padding-left: 1.5rem;
  border-left: 3px solid var(--orange);
  margin-bottom: 1.75rem;
}

/* ============================================================
   PRINZIP (3 Steps schlicht)
   ============================================================ */
.prinzip {
  padding: var(--section-y) 0;
  background: var(--white);
}

.prinzip__head {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}
.prinzip__head .section-h { margin-bottom: 0; }

.prinzip__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
}
@media (max-width: 900px) {
  .prinzip__steps { grid-template-columns: 1fr; }
}

.step {
  padding: clamp(2rem, 3.5vw, 3rem);
  border-right: 1px solid var(--light-grey);
  background: var(--white);
  transition: background 280ms;
}
.step:last-child { border-right: none; }
.step:hover { background: var(--off-white); }
@media (max-width: 900px) {
  .step {
    border-right: none;
    border-bottom: 1px solid var(--light-grey);
  }
  .step:last-child { border-bottom: none; }
}

.step__num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 1rem;
  line-height: 1;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.15;
  margin: 0 0 0.75rem 0;
  color: var(--text);
}

.step__body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* ============================================================
   PAKETE (3-Spalten, featured in der Mitte)
   ============================================================ */
.pakete {
  padding: var(--section-y) 0;
  background: var(--off-white);
}

.pakete__head {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}
.pakete__head .section-h { margin-bottom: 0; }

.pakete__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .pakete__grid { grid-template-columns: repeat(2, 1fr); }
  /* Featured-Karte spannt sich über beide Spalten wenn auf 2 reduziert wird */
  .paket--featured {
    grid-column: 1 / -1;
    transform: none;
  }
  .paket--featured:hover { transform: translateY(-4px); }
}
@media (max-width: 720px) {
  .pakete__grid { grid-template-columns: 1fr; }
  .paket--featured { grid-column: auto; }
}

.paket {
  position: relative;
  background: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 280ms, box-shadow 280ms;
}
.paket:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(26, 29, 32, 0.08);
}

.paket--featured {
  background: var(--blue);
  color: var(--white);
  transform: scale(1.02);
}
.paket--featured:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 20px 50px rgba(27, 53, 80, 0.25);
}

.paket__badge {
  position: absolute;
  top: -12px;
  left: 2.5rem;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--orange);
  text-transform: uppercase;
}

.paket__kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-3);
  margin: 0 0 1rem 0;
}
.paket--featured .paket__kicker { color: rgba(255, 255, 255, 0.55); }

.paket__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  margin: 0 0 0.75rem 0;
  color: inherit;
  letter-spacing: -0.02em;
}

.paket__claim {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text-2);
  margin: 0 0 1.75rem 0;
}
.paket--featured .paket__claim { color: rgba(255, 255, 255, 0.85); }

.paket__price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-grey);
  margin-bottom: 1.5rem;
}
.paket--featured .paket__price {
  border-color: rgba(255, 255, 255, 0.15);
}

.paket__price-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.paket--featured .paket__price-num { color: var(--white); }

.paket__price-period {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.02em;
}
.paket--featured .paket__price-period { color: rgba(255, 255, 255, 0.6); }

.paket__list {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 0;
  flex: 1;
}
.paket__list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-2);
  border-top: 1px solid var(--light-grey);
}
.paket__list li:last-child { border-bottom: 1px solid var(--light-grey); }
.paket--featured .paket__list li {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.12);
}
.paket--featured .paket__list li:last-child { border-bottom-color: rgba(255, 255, 255, 0.12); }
.paket__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.paket--featured .btn--ghost {
  border-color: var(--white);
  color: var(--white);
}
.paket--featured .btn--ghost:hover {
  background: var(--white);
  color: var(--blue);
}

/* ============================================================
   NEWS-STRIP (CLAAS-News-Karten-Stil)
   ============================================================ */
.news {
  padding: var(--section-y) 0;
  background: var(--off-white);
}

.news__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--light-grey);
}
@media (max-width: 800px) {
  .news__head { grid-template-columns: 1fr; gap: 1rem; }
}

.section-h--news { margin-bottom: 0; }

.news__lead {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
  max-width: 480px;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1100px) { .news__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news__grid { grid-template-columns: 1fr; } }

.news-card {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-height: 200px;
  transition: transform 280ms, box-shadow 280ms;
  border-top: 3px solid var(--orange);
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(26, 29, 32, 0.07);
}

.news-card__sector {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue);
  text-transform: uppercase;
}

.news-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.02em;
}

.news-card__body {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
  flex: 1;
}

/* CTA-Karte */
.news-card--cta {
  background: var(--blue);
  color: var(--white);
  border-top-color: var(--orange);
}

.news-card__big-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.025em;
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.news-card__title--inverse { color: var(--white); }
.news-card__body--inverse { color: rgba(255, 255, 255, 0.8); }

.news-card__link {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  margin-top: 0.5rem;
  transition: opacity 220ms;
}
.news-card__link:hover { opacity: 0.7; }

/* ============================================================
   STORIES (3-spaltig kleinere Karten unten)
   ============================================================ */
.stories {
  padding: var(--section-y) 0;
  background: var(--white);
}

.stories__h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 clamp(2.5rem, 4vw, 3.5rem) 0;
  color: var(--text);
  text-align: center;
}

.stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 1100px) { .stories__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .stories__grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.story {
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  transition: transform 320ms, box-shadow 320ms;
}
.story:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(26, 29, 32, 0.07);
}

.story__img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--light-grey);
}
.story__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.story:hover .story__img-wrap img {
  transform: scale(1.04);
}

.story__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  flex: 1;
}

.story__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0.3rem 0.65rem;
  background: var(--blue-light);
  margin-bottom: 0.25rem;
}

.story__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

.story__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
  flex: 1;
}

.story__link {
  /* Button-Style aber sieht aus wie Link */
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 220ms;
  text-align: left;
}
.story__link:hover { color: var(--orange); }

/* ============================================================
   ÜBER (Sascha) — wie cross-banner aufgebaut
   ============================================================ */
.ueber {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: clamp(520px, 70vh, 760px);
  background: var(--white);
}
@media (max-width: 900px) {
  .ueber {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.ueber__img-side {
  position: relative;
  overflow: hidden;
  background: var(--light-grey);
  min-height: 420px;
}
.ueber__img-side img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.ueber__color-side {
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.ueber__content {
  max-width: 540px;
  width: 100%;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt {
  padding: var(--section-y) 0;
  background: var(--off-white);
}

.kontakt__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(3rem, 5vw, 4rem) auto;
}
.kontakt__head .section-h { margin-bottom: 1rem; }

.kontakt__lead {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-2);
  margin: 1.5rem auto 0 auto;
  max-width: 580px;
}

.kontakt__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: var(--container-max);
  margin: 0 auto 2.5rem;
}
@media (max-width: 900px) { .kontakt__options { grid-template-columns: 1fr; } }

.kopt {
  background: var(--white);
  border: 1px solid var(--light-grey);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  transition: all 280ms;
  font-family: inherit;
  color: inherit;
  width: 100%;
}
.kopt:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.kopt--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.kopt--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.kopt__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
}

.kopt__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-3);
}
.kopt--primary .kopt__label { color: rgba(255, 255, 255, 0.65); }

.kopt__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}
.kopt--primary .kopt__value { color: var(--white); }

.kopt__sub {
  font-size: 12px;
  color: var(--text-3);
}
.kopt--primary .kopt__sub { color: rgba(255, 255, 255, 0.6); }

/* Formular */
.kontakt__form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--white);
  border: 1px solid var(--light-grey);
}

.cform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 600px) { .cform__row { grid-template-columns: 1fr; } }

.cfield {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.cfield__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-3);
}
.cfield input,
.cfield textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  background: var(--off-white);
  border: 1px solid var(--light-grey);
  color: var(--text);
  transition: border-color 220ms;
  border-radius: 0;
  resize: vertical;
}
.cfield input:focus,
.cfield textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.cform__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}
.cform__consent input {
  margin-top: 4px;
  accent-color: var(--blue);
}
.cform__consent a {
  color: var(--blue);
  text-decoration: underline;
}

.cform__status {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}
.cform__status.is-success { color: var(--blue); }
.cform__status.is-error { color: var(--orange); }

/* ============================================================
   FOOTER (dunkel, 4-spaltig)
   ============================================================ */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 1000px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
}

.footer__logo {
  display: inline-block;
  /* Container für animiertes Logo */
  height: 60px;
  margin-bottom: 0.5rem;
}
@media (max-width: 720px) {
  .footer__logo { height: 44px; }
}

.footer__claim {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 1rem 0 0 0;
}

.footer__col-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 1rem 0;
}
.footer__col a, .footer__col p, .footer__col address {
  display: block;
  margin: 0 0 0.4rem 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
  transition: color 220ms;
}
.footer__col a:hover { color: var(--orange); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.m-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  padding: 2rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 3rem;
  overflow-y: auto;

  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}
.m-menu::-webkit-scrollbar {
  width: 6px;
}
.m-menu::-webkit-scrollbar-track {
  background: transparent;
}
.m-menu::-webkit-scrollbar-thumb {
  background: var(--blue);
}
.m-menu[hidden] { display: none; }

.m-menu__close {
  align-self: flex-end;
  font-size: 2rem;
  color: var(--text);
  padding: 0.5rem 1rem;
  line-height: 1;
}

.m-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.m-menu__nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.m-menu__contact {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--light-grey);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.m-menu__contact a {
  font-size: 0.95rem;
  color: var(--text-2);
}

/* ============================================================
   MODALS
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal[hidden] { display: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 29, 32, 0.6);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  max-height: 88svh; /* iOS-Safari-sicher */
  overflow-y: auto;
  background: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  z-index: 1;

  /* Custom Scrollbar — Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--blue) transparent;
}

/* Custom Scrollbar — WebKit (Chrome, Safari, Edge) */
.modal__panel::-webkit-scrollbar {
  width: 8px;
}
.modal__panel::-webkit-scrollbar-track {
  background: transparent;
  border-left: 1px solid var(--light-grey);
}
.modal__panel::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 0;
  transition: background 220ms;
}
.modal__panel::-webkit-scrollbar-thumb:hover {
  background: var(--blue-dark);
}
.modal__panel::-webkit-scrollbar-thumb:active {
  background: var(--orange);
}

/* Breitere Variante für Service-Detail-Modale */
.modal__panel--wide {
  max-width: 820px;
  padding: 0;
}
/* Auf wide-Modal sieht die Scrollbar gegen den blauen Header komisch aus —
   wir machen sie hier dezenter */
.modal__panel--wide::-webkit-scrollbar-track {
  border-left: none;
}

/* Blog-Modal — breit, mit Hero-Bild, lange Lesefläche */
.modal__panel--blog {
  max-width: 880px;
  padding: 0;
}
.modal__panel--blog::-webkit-scrollbar-track {
  border-left: none;
}

.blog {
  display: flex;
  flex-direction: column;
}

.blog__hero {
  aspect-ratio: 21/9;
  overflow: hidden;
  background: var(--light-grey);
}
.blog__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog__body {
  padding: clamp(2rem, 4vw, 3rem);
}

.blog__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-grey);
}

.blog__category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.35rem 0.7rem;
  background: var(--blue);
}

.blog__date,
.blog__read {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 500;
}

.blog__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 1rem 0;
  color: var(--text);
}

.blog__excerpt {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 2rem 0;
  font-weight: 500;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-grey);
}

.blog__content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 2rem 0 1rem 0;
  color: var(--text);
}

.blog__content p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 1.25rem 0;
}

.blog__content ul {
  padding: 0;
  margin: 0 0 1.5rem 0;
  list-style: none;
}
.blog__content ul li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-2);
  border-top: 1px solid var(--light-grey);
}
.blog__content ul li:last-child { border-bottom: 1px solid var(--light-grey); }
.blog__content ul li::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 1.2rem;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}
.blog__content ul li strong {
  color: var(--text);
  font-weight: 700;
}
.blog__content em {
  font-style: italic;
  color: var(--blue);
}

.blog__quote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--off-white);
  border-left: 4px solid var(--orange);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
}
.blog__quote-attr {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0;
}

/* ============================================================
   SERVICE-DETAIL-MODAL Inhalt
   ============================================================ */
.srv-modal {
  display: flex;
  flex-direction: column;
}

.srv-modal__head {
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2rem);
  background: var(--blue);
  color: var(--white);
}
.srv-modal__kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.75rem;
}
.srv-modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem 0;
  color: var(--white);
}
.srv-modal__claim {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.srv-modal__body {
  padding: clamp(2rem, 4vw, 3rem);
}

.srv-modal__lead {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 2rem 0;
}

.srv-modal__sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem 0;
  color: var(--text);
}

.srv-modal__list {
  list-style: none;
  counter-reset: srv-mod-step;
  margin: 0 0 2rem 0;
  padding: 0;
}
.srv-modal__list li {
  counter-increment: srv-mod-step;
  position: relative;
  padding: 1rem 0 1rem 3rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-2);
  border-top: 1px solid var(--light-grey);
}
.srv-modal__list li:last-child { border-bottom: 1px solid var(--light-grey); }
.srv-modal__list li::before {
  content: counter(srv-mod-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1rem;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}
.srv-modal__list strong {
  display: block;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.srv-modal__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
}
@media (max-width: 600px) {
  .srv-modal__meta { grid-template-columns: 1fr; gap: 0.75rem; }
}
.srv-modal__meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.srv-modal__meta-key {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.srv-modal__meta-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.75rem;
  color: var(--text-2);
  line-height: 1;
  z-index: 2;
  transition: color 220ms;
}
.modal__close:hover { color: var(--text); }

/* Auf farbigem Header (wide-Modal): weiß */
.modal__panel--wide .modal__close {
  color: rgba(255, 255, 255, 0.8);
}
.modal__panel--wide .modal__close:hover {
  color: var(--white);
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  color: var(--text);
}

.modal__content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem 0;
  color: var(--text);
}
.modal__content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 1rem 0;
}

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

/* ============================================================
   FAQ-SECTION (wichtig für SEO/GEO — strukturierte Antworten)
   ============================================================ */
.faq {
  padding: var(--section-y) 0;
  background: var(--white);
}

.faq__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.faq__head .section-h { margin-bottom: 0; }

.faq__list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--light-grey);
}

.faq-item {
  border-bottom: 1px solid var(--light-grey);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
  transition: color 220ms ease, padding-left 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { display: none; }
.faq-item__q:hover {
  color: var(--blue);
  padding-left: 1rem;
}

.faq-item__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1), background-color 220ms;
}
.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: var(--white);
}

.faq-item__a {
  padding: 0 0.5rem 1.75rem 0.5rem;
  animation: faqSlideDown 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes faqSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-item__a p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0 0 1rem 0;
}
.faq-item__a p:last-child { margin-bottom: 0; }

.faq-item__a strong {
  color: var(--text);
  font-weight: 600;
}

.faq-item__a ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem 0;
}
.faq-item__a ul li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-2);
}
.faq-item__a ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0.5rem;
  color: var(--orange);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__icon { transition: none; }
  .faq-item__a { animation: none; }
}

/* ============================================================
   VISION-AI SEKTION (Nebenprojekt mit Sat-iTec)
   Dunkler Industrieblau-Hintergrund, hebt sich deutlich ab.
   ============================================================ */
.vai {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #0F1F30;
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}
/* Subtiles Grid-Pattern für Tech-Feeling */
.vai::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
/* Dezente Orange-Akzent-Linie oben */
.vai::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(80px, 12vw, 140px);
  height: 4px;
  background: var(--orange);
}

.vai__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* Header */
.vai__head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 720px;
}

.vai__kicker {
  display: inline-block;
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.vai__h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0;
}

/* Main: Slider + Text nebeneinander */
.vai__main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 960px) {
  .vai__main { grid-template-columns: 1fr; }
}

/* ============================================================
   VORHER-NACHHER-SLIDER
   ============================================================ */
.vai__slider {
  margin: 0;
  position: relative;
}

.vai__slider-wrap {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  background: #000;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.vai__slider-after,
.vai__slider-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Before-Wrapper liegt deckungsgleich auf dem After-Bild.
   Beim Schieben wird per clip-path die rechte Seite "weggeschnitten",
   sodass das Bild darunter sichtbar wird. So bleibt der Bildinhalt
   absolut fix — der Slider funktioniert nur als Maske. */
.vai__slider-before-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  clip-path: inset(0 50% 0 0);
  -webkit-clip-path: inset(0 50% 0 0);
  will-change: clip-path;
}

/* Handle / Linie */
.vai__slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: 3;
}
.vai__slider-handle:focus { outline: none; }
.vai__slider-handle:focus-visible .vai__slider-knob {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
}

.vai__slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.vai__slider-knob {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.vai__slider-wrap:hover .vai__slider-knob {
  transform: scale(1.08);
}
.vai__slider-arrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  font-family: var(--font-display);
}

/* Vorher/Nachher-Labels */
.vai__slider-label {
  position: absolute;
  top: 16px;
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.vai__slider-label--before {
  left: 16px;
}
.vai__slider-label--after {
  right: 16px;
  color: var(--orange);
}

/* Caption unter dem Slider */
.vai__slider-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}
.vai__slider-hint {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.vai__slider-hint::before {
  content: "← →  ";
}

/* ============================================================
   TEXT-SPALTE
   ============================================================ */
.vai__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vai__body {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
.vai__body strong {
  color: var(--white);
  font-weight: 700;
}
.vai__body--punch {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 0.25rem;
}

.vai__link {
  color: var(--white);
  border-bottom: 1px solid var(--orange);
  text-decoration: none;
  transition: color 220ms, border-color 220ms;
}
.vai__link:hover {
  color: var(--orange);
  border-bottom-color: var(--white);
}

/* Stats-Reihe */
.vai__stats {
  list-style: none;
  padding: 1.5rem 0;
  margin: 0.5rem 0 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.vai__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.vai__stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1;
  color: var(--orange);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; /* damit beim Hochzählen nichts springt */
}
/* Infinity-Symbol pulsiert sanft beim Counter-Trigger */
.vai__stat-num--infinity {
  display: inline-block;
  opacity: 0.3;
  transform: scale(0.8);
  transition: opacity 600ms ease, transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.vai__stats.is-counted .vai__stat-num--infinity {
  opacity: 1;
  transform: scale(1);
  animation: vaiInfinityPulse 2.4s ease-in-out 1.2s infinite;
}
@keyframes vaiInfinityPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .vai__stat-num--infinity {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}
.vai__stat-lbl {
  font-size: 0.78rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

/* CTA */
.vai__cta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.vai__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.6rem;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}
.vai__cta:hover {
  background: #ff7a2a;
  transform: translateX(4px);
  box-shadow: 0 12px 32px rgba(200, 84, 26, 0.4);
}
.vai__cta-arrow {
  display: inline-block;
  transition: transform 240ms ease;
}
.vai__cta:hover .vai__cta-arrow { transform: translate(3px, -3px); }

.vai__cta-meta {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* Signature */
.vai__signature {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0.5rem 0 0 0;
  letter-spacing: 0.02em;
}
.vai__signature-mono {
  color: var(--orange);
}
.vai__heart {
  color: var(--orange);
  display: inline-block;
  animation: vaiHeartbeat 1.8s ease-in-out infinite;
}
@keyframes vaiHeartbeat {
  0%, 100% { transform: scale(1); }
  10%, 30% { transform: scale(1.18); }
  20%      { transform: scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .vai__heart { animation: none; }
  .vai__cta, .vai__cta-arrow, .vai__slider-knob {
    transition: none;
    transform: none !important;
  }
}

/* ============================================================
   VAI TEAM-REIHE — die drei Köpfe hinter Vision-AI
   ============================================================ */
.vai__team {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.vai__team-head {
  margin-bottom: 1.5rem;
}
.vai__team-mono {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.vai__team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}

.vai__crew {
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  border-left: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background 240ms ease, transform 240ms ease;
}
.vai__crew:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

.vai__crew-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--white);
}

.vai__crew-role {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.3;
}

.vai__crew-firm {
  margin-top: 0.4rem;
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
}
.vai__crew-firm a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 220ms;
}
.vai__crew-firm a:hover {
  border-bottom-color: var(--orange);
}

@media (prefers-reduced-motion: reduce) {
  .vai__crew { transition: none; }
  .vai__crew:hover { transform: none; }
}

/* ============================================================
   MOBILE-FEINSCHLIFF
   ============================================================ */
@media (max-width: 640px) {
  /* Stats: 3 nebeneinander statt 1, zentriert, kompakt */
  .vai__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding: 1.25rem 0;
    text-align: center;
  }
  .vai__stats li {
    align-items: center;
  }
  .vai__stat-num {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .vai__stat-lbl {
    font-size: 0.7rem;
    text-align: center;
  }

  /* Team-Karten: 3 nebeneinander, kompakter */
  .vai__team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .vai__crew {
    padding: 1rem 0.75rem 1rem 0.75rem;
    border-left-width: 2px;
  }
  .vai__crew-name {
    font-size: 0.85rem;
    line-height: 1.15;
  }
  .vai__crew-role {
    font-size: 0.7rem;
    line-height: 1.25;
  }
  .vai__crew-firm {
    font-size: 9px;
    word-break: break-word;
  }

  /* Slider-Labels weiter verkleinern */
  .vai__slider-label { font-size: 10px; padding: 0.35rem 0.6rem; }
  .vai__slider-label--before { left: 10px; top: 10px; }
  .vai__slider-label--after { right: 10px; top: 10px; }
  .vai__slider-hint { display: none; }
}

/* ============================================================
   PS-LAB BLOCK (Trigger zur kreativen Variante)
   ============================================================ */
.ps-lab {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--off-white);
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
}

.ps-lab__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .ps-lab__inner { grid-template-columns: 1fr; gap: 2rem; }
}

.ps-lab__mono {
  font-family: var(--font-mono, "Courier New", monospace);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--orange);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.ps-lab__h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 1rem 0;
  color: var(--text);
}

.ps-lab__body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 1rem 0;
  max-width: 520px;
}
.ps-lab__body--quiet {
  color: var(--text-3);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.ps-lab__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.6rem;
  background: var(--text);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background 240ms ease, transform 240ms ease, box-shadow 240ms ease;
  margin-bottom: 1rem;
}
.ps-lab__btn:hover {
  background: var(--orange);
  transform: translateX(4px);
  box-shadow: 0 12px 32px rgba(200, 84, 26, 0.25);
}
.ps-lab__btn-arrow {
  transition: transform 240ms ease;
}
.ps-lab__btn:hover .ps-lab__btn-arrow {
  transform: translateX(6px);
}

.ps-lab__spoiler {
  font-family: var(--font-mono, "Courier New", monospace);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.02em;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.ps-lab__spoiler .ps-lab__mono {
  color: var(--orange);
  margin-bottom: 0;
}

/* ============================================================
   PS-LAB VISUAL — Mini-Show (Vorschau auf die Lab-Show)
   ============================================================ */
.ps-lab__visual {
  position: relative;
  width: 320px;
  height: 320px;
  background: #0a0b0d;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  overflow: hidden;
  font-family: "JetBrains Mono", "Courier New", monospace;
  cursor: pointer;
  /* Sanftes Heben + Glow bei Hover */
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 320ms ease;
}
.ps-lab__visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25),
              0 0 0 1px rgba(255, 106, 26, 0.3);
}
@media (max-width: 800px) {
  /* Mobile: Visual bleibt sichtbar, full width, etwas niedriger */
  .ps-lab__visual {
    width: 100%;
    max-width: 100%;
    height: 280px;
    margin: 1.5rem 0 0 0;
  }
}

/* Top-Bar */
.ps-lab__visual-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 106, 26, 0.18);
  flex-shrink: 0;
}
.ps-lab__visual-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.ps-lab__visual-bar-title {
  margin-left: 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.04em;
}

/* Bühne: Container für alle Phasen */
.ps-lab__visual-stage {
  position: relative;
  flex: 1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 20px 20px;
  overflow: hidden;
}

/* === Phase 1: Wireframe-Skelette === */
.ps-lab__visual-skel {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 200ms ease, background 400ms ease;
}
.ps-lab__visual-skel--hero {
  inset: 14px 14px auto 14px;
  height: 6px;
}
.ps-lab__visual-skel--title {
  top: 36px;
  left: 14px;
  width: 60%;
  height: 14px;
}
.ps-lab__visual-skel--sub {
  top: 60px;
  left: 14px;
  width: 45%;
  height: 8px;
}
.ps-lab__visual-skel--cta {
  top: 80px;
  left: 14px;
  width: 60px;
  height: 16px;
}
.ps-lab__visual-skel--grid {
  bottom: 14px;
  left: 14px;
  right: 14px;
  height: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ps-lab__visual-skel--grid > div {
  background: rgba(255, 255, 255, 0.08);
}

/* === Phase 2: Farbpalette === */
.ps-lab__visual-palette {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 4px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 280ms ease, transform 280ms ease;
}
.ps-lab__visual-palette span {
  display: block;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.ps-lab__visual-palette span:nth-child(1) { background: #0a0b0d; }
.ps-lab__visual-palette span:nth-child(2) { background: #ffffff; }
.ps-lab__visual-palette span:nth-child(3) { background: #ff6a1a; }

/* === Phase 3: Typografie === */
.ps-lab__visual-type {
  position: absolute;
  bottom: 90px;
  right: 14px;
  font-family: "Archivo Black", "Impact", sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #ff6a1a;
  line-height: 1;
  letter-spacing: -0.03em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 280ms ease, transform 280ms ease;
}

/* === Phase 4: Brand Lockup (deckt alles ab) === */
.ps-lab__visual-brand {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #0a0b0d;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 400ms ease, transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}
.ps-lab__visual-bars {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 42px;
}
.ps-lab__visual-bars span {
  display: block;
  width: 12px;
  background: #ff6a1a;
}
.ps-lab__visual-bars span:nth-child(1) { height: 70%; }
.ps-lab__visual-bars span:nth-child(2) { height: 45%; }
.ps-lab__visual-bars span:nth-child(3) { height: 100%; }
.ps-lab__visual-name {
  font-family: "Archivo Black", "Impact", sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

/* === Status-Label unten === */
.ps-lab__visual-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid rgba(255, 106, 26, 0.18);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.ps-lab__visual-status {
  position: relative;
  height: 12px;
  overflow: hidden;
}
.ps-lab__visual-status-idle,
.ps-lab__visual-status-running {
  display: block;
  transition: transform 300ms ease, opacity 300ms ease;
}
.ps-lab__visual-status-running {
  position: absolute;
  inset: 0;
  color: #ff6a1a;
  transform: translateY(100%);
  opacity: 0;
}
.ps-lab__visual-version {
  color: #ff6a1a;
  font-weight: 700;
}

/* ============================================================
   HOVER-CHOREOGRAFIE — sequentiell durch alle 4 Phasen
   Gesamtdauer: ~3,5 Sekunden Loop
   ============================================================ */

/* Status-Text wechselt sofort */
.ps-lab__visual:hover .ps-lab__visual-status-idle,
.ps-lab__visual.is-playing .ps-lab__visual-status-idle {
  transform: translateY(-100%);
  opacity: 0;
}
.ps-lab__visual:hover .ps-lab__visual-status-running,
.ps-lab__visual.is-playing .ps-lab__visual-status-running {
  transform: translateY(0);
  opacity: 1;
}

/* Phase 1: Wireframe — sichtbar von 0s bis 3s */
.ps-lab__visual:hover .ps-lab__visual-skel,
.ps-lab__visual.is-playing .ps-lab__visual-skel {
  animation: psStagePhase1 3500ms ease-in-out;
}

/* Phase 2: Farbe einsetzen — orange ab 0.9s */
.ps-lab__visual:hover .ps-lab__visual-skel--hero,
.ps-lab__visual.is-playing .ps-lab__visual-skel--hero { animation: psStageHero 3500ms ease-in-out; }
.ps-lab__visual:hover .ps-lab__visual-skel--title,
.ps-lab__visual.is-playing .ps-lab__visual-skel--title { animation: psStageTitle 3500ms ease-in-out; }
.ps-lab__visual:hover .ps-lab__visual-skel--cta,
.ps-lab__visual.is-playing .ps-lab__visual-skel--cta { animation: psStageCta 3500ms ease-in-out; }
.ps-lab__visual:hover .ps-lab__visual-skel--grid > div,
.ps-lab__visual.is-playing .ps-lab__visual-skel--grid > div { animation: psStageGridCell 3500ms ease-in-out; }
.ps-lab__visual:hover .ps-lab__visual-palette,
.ps-lab__visual.is-playing .ps-lab__visual-palette { animation: psStagePalette 3500ms ease-in-out; }

/* Phase 3: Typografie auf 1.6s */
.ps-lab__visual:hover .ps-lab__visual-type,
.ps-lab__visual.is-playing .ps-lab__visual-type { animation: psStageType 3500ms ease-in-out; }

/* Phase 4: Brand Lockup ab 2.4s */
.ps-lab__visual:hover .ps-lab__visual-brand,
.ps-lab__visual.is-playing .ps-lab__visual-brand { animation: psStageBrand 3500ms ease-in-out; }

/* Keyframes — alle Animationen laufen 3500ms = 100% */
@keyframes psStagePhase1 {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  80%  { opacity: 1; }
  85%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes psStageHero {
  0%   { opacity: 0; background: rgba(255, 255, 255, 0.08); }
  10%  { opacity: 1; background: rgba(255, 255, 255, 0.08); }
  30%  { background: #ff6a1a; }
  80%  { opacity: 1; background: #ff6a1a; }
  85%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes psStageTitle {
  0%   { opacity: 0; background: rgba(255, 255, 255, 0.08); }
  10%  { opacity: 1; }
  30%  { background: rgba(255, 255, 255, 0.95); }
  80%  { opacity: 1; background: rgba(255, 255, 255, 0.95); }
  85%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes psStageCta {
  0%   { opacity: 0; background: rgba(255, 255, 255, 0.08); }
  10%  { opacity: 1; }
  30%  { background: #ff6a1a; }
  80%  { opacity: 1; background: #ff6a1a; }
  85%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes psStageGridCell {
  0%   { opacity: 0; background: rgba(255, 255, 255, 0.08); }
  10%  { opacity: 1; }
  30%  { background: rgba(255, 106, 26, 0.18); }
  80%  { opacity: 1; }
  85%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes psStagePalette {
  0%   { opacity: 0; transform: translateY(-4px); }
  25%  { opacity: 1; transform: translateY(0); }
  80%  { opacity: 1; }
  85%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes psStageType {
  0%, 40%  { opacity: 0; transform: translateY(6px); }
  50%      { opacity: 1; transform: translateY(0); }
  80%      { opacity: 1; }
  85%      { opacity: 0; }
  100%     { opacity: 0; }
}
@keyframes psStageBrand {
  0%, 65%  { opacity: 0; transform: scale(0.94); }
  75%      { opacity: 1; transform: scale(1); }
  95%      { opacity: 1; }
  100%     { opacity: 0; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .ps-lab__visual { transition: none; }
  .ps-lab__visual:hover { transform: none; box-shadow: none; }
  .ps-lab__visual:hover .ps-lab__visual-skel,
  .ps-lab__visual:hover .ps-lab__visual-palette,
  .ps-lab__visual:hover .ps-lab__visual-type,
  .ps-lab__visual:hover .ps-lab__visual-brand,
  .ps-lab__visual:hover .ps-lab__visual-skel--hero,
  .ps-lab__visual:hover .ps-lab__visual-skel--title,
  .ps-lab__visual:hover .ps-lab__visual-skel--cta,
  .ps-lab__visual:hover .ps-lab__visual-skel--grid > div {
    animation: none;
  }
  /* Reduced-Motion: nur Brand-Lockup statisch zeigen */
  .ps-lab__visual .ps-lab__visual-brand {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================================
   LAB-SHOW OVERLAY (Fake-KI-Generierung)
   ============================================================ */
.lab-show {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0b0d;
  color: rgba(255, 255, 255, 0.85);
  font-family: "JetBrains Mono", "Courier New", monospace;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: labFadeIn 380ms ease-out;
}
.lab-show[hidden] { display: none; }

@keyframes labFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lab-show__stage {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

/* Top Bar */
.lab-show__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 106, 26, 0.2);
  background: rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.lab-show__topbar-left,
.lab-show__topbar-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lab-show__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.lab-show__dot--red    { background: #ff5f56; }
.lab-show__dot--amber  { background: #ffbd2e; }
.lab-show__dot--green  { background: #27c93f; }

.lab-show__topbar-title {
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.lab-show__mono {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #ff6a1a;
}

.lab-show__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6a1a;
  animation: labPulse 1s ease-in-out infinite;
}
@keyframes labPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

/* Split Panels */
.lab-show__split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  flex: 1;
  min-height: 0;
}
@media (max-width: 800px) {
  .lab-show__split { grid-template-columns: 1fr; grid-template-rows: 1fr 1.2fr; }
}

.lab-show__codepanel,
.lab-show__renderpanel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid rgba(255, 106, 26, 0.15);
}
.lab-show__renderpanel {
  border-right: none;
  background: rgba(255, 106, 26, 0.03);
}

.lab-show__codeheader,
.lab-show__renderheader {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid rgba(255, 106, 26, 0.15);
  font-size: 11px;
  flex-shrink: 0;
}

.lab-show__code {
  flex: 1;
  padding: 1.25rem;
  margin: 0;
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  overflow: hidden;
  white-space: pre;
}
.lab-show__code .ck { color: #ff6a1a; }
.lab-show__code .ct { color: #5ddcff; }
.lab-show__code .cs { color: #b3ffaa; }
.lab-show__code .cn { color: rgba(255, 255, 255, 0.4); }
.lab-show__code .caret {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: #ff6a1a;
  vertical-align: text-bottom;
  animation: labCaretBlink 0.7s steps(2) infinite;
}
@keyframes labCaretBlink {
  0%, 50%  { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Render Canvas */
.lab-show__canvas {
  flex: 1;
  position: relative;
  padding: 1.5rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Wireframe-Skelette */
.lab-show__skel {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0;
  transition: opacity 200ms ease, background 600ms ease;
}
.lab-show__skel--hero {
  inset: 1.5rem 1.5rem auto 1.5rem;
  height: 6%;
}
.lab-show__skel--nav {
  top: 12%;
  left: 1.5rem;
  right: 1.5rem;
  height: 24px;
  display: flex;
  gap: 12px;
}
.lab-show__skel--nav span {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  max-width: 60px;
}
.lab-show__skel--title {
  top: 25%;
  left: 1.5rem;
  width: 70%;
  height: 38px;
}
.lab-show__skel--sub {
  top: 38%;
  left: 1.5rem;
  width: 55%;
  height: 18px;
}
.lab-show__skel--cta {
  top: 50%;
  left: 1.5rem;
  width: 140px;
  height: 40px;
}
.lab-show__skel--grid {
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  height: 30%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.lab-show__skel--grid > div {
  background: rgba(255, 255, 255, 0.06);
}

/* Phase 1: Wireframe sichtbar */
.lab-show.is-phase-1 .lab-show__skel { opacity: 1; }

/* Phase 2: Farben — Wechsel zu Orange-Tönen */
.lab-show.is-phase-2 .lab-show__skel--hero    { background: #ff6a1a; opacity: 1; }
.lab-show.is-phase-2 .lab-show__skel--title   { background: rgba(255, 255, 255, 0.95); opacity: 1; }
.lab-show.is-phase-2 .lab-show__skel--cta     { background: #ff6a1a; opacity: 1; }
.lab-show.is-phase-2 .lab-show__skel--sub     { opacity: 1; }
.lab-show.is-phase-2 .lab-show__skel--nav     { opacity: 1; }
.lab-show.is-phase-2 .lab-show__skel--nav span { background: rgba(255, 106, 26, 0.6); }
.lab-show.is-phase-2 .lab-show__skel--grid > div { background: rgba(255, 106, 26, 0.15); opacity: 1; }
.lab-show.is-phase-2 .lab-show__skel--grid    { opacity: 1; }

/* Farbpalette */
.lab-show__palette {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.lab-show__swatch {
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.lab-show__swatch--bg     { background: #0a0b0d; }
.lab-show__swatch--text   { background: #ffffff; }
.lab-show__swatch--accent { background: #ff6a1a; }
.lab-show.is-phase-2 .lab-show__palette { opacity: 1; transform: translateY(0); }

/* Typografie-Probe */
.lab-show__type {
  position: absolute;
  bottom: 35%;
  right: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.lab-show__type-display {
  font-family: "Archivo Black", "Impact", sans-serif;
  font-size: 56px;
  font-weight: 900;
  color: #ff6a1a;
  line-height: 1;
  letter-spacing: -0.03em;
}
.lab-show__type-mono {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}
.lab-show.is-phase-3 .lab-show__type { opacity: 1; transform: translateY(0); }

/* Pixel-Reveal */
.lab-show__pixels {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 130px;
  height: 130px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 2px;
  opacity: 0;
  transition: opacity 200ms ease;
}
.lab-show__pixels span {
  background: rgba(255, 106, 26, 0);
  transition: background 80ms ease-out;
}
.lab-show.is-phase-4 .lab-show__pixels { opacity: 1; }

/* Phase 4: Pixel werden gefüllt (per JS in zufälliger Reihenfolge) */
.lab-show__pixels span.is-filled { background: #ff6a1a; }
.lab-show__pixels span.is-filled-light { background: rgba(255, 106, 26, 0.4); }
.lab-show__pixels span.is-filled-dark { background: rgba(255, 255, 255, 0.85); }

/* Phase 5: Brand Final Snap */
.lab-show__brand {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  background: #0a0b0d;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 500ms ease, transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lab-show.is-phase-5 .lab-show__brand {
  opacity: 1;
  transform: scale(1);
}
.lab-show__brand-mark {
  display: flex;
  gap: 6px;
  align-items: flex-end;
  height: 80px;
}
.lab-show__brand-mark span {
  display: block;
  width: 22px;
  background: #ff6a1a;
}
.lab-show__brand-mark span:nth-child(1) { height: 70%; }
.lab-show__brand-mark span:nth-child(2) { height: 45%; }
.lab-show__brand-mark span:nth-child(3) { height: 100%; }
.lab-show__brand-name {
  font-family: "Archivo Black", "Impact", sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

/* Status-Leiste */
.lab-show__statusbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255, 106, 26, 0.15);
  flex-shrink: 0;
}
.lab-show__bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.lab-show__bar > span {
  position: absolute;
  inset: 0 100% 0 0;
  background: #ff6a1a;
  transition: inset 100ms linear;
}
.lab-show__status-text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  min-width: 220px;
  text-align: right;
}

/* Final Reveal */
.lab-show__final {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: #0a0b0d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
}
.lab-show__final[hidden] { display: none; }
.lab-show.is-final .lab-show__final {
  opacity: 1;
}
.lab-show__final-label {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #ff6a1a;
}
.lab-show__final-h {
  font-family: "Archivo Black", "Impact", sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0.5rem 0;
}
.lab-show__final-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}
.lab-show__final-sub span {
  color: #ff6a1a;
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .lab-show, .lab-show__skel, .lab-show__brand,
  .lab-show__final, .lab-show__pixels, .lab-show__pixels span,
  .lab-show__palette, .lab-show__type {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================
   COOKIE-CONSENT-BANNER (unten zentriert, dezent)
   ============================================================ */
.consent {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  max-width: 720px;
  width: calc(100% - 2rem);
  background: var(--text);
  color: var(--white);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  /* Sanfter Slide-In */
  animation: consentSlideIn 600ms cubic-bezier(0.16, 1, 0.3, 1) 800ms both;
}
@media (max-width: 720px) {
  .consent {
    bottom: 0.75rem;
    width: calc(100% - 1.5rem);
    padding: 1.25rem 1.25rem;
  }
}
.consent[hidden] { display: none; }

@keyframes consentSlideIn {
  0% { opacity: 0; transform: translate(-50%, 100%); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}

.consent__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 720px) {
  .consent__inner { grid-template-columns: 1fr; }
}

.consent__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem 0;
  color: var(--white);
}
.consent__title-mono {
  color: var(--orange);
  font-weight: 800;
}

.consent__body {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.consent__link {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 220ms;
}
.consent__link:hover { opacity: 0.7; }

.consent__btn {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.5rem;
  background: var(--white);
  color: var(--text);
  white-space: nowrap;
  cursor: pointer;
  transition: all 240ms ease;
}
.consent__btn:hover {
  background: var(--orange);
  color: var(--white);
}

/* =====================================================
   HERO LASER DOT — dezenter Rubin-Punkt am Messtaster
   Position wird via JS gesetzt (object-fit cover Math).
   Bewegt sich synchron mit dem Ken-Burns-Zoom.
   ===================================================== */
.hero__laser-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  background: #ff2a3c;
  border-radius: 50%;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
  /* Translate für Zentrierung + Ken-Burns muss separat als Animation kommen,
     sonst überschreibt die eine die andere. Wir nutzen wrap-translate via JS. */
  transform: translate(-50%, -50%);
  /* Mittlere Intensität (kalibriert via Live-Slider) */
  box-shadow:
    0 0 6px 2px rgba(255, 42, 60, 0.9),
    0 0 17px 6px rgba(255, 42, 60, 0.55),
    0 0 33px 10px rgba(255, 42, 60, 0.28);
  animation: heroLaserBreathe 2s ease-in-out infinite;
  /* Auf das Bild aufsetzen, nicht weggeklippt werden */
  pointer-events: auto;
  /* Sicherheitsabstand für Touch */
  -webkit-tap-highlight-color: transparent;
  /* Standardmäßig versteckt, bis JS Position berechnet hat
     (verhindert Flackern in oberer linker Ecke beim Laden) */
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
}
.hero__laser-dot.is-ready {
  opacity: 1;
}
.hero__laser-dot::after {
  /* Heller Kern für mehr Tiefe */
  content: '';
  position: absolute;
  inset: 25%;
  background: #fff;
  border-radius: 50%;
  opacity: 0.85;
}
@keyframes heroLaserBreathe {
  0%, 100% {
    box-shadow:
      0 0 6px 2px rgba(255, 42, 60, 0.9),
      0 0 17px 6px rgba(255, 42, 60, 0.55),
      0 0 33px 10px rgba(255, 42, 60, 0.28);
  }
  50% {
    box-shadow:
      0 0 16px 6px rgba(255, 42, 60, 1),
      0 0 55px 16px rgba(255, 42, 60, 0.75),
      0 0 110px 30px rgba(255, 42, 60, 0.42);
  }
}

/* Easter-Egg-Feedback: dezentes Pulsieren ab Klick 3 */
.hero__laser-dot.lab-egg-pulse {
  animation: heroLaserBreathe 2s ease-in-out infinite,
             heroLaserNudge 0.25s ease;
}
@keyframes heroLaserNudge {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.6); }
}

/* Reduced-Motion: Punkt bleibt da, atmet aber nicht */
@media (prefers-reduced-motion: reduce) {
  .hero__laser-dot {
    animation: none;
  }
}

/* Dot-Layer macht die exakt gleiche Ken-Burns-Animation wie das Bild,
   damit der Punkt synchron mit dem Rubin im Bild mitbewegt wird */
.hero__dot-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}
.hero__dot-layer .hero__laser-dot {
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero__dot-layer { animation: none; transform: none; }
}

/* =====================================================
   QUIZ — Passen wir zusammen?
   ===================================================== */
.quiz {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--bone);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Hintergrund-Layer 1: zarte Diagonal-Schraffur die langsam wandert */
.quiz::before {
  content: '';
  position: absolute;
  inset: -40px;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 60px,
    rgba(27, 53, 80, 0.045) 60px,
    rgba(27, 53, 80, 0.045) 61px
  );
  animation: quizBgSlide 32s linear infinite;
  z-index: -2;
  pointer-events: none;
}
/* Hintergrund-Layer 2: zwei diffuse Farbnebel die langsam pulsieren */
.quiz::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 18% 28%, rgba(27, 53, 80, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 82% 72%, rgba(200, 84, 26, 0.08) 0%, transparent 60%);
  animation: quizBgPulse 14s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
}
@keyframes quizBgSlide {
  0% { background-position: 0 0; }
  100% { background-position: 120px -120px; }
}
@keyframes quizBgPulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}
.quiz__head {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 60px);
  position: relative;
  z-index: 1;
}
.quiz__head .section-h { margin-bottom: 1rem; }
.quiz__lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.78;
}

/* Shell mit fester Mindesthöhe, damit beim Wechsel zwischen Fragen
   die Seite nicht springt */
.quiz__shell {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--light-grey);
  position: relative;
  min-height: 460px;
  z-index: 1;
  box-shadow: 0 4px 24px rgba(27, 53, 80, 0.08);
}

.quiz__stage {
  padding: clamp(28px, 5vw, 56px);
  display: none;
  animation: quizFade 0.35s ease;
}
.quiz__stage.is-active {
  display: block;
}
@keyframes quizFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- INTRO ---- */
.quiz__intro-grid {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 40px;
  align-items: center;
}
.quiz__meta {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text);
  opacity: 0.55;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.quiz__intro-h {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  color: var(--text);
}
.quiz__intro-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.78;
  margin: 0 0 28px 0;
}
.quiz__intro-side {
  text-align: center;
  padding: 24px;
  background: var(--bone);
  border: 1px solid var(--light-grey);
}
.quiz__intro-dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  justify-items: center;
}
.quiz__intro-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.6;
}
.quiz__intro-dots span:nth-child(1) { animation: quizDot 1.4s ease-in-out infinite; }
.quiz__intro-dots span:nth-child(2) { animation: quizDot 1.4s ease-in-out infinite 0.15s; }
.quiz__intro-dots span:nth-child(3) { animation: quizDot 1.4s ease-in-out infinite 0.3s; }
.quiz__intro-dots span:nth-child(4) { animation: quizDot 1.4s ease-in-out infinite 0.45s; }
.quiz__intro-dots span:nth-child(5) { animation: quizDot 1.4s ease-in-out infinite 0.6s; }
.quiz__intro-dots span:nth-child(6) { animation: quizDot 1.4s ease-in-out infinite 0.75s; }
.quiz__intro-dots span:nth-child(7) { animation: quizDot 1.4s ease-in-out infinite 0.9s; }
@keyframes quizDot {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}
.quiz__intro-side-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text);
  opacity: 0.6;
  margin: 0;
}

/* ---- FRAGEN ---- */
.quiz__progress {
  margin-bottom: 32px;
}
.quiz__progress-track {
  height: 3px;
  background: var(--light-grey);
  overflow: hidden;
  margin-bottom: 10px;
}
.quiz__progress-fill {
  height: 100%;
  background: var(--orange);
  transition: width 0.4s ease;
}
.quiz__progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text);
  opacity: 0.6;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.quiz__restart {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text);
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.quiz__restart:hover { opacity: 1; }

.quiz__qwrap { min-height: 260px; }

.quiz__question {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0 0 24px 0;
}

.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.quiz__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--light-grey);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
}
.quiz__option:hover {
  border-color: var(--blue);
  background: var(--bone);
  transform: translateX(2px);
}
.quiz__option:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}
.quiz__option.is-picked {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.quiz__nav {
  margin-top: 24px;
  min-height: 32px;
}
.quiz__back {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text);
  opacity: 0.6;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.quiz__back:hover { opacity: 1; }

/* ---- ERGEBNIS — zweistufig: Verdict oben, Empfehlung darunter ---- */

/* Block 1: Verdict (Passt / Passt nicht) */
.quiz__verdict {
  margin-bottom: 0;
}
.quiz__verdict-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  font-weight: 600;
}
.quiz__verdict-h {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px 0;
  color: var(--text);
}
.quiz__verdict-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  opacity: 0.85;
  margin: 0;
  max-width: 580px;
}

/* Block 2: Paket-Empfehlung darunter, abgesetzt */
.quiz__rec {
  margin-top: 36px;
}
.quiz__rec-divider {
  width: 40px;
  height: 2px;
  background: var(--blue);
  margin: 0 0 24px 0;
  opacity: 0.4;
}
.quiz__rec-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.55;
  margin: 0 0 10px 0;
  font-weight: 600;
}
.quiz__rec-card {
  padding: 18px 22px;
  background: var(--bone);
  border-left: 3px solid var(--orange);
}
.quiz__rec-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 6px 0;
  color: var(--text);
}
.quiz__rec-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.75;
  margin: 0;
}

/* Wenn Verdict = "passt nicht" (N), wird der Empfehlungs-Block versteckt
   weil bei N kein Paket vorgeschlagen wird */
.quiz__result[data-result="N"] .quiz__rec {
  display: none;
}
.quiz__result[data-result="N"] .quiz__verdict-kicker {
  color: var(--text);
  opacity: 0.6;
}

/* Actions-Block (CTA + Wiederholen) */
.quiz__result-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.quiz__redo {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text);
  opacity: 0.6;
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  letter-spacing: 0.01em;
}
.quiz__redo:hover { opacity: 1; }

/* ---- MOBILE ---- */
@media (max-width: 640px) {
  .quiz__intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .quiz__intro-side {
    order: -1;
    padding: 18px;
  }
  .quiz__option {
    padding: 14px 16px;
    font-size: 14px;
  }
  .quiz__shell { min-height: 520px; }
}

/* Reduced-Motion */
@media (prefers-reduced-motion: reduce) {
  .quiz__stage { animation: none; }
  .quiz__intro-dots span { animation: none; }
  .quiz__progress-fill { transition: none; }
  .quiz::before, .quiz::after { animation: none; }
}
