/* ==========================================================================
   VAHRSCHULE BREMEN — 2026 DESIGN SYSTEM (iOS 27 LIQUID GLASS EDITION)
   Brand Palette: Obsidian Black (#050507), Vahr Crimson (#D71414 / #FF1E27),
                  Speed Ring Amber (#FF6700 / #FF9700), Metallic Chrome (#F7F7F7 / #C0C0C0)
   Typography: Outfit (Display/Headings) & Inter (UI/Body)
   ========================================================================== */

:root {
  /* Core Brand Colors (Derived from Vahrschule Logo & Original Site) */
  --bg-obsidian: #050508;
  --bg-deep: #0a0b10;
  --bg-elevated: #11131b;

  --brand-crimson: #d71414;
  --brand-crimson-bright: #ff2424;
  --brand-crimson-soft: #ec5353;
  --brand-amber: #ff6700;
  --brand-amber-light: #ff9700;

  --chrome-white: #ffffff;
  --chrome-silver: #e2e4ea;
  --chrome-muted: #a1a6b8;
  --chrome-dim: #6e7385;

  /* iOS 27 Liquid Glass Tokens */
  --glass-bg: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.085) 0%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(215, 20, 20, 0.035) 100%
  );
  --glass-inner-bg: rgba(255, 255, 255, 0.045);
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-blur: blur(42px) saturate(210%);
  --glass-shadow:
    0 24px 64px -12px rgba(0, 0, 0, 0.78),
    0 4px 16px rgba(0, 0, 0, 0.45),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 1px 0 rgba(255, 103, 0, 0.1);

  /* Radii (iOS 27 Squircle Geometry) */
  --radius-xs: 12px;
  --radius-sm: 18px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-pill: 9999px;

  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-fluid: 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: 130px;
  background-color: var(--bg-obsidian);
  color: var(--chrome-white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--chrome-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

.container {
  width: min(1280px, 100% - 36px);
  margin-inline: auto;
}

.section-padding {
  padding-block: clamp(68px, 8.5vw, 124px);
}

.section-anchor {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   AMBIENT LIQUID BACKGROUND STAGE (2026 SPATIAL DEPTH)
   ========================================================================== */
.ambient-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(215, 20, 20, 0.16), transparent 45%),
    radial-gradient(circle at 84% 22%, rgba(255, 103, 0, 0.13), transparent 48%),
    radial-gradient(circle at 50% 85%, rgba(215, 20, 20, 0.11), transparent 55%),
    var(--bg-obsidian);
}

.liquid-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  will-change: transform;
  animation: orbFloat 22s var(--ease-fluid) infinite alternate;
}

.orb-crimson {
  width: 580px;
  height: 580px;
  top: -120px;
  left: -140px;
  background: radial-gradient(circle, rgba(215, 20, 20, 0.55) 0%, rgba(215, 20, 20, 0) 70%);
}

.orb-amber {
  width: 520px;
  height: 520px;
  top: 14%;
  right: -140px;
  background: radial-gradient(circle, rgba(255, 103, 0, 0.42) 0%, rgba(255, 151, 0, 0) 70%);
  animation-duration: 27s;
  animation-delay: -5s;
}

.orb-chrome {
  width: 640px;
  height: 640px;
  top: 48%;
  left: 24%;
  background: radial-gradient(circle, rgba(200, 210, 235, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
  animation-duration: 31s;
  animation-delay: -11s;
}

.orb-deep-red {
  width: 560px;
  height: 560px;
  bottom: -140px;
  right: 12%;
  background: radial-gradient(circle, rgba(215, 20, 20, 0.4) 0%, rgba(255, 103, 0, 0) 72%);
  animation-duration: 25s;
  animation-delay: -8s;
}

@keyframes orbFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(40px, -35px, 0) scale(1.08);
  }
  100% {
    transform: translate3d(-30px, 45px, 0) scale(0.95);
  }
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 30%, transparent 100%);
}

/* ==========================================================================
   CORE iOS 27 LIQUID GLASS PRIMITIVES
   ========================================================================== */
.liquid-glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease-spring),
    border-color 0.35s ease,
    box-shadow 0.45s ease,
    background 0.35s ease;
}

/* Specular Cursor Glare Layer */
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
    rgba(255, 255, 255, 0.13),
    rgba(255, 103, 0, 0.04) 35%,
    transparent 70%
  );
  opacity: 0.85;
  transition: opacity 0.35s ease;
  z-index: 0;
}

/* Top Liquid Refraction Rim */
.liquid-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.06) 38%,
    rgba(255, 103, 0, 0.18) 78%,
    rgba(215, 20, 20, 0.32) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.liquid-glass > * {
  position: relative;
  z-index: 2;
}

.liquid-glass-inner {
  background: var(--glass-inner-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.14);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-spring);
}

.liquid-glass-inner:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}

.liquid-glass-pill {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
}

/* Typography Accents */
.text-gradient-brand {
  background: linear-gradient(135deg, #ff2e2e 0%, #ff6700 55%, #ff9700 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-amber {
  background: linear-gradient(90deg, #ff7b00, #ffb340);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

.text-chrome {
  background: linear-gradient(180deg, #ffffff 0%, #d4d7e0 60%, #9ca2b4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-crimson {
  color: #ff4d4d;
}

.text-muted {
  color: var(--chrome-muted);
}

.mb-3 {
  margin-bottom: 14px;
}

.mt-6 {
  margin-top: 28px;
}

.w-full {
  width: 100%;
}

.justify-center {
  justify-content: center;
}

/* ==========================================================================
   BUTTONS (LIQUID GLASS CAPSULES)
   ========================================================================== */
.btn-liquid-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  color: #ffffff;
  background: linear-gradient(135deg, #d71414 0%, #eb3314 55%, #ff6700 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    0 12px 32px -6px rgba(215, 20, 20, 0.58),
    inset 0 1px 1px rgba(255, 255, 255, 0.48),
    inset 0 -2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease, filter 0.3s ease;
}

.btn-liquid-primary:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow:
    0 18px 38px -6px rgba(255, 55, 20, 0.72),
    inset 0 1px 2px rgba(255, 255, 255, 0.65);
  filter: brightness(1.07);
}

.btn-liquid-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-liquid-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--chrome-white);
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease, border-color 0.3s ease;
}

.btn-liquid-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.02rem;
}

.icon-xs {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.icon-sm {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   HEADER: iOS 27 FLOATING DYNAMIC ISLAND NAVIGATION
   - Permanent Section-Jump Menu on BOTH Desktop & Mobile
   - Mobile Full-Width Logo at Top -> Smoothly Shrinks to Top-Left on Scroll
   ========================================================================== */
.glass-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: 14px;
  transition: top 0.4s var(--ease-spring);
}

.header-container {
  max-width: 1280px;
  margin-inline: auto;
}

.nav-island {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 18, 0.75);
  transition:
    padding 0.45s var(--ease-spring),
    border-radius 0.45s var(--ease-spring),
    background 0.35s ease;
}

.nav-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

/* On desktop, put nav-links in the middle and actions on the right */
@media (min-width: 1081px) {
  .nav-island {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .nav-brand-bar {
    display: contents;
  }
  .brand-logo {
    grid-column: 1;
  }
  .nav-links {
    grid-column: 2;
    justify-self: center;
  }
  .nav-actions {
    grid-column: 3;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: all 0.5s var(--ease-spring);
}

.logo-img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(255, 103, 0, 0.22));
  transition:
    height 0.5s var(--ease-spring),
    width 0.5s var(--ease-spring),
    transform 0.5s var(--ease-spring);
}

.brand-logo:hover .logo-img {
  transform: scale(1.03);
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.045);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-capsule {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: 72px;
  border-radius: var(--radius-pill);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(215, 20, 20, 0.34) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transition: transform 0.36s var(--ease-spring), width 0.36s var(--ease-spring);
  pointer-events: none;
  z-index: 0;
}

.nav-link {
  position: relative;
  z-index: 1;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--chrome-silver);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link-highlight {
  color: var(--brand-amber-light);
  font-weight: 600;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-amber);
  box-shadow: 0 0 8px var(--brand-amber);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.glass-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--chrome-silver);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.glass-icon-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.25);
}

.status-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  flex-shrink: 0;
}

.status-led.closed {
  background: var(--brand-amber);
  box-shadow: 0 0 10px var(--brand-amber);
}

/* ==========================================================================
   MOBILE & TABLET HEADER BEHAVIOR (<= 1080px):
   1. At top of page (.glass-header:not(.is-scrolled)):
      - Vahrschule Logo spans 100% full width of the screen!
      - Section Jump Menu is permanently visible right below it.
   2. On scroll (.glass-header.is-scrolled):
      - Logo smoothly shrinks & glides to top-left!
      - Section Jump Menu stays permanently visible!
   ========================================================================== */
@media (max-width: 1080px) {
  html {
    scroll-padding-top: 138px;
  }

  .glass-header {
    top: 8px;
    padding-inline: 10px;
  }

  .nav-island {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 14px 10px;
    border-radius: 26px;
    background: rgba(8, 10, 16, 0.82);
  }

  .nav-brand-bar {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
    transition: min-height 0.52s var(--ease-spring);
  }

  /* Full-width Logo when at top of page on Mobile */
  .brand-logo {
    width: 100%;
    justify-content: center;
    transform-origin: left center;
    transition:
      width 0.52s var(--ease-spring),
      transform 0.52s var(--ease-spring);
  }

  .logo-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 92px;
    object-fit: contain;
    transition:
      max-height 0.52s var(--ease-spring),
      width 0.52s var(--ease-spring),
      transform 0.52s var(--ease-spring);
  }

  /* Hide top-right action buttons while logo is 100% full-width at scroll=0 */
  .glass-header:not(.is-scrolled) .nav-actions {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) scale(0.85);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.4s var(--ease-spring);
  }

  /* When user starts scrolling: Logo smoothly shrinks & docks to top-left! */
  .glass-header.is-scrolled .nav-island {
    padding: 8px 12px;
    gap: 7px;
    border-radius: 22px;
  }

  .glass-header.is-scrolled .nav-brand-bar {
    min-height: 36px;
  }

  .glass-header.is-scrolled .brand-logo {
    width: 148px;
    justify-content: flex-start;
  }

  .glass-header.is-scrolled .logo-img {
    width: 148px;
    max-height: 34px;
    object-position: left center;
  }

  .glass-header.is-scrolled .nav-actions {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.38s ease 0.08s, transform 0.45s var(--ease-spring);
  }

  /* Permanent Section Jump Bar on Mobile */
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    padding: 4px;
    gap: 4px;
  }

  .nav-link {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: clamp(140px, 15vw, 180px);
  padding-bottom: clamp(64px, 8vw, 110px);
}

@media (max-width: 1080px) {
  .hero-section {
    padding-top: 196px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(32px, 4.5vw, 60px);
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 7px 16px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--chrome-silver);
  margin-bottom: 22px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-crimson-bright);
  box-shadow: 0 0 12px var(--brand-crimson-bright);
  animation: pulseGlow 2s infinite;
  display: inline-block;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.65;
  }
}

.pill-divider {
  opacity: 0.4;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.8vw, 4.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  color: var(--chrome-silver);
  max-width: 58ch;
  margin-bottom: 32px;
}

.hero-subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

/* Office Hours Liquid Glass Bar */
.office-glass-bar {
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.office-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
}

.office-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #ffffff;
}

.office-location {
  color: var(--chrome-muted);
}

.office-bar-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.office-hours-primary {
  font-size: 0.98rem;
  color: #ffffff;
}

.office-hours-sub {
  font-size: 0.84rem;
  color: var(--chrome-muted);
}

.office-quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.chip-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.86rem;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease;
}

.chip-action:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

.chip-whatsapp {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

/* Spatial Right Column */
.spatial-stack {
  position: relative;
  padding: 18px;
}

.main-vehicle-card {
  border-radius: var(--radius-lg);
  padding: 14px;
}

.spatial-img-wrapper {
  position: relative;
  border-radius: calc(var(--radius-lg) - 10px);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.spatial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-spring);
}

.main-vehicle-card:hover .spatial-img {
  transform: scale(1.04);
}

.spatial-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 8, 0.82) 0%, transparent 50%);
}

.spatial-card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 10px 6px;
}

.caption-tag {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-amber-light);
  font-weight: 600;
}

.caption-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.caption-pill {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.floating-widget {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(14, 16, 24, 0.78);
  z-index: 5;
}

.widget-top-right {
  top: -4px;
  right: -4px;
  animation: floatSlow 6s ease-in-out infinite alternate;
}

.widget-bottom-left {
  bottom: -14px;
  left: -6px;
  max-width: 310px;
  animation: floatSlow 7s ease-in-out infinite alternate-reverse;
}

@keyframes floatSlow {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-8px);
  }
}

.widget-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--brand-crimson), var(--brand-amber));
  box-shadow: 0 8px 20px rgba(215, 20, 20, 0.45);
}

.widget-thumb {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.widget-kicker {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--chrome-muted);
  font-weight: 600;
}

.widget-val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(38px, 5vw, 60px);
}

.section-kicker {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(215, 20, 20, 0.14);
  border: 1px solid rgba(255, 103, 0, 0.32);
  color: var(--brand-amber-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.03rem;
  color: var(--chrome-muted);
}

/* ==========================================================================
   2. SERVICES BENTO & PILLARS
   ========================================================================== */
.services-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}

.bento-card {
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.bento-media {
  position: relative;
  border-radius: calc(var(--radius-lg) - 10px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
}

.bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-spring);
}

.bento-card:hover .bento-media img {
  transform: scale(1.05);
}

.bento-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 18, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-amber {
  background: linear-gradient(135deg, rgba(215, 20, 20, 0.85), rgba(255, 103, 0, 0.85));
}

.bento-body {
  padding: 4px 8px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bento-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.bento-body p {
  color: var(--chrome-muted);
  margin-bottom: 18px;
  flex: 1;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.glass-tag {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: var(--chrome-silver);
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand-amber-light);
  transition: gap 0.25s ease;
}

.bento-link:hover {
  gap: 12px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar-card {
  border-radius: var(--radius-md);
  padding: 24px 22px;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-amber-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}

.pillar-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.pillar-text {
  font-size: 0.9rem;
  color: var(--chrome-muted);
}

.pillar-text code {
  color: var(--brand-amber-light);
  font-weight: 700;
}

/* ==========================================================================
   3. FÜHRERSCHEINKLASSEN (SEGMENTED CONTROL & DETAIL STAGE)
   ========================================================================== */
.segmented-control-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.segmented-glass {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px;
  border-radius: var(--radius-lg);
}

.seg-btn {
  padding: 12px 20px;
  border-radius: calc(var(--radius-lg) - 6px);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition:
    background 0.3s var(--ease-spring),
    border-color 0.3s ease,
    transform 0.25s ease;
}

.seg-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.seg-btn.active {
  background: linear-gradient(
    135deg,
    rgba(215, 20, 20, 0.34) 0%,
    rgba(255, 103, 0, 0.22) 100%
  );
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.seg-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.seg-sub {
  font-size: 0.76rem;
  color: var(--chrome-muted);
}

.seg-btn.active .seg-sub {
  color: var(--chrome-silver);
}

.class-detail-stage {
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3.5vw, 40px);
}

.class-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: start;
}

.class-header-badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.class-pill-large {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand-crimson), var(--brand-amber));
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
}

.class-subtitle-tag {
  font-size: 0.88rem;
  color: var(--chrome-muted);
}

.class-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.class-lead {
  color: var(--chrome-silver);
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.class-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.spec-box {
  padding: 18px 20px;
}

.spec-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #ff5252;
  margin-bottom: 10px;
}

.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.91rem;
  color: var(--chrome-silver);
}

.spec-list li {
  position: relative;
  padding-left: 16px;
}

.spec-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--brand-amber);
  font-weight: 700;
}

.class-visual-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.class-visual-card {
  padding: 16px;
}

.class-hero-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 4px);
  margin-bottom: 16px;
}

.class-visual-Stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.mini-stat {
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-stat-label {
  display: block;
  font-size: 0.74rem;
  color: var(--chrome-muted);
}

.mini-stat-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  color: #ffffff;
}

.weight-visualizer {
  padding: 16px 18px;
}

.wv-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.wv-value {
  font-weight: 700;
  color: var(--brand-amber-light);
}

.wv-bar-track {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 8px;
}

.wv-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand-crimson), var(--brand-amber-light));
  transition: width 0.5s var(--ease-spring);
}

.wv-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--chrome-dim);
}

/* ==========================================================================
   4. FÜHRERSCHEIN-REFORM 2026
   ========================================================================== */
.reform-banner {
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 44px);
}

.reform-banner-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.reform-artwork-wrap {
  position: relative;
}

.reform-artwork {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6);
}

.reform-verdict-float {
  margin-top: -42px;
  margin-inline: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(14, 15, 22, 0.88);
}

.verdict-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #ff4d4d;
  margin-bottom: 4px;
}

.verdict-text {
  font-size: 0.94rem;
  color: var(--chrome-white);
}

.reform-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.reform-intro {
  color: var(--chrome-silver);
  margin-bottom: 22px;
}

.reform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.reform-tab {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.reform-tab.active {
  background: linear-gradient(135deg, var(--brand-crimson), var(--brand-amber));
  border-color: rgba(255, 255, 255, 0.35);
}

.reform-tab-panel {
  display: none;
  animation: fadeInPanel 0.35s ease;
}

.reform-tab-panel.active {
  display: block;
}

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

.reform-tab-panel h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.reform-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reform-bullet-list li {
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.92rem;
  color: var(--chrome-silver);
}

.reform-bullet-list li strong {
  color: #ffffff;
}

.reform-fazit-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fazit-box {
  padding: 15px 18px;
}

.fazit-box h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.fazit-box p {
  font-size: 0.9rem;
  color: var(--chrome-silver);
}

.highlight-amber-border {
  border-color: rgba(255, 151, 0, 0.45);
  background: rgba(255, 103, 0, 0.08);
}

.reform-cta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reform-cta-note {
  font-size: 0.88rem;
  color: var(--chrome-muted);
}

/* ==========================================================================
   5. THEORIE KURSPLAN (100% NATIVE 7-WERKTAGE SYSTEM)
   ========================================================================== */
.kursplan-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.kp-filter-pill {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.kp-filter-pill.active,
.kp-filter-pill:hover {
  background: linear-gradient(135deg, var(--brand-crimson), var(--brand-amber));
  border-color: rgba(255, 255, 255, 0.35);
}

.seven-days-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.day-glass-card {
  border-radius: var(--radius-md);
  padding: 22px;
}

.day-card-highlight {
  background: linear-gradient(
    135deg,
    rgba(215, 20, 20, 0.18) 0%,
    rgba(255, 103, 0, 0.12) 100%
  );
}

.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.day-badge {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
}

.day-hours {
  font-size: 0.78rem;
  color: var(--chrome-muted);
}

.day-glass-card h4 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.day-lesson-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--chrome-silver);
}

.day-lesson-list li span {
  color: var(--brand-amber-light);
  font-weight: 700;
}

.kursplan-cta-banner {
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.kp-banner-info {
  max-width: 620px;
}

.kp-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-amber-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.kursplan-cta-banner h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.kursplan-cta-banner p {
  color: var(--chrome-muted);
  font-size: 0.93rem;
}

.kursplan-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   6. INFORMATIONEN & INTERACTIVE CHECKLIST
   ========================================================================== */
.info-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.info-card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.info-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.info-kicker {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-amber-light);
  font-weight: 600;
}

.info-card-top h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.25;
}

.checklist-progress-wrap {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
}

.cp-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--chrome-silver);
  margin-bottom: 6px;
}

.cp-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.cp-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, var(--brand-amber-light));
  transition: width 0.35s var(--ease-spring);
}

.interactive-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  cursor: pointer;
  user-select: none;
}

.check-item input {
  display: none;
}

.custom-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.check-item input:checked + .custom-checkbox {
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #34d399;
}

.check-item input:checked + .custom-checkbox::after {
  content: '✓';
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.check-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.check-text strong {
  font-size: 0.92rem;
  transition: opacity 0.2s ease;
}

.check-item input:checked ~ .check-text strong {
  text-decoration: line-through;
  opacity: 0.6;
}

.check-text small {
  font-size: 0.78rem;
  color: var(--chrome-muted);
}

.glass-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.glass-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
}

.gf-bullet {
  min-width: 38px;
  height: 32px;
  padding-inline: 6px;
  border-radius: 9px;
  background: rgba(215, 20, 20, 0.2);
  border: 1px solid rgba(255, 103, 0, 0.35);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--brand-amber-light);
  flex-shrink: 0;
}

.glass-feature-list strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.glass-feature-list p {
  font-size: 0.82rem;
  color: var(--chrome-muted);
}

/* ==========================================================================
   7. ERSTE-HILFE-KURS (100% NATIVE TERMINFINDER & 20€ SPAR-COUPON)
   ========================================================================== */
.ehk-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.ehk-promo-card,
.ehk-native-finder {
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}

.coupon-glass-ticket {
  padding: 22px;
  border-radius: var(--radius-md);
  background: linear-gradient(
    135deg,
    rgba(255, 103, 0, 0.16) 0%,
    rgba(215, 20, 20, 0.14) 100%
  );
  border: 1px dashed rgba(255, 151, 0, 0.55);
  margin-bottom: 20px;
}

.coupon-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-amber-light);
  margin-bottom: 4px;
}

.coupon-headline {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.coupon-headline span {
  color: var(--brand-amber-light);
}

.coupon-breakdown {
  font-size: 0.9rem;
  color: var(--chrome-silver);
  margin-bottom: 16px;
}

.coupon-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(5, 5, 8, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 14px;
}

.code-label {
  display: block;
  font-size: 0.7rem;
  color: var(--chrome-muted);
  letter-spacing: 0.08em;
}

.code-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  color: var(--brand-amber-light);
}

.coupon-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.82rem;
  color: var(--chrome-silver);
}

.ehk-flyer-preview {
  display: grid;
  grid-template-columns: 135px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: auto;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.ehk-flyer-preview img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

.ehk-flyer-meta h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.ehk-flyer-meta p {
  font-size: 0.86rem;
  color: var(--chrome-muted);
  margin-bottom: 8px;
}

.ehk-hotline {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-amber-light);
}

/* Native EHK Termin-Finder Right Card */
.finder-header {
  margin-bottom: 20px;
}

.finder-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-amber-light);
  margin-bottom: 6px;
}

.finder-header h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.finder-header p {
  font-size: 0.92rem;
  color: var(--chrome-muted);
}

.ehk-search-form {
  margin-bottom: 18px;
}

.ehk-input-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ehk-large-input {
  flex: 1;
  min-width: 210px;
  font-size: 1rem;
  font-weight: 500;
}

.ehk-submit-btn {
  flex-shrink: 0;
}

.ehk-quick-chips {
  margin-bottom: 22px;
}

.chips-label {
  display: block;
  font-size: 0.78rem;
  color: var(--chrome-muted);
  margin-bottom: 8px;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ehk-loc-chip {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  color: var(--chrome-silver);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ehk-loc-chip.active,
.ehk-loc-chip:hover {
  background: rgba(255, 103, 0, 0.2);
  border-color: var(--brand-amber-light);
  color: #ffffff;
}

.ehk-steps-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.ehk-step-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
}

.ehk-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-crimson), var(--brand-amber));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.ehk-step-box strong {
  display: block;
  font-size: 0.92rem;
}

.ehk-step-box p {
  font-size: 0.82rem;
  color: var(--chrome-muted);
}

.ehk-step-box code {
  color: var(--brand-amber-light);
  font-weight: 700;
}

/* ==========================================================================
   8. NATIVE ONLINE-ANMELDUNG WIZARD (ZERO IFRAME SCROLL-TRAP!)
   ========================================================================== */
.native-registration-card {
  max-width: 980px;
  margin-inline: auto;
  border-radius: var(--radius-xl);
  padding: clamp(22px, 4vw, 44px);
}

.wizard-steps-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 26px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.w-step {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.w-step.active {
  opacity: 1;
}

.w-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
}

.w-step.active .w-step-num {
  background: linear-gradient(135deg, var(--brand-crimson), var(--brand-amber));
  border-color: rgba(255, 255, 255, 0.45);
}

.w-step-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}

.w-step-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.wizard-panel {
  display: none;
  animation: fadeInPanel 0.35s ease;
}

.wizard-panel.active {
  display: block;
}

.wizard-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.wizard-sub {
  font-size: 0.92rem;
  color: var(--chrome-muted);
  margin-bottom: 18px;
}

.patent-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.patent-option {
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.patent-option input,
.license-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.patent-option.selected,
.license-choice.selected {
  background: linear-gradient(
    135deg,
    rgba(215, 20, 20, 0.25) 0%,
    rgba(255, 103, 0, 0.16) 100%
  );
  border-color: var(--brand-amber-light);
  box-shadow: 0 8px 24px rgba(215, 20, 20, 0.22);
}

.po-icon {
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.po-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.po-desc {
  font-size: 0.8rem;
  color: var(--chrome-muted);
}

.license-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.license-choice {
  padding: 16px 18px;
  cursor: pointer;
}

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

.lc-top strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.lc-badge {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--brand-crimson), var(--brand-amber));
  font-size: 0.72rem;
  font-weight: 700;
}

.lc-badge-subtle {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: var(--chrome-silver);
}

.license-choice p {
  font-size: 0.83rem;
  color: var(--chrome-muted);
}

.wizard-footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 16px;
}

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--chrome-silver);
}

.glass-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.glass-input option {
  background: #12141d;
  color: #ffffff;
}

.glass-input:focus {
  border-color: var(--brand-amber-light);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(255, 103, 0, 0.2);
}

.wizard-success-box {
  text-align: center;
  padding: 24px 12px;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.wizard-success-box h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.wizard-success-box p {
  color: var(--chrome-silver);
  max-width: 60ch;
  margin-inline: auto;
}

/* ==========================================================================
   9. FOOTER & LEGAL / PORTAL MODALS
   ========================================================================== */
.glass-footer {
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
}

.footer-glass-panel {
  border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 48px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-slogan {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.footer-sub {
  color: var(--chrome-muted);
  font-size: 0.92rem;
  max-width: 42ch;
}

.footer-col-links h4,
.footer-col-contact h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-amber-light);
  margin-bottom: 14px;
}

.footer-col-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col-links a {
  font-size: 0.92rem;
  color: var(--chrome-silver);
  transition: color 0.2s ease;
}

.footer-col-links a:hover {
  color: #ffffff;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--chrome-silver);
}

.footer-hours {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: var(--chrome-muted);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
}

.copyright {
  font-size: 0.86rem;
  color: var(--chrome-muted);
}

.footer-legal-btns {
  display: flex;
  gap: 10px;
}

.btn-glass-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-glass-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

/* Modals (Impressum, Datenschutz & On-Demand Portal) */
.glass-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(3, 4, 8, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none;
  place-items: center;
  padding: 16px;
}

.glass-modal-backdrop.open {
  display: grid;
  animation: fadeInPanel 0.25s ease;
}

.glass-modal {
  width: min(780px, 100%);
  max-height: 86vh;
  border-radius: var(--radius-xl);
  background: rgba(14, 16, 24, 0.94);
  display: flex;
  flex-direction: column;
}

.glass-modal-xl {
  width: min(1140px, 100%);
  height: 88vh;
  max-height: 88vh;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-header-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.window-ext-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-amber-light);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
}

.modal-body {
  padding: 24px 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.portal-modal-body {
  padding: 0;
  flex: 1;
  overflow: hidden;
  background: #ffffff;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.portal-modal-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.legal-text h4 {
  font-family: var(--font-display);
  color: var(--brand-amber-light);
  font-size: 1.05rem;
  margin-top: 8px;
}

.legal-text p,
.legal-text li {
  font-size: 0.92rem;
  color: var(--chrome-silver);
}

.legal-text ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-text a {
  color: var(--brand-amber-light);
  text-decoration: underline;
}

/* Scroll Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid,
  .class-detail-grid,
  .reform-banner-grid,
  .ehk-grid,
  .info-three-col {
    grid-template-columns: 1fr;
  }
  .pillars-grid,
  .patent-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .services-bento,
  .class-specs-grid,
  .form-row-2,
  .pillars-grid,
  .patent-type-grid,
  .license-select-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .glass-icon-btn .status-label {
    display: none;
  }
  .ehk-flyer-preview {
    grid-template-columns: 1fr;
  }
  .floating-widget {
    position: static;
    margin-top: 12px;
    max-width: 100%;
  }
  .spatial-stack {
    padding: 0;
  }
  .w-step-label {
    font-size: 0.78rem;
  }
}
