/*
Theme Name: OIV — Optimaler Immobilien Verkauf
Theme URI: https://mirostudio.ch
Author: Mirostudio
Author URI: https://mirostudio.ch
Description: Professionelles WordPress-Theme für OIV — Optimaler Immobilien Verkauf, Luki Sutter, Brunnen/SZ.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oiv-theme
*/
/* ============================================
   OIV — Optimaler Immobilien Verkauf
   Design System (ui-ux-pro-max applied)
   Style: Elegant Minimalism + Glassmorphism
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors — Navy & Gold */
  --primary: #1B365D;
  --primary-light: #2A5298;
  --primary-dark: #0F1F3D;
  --accent: #C9A84C;
  --accent-hover: #B8933E;
  --accent-light: #E8D5A0;

  --surface: #FAFAFA;
  --surface-alt: #F3F4F6;
  --surface-card: #FFFFFF;

  --text-primary: #1A1A2E;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --text-on-dark: #F9FAFB;
  --text-on-primary: #FFFFFF;

  --border: #E5E7EB;
  --border-light: #F0F0F0;

  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;

  /* Shadows — elevation-consistent (§4) */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
  --shadow-gold: none;

  /* Typography — font-scale (§6) */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 3.5rem;    /* 56px */

  /* Spacing — 8dp grid (§5) */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 50%;

  /* Transitions — duration-timing (§7) */
  --transition-fast: 150ms ease-out;
  --transition-base: 250ms ease-out;
  --transition-slow: 400ms ease-out;

  /* Layout */
  --container-max: 1200px;
  --nav-height: 120px;

  /* Z-index — z-index-management (§5) */
  --z-base: 0;
  --z-above: 10;
  --z-nav: 100;
  --z-overlay: 1000;
  --z-modal: 2000;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px; /* readable-font-size (§5) */
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6; /* line-height (§6) */
  color: var(--text-primary);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* horizontal-scroll prevention (§5) */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* Focus states — focus-states (§1) */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Reduced motion — reduced-motion (§1) */
@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;
  }
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: var(--text-5xl); font-weight: 700; }
h2 { font-size: var(--text-4xl); font-weight: 700; }
h3 { font-size: var(--text-2xl); font-weight: 600; }
h4 { font-size: var(--text-xl); font-weight: 600; }

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 600px;
  margin: var(--space-4) auto 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  min-height: 48px; /* touch-target-size (§2) */
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--text-on-dark);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--text-on-primary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: auto;
  padding: var(--space-3) 0;
  display: flex;
  align-items: center;
  transition: background var(--transition-slow), padding var(--transition-slow);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 31, 61, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-2) 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: var(--z-above);
}

.nav-logo img {
  height: 140px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-slow);
}

.navbar.scrolled .nav-logo img {
  height: 60px;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-on-dark);
  transition: color var(--transition-base);
}

.navbar.scrolled .nav-logo-text {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: var(--space-2) 0;
  transition: color var(--transition-base);
}

.navbar.scrolled .nav-links a {
  color: var(--text-secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: var(--primary-dark) !important;
  padding: var(--space-2) var(--space-6) !important;
  border-radius: var(--radius-md);
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: all var(--transition-base) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}

/* ============================================
   NAV DROPDOWN
   ============================================ */
.nav-has-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  padding: var(--space-2) 0;
  background: none;
  border: none;
  font-family: inherit;
  position: relative;
  transition: color var(--transition-base);
  white-space: nowrap;
}

.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.navbar.scrolled .nav-dropdown-trigger {
  color: var(--text-secondary);
}

.nav-dropdown-trigger:hover,
.nav-has-dropdown.is-open .nav-dropdown-trigger {
  color: var(--accent);
}

.nav-dropdown-trigger:hover::after,
.nav-has-dropdown.is-open .nav-dropdown-trigger::after {
  width: calc(100% - 18px);
}

.nav-chevron {
  transition: transform var(--transition-base);
  flex-shrink: 0;
  opacity: 0.7;
}

.nav-has-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(10, 22, 52, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-xl);
  padding: var(--space-2);
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: var(--z-overlay);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

/* arrow tip */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(10, 22, 52, 0.98);
  border-left: 1px solid rgba(255,255,255,0.09);
  border-top: 1px solid rgba(255,255,255,0.09);
}

/* open via hover on pointer devices */
@media (hover: hover) {
  .nav-has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  .nav-has-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
  }
  .nav-has-dropdown:hover .nav-dropdown-trigger {
    color: var(--accent);
  }
}

/* open via JS class (touch/click) */
.nav-has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  color: rgba(255,255,255,0.78) !important;
  transition: background var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: var(--text-sm) !important;
}

.nav-dropdown-link:hover {
  background: rgba(255,255,255,0.06);
  color: #fff !important;
}

.nav-dropdown-link::after {
  display: none !important;
}

.nav-dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(201,168,76,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-dropdown-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-dropdown-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.nav-dropdown-text small {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.42);
  font-weight: 400;
  margin-top: 1px;
}

/* Mobile dropdown — accordion in slide panel */
@media (max-width: 768px) {
  .nav-dropdown {
    position: static;
    transform: none !important;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    height: 0;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: none;
    backdrop-filter: none;
    min-width: 0;
    padding: 0;
    margin-top: 0;
    transition: opacity var(--transition-base), max-height 0.35s ease, height 0.35s ease, visibility var(--transition-base), margin-top var(--transition-base);
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-has-dropdown.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    height: auto;
    padding: var(--space-2);
    margin-top: var(--space-3);
  }

  .nav-dropdown-trigger {
    color: rgba(255,255,255,0.8) !important;
    font-size: var(--text-lg);
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-link {
    font-size: var(--text-base) !important;
  }
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: var(--z-above);
  padding: var(--space-2);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
  background: var(--primary);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* viewport-units (§5) */
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Cinematic gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      135deg,
      rgba(15, 31, 61, 0.92) 0%,
      rgba(27, 54, 93, 0.75) 35%,
      rgba(27, 54, 93, 0.45) 60%,
      rgba(15, 31, 61, 0.70) 100%
    );
}

/* Subtle animated grain texture */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 200px var(--space-6) var(--space-16);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content--centered .hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--accent);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-2xl);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  color: var(--text-on-dark);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.hero h1 .highlight {
  color: var(--accent);
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  opacity: 0.3;
  border-radius: 2px;
}

.hero-description {
  font-size: var(--text-lg);
  color: rgba(249, 250, 251, 0.8);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-10);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(249, 250, 251, 0.6);
  margin-top: var(--space-1);
}

/* Hero right side — glassmorphism card */
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(201, 168, 76, 0.08) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.hero-card-content {
  position: relative;
  z-index: 1;
}

.hero-card-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero-card-factors {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-factor-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-base);
}

.hero-factor-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateX(4px);
}

.hero-factor-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-factor-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-factor-text {
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hero-factor-number {
  font-size: var(--text-xs);
  color: var(--accent);
  font-weight: 600;
  margin-left: auto;
  opacity: 0.6;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator-text {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   7 FAKTOREN SECTION
   ============================================ */
.section {
  padding: var(--space-24) 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-dark {
  background: var(--primary);
  color: var(--text-on-dark);
}

.section-dark h2,
.section-dark h3 {
  color: var(--text-on-dark);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.faktoren-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.faktor-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.faktor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.faktor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.faktor-card:hover::before {
  transform: scaleX(1);
}

.faktor-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  line-height: 1;
}

.faktor-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(27, 54, 93, 0.08), rgba(201, 168, 76, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.faktor-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faktor-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.faktor-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* Highlight card (7th factor) */
.faktor-card-highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: transparent;
  grid-column: 1 / -1;
}

.faktor-card-highlight h3,
.faktor-card-highlight p {
  color: var(--text-on-dark);
}

.faktor-card-highlight .faktor-icon {
  background: rgba(201, 168, 76, 0.2);
}

.faktor-card-highlight .faktor-icon svg {
  stroke: var(--accent);
}

.faktor-card-highlight .faktor-number {
  color: rgba(255, 255, 255, 0.1);
}

.faktor-card-highlight::before {
  background: var(--accent);
}

/* ============================================
   DIENSTLEISTUNGEN SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.service-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(27, 54, 93, 0.6), transparent);
}

.service-card-body {
  padding: var(--space-8);
}

.service-card h3 {
  margin-bottom: var(--space-3);
}

.service-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.service-card .btn {
  width: 100%;
}

/* ============================================
   ÜBER LUKI SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.5;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  z-index: 0;
  opacity: 0.15;
}

.about-content h2 {
  margin-bottom: var(--space-4);
}

.about-role {
  display: inline-block;
  font-size: var(--text-lg);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--space-6);
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-8);
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.about-detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.about-detail svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.about-detail span {
  color: var(--text-secondary);
}

.about-qr {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.about-qr img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
}

.about-qr-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-qr-text strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

/* ============================================
   KONTAKT SECTION — Editorial flat design
   No shadows. No cards. Borders only.
   ============================================ */
.kontakt-section {
  padding: var(--space-24) 0 0;
  background: var(--surface);
}

/* Top: heading + person in one row */
.kontakt-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-8);
}

.kontakt-heading h2 {
  margin-bottom: var(--space-2);
}

.kontakt-heading p {
  color: var(--text-secondary);
  font-size: var(--text-base);
  max-width: 400px;
  line-height: 1.6;
}

.kontakt-person {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.kontakt-person img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.kontakt-person-info {
  display: flex;
  flex-direction: column;
}

.kontakt-person-info strong {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--primary);
  line-height: 1.3;
}

.kontakt-person-info span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.kontakt-person-info a {
  font-size: var(--text-sm);
  color: var(--primary);
  font-weight: 500;
  margin-top: var(--space-1);
  transition: color var(--transition-fast);
}

.kontakt-person-info a:hover {
  color: var(--accent);
}

/* Divider line */
.kontakt-divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-8) 0;
}

/* Body: form + map */
.kontakt-body {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
}

/* --- Form --- */
.kontakt-form {
  padding-top: var(--space-2);
}

.k-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.k-field {
  margin-bottom: var(--space-5);
}

.k-field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-2);
}

.k-field input,
.k-field textarea {
  width: 100%;
  padding: var(--space-3) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border);
  border-radius: 0;
  transition: border-color var(--transition-fast);
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}

.k-field input:focus,
.k-field textarea:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.k-field textarea {
  resize: vertical;
  min-height: 80px;
  padding: var(--space-3) 0;
}

.k-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 1.5px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition-base);
  margin-top: var(--space-2);
  min-height: 44px;
}

.k-submit:hover {
  background: var(--primary);
  color: var(--text-on-primary);
}

.k-success {
  padding: var(--space-8) 0;
}

.k-success p {
  color: var(--text-secondary);
  font-size: var(--text-base);
}

/* --- Map side --- */
.kontakt-map-side {
  display: flex;
  flex-direction: column;
}

.kontakt-map-embed {
  width: 100%;
  height: 340px;
  overflow: hidden;
}

.kontakt-map-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.kontakt-map-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border);
}

.kontakt-address {
  display: flex;
  flex-direction: column;
}

.kontakt-address span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.kontakt-address span:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.kontakt-qr {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.kontakt-qr img {
  width: 48px;
  height: 48px;
}

.kontakt-qr span {
  font-size: var(--text-xs);
  color: var(--text-light);
  max-width: 70px;
  line-height: 1.4;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-dark);
  color: var(--text-on-dark);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  width: 120px;
  height: auto;
  object-fit: contain;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.footer-bottom {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-sm);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }
.reveal-delay-6 { transition-delay: 600ms; }
.reveal-delay-7 { transition-delay: 700ms; }

/* Hero text animations */
.hero-animate {
  opacity: 0;
  transform: translateY(40px);
  animation: heroReveal 0.8s ease-out forwards;
}

.hero-animate-delay-1 { animation-delay: 0.2s; }
.hero-animate-delay-2 { animation-delay: 0.4s; }
.hero-animate-delay-3 { animation-delay: 0.6s; }
.hero-animate-delay-4 { animation-delay: 0.8s; }
.hero-animate-delay-5 { animation-delay: 1.0s; }

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero card slide-in */
.hero-card {
  opacity: 0;
  transform: translateX(60px);
  animation: heroCardSlide 0.8s ease-out 0.5s forwards;
}

@keyframes heroCardSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Factor item stagger */
.hero-factor-item {
  opacity: 0;
  transform: translateX(20px);
}

.hero-factor-item.animate {
  animation: factorReveal 0.4s ease-out forwards;
}

@keyframes factorReveal {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   RESPONSIVE — Mobile First (§5)
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-image-wrapper {
    max-width: 350px;
    margin: 0 auto;
  }
  
  .about-details {
    align-items: center;
  }
  
  .about-qr {
    justify-content: center;
    text-align: left;
  }
  
  .kontakt-body {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .kontakt-top {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }
  
  .section {
    padding: var(--space-16) 0;
  }
  
  .container {
    padding: 0 var(--space-4);
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-12);
    gap: var(--space-6);
    transition: right var(--transition-slow);
    box-shadow: none;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: var(--text-lg);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero h1 {
    font-size: var(--text-3xl);
  }
  
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
  }
  
  .hero-stat {
    text-align: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .faktoren-grid {
    grid-template-columns: 1fr;
  }
  
  .k-form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .about-image-wrapper::before,
  .about-image-wrapper::after {
    display: none;
  }
}

/* Small Mobile */
@media (max-width: 375px) {
  .hero h1 {
    font-size: var(--text-2xl);
  }
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  position: relative;
  min-height: 54vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--primary-dark);
  padding-left: max(var(--space-6), calc((100% - var(--container-max)) / 2 + var(--space-6)));
  padding-right: max(var(--space-6), calc((100% - var(--container-max)) / 2 + var(--space-6)));
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 45, 0.35) 0%,
    rgba(10, 20, 45, 0.92) 100%
  );
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 180px;
  padding-bottom: var(--space-16);
  max-width: 680px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-6);
}

.page-breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
}

.page-breadcrumb a:hover {
  color: var(--accent);
}

.page-breadcrumb-sep {
  color: rgba(255,255,255,0.4);
}

.page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.page-hero-rule {
  width: 44px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.page-hero-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
}

.page-hero .page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: var(--space-5);
}

.page-hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.90);
  line-height: 1.75;
  max-width: 520px;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.process-step:last-child {
  border-bottom: none;
}

.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--primary-dark);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.process-step-content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.process-step-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   INFO CARDS
   ============================================ */
.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-6);
}

.info-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: transform var(--transition-base);
}

.info-card:hover {
  transform: translateY(-3px);
}

.info-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(27,54,93,0.08), rgba(201,168,76,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.info-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.info-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.75;
}

/* ============================================
   CHECKLIST
   ============================================ */
.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--surface-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B365D' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: var(--space-20) 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--text-on-dark);
  margin-bottom: var(--space-4);
}

.cta-band p {
  color: rgba(255,255,255,0.72);
  font-size: var(--text-lg);
  max-width: 520px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.cta-band .btn-primary {
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-10);
}

/* ============================================
   INTRO SPLIT (text + visual)
   ============================================ */
.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.intro-split--reverse {
  direction: rtl;
}

.intro-split--reverse > * {
  direction: ltr;
}

.intro-split-text h2 {
  margin-bottom: var(--space-5);
}

.intro-split-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.intro-split-text p + p {
  margin-top: var(--space-4);
}

.intro-split-visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.intro-split-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-badges {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.stat-badge {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  text-align: center;
}

.stat-badge-num {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.stat-badge-label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ============================================
   METHODS GRID (Bewertung page)
   ============================================ */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.method-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.method-card:hover::before {
  transform: scaleX(1);
}

.method-card:hover {
  transform: translateY(-4px);
}

.method-card-num {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: var(--space-3);
}

.method-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.method-card p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.75;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-page-section .about-grid {
  gap: var(--space-16);
}

/* Mobile Navigation Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: calc(var(--z-nav) - 1);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   RESPONSIVE — new pages
   ============================================ */
@media (max-width: 768px) {
  .page-hero {
    padding: 140px var(--space-4) var(--space-16);
    min-height: 50vh;
  }

  .page-hero-title {
    font-size: var(--text-3xl);
  }

  .page-hero-subtitle {
    font-size: var(--text-base);
  }

  .process-step {
    grid-template-columns: 48px 1fr;
    gap: var(--space-4);
  }

  .intro-split {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .intro-split--reverse {
    direction: ltr;
  }

  .intro-split-visual {
    order: -1;
  }

  .methods-grid {
    grid-template-columns: 1fr;
  }

  .stat-badges {
    justify-content: center;
  }
}

/* ============================================
   WORDPRESS ADDITIONS
   ============================================ */

/* Select field (Kontakt standalone page) */
.k-field select {
  width: 100%;
  padding: var(--space-3) 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border);
  border-radius: 0;
  transition: border-color var(--transition-fast);
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.k-field select:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

/* Form status */
.form-status {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.form-status.error {
  color: var(--error);
}

/* 404 Page */
.error-404-section {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-24) var(--space-6);
}

.error-404-section h1 {
  font-size: 8rem;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
}

.error-404-section h2 {
  margin-bottom: var(--space-4);
}

.error-404-section p {
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

/* Legal content (Impressum, Datenschutz) */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.8;
}

.legal-content h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.legal-content h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.legal-content p {
  margin-bottom: var(--space-4);
}

.legal-content ul,
.legal-content ol {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--accent);
}

/* Footer-bottom Mirostudio link */
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--accent);
}