/* ==========================================================================
   OmniPilot by MAHR – Pixel-Perfect Landingpage Stylesheet
   Designed 1:1 based on Adobe XD Prototype (Web 1920 – 2 & Web 1920 – 4)
   Typography: Inter (Font weights: 400, 500, 600, 700, 800, 900)
   Accurate Box Dimensions, Proportions & Angle Slants
   ========================================================================== */

:root {
  /* Brand Colors */
  --color-brand-yellow: #fdc302;
  --color-brand-yellow-dark: #e0ac00;
  
  /* Background Colors */
  --color-bg-dark: #313131;
  --color-bg-calc: #414141;
  --color-bg-footer: #3c3c3c;
  --color-bg-white: #ffffff;
  
  /* Text Colors */
  --color-text-dark: #1c1c1e;
  --color-text-white: #ffffff;
  --color-text-gray: #d1d1d6;
  --color-text-muted: #8e8e93;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Container Width (1:1 with 1920 prototype artboard, scales down gracefully) */
  --container-max-width: 1560px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ==================== ACCESSIBILITY & FOCUS STYLES (WCAG 2.1 AA) ==================== */
.skip-link {
  position: absolute;
  top: -120px;
  left: 24px;
  background: var(--color-brand-yellow);
  color: #071326;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
  transition: top 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-link:focus {
  top: 20px;
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* High-Contrast Focus Visible Outline for Keyboard Users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-brand-yellow) !important;
  outline-offset: 3px !important;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.section-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 50px;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==================== STICKY HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: clamp(20px, 2.0vw, 28px) 0;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: padding 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.55s ease,
              border-color 0.55s ease,
              box-shadow 0.55s ease,
              backdrop-filter 0.55s ease;
  will-change: padding, background-color;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background-color: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 clamp(24px, 3.5vw, 50px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: clamp(72px, 5.0vw, 88px);
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  transform-origin: left center;
  transition: height 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              max-height 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform var(--transition-fast);
  will-change: height, transform;
}

.site-header.is-scrolled .brand-logo {
  height: 50px;
  max-height: 50px;
}

.logo-link:hover .brand-logo {
  transform: scale(1.025);
}

.nav-overlay-header .brand-logo {
  height: clamp(58px, 4.8vw, 80px);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 28px;
  padding: 3px 0;
  transition: transform var(--transition-fast);
}

.nav-toggle:hover {
  transform: scale(1.08);
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 4px;
  background-color: var(--color-brand-yellow);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav-toggle:hover .bar-1 { transform: translateX(-2px); }
.nav-toggle:hover .bar-3 { transform: translateX(2px); }

/* ==================== FULLSCREEN OVERLAY MENU (Web 1920 – 4) ==================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #1c1c1e;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
}

.nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay-header {
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-close {
  color: var(--color-brand-yellow);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth);
}

.nav-close:hover {
  transform: rotate(90deg) scale(1.1);
}

.nav-menu-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 50px 80px;
  position: relative;
  gap: 45px;
}

.nav-vertical-line {
  width: 2px;
  height: 360px;
  background: rgba(255, 255, 255, 0.4);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.nav-links li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--nav-i, 1) * 0.05s);
}

.nav-overlay.is-active .nav-links li {
  opacity: 1;
  transform: translateY(0);
}

.nav-link {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 700;
  color: #ffffff;
  display: inline-block;
  position: relative;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-brand-yellow);
  transform: translateX(10px);
}

/* ==================== 1. HERO SECTION (1:1 Box Dimensions & Composition) ==================== */
.section-hero {
  position: relative;
  background-color: var(--color-bg-dark);
  height: 100vh;
  min-height: 100vh;
  padding-top: clamp(90px, 9vh, 120px);
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-ambient-glow {
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translateY(-50%);
  width: clamp(550px, 50vw, 900px);
  height: clamp(550px, 50vw, 900px);
  background: radial-gradient(circle, rgba(253, 195, 2, 0.16) 0%, rgba(253, 195, 2, 0.04) 50%, rgba(253, 195, 2, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

/* Datastream Graphic (Garantiert oben und unten im Anschnitt, originalgetreue Farben, smoothe Bewegung) */
.hero-bg-wave {
  position: absolute;
  top: -4%;
  bottom: -4%;
  height: 108%;
  left: clamp(480px, 32vw, 680px);
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  transform: translate3d(calc(var(--mouse-x, 0) * -14px), calc(var(--mouse-y, 0) * -10px), 0);
  will-change: transform;
}

.hero-wave-img {
  width: auto;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  animation: datastreamSmoothMove 10s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
  transform-origin: 30% 50%;
}

/* Smoothe, natürliche Schwebung – reine Bewegung ohne Farb- oder Helligkeitsveränderung */
@keyframes datastreamSmoothMove {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  35% {
    transform: translate3d(16px, -14px, 0) scale(1.022) rotate(-0.5deg);
  }
  70% {
    transform: translate3d(-10px, 12px, 0) scale(1.012) rotate(0.4deg);
  }
  100% {
    transform: translate3d(8px, -6px, 0) scale(1.028) rotate(-0.2deg);
  }
}

.hero-container {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(24px, 3vw, 60px);
  width: 100%;
  max-width: 1720px;
  padding: 0 clamp(24px, 4vw, 70px);
  margin: 0 auto;
}

.hero-content {
  flex: 0 0 auto;
  width: fit-content;
  z-index: 3;
}

/* Exact Hero Badge Group from XD (Upgraded to semantic H1 for SEO & A11y) */
.hero-badge-group {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(6px, 0.45vw, 8px);
  transform: translate3d(calc(var(--mouse-x, 0) * 8px), calc(var(--mouse-y, 0) * 6px), 0);
  will-change: transform;
}

.hero-badge-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 0; /* Sharp corners in XD */
  box-shadow: none; /* Flat modernist blocks in XD */
  line-height: 1;
  box-sizing: border-box;
  padding-bottom: 2px; /* Optical vertical centering for uppercase Inter */
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-badge-box:hover {
  transform: translateX(8px);
}

.hero-badge-box:nth-child(1) { animation: heroBadgeIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s backwards; }
.hero-badge-box:nth-child(2) { animation: heroBadgeIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.20s backwards; }
.hero-badge-box:nth-child(3) { animation: heroBadgeIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.32s backwards; }
.hero-badge-box:nth-child(4) { animation: heroBadgeIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.44s backwards; }

@keyframes heroBadgeIn {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.box-white {
  background-color: #ffffff;
  color: #1c1c1e;
}

.box-yellow {
  background-color: var(--color-brand-yellow);
  color: #1c1c1e;
}

/* Small Box: 'DIE VON-ÜBERALL-' and 'LÖSUNG' */
.box-small {
  height: clamp(44px, 3.65vw, 70px);
  font-size: clamp(32px, 3.0vw, 56px);
  padding: 0 clamp(14px, 1.25vw, 24px);
  letter-spacing: -0.025em;
}

/* Large Box: 'ALLES-' and 'STEUERN-' */
.box-large {
  height: clamp(72px, 5.9vw, 114px);
  font-size: clamp(54px, 4.9vw, 94px);
  padding: 0 clamp(16px, 1.4vw, 26px);
  letter-spacing: -0.03em;
}

/* Hero Subline Area (Scribble-DNA typography aligned with badges) */
.hero-subline-wrap {
  margin-top: clamp(16px, 1.8vh, 24px);
  max-width: clamp(380px, 32vw, 520px);
  animation: heroSublineIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
  transform: translate3d(calc(var(--mouse-x, 0) * 8px), calc(var(--mouse-y, 0) * 6px), 0);
  will-change: transform;
}

@keyframes heroSublineIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-subline {
  font-family: var(--font-family);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.6;
  color: #e2e8f0;
  font-weight: 500;
  margin: 0;
  border-left: 3px solid var(--color-brand-yellow);
  padding-left: 16px;
  letter-spacing: -0.01em;
}

.hero-subline strong {
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-subline-highlight {
  color: #ffffff;
  font-weight: 700;
}

.hero-visual {
  flex: 1 1 auto;
  position: relative;
  height: clamp(480px, 70vh, 730px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.hero-church-img {
  height: 94%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
  display: block;
  position: relative;
  z-index: 2;
  margin-right: clamp(110px, 12vw, 210px);
  clip-path: inset(0 0 0 19%);
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.55));
  transform: translate3d(calc(var(--mouse-x, 0) * 14px), calc(var(--mouse-y, 0) * 10px), 0);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: churchEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
  will-change: transform;
}

@keyframes churchEntrance {
  0% {
    opacity: 0;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-visual:hover .hero-church-img {
  transform: translate3d(calc(var(--mouse-x, 0) * 14px), calc(var(--mouse-y, 0) * 10px), 0) scale(1.02);
}

/* Smartphone im harmonischen Mittelweg mit weicher 3D-Schwebung */
.phone-float-wrapper {
  position: absolute;
  right: clamp(-20px, 0.8vw, 15px);
  top: 50%;
  height: 98%;
  max-height: clamp(520px, 68vh, 690px);
  width: auto;
  z-index: 4;
  animation: phoneEntrance 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards, floatPhone 6s ease-in-out infinite alternate 1.45s;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

@keyframes phoneEntrance {
  0% {
    opacity: 0;
    transform: translateY(-40%) scale(0.92);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes floatPhone {
  0% {
    transform: translate3d(calc(var(--mouse-x, 0) * 22px), calc(-50% + var(--mouse-y, 0) * 16px), 0) rotate(calc(var(--mouse-x, 0) * 2.2deg));
  }
  100% {
    transform: translate3d(calc(var(--mouse-x, 0) * 22px), calc(-50% - 14px + var(--mouse-y, 0) * 16px), 0) rotate(calc(-0.8deg + var(--mouse-x, 0) * 2.2deg));
  }
}

.hero-phone-img {
  height: 100%;
  width: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45)) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

/* ==================== TILTED SECTION HEADERS (-2.4deg) ==================== */
.tilted-header-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: rotate(-2.8deg); /* Exact measured XD angle */
  transform-origin: left center;
  margin-bottom: clamp(32px, 2.6vw, 50px);
}

.tilted-header-group.center-tilted {
  align-items: center;
  text-align: center;
  transform-origin: center center;
}

.tilted-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: clamp(28px, 2.5vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  height: clamp(42px, 3.15vw, 60px);
  padding: 0 clamp(14px, 1.25vw, 24px);
  line-height: 1;
  border-radius: 0; /* Sharp corners in XD */
  letter-spacing: -0.015em;
  box-sizing: border-box;
  padding-bottom: 2px; /* Optical vertical centering for uppercase Inter */
  white-space: nowrap;
}

.tilted-subline {
  display: block;
  font-family: var(--font-family);
  font-size: clamp(26px, 2.3vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-top: clamp(8px, 0.85vw, 16px); /* Exact balanced distance between lines */
  letter-spacing: -0.015em;
  background: transparent;
  white-space: nowrap;
}

.tilted-badge.badge-yellow {
  background-color: var(--color-brand-yellow);
  color: #1c1c1e;
}

.tilted-badge.badge-black-yellow {
  background-color: #222224;
  color: var(--color-brand-yellow);
}

.tilted-badge.badge-klick {
  font-size: clamp(30px, 2.7vw, 52px);
  height: clamp(44px, 3.35vw, 64px);
  padding: 0 clamp(16px, 1.45vw, 28px);
}

.tilted-subline.text-white {
  color: #ffffff;
}

.tilted-subline.text-dark {
  color: #1c1c1e;
}

.tilted-subline.text-klack {
  font-size: clamp(34px, 3.0vw, 58px);
  color: #ffffff;
  margin-top: clamp(10px, 0.95vw, 18px);
  letter-spacing: 0.01em;
}

/* Subheadings below tilted headers */
.section-headline {
  font-size: clamp(24px, 1.8vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: clamp(18px, 1.5vw, 24px);
  letter-spacing: -0.02em;
}

.headline-white {
  color: #ffffff;
}

.headline-dark {
  color: #1c1c1e;
}

.headline-yellow {
  color: var(--color-brand-yellow);
  font-size: clamp(32px, 3.2vw, 54px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.lead-highlight {
  color: #ffffff;
  font-weight: 700;
}

.section-lead {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.section-lead strong {
  color: #ffffff;
  font-weight: 700;
}

.lead-gray {
  color: #cccccc;
}

.lead-dark {
  color: #1c1c1e;
}

/* ==================== 2. EINE SOFTWARE, DIE MITDENKT. ==================== */
.section-software {
  background-color: #1a1a1a;
  padding: 110px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.software-container {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 70px;
  align-items: center;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 32px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.badge-num-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 15px;
  color: #cccccc;
  line-height: 1.55;
  margin: 0;
}

/* Expandable Details */
.feature-more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.feature-more.is-expanded {
  grid-template-rows: 1fr;
  opacity: 1;
}

.feature-more-inner {
  overflow: hidden;
}

.feature-more-inner p {
  padding-top: 8px;
  font-size: 14.5px;
  color: #a8a8ad;
  line-height: 1.55;
  margin: 0;
}

.feature-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  background: transparent;
  border: none;
  padding: 0;
  color: var(--color-brand-yellow);
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.feature-expand-btn:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.feature-expand-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-expand-btn.is-active svg {
  transform: rotate(180deg);
}

.media-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.4);
}

.software-experts-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ==================== 3. KLICK STATT KLACK (Hero-Dark mit Querformat-Datastream & Floating-Block unten) ==================== */
.section-klick-klack {
  background-color: var(--color-bg-dark); /* Hintergrundfarbe des Heros (#313131) */
  color: var(--color-text-white);
  padding: clamp(70px, 7vw, 110px) 0 0; /* Unten 0 für nahtlosen Anschnitt */
  position: relative;
  overflow: hidden;
}

/* Querformat-Datastream im Hintergrund */
.klick-klack-bg-wave {
  position: absolute;
  top: -5%;
  bottom: -5%;
  left: -5%;
  right: -5%;
  width: 110%;
  height: 110%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate3d(calc(var(--kk-mouse-x, 0) * -20px), calc(var(--kk-mouse-y, 0) * -14px), 0);
  will-change: transform;
}

.klick-klack-wave-img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  animation: datastreamQuerMove 12s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
  transform-origin: 50% 50%;
}

@keyframes datastreamQuerMove {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  35% {
    transform: translate3d(-18px, 14px, 0) scale(1.025) rotate(0.4deg);
  }
  70% {
    transform: translate3d(16px, -12px, 0) scale(1.015) rotate(-0.3deg);
  }
  100% {
    transform: translate3d(-10px, 8px, 0) scale(1.03) rotate(0.2deg);
  }
}

.klick-klack-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  max-width: 1640px;
}

.klick-klack-top {
  width: 100%;
  max-width: 900px;
  margin: 0 auto clamp(24px, 3vw, 42px);
  text-align: center;
}

.klick-klack-headline {
  font-size: clamp(38px, 4.8vw, 64px);
  font-weight: 850;
  color: var(--color-brand-yellow);
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
}

/* Große Tablet-Bühne */
.klick-klack-stage {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  line-height: 0;
}

/* Floating Block im Kastenstil der Pricing-Karten (Scribble-DNA) */
.klick-klack-floating-block {
  position: absolute;
  left: clamp(24px, 4.5vw, 90px);
  bottom: clamp(25px, 4vw, 65px);
  z-index: 10;
  max-width: 460px;
  background: #222224; /* Solider Graphitton laut XD & Pricing-Karten */
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px; /* Präzise 4px XD Kanten */
  padding: 26px 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  text-align: left;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.klick-klack-floating-block:hover {
  transform: translateY(-2px);
  border-color: var(--color-brand-yellow);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

/* Text im Kasten */
.floating-intro-text,
.klick-klack-floating-block p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #d1d5db;
  margin: 0;
  font-weight: 400;
}

/* Folge-Kasten im Stil der Geeignet-für-Box aus den Pricing-Karten */
.floating-consequence-box {
  margin-top: 16px;
  padding: 12px 16px;
  background: #1c1c1e;
  border-left: 3px solid var(--color-brand-yellow);
  border-radius: 0 4px 4px 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #e5e5ea;
}

.floating-consequence-box strong {
  font-weight: 750;
  color: #ffffff;
}

/* Viel größeres Tablet - Zentral und bündig im Anschnitt */
.klick-klack-mockup-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.klick-klack-tablet-img {
  width: 100%;
  max-width: 1380px; /* Viel größeres Tablet */
  height: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: -15px; /* Hände schließen unten exakt an die Schnittkante an */
  filter: drop-shadow(0 -12px 30px rgba(0, 0, 0, 0.35)) drop-shadow(0 -3px 8px rgba(0, 0, 0, 0.18));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center bottom;
}

@media (max-width: 991px) {
  .klick-klack-stage {
    flex-direction: column;
    align-items: center;
  }
  .klick-klack-floating-block {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: 580px;
    margin: 0 auto 20px;
    z-index: 10;
    text-align: left;
    padding: 20px 24px;
  }
  .klick-klack-floating-block p {
    font-size: 15px;
  }
}

/* ==================== 3b. PROBLEME / HERAUSFORDERUNGEN ==================== */
.section-problems {
  background: linear-gradient(145deg, #ffd300 0%, #fdc302 38%, #f59e0b 72%, #ea8500 100%); /* Logo-Verlauf */
  color: #1c1c1e;
  padding: clamp(80px, 8vw, 130px) 0 clamp(90px, 9vw, 140px);
  position: relative;
  overflow: hidden;
}

/* Luminous Ambient Highlight im Verlauf */
.problems-ambient-glow {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(600px, 60vw, 1000px);
  height: clamp(400px, 40vw, 700px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.32) 0%, rgba(255, 240, 150, 0.12) 50%, transparent 75%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
}

.problems-container {
  position: relative;
  z-index: 2;
}

.problems-header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto clamp(48px, 5.5vw, 72px);
}

.problems-headline {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 850;
  color: #1c1c1e;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Reines Bild-Banner aus dem Pfarreialltag (ohne erfundenen Text) */
.problems-visual-banner {
  max-width: 1400px;
  height: clamp(260px, 28vw, 380px);
  margin: 0 auto clamp(36px, 4vw, 56px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(160, 80, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #1c1c1e;
}

.problems-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.4s ease;
}

.problems-visual-banner:hover .problems-banner-img {
  transform: scale(1.02);
}

.problems-grid {
  display: grid;
  gap: 32px 28px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .problems-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .problem-card:nth-child(1) { grid-column: 1 / 3; }
  .problem-card:nth-child(2) { grid-column: 3 / 5; }
  .problem-card:nth-child(3) { grid-column: 5 / 7; }
  .problem-card:nth-child(4) { grid-column: 2 / 4; }
  .problem-card:nth-child(5) { grid-column: 4 / 6; }
}

@media (max-width: 991px) and (min-width: 680px) {
  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .problem-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 679px) {
  .problems-grid {
    grid-template-columns: 1fr;
  }
}

/* Prominente, erhabene Problem-Cards mit voller Bildschärfe */
.problem-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 42px 28px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 185px;
  box-shadow: 0 16px 38px rgba(160, 80, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(150, 70, 0, 0.2), 0 6px 16px rgba(0, 0, 0, 0.06);
}

.problem-num-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 13px;
  font-weight: 800;
  color: #c25e00;
  background: rgba(245, 158, 11, 0.12);
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.problem-title {
  font-size: 21px;
  font-weight: 800;
  color: #1c1c1e;
  margin: 6px 0 10px 0;
  line-height: 1.25;
}

.problem-desc {
  font-size: 15.5px;
  color: #3a3a3c;
  line-height: 1.55;
  margin: 0;
  max-width: 320px;
}

/* ==================== 4. VIDEO BANNER ==================== */
.section-video {
  background-color: #0b151e;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.video-banner-wrapper {
  position: relative;
  width: 100%;
  max-height: 850px;
}

.video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,0) 75%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  z-index: 2;
}

.video-poster-img {
  width: 100%;
  height: auto;
  display: block;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-smooth);
  z-index: 10;
}

.play-btn-circle {
  width: 80px;
  height: 80px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: all var(--transition-fast);
  position: relative;
  z-index: 2;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

.video-play-btn:hover .play-btn-circle {
  background-color: var(--color-brand-yellow);
}

.play-pulse-ring {
  position: absolute;
  inset: -12px;
  border: 2px solid var(--color-brand-yellow);
  border-radius: 50%;
  animation: ringPulse 2.6s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
  pointer-events: none;
  z-index: 1;
}

.delay-ring {
  animation-delay: 1.3s;
}

@keyframes ringPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

.play-icon-svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

/* ==================== 5. EINE LÖSUNG, DIE MITWÄCHST. ==================== */
.section-loesung {
  background-color: var(--color-bg-dark); /* #313131 exakt wie Hero & Modul 3 */
  color: #ffffff;
  padding: clamp(90px, 8vw, 130px) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.loesung-container {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 24px;
}

.loesung-header {
  text-align: left;
  max-width: 1440px;
  margin: 0 auto clamp(36px, 4vw, 56px);
}

.section-badge-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(7px, 0.6vw, 11px);
  margin-bottom: clamp(20px, 2vw, 28px);
}

.section-badge-box {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-family);
  font-size: clamp(28px, 2.5vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  height: clamp(44px, 3.2vw, 58px);
  padding: 0 clamp(16px, 1.3vw, 24px);
  line-height: 1;
  border-radius: 0; /* Präzise Kanten laut XD */
  letter-spacing: -0.015em;
  box-sizing: border-box;
  padding-bottom: 2px;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-badge-box:hover {
  transform: translateX(4px);
}

.section-badge-box.box-yellow {
  background-color: var(--color-brand-yellow);
  color: #1c1c1e;
}

.section-badge-box.box-white {
  background-color: #ffffff;
  color: #1c1c1e;
}

.section-badge-box.box-black {
  background-color: #1c1c1e;
  color: #ffffff;
}

.text-yellow {
  color: var(--color-brand-yellow) !important;
}

.section-badge-box.box-black.text-yellow {
  color: var(--color-brand-yellow);
}

.section-badge-box.box-white.text-dark {
  color: #1c1c1e;
}

.loesung-header .section-headline {
  text-align: left;
  margin: 0 0 16px 0;
  max-width: 860px;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.loesung-header .section-lead {
  text-align: left;
  margin: 0;
  max-width: 880px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: #cccccc;
}

/* OmniPilot START: Technische Basis (vorab, dezent & weniger prominent) */
.loesung-start-foundation {
  background: #242426; /* Solider Graphitton aus dem Scribble */
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px; /* Präzise Kanten laut XD */
  padding: clamp(24px, 2.5vw, 36px);
  margin: 0 auto clamp(40px, 4vw, 56px);
  max-width: 1440px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: border-color var(--transition-fast);
}

.loesung-start-foundation:hover {
  border-color: var(--color-brand-yellow);
}

.start-foundation-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: stretch;
}

@media (max-width: 960px) {
  .start-foundation-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Großes Praxis-Foto im START-Bereich */
.start-visual-col {
  display: flex;
  height: 100%;
}

.start-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 26vw, 420px);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.start-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: none; /* Volle Bildschärfe ohne Absoften */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.loesung-start-foundation:hover .start-photo-img {
  transform: scale(1.03);
}

.start-content-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.start-actions-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.start-tech-badge {
  display: inline-block;
  font-family: var(--font-family);
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.12em;
  color: var(--color-brand-yellow);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Improvisiertes OmniPilot Logo-Lockup mit Original-Ring */
.omnipilot-logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.omnipilot-ring-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.loesung-card:hover .omnipilot-ring-logo,
.loesung-start-foundation:hover .omnipilot-ring-logo {
  transform: scale(1.08) rotate(6deg);
}

.lockup-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.lockup-brand {
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brand-yellow);
  line-height: 1.1;
  margin-bottom: 3px;
}

.lockup-tier {
  font-family: var(--font-family);
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}

.start-logo-lockup {
  margin-bottom: 10px;
}

.start-logo-lockup .omnipilot-ring-logo {
  width: 48px;
  height: 48px;
}

.start-logo-lockup .lockup-tier {
  font-size: clamp(22px, 1.8vw, 26px);
}

.start-subtitle {
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: 700;
  color: #ffffff;
  margin: 6px 0 16px 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.start-description {
  font-size: 14px;
  line-height: 1.6;
  color: #cccccc;
  margin: 0 0 16px 0;
}

.start-suitable {
  font-size: 13.5px;
  line-height: 1.5;
  color: #e5e5ea;
  padding: 10px 14px;
  background: #1c1c1e;
  border-left: 3px solid var(--color-brand-yellow);
  border-radius: 0 4px 4px 0;
}

.start-suitable strong {
  color: #ffffff;
}

.start-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 211, 0, 0.4);
  border-radius: 4px;
  padding: 8px 16px;
  color: var(--color-brand-yellow);
  font-family: var(--font-family);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.start-toggle-btn:hover {
  background: rgba(255, 211, 0, 0.12);
  border-color: var(--color-brand-yellow);
  color: #ffffff;
}

.start-toggle-btn .chevron-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.start-toggle-btn[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

/* START Drawer Struktur & Spalten */
.start-details-inner {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.start-details-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: start;
}

@media (max-width: 900px) {
  .start-details-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.start-block-title {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brand-yellow);
  margin: 0 0 16px 0;
}

/* Vollständiger Leistungsumfang: Präzise Checkliste */
.start-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.start-checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #d1d5db;
}

.start-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-brand-yellow);
  font-weight: 850;
  font-size: 14px;
  line-height: 1.5;
}

/* Aufgeräumte, redundanzfreie Kosten-Tabelle */
.start-costs-table {
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.cost-table-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
}

.cost-table-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.cost-building {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cost-building-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
}

.cost-building-example {
  font-size: 12px;
  color: #9ca3af;
}

.cost-price-tag {
  text-align: right;
  flex-shrink: 0;
}

.cost-price-tag .price-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-brand-yellow);
  letter-spacing: -0.01em;
}

.cost-price-tag .price-val.price-inquiry {
  color: #d1d5db;
  font-size: 13.5px;
  font-weight: 600;
}

.costs-table-footer {
  padding: 12px 18px;
  background: rgba(255, 211, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #e5e5ea;
  font-weight: 500;
}

.costs-table-footer .footer-check {
  color: var(--color-brand-yellow);
  font-weight: 850;
  font-size: 13.5px;
}

/* Modernisierungs-Zitat Banner */
.start-quote-banner {
  margin-top: 24px;
  padding: 14px 20px;
  background: #1c1c1e;
  border-left: 3px solid var(--color-brand-yellow);
  border-radius: 0 4px 4px 0;
}

.start-quote-banner p {
  margin: 0;
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.55;
  color: #d1d5db;
}

/* Header über den 3 Steuerungsmodellen */
.loesung-models-header {
  text-align: center;
  margin-bottom: clamp(28px, 3vw, 40px);
}

.models-headline {
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}

/* Die 3 Steuerungsmodelle-Karten (Scribble-DNA) */
.loesung-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.2vw, 34px);
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
}

.loesung-card {
  position: relative;
  background: #222224; /* Solider dunkler Ton laut XD */
  border-radius: 4px; /* Präzise XD Kanten */
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 32px clamp(24px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.loesung-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-brand-yellow);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.loesung-card .card-header {
  margin-bottom: 22px;
}

.card-step-num {
  display: inline-block;
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--color-brand-yellow);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.loesung-card .card-title {
  margin: 0;
}

.loesung-card .card-subtitle {
  font-size: clamp(16px, 1.15vw, 18.5px);
  font-weight: 700;
  color: #ffffff;
  margin: 8px 0 0 0;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.loesung-card .card-description {
  font-size: 14px;
  line-height: 1.6;
  color: #cccccc;
  margin: 0 0 20px 0;
}

.card-price-hero {
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  min-height: 168px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 2px;
}

.price-amount {
  font-family: var(--font-family);
  font-size: clamp(28px, 2.3vw, 34px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-period {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--color-brand-yellow);
  letter-spacing: 0.02em;
}

.price-unit {
  font-size: 13px;
  color: #d1d5db;
  font-weight: 500;
  margin-bottom: 8px;
}

.price-tier-note {
  font-size: 12.5px;
  color: #f4f4f5;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.35;
}

.price-hardware {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.4;
}

.price-hw-label {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.price-hw-val {
  display: block;
  font-size: 12.5px;
  color: #e5e7eb;
  font-weight: 600;
}

/* Bestfacts (Kernleistungen) */
.card-bestfacts {
  margin-bottom: 22px;
}

.bestfacts-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brand-yellow);
  margin: 0 0 10px 0;
}

.bestfacts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bestfacts-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #e5e5ea;
}

.bestfacts-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-brand-yellow);
  font-weight: 800;
  font-size: 13px;
  top: 0;
}

/* Ausklapper / Mehr Details Button (wie .feature-expand-btn in Modul 2) */
.card-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 8px 0;
  color: var(--color-brand-yellow);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-fast);
  margin-top: auto;
}

.card-expand-btn:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.card-expand-btn .chevron-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-expand-btn[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
}

/* Ausklapper Details Drawer */
.card-details-drawer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.card-details-drawer.is-open {
  grid-template-rows: 1fr;
}

.card-details-inner {
  min-height: 0;
  overflow: hidden;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 16px;
}

/* Praxis-Foto im Ausklapper (z. B. LOCAL Touchpanel) */
.card-drawer-media-split {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

@media (max-width: 540px) {
  .card-drawer-media-split {
    grid-template-columns: 1fr;
  }
}

.drawer-media-col {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #18181a;
}

.drawer-photo-img {
  width: 100%;
  height: 100%;
  min-height: 110px;
  object-fit: cover;
  display: block;
  filter: none;
}

.drawer-text-col .card-description {
  margin: 0;
}

.drawer-text-col .card-description:not(:last-child) {
  margin-bottom: 10px;
}

.drawer-text-col .card-description.text-yellow {
  color: var(--color-brand-yellow);
  font-weight: 500;
  line-height: 1.55;
}

.loesung-card .card-suitable {
  font-size: 13.5px;
  line-height: 1.5;
  color: #e5e5ea;
  padding: 10px 14px;
  background: #1c1c1e;
  border-left: 3px solid var(--color-brand-yellow);
  border-radius: 0 4px 4px 0;
  margin-bottom: 20px;
}

.loesung-card .card-suitable strong {
  color: #ffffff;
  font-weight: 750;
}

.loesung-card .card-block {
  margin-bottom: 20px;
}

.loesung-card .block-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-brand-yellow);
  margin: 0 0 10px 0;
}

.loesung-card .block-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #d1d5db;
}

.loesung-card .block-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
}

.loesung-card .block-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-brand-yellow);
  font-size: 15px;
  line-height: 1;
  top: 1px;
}

.loesung-card .costs-list li {
  color: #ffffff;
  font-weight: 500;
}

.loesung-card .card-praxis-block {
  background: rgba(255, 211, 0, 0.06);
  border-left: 3px solid var(--color-brand-yellow);
  padding: 12px 14px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 22px;
}

.loesung-card .praxis-text {
  font-size: 13px;
  line-height: 1.55;
  color: #d1d5db;
  margin: 0;
  font-style: italic;
}

.loesung-card .card-quote {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.loesung-card .card-quote p {
  margin: 0;
  font-style: italic;
  font-size: 13px;
  line-height: 1.55;
  color: #a1a1aa;
}

/* Flash-Highlight beim Klick auf Treppen-Stufe */
@keyframes cardFlash {
  0% { transform: translateY(-4px) scale(1); box-shadow: 0 0 0 0 rgba(255, 211, 0, 0.6); }
  50% { transform: translateY(-8px) scale(1.02); box-shadow: 0 0 0 8px rgba(255, 211, 0, 0.25); }
  100% { transform: translateY(-4px) scale(1); box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7); }
}

/* Responsive Verhalten */
@media (max-width: 1080px) {
  .loesung-cards-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
  }
  .start-foundation-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .start-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==================== 6. EINE INVESTITION, DIE SICH SELBST BEZAHLT. ==================== */
.section-investition {
  position: relative;
  background-color: #29292b; /* Ruhiger, dunkler Graphitton */
  padding: clamp(80px, 7vw, 120px) 0;
  overflow: hidden;
}

.investition-container {
  position: relative;
  z-index: 2;
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 24px;
}

.investition-header {
  text-align: left;
  max-width: 1440px;
  margin: 0 auto clamp(36px, 4vw, 56px);
}

.investition-header .section-headline {
  text-align: left;
  margin: 0 0 16px 0;
  max-width: 960px;
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.investition-header .section-lead {
  text-align: left;
  margin: 0;
  max-width: 1040px;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: #cccccc;
}

/* Factual Table Card (Scribble-DNA) */
.investition-table-card {
  max-width: 1440px;
  margin: 0 auto clamp(36px, 4vw, 48px);
  background: #222224;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.table-card-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px;
  background: #1c1c1e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-card-title {
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.table-card-badge {
  font-size: 12px;
  font-weight: 850;
  color: #1c1c1e;
  background: var(--color-brand-yellow);
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.investition-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.investition-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
}

.investition-table thead th {
  background: #18181a;
  padding: 18px 22px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a1a1aa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.investition-table thead th .th-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-brand-yellow);
  margin-top: 3px;
}

.investition-table tbody td {
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  vertical-align: middle;
}

.investition-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.015);
}

.investition-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.035);
}

.investition-table tbody tr:last-child td {
  border-bottom: none;
}

.col-church {
  vertical-align: middle;
}

.church-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.church-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.church-sub {
  font-size: 12px;
  color: #9ca3af;
}

.col-tech {
  color: #d1d5db;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.col-saving {
  white-space: nowrap;
}

.col-saving .saving-val {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.col-saving .saving-sub {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #9ca3af;
  margin-top: 2px;
}

.col-saving-primary .saving-val {
  font-size: 16px;
  font-weight: 850;
  color: var(--color-brand-yellow);
  letter-spacing: -0.01em;
}

.col-saving-primary .saving-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-brand-yellow);
  background: rgba(255, 211, 0, 0.12);
  padding: 2px 7px;
  border-radius: 2px;
  margin-top: 3px;
}

.investition-table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 24px;
  background: #1c1c1e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  color: #9ca3af;
}

.table-source {
  font-style: italic;
}

.table-guarantee {
  color: #e5e5ea;
  font-weight: 500;
}

.guarantee-check {
  color: var(--color-brand-yellow);
  font-weight: 850;
  margin-right: 4px;
}

/* 2 Factual Highlight-Karten (Personalentlastung & Transparenz) */
.investition-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 2.5vw, 36px);
  max-width: 1440px;
  margin: 0 auto clamp(36px, 4vw, 48px);
}

@media (max-width: 900px) {
  .investition-benefits-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.investition-benefit-card {
  background: #222224;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: clamp(28px, 3vw, 36px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.investition-benefit-card:hover {
  border-color: var(--color-brand-yellow);
  transform: translateY(-3px);
}

.benefit-tag {
  display: inline-block;
  font-family: var(--font-family);
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.1em;
  color: var(--color-brand-yellow);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.benefit-stat-box {
  background: #1c1c1e;
  border-left: 3px solid var(--color-brand-yellow);
  border-radius: 0 4px 4px 0;
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.stat-number {
  font-size: clamp(26px, 2.2vw, 32px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #d1d5db;
}

.benefit-quote-box {
  background: #1c1c1e;
  border-left: 3px solid var(--color-brand-yellow);
  border-radius: 0 4px 4px 0;
  padding: 14px 18px;
  margin-bottom: 18px;
}

.benefit-quote-box .quote-statement {
  margin: 0;
  font-style: italic;
  font-size: 14px;
  line-height: 1.55;
  color: #ffffff;
  font-weight: 600;
}

.benefit-title {
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.benefit-text {
  font-size: 14px;
  line-height: 1.65;
  color: #cccccc;
  margin: 0;
}

/* Ruhige CTA-Leiste */
.investition-cta-box {
  max-width: 1440px;
  margin: 0 auto;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: clamp(24px, 2.5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 860px) {
  .investition-cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cta-text-group .cta-heading {
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
  line-height: 1.35;
}

.cta-text-group .cta-sub {
  font-size: 13.5px;
  color: #a1a1aa;
  margin: 0;
  line-height: 1.5;
}

.btn-investition-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-brand-yellow);
  color: #1c1c1e;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-investition-cta:hover {
  background: var(--color-brand-yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(253, 195, 2, 0.35);
}

/* ==================== 7. EINE BEDIENOBERFLÄCHE (Gelber Bereich, Tablet-Mockup & Foto-Cards) ==================== */
.section-bedienoberflaeche {
  background-color: var(--color-brand-yellow);
  color: #1c1c1e;
  padding: 120px 0 130px;
  position: relative;
  overflow: hidden;
}

.bedien-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.bedien-header {
  margin-bottom: 45px;
}

.bedien-subline.text-dark {
  font-size: 17px;
  line-height: 1.6;
  color: #27272a;
  margin-top: 16px;
  max-width: 820px;
  font-weight: 500;
}

/* ==================== Device Switcher Pill ==================== */
.mockup-device-switch-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin: 30px auto 20px auto;
}

.device-switch-pill {
  display: inline-flex;
  align-items: center;
  background: #181a20;
  padding: 5px;
  border-radius: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.device-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 30px;
  background: transparent;
  color: #9ca3af;
  border: none;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.device-switch-btn:hover {
  color: #ffffff;
}

.device-switch-btn.active {
  background: var(--color-brand-yellow);
  color: #1c1c1e;
  box-shadow: 0 4px 14px rgba(253, 195, 2, 0.4);
}

.device-switch-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3f3f46;
}

/* ==================== Indicated Tablet & Smartphone Mockup ==================== */
.tablet-frame-wrapper {
  margin: 25px auto 75px auto;
  max-width: 1240px;
  position: relative;
  transition: max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s ease;
}

/* Smartphone Mode Constraint */
.tablet-frame-wrapper.mode-phone {
  max-width: 410px;
}

/* Hardware Buttons on the Outer Shell (Tablet Mode) */
.tablet-button-power {
  position: absolute;
  top: -4px;
  right: 90px;
  width: 55px;
  height: 4px;
  background: #252830;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease;
}

.tablet-button-volume-1 {
  position: absolute;
  top: 75px;
  right: -4px;
  width: 4px;
  height: 46px;
  background: #252830;
  border-radius: 0 3px 3px 0;
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease;
}

.tablet-button-volume-2 {
  position: absolute;
  top: 130px;
  right: -4px;
  width: 4px;
  height: 46px;
  background: #252830;
  border-radius: 0 3px 3px 0;
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease;
}

/* Smartphone Hardware Buttons */
.phone-button-power,
.phone-button-action,
.phone-button-vol-up,
.phone-button-vol-down {
  display: none;
  background: #252830;
  position: absolute;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.mode-phone .tablet-button-power,
.mode-phone .tablet-button-volume-1,
.mode-phone .tablet-button-volume-2 {
  display: none;
}

.mode-phone .phone-button-power {
  display: block;
  right: -4px;
  top: 175px;
  width: 4px;
  height: 75px;
  border-radius: 0 3px 3px 0;
}

.mode-phone .phone-button-action {
  display: block;
  left: -4px;
  top: 115px;
  width: 4px;
  height: 32px;
  border-radius: 3px 0 0 3px;
}

.mode-phone .phone-button-vol-up {
  display: block;
  left: -4px;
  top: 165px;
  width: 4px;
  height: 52px;
  border-radius: 3px 0 0 3px;
}

.mode-phone .phone-button-vol-down {
  display: block;
  left: -4px;
  top: 230px;
  width: 4px;
  height: 52px;
  border-radius: 3px 0 0 3px;
}

/* Outer Chassis */
.tablet-chassis {
  background: #14161b;
  border-radius: 40px;
  padding: 14px 18px 22px 18px;
  box-shadow: 
    0 35px 90px rgba(0, 0, 0, 0.45),
    0 12px 30px rgba(0, 0, 0, 0.25),
    0 0 0 2px #282c35,
    inset 0 1px 1px rgba(255, 255, 255, 0.22);
  position: relative;
  transition: border-radius 0.45s ease, padding 0.45s ease, box-shadow 0.3s ease;
}

.mode-phone .tablet-chassis {
  border-radius: 54px;
  padding: 14px 14px 18px 14px;
  box-shadow: 
    0 35px 90px rgba(0, 0, 0, 0.55),
    0 12px 30px rgba(0, 0, 0, 0.3),
    0 0 0 2px #343944,
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.tablet-chassis:hover {
  box-shadow: 
    0 45px 115px rgba(0, 0, 0, 0.52),
    0 16px 40px rgba(0, 0, 0, 0.3),
    0 0 0 2px #383e4a,
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Top Sensor Bar / Dynamic Island */
.tablet-top-sensor-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  position: relative;
  margin-bottom: 6px;
  transition: height 0.3s ease;
}

.mode-phone .tablet-top-sensor-bar {
  height: 28px;
  margin-bottom: 8px;
}

.tablet-camera-dot {
  width: 8px;
  height: 8px;
  background: #08090b;
  border-radius: 50%;
  border: 1px solid #232731;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tablet-camera-dot::after {
  content: '';
  width: 3px;
  height: 3px;
  background: #2b4b80;
  border-radius: 50%;
  opacity: 0.85;
}

.tablet-sensor-dot {
  width: 5px;
  height: 5px;
  background: #0a0b0e;
  border-radius: 50%;
  margin-left: 12px;
}

/* Phone Dynamic Island */
.phone-dynamic-island {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 116px;
  height: 26px;
  background: #000000;
  border-radius: 20px;
  padding: 0 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  border: 1px solid #1d212a;
}

.mode-phone .tablet-camera-dot,
.mode-phone .tablet-sensor-dot {
  display: none;
}

.mode-phone .phone-dynamic-island {
  display: flex;
}

.island-camera {
  width: 9px;
  height: 9px;
  background: #090c12;
  border-radius: 50%;
  border: 1px solid #1f2533;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.island-camera::after {
  content: '';
  width: 3px;
  height: 3px;
  background: #2b4b80;
  border-radius: 50%;
}

.island-sensor {
  width: 5px;
  height: 5px;
  background: #090c12;
  border-radius: 50%;
}

/* Screen Glass */
.tablet-screen {
  background: #0f1115;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.65);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-radius 0.45s ease;
}

.mode-phone .tablet-screen {
  border-radius: 42px;
}

/* Screen Header Bar */
.tablet-screen-header {
  background: #181b22;
  border-bottom: 1px solid #282d37;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: padding 0.3s ease, gap 0.3s ease;
}

.mode-phone .tablet-screen-header {
  padding: 8px 12px;
  gap: 8px;
}

.tablet-status-time {
  font-size: 13px;
  font-weight: 600;
  color: #9ca3af;
  letter-spacing: 0.02em;
  min-width: 45px;
}

.mode-phone .tablet-status-time {
  font-size: 12px;
  min-width: 38px;
}

.tablet-url-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0f1115;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid #252932;
  font-family: monospace, var(--font-family);
  font-size: 12px;
  color: #d1d5db;
  max-width: 480px;
  flex: 1;
  margin: 0 auto;
}

.mode-phone .tablet-url-badge {
  padding: 4px 8px;
  font-size: 11px;
  max-width: 140px;
  overflow: hidden;
}

.mode-phone .tablet-url-badge .url-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mode-phone .tablet-url-badge .live-pill {
  display: none;
}

.tablet-screen-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-phone .tablet-screen-actions {
  gap: 6px;
}

.tablet-action-btn {
  background: #232731;
  color: #e5e7eb;
  border: 1px solid #333844;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tablet-action-btn:hover {
  background: #2d3340;
  border-color: var(--color-brand-yellow);
  color: #ffffff;
}

.btn-device-switch {
  background: #292e3a;
  border-color: #3b4252;
}

.mode-phone .btn-device-switch {
  background: var(--color-brand-yellow);
  color: #1c1c1e;
  border-color: var(--color-brand-yellow);
  font-weight: 700;
}

.mode-phone .tablet-action-btn {
  padding: 4px 8px;
  font-size: 11px;
}

.mode-phone .action-btn-label {
  display: none;
}

/* Device Iframe Container */
.tablet-iframe-container {
  width: 100%;
  height: clamp(540px, 68vh, 680px);
  background: #0f1115;
  position: relative;
  transition: height 0.45s ease;
}

.mode-phone .tablet-iframe-container {
  height: clamp(560px, 70vh, 680px);
}

.tablet-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Phone Home Indicator Bar */
.phone-home-indicator {
  display: none;
  width: 130px;
  height: 4px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  margin: 10px auto 4px auto;
}

.mode-phone .phone-home-indicator {
  display: block;
}

/* Fullscreen support on chassis */
.tablet-chassis:fullscreen,
.tablet-chassis:-webkit-full-screen {
  border-radius: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
}

.tablet-chassis:fullscreen .tablet-screen,
.tablet-chassis:-webkit-full-screen .tablet-screen {
  border-radius: 0 !important;
  height: 100vh !important;
  max-height: 100vh !important;
}

.tablet-chassis:fullscreen .tablet-top-sensor-bar,
.tablet-chassis:-webkit-full-screen .tablet-top-sensor-bar {
  display: none !important;
}

.tablet-chassis:fullscreen .tablet-iframe-container,
.tablet-chassis:-webkit-full-screen .tablet-iframe-container {
  height: calc(100vh - 54px) !important;
  max-height: calc(100vh - 54px) !important;
}

/* ==================== Interaktives Test-Overlay (Trigger) ==================== */
.gui-test-overlay {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: pointer;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.4s ease;
  user-select: none;
  -webkit-user-select: none;
}

.gui-test-overlay.is-dismissed {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
  visibility: hidden;
}

.gui-test-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(20, 22, 28, 0.82) 0%, rgba(10, 12, 16, 0.94) 100%);
  backdrop-filter: blur(14px) saturate(170%);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
}

.gui-test-overlay-card {
  position: relative;
  z-index: 2;
  max-width: 440px;
  width: 90%;
  background: rgba(28, 30, 36, 0.88);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 42px 36px 36px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55),
              0 0 0 1px rgba(253, 195, 2, 0.22),
              0 0 50px rgba(253, 195, 2, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gui-test-overlay:hover .gui-test-overlay-card {
  transform: translateY(-3px);
  border-color: rgba(253, 195, 2, 0.6);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65),
              0 0 0 1px rgba(253, 195, 2, 0.45),
              0 0 60px rgba(253, 195, 2, 0.28);
}

/* Tap Indicator with expanding ripples (Großer Triggerfinger) */
.gui-tap-indicator {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 2px;
}

.tap-icon-circle {
  position: relative;
  z-index: 3;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd300 0%, #ea8500 100%);
  color: #1c1c1e;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 32px rgba(253, 195, 2, 0.55), 0 0 24px rgba(253, 195, 2, 0.35);
  animation: tapFloat 2.2s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.tap-icon-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 40px rgba(253, 195, 2, 0.7), 0 0 30px rgba(253, 195, 2, 0.5);
}

.tap-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid rgba(253, 195, 2, 0.65);
  pointer-events: none;
  animation: tapRingPulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.tap-ring.ring-2 {
  animation-delay: 0.6s;
}

.tap-ring.ring-3 {
  animation-delay: 1.2s;
}

@keyframes tapRingPulse {
  0% {
    transform: scale(0.65);
    opacity: 0.95;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

@keyframes tapFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.05);
  }
}

/* Title & Desc */
.gui-test-title {
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.gui-test-desc {
  font-size: clamp(13px, 1.1vw, 15px);
  color: #d1d5db;
  line-height: 1.55;
  margin: 0;
  max-width: 480px;
}

/* CTA Button */
.gui-test-cta-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffd300 0%, #fdc302 50%, #f59e0b 100%);
  color: #1c1c1e;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 800;
  padding: 14px 30px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(253, 195, 2, 0.35);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.2s ease;
  margin-top: 2px;
}

.gui-test-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  animation: btnSweep 3s infinite;
}

@keyframes btnSweep {
  0% { left: -100%; }
  35%, 100% { left: 160%; }
}

.gui-test-overlay:hover .gui-test-cta-btn {
  transform: scale(1.04);
  box-shadow: 0 14px 36px rgba(253, 195, 2, 0.5);
  filter: brightness(1.05);
}

.cta-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(28, 28, 30, 0.15);
}

.cta-btn-arrow {
  font-size: 18px;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.gui-test-overlay:hover .cta-btn-arrow {
  transform: translateX(4px);
}

/* Feature Chips */
.gui-test-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
}

.test-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 600;
}

.test-chip svg {
  color: var(--color-brand-yellow);
}

/* Phone Mode Responsive Adaptations */
.mode-phone .gui-test-overlay-card {
  max-width: 320px;
  padding: 28px 20px 24px;
  gap: 16px;
  border-radius: 18px;
}

.mode-phone .gui-tap-indicator {
  width: 76px;
  height: 76px;
  margin: 0;
}

.mode-phone .tap-icon-circle {
  width: 62px;
  height: 62px;
}

.mode-phone .tap-icon-circle svg {
  width: 30px;
  height: 30px;
}

.mode-phone .gui-test-title {
  font-size: 1.25rem;
}

.mode-phone .gui-test-chips .test-chip:last-child {
  display: none;
}

/* ==================== Interaktiver Begleiter (Milchglas-Zwischenebene) ==================== */
.gui-guide-card {
  position: absolute;
  right: -130px;
  top: 110px;
  width: 290px;
  max-width: 90vw;
  z-index: 100;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 16px 18px;
  color: #1c1c1e;
  font-family: var(--font-family);
  box-shadow: 
    0 24px 50px -10px rgba(0, 0, 0, 0.28),
    0 8px 20px -4px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  pointer-events: auto;
  user-select: none;
  cursor: grab;
  touch-action: none;
}

/* Phone Mode: place alongside on the desktop canvas */
.tablet-frame-wrapper.mode-phone .gui-guide-card {
  left: calc(100% + 28px);
  right: auto;
  top: 120px;
  width: 290px;
}

/* Interactive updating pulse */
.gui-guide-card.is-updating {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 30px 60px -8px rgba(0, 0, 0, 0.34),
    0 12px 24px -4px rgba(253, 195, 2, 0.45),
    0 0 0 2px var(--color-brand-yellow);
}

.gui-guide-card.is-dragging {
  cursor: grabbing !important;
  user-select: none !important;
  transition: none !important;
  box-shadow: 
    0 36px 80px -10px rgba(0, 0, 0, 0.45),
    0 16px 36px -4px rgba(253, 195, 2, 0.35),
    0 0 0 2px rgba(255, 255, 255, 0.95);
  z-index: 120 !important;
}

.gui-guide-card.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.94);
}

/* Drag Handle */
.gui-guide-drag-handle {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 0 8px 0;
  cursor: grab;
  touch-action: none;
}

.gui-guide-card.is-dragging .gui-guide-drag-handle {
  cursor: grabbing !important;
}

.drag-handle-pill {
  width: 36px;
  height: 4px;
  background: rgba(0, 0, 0, 0.16);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.gui-guide-card:hover .drag-handle-pill {
  background: rgba(0, 0, 0, 0.32);
  width: 46px;
}

.gui-guide-card.is-dragging .drag-handle-pill {
  background: #1c1c1e;
  width: 50px;
}

.gui-guide-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52525b;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  z-index: 2;
}

.gui-guide-close:hover {
  background: #1c1c1e;
  color: #ffffff;
  transform: rotate(90deg);
}

.gui-guide-content {
  display: block;
}

.gui-guide-text-wrap {
  width: 100%;
}

.gui-guide-title {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.01em;
  margin: 0 0 6px 0;
  line-height: 1.3;
  padding-right: 26px;
}

.gui-guide-body {
  font-size: 13px;
  line-height: 1.55;
  color: #27272a;
  font-weight: 500;
  margin: 0;
}

.gui-guide-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 11.5px;
  line-height: 1.45;
  color: #52525b;
}

.gui-guide-footer strong {
  color: #111827;
  font-weight: 700;
}

.gui-guide-restart-btn {
  display: inline-block;
  background: none;
  border: none;
  font-family: var(--font-family);
  font-size: 11px;
  font-weight: 700;
  color: #b45309;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 0 0 0;
  margin-top: 5px;
  transition: color 0.15s ease;
}

.gui-guide-restart-btn:hover {
  color: #ea8500;
}

/* Medium desktops: moderate outward offset */
@media (min-width: 1141px) and (max-width: 1380px) {
  .gui-guide-card {
    right: -85px;
    width: 280px;
  }
}

/* Responsive adjustment for screens <= 1140px: docked cleanly below */
@media (max-width: 1140px) {
  .gui-guide-card,
  .tablet-frame-wrapper.mode-phone .gui-guide-card {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: 560px;
    margin: 24px auto 0 auto;
    border-radius: 14px;
    box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.2);
  }
}

/* ==================== Zwischenüberschrift vor Zielgruppen-Kacheln ==================== */
.bedien-cards-header {
  margin: 15px 0 34px 0;
  text-align: left;
}

.bedien-cards-headline {
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 800;
  color: #1c1c1e;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

/* ==================== 3 Target Group Photo Cards ==================== */
.bedien-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.bedien-photo-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.bedien-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.14), 0 4px 10px rgba(0, 0, 0, 0.06);
}

.bedien-photo-media {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
}

.bedien-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.bedien-photo-card:hover .bedien-photo-img {
  transform: scale(1.04);
}

.bedien-photo-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(28, 28, 30, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-brand-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 3px;
  text-transform: uppercase;
}

.bedien-photo-content {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.bedien-photo-title {
  font-size: 20px;
  font-weight: 800;
  color: #1c1c1e;
  margin: 0 0 14px 0;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.bedien-photo-text {
  font-size: 15px;
  line-height: 1.65;
  color: #4b4b50;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.bedien-photo-quote {
  background: #f7f7f9;
  border-left: 3px solid var(--color-brand-yellow);
  padding: 14px 16px;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  color: #1c1c1e;
  margin-top: auto;
}

@media (max-width: 992px) {
  .bedien-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tablet-iframe-container {
    height: clamp(480px, 65vh, 580px);
  }
  .tablet-chassis {
    padding: 10px 10px 16px 10px;
    border-radius: 28px;
  }
  .tablet-screen {
    border-radius: 18px;
  }
}

/* ==================== 8. EINE STEUERUNG, DIE DENKMAL KANN. ==================== */
.section-denkmal {
  background-color: var(--color-bg-dark);
  padding: 120px 0;
  position: relative;
}

.denkmal-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.denkmal-media-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1c1c1e;
}

.denkmal-img {
  width: 100%;
  height: clamp(440px, 42vw, 580px);
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.denkmal-media-frame:hover .denkmal-img {
  transform: scale(1.025);
}

.denkmal-content .section-badge-group {
  margin-bottom: 22px;
}

.denkmal-content .section-headline {
  margin-bottom: 28px;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.25;
}

.denkmal-p {
  font-size: 17px;
  line-height: 1.7;
  color: #d1d1d6;
  margin-bottom: 20px;
}

.denkmal-p strong {
  color: #ffffff;
  font-weight: 700;
}

.denkmal-highlight-box {
  margin-top: 32px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--color-brand-yellow);
  border-radius: 0 4px 4px 0;
}

.denkmal-highlight {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .denkmal-img {
    height: 420px;
  }
}

/* ==================== 9. MAHR PARTNER SEIT SECHS GENERATIONEN ==================== */
.section-partner {
  background-color: var(--color-brand-yellow);
  color: #1c1c1e;
  padding: 120px 0;
  position: relative;
}

.partner-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 75px;
  align-items: center;
}

.partner-logo-wrapper {
  margin-bottom: clamp(16px, 1.4vw, 22px);
  display: flex;
  align-items: center;
}

.partner-mahr-logo {
  height: clamp(34px, 2.6vw, 44px);
  width: auto;
  display: block;
  transition: transform 0.25s ease;
}

.partner-mahr-logo:hover {
  transform: translateY(-2px);
}

.partner-headline {
  margin-top: 0;
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  color: #1c1c1e;
  margin-bottom: 22px;
  letter-spacing: -0.015em;
}

.partner-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #1c1c1e;
  margin-bottom: 18px;
  font-weight: 600;
}

.partner-p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #27272a;
  margin-bottom: 0;
  font-weight: 450;
}

/* Stats Counter Row */
.partner-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.partner-stat-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.partner-stat-num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: #1c1c1e;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.partner-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #48484a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Right Showcase Card */
.partner-showcase-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.partner-photo-wrapper {
  height: 260px;
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
}

.partner-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 25%;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-showcase-card:hover .partner-photo-img {
  transform: scale(1.03);
}

.partner-photo-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-brand-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 3px;
}

.partner-card-body {
  padding: 28px 28px 32px;
}

.partner-profil-title {
  font-size: 20px;
  font-weight: 800;
  color: #1c1c1e;
  margin: 0 0 20px 0;
  letter-spacing: -0.01em;
}

.partner-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.partner-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  line-height: 1.5;
  color: #3a3a3c;
}

.partner-check-badge {
  width: 22px;
  height: 22px;
  background: var(--color-brand-yellow);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 2px 6px rgba(253, 195, 2, 0.4);
}

@media (max-width: 992px) {
  .partner-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 560px) {
  .partner-stats-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .partner-photo-wrapper {
    height: 210px;
  }
  .partner-card-body {
    padding: 22px 20px 24px;
  }
}

/* ==================== 10. KONTAKT (HELLER HINTERGRUND MIT DATASTREAM) ==================== */
.section-kontakt {
  position: relative;
  background-color: #ffffff;
  color: #1c1c1e;
  padding: 125px 0 140px;
  overflow: hidden;
  border-top: 1px solid #eaeaee;
}

/* Datastream Outro Hintergrund (Heller Modus) */
.kontakt-datastream-wrap {
  position: absolute;
  top: -15%;
  bottom: -15%;
  left: -5%;
  right: -5%;
  width: 110%;
  height: 130%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: translate3d(calc(var(--kontakt-mouse-x, 0) * -25px), calc(var(--kontakt-mouse-y, 0) * -18px), 0);
  will-change: transform;
}

.kontakt-datastream-glow {
  position: absolute;
  top: 35%;
  right: 10%;
  width: 750px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.10) 0%, rgba(245, 166, 35, 0.03) 45%, transparent 70%);
  filter: blur(65px);
  pointer-events: none;
}

.kontakt-datastream-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: multiply;
  filter: saturate(1.2) contrast(1.1);
  animation: kontaktDatastreamMove 14s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
  transform-origin: 50% 50%;
}

@keyframes kontaktDatastreamMove {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  40% {
    transform: translate3d(-18px, 14px, 0) scale(1.025) rotate(-0.4deg);
  }
  80% {
    transform: translate3d(14px, -10px, 0) scale(1.015) rotate(0.3deg);
  }
  100% {
    transform: translate3d(-8px, 6px, 0) scale(1.02) rotate(-0.2deg);
  }
}

.kontakt-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 5vw, 75px);
  align-items: center;
}

.kontakt-left {
  display: flex;
  flex-direction: column;
}

.section-kontakt .section-badge-box.box-yellow {
  box-shadow: 0 4px 14px rgba(255, 230, 0, 0.35);
}

.kontakt-headline {
  font-size: clamp(28px, 2.3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  margin-top: 8px;
  margin-bottom: 22px;
  color: #1c1c1e;
  letter-spacing: -0.02em;
}

.kontakt-lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: #48484a;
  margin-bottom: 34px;
  max-width: 580px;
}

.kontakt-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

/* Primary CTA Button */
.action-link-btn.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-brand-yellow);
  color: #1c1c1e;
  font-size: 17px;
  font-weight: 800;
  padding: 15px 30px;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(255, 230, 0, 0.4);
  transition: all var(--transition-fast);
  margin-bottom: 4px;
}

.action-link-btn.btn-cta-primary svg {
  transition: transform var(--transition-fast);
}

.action-link-btn.btn-cta-primary:hover {
  background-color: #ffd700;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(255, 230, 0, 0.5);
  color: #000000;
}

.action-link-btn.btn-cta-primary:hover svg {
  transform: translateX(5px);
}

/* Secondary Action Links */
.action-link-btn.btn-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 700;
  color: #1c1c1e;
  text-decoration: none;
  border-bottom: 2px solid var(--color-brand-yellow);
  padding: 4px 0;
  transition: all var(--transition-fast);
  width: fit-content;
}

.action-link-btn.btn-secondary-link svg {
  color: #1c1c1e;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.action-link-btn.btn-secondary-link:hover {
  color: var(--color-brand-yellow-dark);
  border-bottom-color: var(--color-brand-yellow-dark);
  transform: translateX(4px);
}

.action-link-btn.btn-secondary-link:hover svg {
  color: var(--color-brand-yellow-dark);
  transform: translateX(4px);
}

/* Right Column Contact Cards */
.kontakt-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-person-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all var(--transition-smooth);
}

.contact-person-card:hover {
  background: #ffffff;
  border-color: var(--color-brand-yellow);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09), 0 0 22px rgba(255, 230, 0, 0.22);
}

.person-avatar-circle {
  width: 52px;
  height: 52px;
  background-color: var(--color-brand-yellow);
  color: #1c1c1e;
  font-weight: 800;
  font-size: 1.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255, 230, 0, 0.35);
}

.person-details {
  flex: 1;
}

.person-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1c1c1e;
  margin-bottom: 5px;
}

.person-role {
  font-weight: 400;
  color: #636366;
  font-size: 0.95rem;
}

.person-info {
  font-size: 0.95rem;
  color: #3a3a3c;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.person-link {
  color: #1c1c1e;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.person-link svg {
  color: var(--color-brand-yellow-dark);
}

.person-link:hover {
  color: var(--color-brand-yellow-dark);
}

.contact-person-card .sep {
  color: #c7c7cc;
}

/* Company Card */
.contact-company-card {
  background: rgba(246, 246, 248, 0.85);
  border: 1px dashed rgba(0, 0, 0, 0.14);
  border-radius: 8px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.company-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255, 230, 0, 0.25);
  color: #1c1c1e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-info-text {
  font-size: 0.92rem;
  color: #636366;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.company-info-text strong {
  color: #1c1c1e;
}

.company-web-link {
  color: #1c1c1e;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.company-web-link:hover {
  color: var(--color-brand-yellow-dark);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .kontakt-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .kontakt-datastream-img {
    opacity: 0.16;
  }
}

@media (max-width: 560px) {
  .section-kontakt {
    padding: 85px 0 100px;
  }
  .contact-person-card {
    padding: 18px 20px;
    gap: 14px;
  }
  .person-avatar-circle {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }
  .person-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .contact-person-card .sep {
    display: none;
  }
  .company-info-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .contact-company-card .sep {
    display: none;
  }
}

/* ==================== 11. FOOTER ==================== */
.site-footer {
  background-color: var(--color-bg-footer);
  color: #ffffff;
  padding: 65px 0 50px;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr auto;
  gap: 50px;
  align-items: flex-start;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  font-size: 1rem;
  color: #d1d1d6;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-brand-yellow);
  transform: translateX(3px);
}

.footer-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-social-and-brand {
  display: flex;
  align-items: center;
  gap: 25px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--color-brand-yellow);
  color: #1c1c1e;
  transform: translateY(-2px);
}

.footer-mahr-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #8e8e93;
}

/* AI Modified Footer Badge (klein & unauffällig) */
.footer-ai-badge-box {
  position: relative;
  background-color: var(--color-brand-yellow);
  color: #1c1c1e;
  border-radius: 12px;
  padding: 13px 14px 10px 14px;
  max-width: 320px;
  margin-top: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.ai-badge-pill {
  position: absolute;
  top: -8px;
  left: 14px;
  background-color: #000000;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}

.ai-sparkle-icon {
  width: 9px;
  height: 9px;
  fill: currentColor;
  flex-shrink: 0;
}

.ai-badge-text {
  font-size: 11px;
  line-height: 1.45;
  color: #1c1c1e;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.scroll-to-top {
  width: 46px;
  height: 46px;
  background-color: #242426;
  color: #ffffff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.scroll-to-top:hover {
  background-color: var(--color-brand-yellow);
  color: #1c1c1e;
  transform: translateY(-4px);
}

/* ==================== VIDEO MODAL ==================== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.video-modal-content {
  position: relative;
  z-index: 1;
  background-color: #1c1c1e;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  max-width: 680px;
  width: 90%;
  padding: 45px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.video-modal-close:hover {
  color: var(--color-brand-yellow);
}

.video-placeholder-container h3 {
  font-size: 1.85rem;
  color: var(--color-brand-yellow);
  margin-bottom: 14px;
}

.video-placeholder-container p {
  font-size: 1.15rem;
  color: #e5e5ea;
  margin-bottom: 28px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
  .software-container,
  .denkmal-container,
  .partner-container,
  .kontakt-container {
    gap: 50px;
  }
}

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

@keyframes floatPhoneMobile {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(0, -10px, 0) rotate(-0.8deg);
  }
}

@media (max-width: 992px) {
  .site-header {
    padding: 18px 0;
  }
  .site-header.is-scrolled {
    padding: 10px 0;
  }
  .header-container {
    padding: 0 24px;
  }
  .brand-logo {
    height: clamp(56px, 7vw, 70px);
  }
  .site-header.is-scrolled .brand-logo {
    height: 44px;
  }
  .section-hero {
    height: auto;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 60px;
  }
  .hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
  }
  .hero-badge-group {
    align-items: center;
  }
  .hero-subline-wrap {
    margin-top: 20px;
    max-width: 520px;
    text-align: center;
  }
  .hero-subline {
    border-left: none;
    padding-left: 0;
    font-size: 15px;
    line-height: 1.55;
  }
  .hero-visual {
    width: 100%;
    height: auto;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
  }
  .hero-church-img {
    width: 100%;
    max-width: 560px;
    height: auto;
    object-position: center;
    clip-path: none;
    margin-right: 0;
  }
  .phone-float-wrapper {
    position: relative;
    right: auto;
    top: auto;
    width: 72%;
    max-width: 340px;
    height: auto;
    max-height: none;
    margin: 0 auto;
    animation: phoneEntranceMobile 1s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards, floatPhoneMobile 6s ease-in-out infinite alternate 1.35s;
  }
  .hero-phone-img {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  .hero-bg-wave {
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 108%;
    top: -4%;
    bottom: -4%;
    opacity: 0.55;
    justify-content: center;
  }
  .software-container,
  .denkmal-container,
  .partner-container,
  .kontakt-container {
    grid-template-columns: 1fr;
  }
  .software-media {
    order: -1;
  }
  .denkmal-media {
    order: -1;
  }
  .bedien-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .calc-buttons-row {
    flex-wrap: wrap;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 14px 0;
  }
  .site-header.is-scrolled {
    padding: 8px 0;
  }
  .header-container {
    padding: 0 16px;
  }
  .brand-logo {
    height: clamp(46px, 11vw, 56px);
  }
  .site-header.is-scrolled .brand-logo {
    height: 38px;
  }
  .nav-overlay-header .brand-logo {
    height: 48px;
  }
  .section-container {
    padding: 0 20px;
  }
  .section-hero {
    height: auto;
    min-height: 100vh;
    padding-top: clamp(115px, 16vh, 140px);
    padding-bottom: 50px;
  }
  .hero-container {
    padding: 0 16px;
    gap: 26px;
  }
  .hero-badge-group {
    gap: 6px;
  }
  .hero-subline-wrap {
    margin-top: 14px;
    max-width: 100%;
  }
  .hero-subline {
    font-size: 14px;
    line-height: 1.55;
  }
  .box-small {
    height: auto;
    min-height: 38px;
    font-size: clamp(18px, 5.5vw, 24px);
    padding: 6px 14px;
    white-space: normal;
  }
  .box-large {
    height: auto;
    min-height: 52px;
    font-size: clamp(32px, 9.5vw, 44px);
    padding: 6px 16px;
    white-space: normal;
  }
  .section-badge-group {
    gap: 6px;
    max-width: 100%;
  }
  .section-badge-box {
    font-size: clamp(16px, 5.2vw, 22px);
    height: auto;
    min-height: 38px;
    padding: 6px 12px;
    white-space: normal;
    line-height: 1.18;
    max-width: 100%;
    word-break: normal;
  }
  .bedien-header .bedien-subline {
    font-size: 15px;
    line-height: 1.6;
  }
  .hero-visual {
    height: auto;
    gap: 18px;
    margin-top: 8px;
  }
  .hero-church-img {
    width: 118%;
    max-width: 118%;
    height: auto;
  }
  .phone-float-wrapper {
    width: 78%;
    max-width: 290px;
    height: auto;
    right: auto;
  }
  .tilted-badge {
    height: 42px;
    font-size: 24px;
    padding: 0 14px;
  }
  .tilted-subline {
    font-size: 22px;
    margin-top: 6px;
  }
  .calc-rect-btn {
    height: 50px;
    font-size: 16px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .calc-buttons-row {
    flex-direction: column;
  }
  .calc-results {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-calc-cta {
    justify-content: center;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ==================== LEGAL & UTILITY MODALS (Impressum, Datenschutz, Cookies, Callback, Broschüre) ==================== */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.legal-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(3, 8, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.legal-modal-dialog {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 860px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #0c182b;
  border: 1px solid rgba(253, 195, 0, 0.28);
  border-radius: 16px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 25px rgba(253, 195, 0, 0.08);
  overflow: hidden;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.legal-modal-dialog.modal-sm {
  max-width: 580px;
}

@keyframes modalScaleUp {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.legal-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: rgba(7, 19, 38, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.legal-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.legal-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.legal-modal-ext-link {
  font-size: 0.85rem;
  color: var(--color-brand-yellow);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
}

.legal-modal-ext-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.legal-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #cbd5e1;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.legal-modal-close:hover {
  background: rgba(253, 195, 0, 0.15);
  border-color: var(--color-brand-yellow);
  color: var(--color-brand-yellow);
  transform: rotate(90deg);
}

.legal-modal-body {
  padding: 30px;
  overflow-y: auto;
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.75;
  scrollbar-width: thin;
  scrollbar-color: rgba(253, 195, 0, 0.35) rgba(255, 255, 255, 0.05);
}

.legal-modal-body::-webkit-scrollbar {
  width: 8px;
}

.legal-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.legal-modal-body::-webkit-scrollbar-thumb {
  background-color: rgba(253, 195, 0, 0.35);
  border-radius: 4px;
}

.legal-modal-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-modal-body h2:first-child {
  margin-top: 0;
}

.legal-modal-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-brand-yellow);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-modal-body p,
.legal-modal-body ul {
  margin-bottom: 16px;
}

.legal-modal-body ul {
  padding-left: 24px;
}

.legal-modal-body li {
  margin-bottom: 6px;
}

.legal-modal-body strong {
  color: #ffffff;
}

.legal-modal-body a {
  color: var(--color-brand-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 22px;
  margin: 20px 0;
}

/* ==================== COOKIE CONSENT BANNER ==================== */
.cookie-banner-wrapper {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(160%);
  width: calc(100% - 36px);
  max-width: 960px;
  z-index: 10500;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner-wrapper.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner {
  background: rgba(11, 24, 43, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(253, 195, 0, 0.32);
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 24px rgba(253, 195, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.cookie-icon-svg {
  width: 24px;
  height: 24px;
  color: var(--color-brand-yellow);
}

.cookie-banner-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.cookie-banner-text a {
  color: var(--color-brand-yellow);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.btn-cookie-cta {
  padding: 11px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
}

.btn-cookie-cta.btn-primary-yellow {
  background: var(--color-brand-yellow);
  color: #071326;
  border: 1px solid var(--color-brand-yellow);
  box-shadow: 0 4px 15px rgba(253, 195, 0, 0.3);
}

.btn-cookie-cta.btn-primary-yellow:hover {
  background: #f39205;
  border-color: #f39205;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 195, 0, 0.45);
}

.btn-cookie-cta.btn-secondary-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cookie-cta.btn-secondary-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-cookie-cta.btn-text-link {
  background: transparent;
  color: var(--color-brand-yellow);
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 11px 16px;
}

.btn-cookie-cta.btn-text-link:hover {
  opacity: 0.85;
}

/* ==================== COOKIE SETTINGS CATEGORIES ==================== */
.cookie-categories-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}

.cookie-category-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  transition: border-color 0.2s ease;
}

.cookie-category-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.cookie-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cookie-cat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-mandatory-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(253, 195, 0, 0.15);
  color: var(--color-brand-yellow);
  border: 1px solid rgba(253, 195, 0, 0.3);
}

.cookie-cat-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}

/* Custom Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  transition: 0.3s ease;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: 0.3s ease;
}

input:checked + .cookie-slider {
  background-color: var(--color-brand-yellow);
}

input:checked + .cookie-slider:before {
  transform: translateX(20px);
  background-color: #071326;
}

input:disabled + .cookie-slider {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ==================== CONTACT UTILITY FORMS (Callback & Broschüre) ==================== */
.modal-form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.modal-form-input,
.modal-form-select,
.modal-form-textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 16px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-form-input:focus,
.modal-form-select:focus,
.modal-form-textarea:focus {
  outline: none;
  border-color: var(--color-brand-yellow);
  box-shadow: 0 0 0 3px rgba(253, 195, 0, 0.2);
}

.modal-form-select option {
  background: #071326;
  color: #ffffff;
}

.modal-form-hint {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 4px;
}

.modal-form-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #ecfdf5;
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.modal-form-success.is-visible {
  display: block;
}

@media (max-width: 768px) {
  .legal-modal-dialog {
    width: 95%;
    max-height: 92vh;
  }
  .legal-modal-header {
    padding: 16px 20px;
  }
  .legal-modal-body {
    padding: 20px;
  }
  .cookie-banner {
    padding: 20px;
  }
  .cookie-banner-actions {
    justify-content: stretch;
    flex-direction: column;
  }
  .btn-cookie-cta {
    width: 100%;
  }
}

/* ==================== MOBILE GUI TEASER & FULLSCREEN OVERLAY ==================== */

/* Desktop view: Hide mobile teaser */
@media (min-width: 992px) {
  .mobile-gui-teaser {
    display: none !important;
  }
}

/* Mobile & Tablet view (<= 991px): Hide bulky inline chassis, display modern mobile teaser */
@media (max-width: 991px) {
  .mockup-device-switch-wrap {
    display: none !important;
  }
  .tablet-frame-wrapper {
    display: none !important;
  }
  .gui-guide-card {
    display: none !important;
  }
  .mobile-gui-teaser {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 28px auto 44px auto;
  }
}

/* Mobile Teaser Card */
.mobile-teaser-card {
  background: #141720;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px 18px 18px 18px;
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 4px 16px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(253, 195, 0, 0.15);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
}

.mobile-teaser-card:hover,
.mobile-teaser-card:active {
  transform: translateY(-3px);
  border-color: var(--color-brand-yellow);
  box-shadow: 
    0 30px 75px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(253, 195, 0, 0.2),
    0 0 0 1px var(--color-brand-yellow);
}

.mobile-teaser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mobile-teaser-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253, 195, 0, 0.12);
  border: 1px solid rgba(253, 195, 0, 0.35);
  color: var(--color-brand-yellow);
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.mobile-teaser-app-badge {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

/* Stylized Phone Glass Preview */
.mobile-teaser-screen {
  background: #090b10;
  border: 1px solid #1f2430;
  border-radius: 14px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.mts-church-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mts-church-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mts-church-icon {
  font-size: 20px;
}

.mts-church-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.mts-church-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #10b981;
  font-weight: 600;
}

.status-dot-green {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #10b981;
}

.mts-klima-summary {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-brand-yellow);
  background: rgba(253, 195, 0, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Rooms List in Preview */
.mts-rooms-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.mts-room-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 12px;
}

.mts-room-left {
  display: flex;
  flex-direction: column;
}

.mts-room-name {
  font-size: 13px;
  font-weight: 750;
  color: #f1f5f9;
}

.mts-room-detail {
  font-size: 10.5px;
  color: #64748b;
}

.mts-room-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.mts-temp-val {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.mts-rh-val {
  font-size: 10.5px;
  color: #94a3b8;
}

/* Action Tags in Preview */
.mts-action-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mts-tag {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Glow Cover / Tap to play overlay */
.mobile-teaser-glow-cover {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(10, 12, 18, 0.65) 0%, rgba(5, 7, 11, 0.88) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.25s ease;
}

.mobile-teaser-card:hover .mobile-teaser-glow-cover {
  background: radial-gradient(circle at center, rgba(10, 12, 18, 0.5) 0%, rgba(5, 7, 11, 0.8) 100%);
}

.mobile-teaser-play-btn {
  width: 58px;
  height: 58px;
  background: var(--color-brand-yellow);
  color: #141720;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 8px 24px rgba(253, 195, 0, 0.45);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-teaser-play-btn svg {
  margin-left: 3px;
}

.mobile-teaser-card:hover .mobile-teaser-play-btn,
.mobile-teaser-card:active .mobile-teaser-play-btn {
  transform: scale(1.1);
}

.play-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--color-brand-yellow);
  opacity: 0.6;
  animation: playPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes playPulse {
  0% { transform: scale(0.92); opacity: 0.8; }
  60% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.mobile-teaser-tap-text {
  font-size: 13.5px;
  font-weight: 750;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: -0.01em;
}

/* Big CTA Trigger Button */
.mobile-teaser-cta-wrap {
  margin-top: 14px;
}

.btn-mobile-teaser-cta {
  width: 100%;
  min-height: 52px;
  background: var(--color-brand-yellow);
  color: #14161b;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-family: var(--font-family);
  font-size: 15.5px;
  font-weight: 850;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(253, 195, 0, 0.3);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-mobile-teaser-cta:hover,
.btn-mobile-teaser-cta:active {
  background: #ffcf24;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(253, 195, 0, 0.45);
}

.btn-teaser-icon {
  display: flex;
  align-items: center;
  color: #14161b;
}

.btn-teaser-text {
  flex-grow: 1;
  text-align: left;
  letter-spacing: -0.01em;
}

.btn-teaser-arrow {
  font-size: 18px;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.btn-mobile-teaser-cta:hover .btn-teaser-arrow {
  transform: translateX(4px);
}

.mobile-teaser-footnote {
  margin: 10px 0 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #94a3b8;
  text-align: center;
}

/* ==================== FULLSCREEN MOBILE GUI OVERLAY ==================== */
.mobile-gui-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 100000;
  background: #090b10;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s ease;
}

.mobile-gui-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-overlay-header {
  height: 56px;
  min-height: 56px;
  padding: 0 14px 0 16px;
  background: #12151d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

.mobile-overlay-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-overlay-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.mobile-overlay-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(253, 195, 0, 0.15);
  color: var(--color-brand-yellow);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 20px;
  border: 1px solid rgba(253, 195, 0, 0.3);
}

.mobile-overlay-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1f232f;
  color: #ffffff;
  border: 1.5px solid var(--color-brand-yellow);
  border-radius: 22px;
  padding: 8px 16px;
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.mobile-overlay-close-btn:hover,
.mobile-overlay-close-btn:active {
  background: var(--color-brand-yellow);
  color: #14161b;
  transform: scale(1.02);
}

.mobile-overlay-body {
  flex: 1;
  width: 100%;
  height: calc(100% - 56px);
  position: relative;
  overflow: hidden;
  background: #090b10;
}

.mobile-overlay-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.mobile-overlay-bottom-hint {
  position: absolute;
  bottom: 16px;
  left: 14px;
  right: 14px;
  background: rgba(18, 22, 30, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(253, 195, 0, 0.35);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #e2e8f0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  z-index: 30;
  animation: hintPopIn 0.35s ease forwards;
}

@keyframes hintPopIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hint-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
}

.hint-close-btn:hover {
  color: #ffffff;
}

