/*
Theme Name: Bobe Handwerk Custom
Theme URI: https://bobe-handwerk-dienstleistung-3.lead.bummeltech.com/
Author: Bobe Handwerk & Dienstleistung
Description: Dimensional Layering Theme — Spatial UI with elevation, glass, and depth for Hausmeisterservice.
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: bobe-handwerk
*/

/* ============================================================
   DESIGN SYSTEM — Dimensional Layering / Spatial UI
   ============================================================ */
:root {
  /* Brand Colors */
  --color-primary:       #1A365D;
  --color-primary-light: #2D5A8E;
  --color-accent:        #E67E22;
  --color-accent-dark:   #CA6F1E;

  /* Surface Layers (elevation-based) */
  --layer-0: #EEF1F6;
  --layer-1: #F5F7FA;
  --layer-2: #FFFFFF;
  --layer-3: #FFFFFF;
  --layer-glass: rgba(255,255,255,0.72);

  /* Text */
  --color-fg:      #0F172A;
  --color-fg-mid:  #334155;
  --color-fg-mute: #64748B;
  --color-border:  #CBD5E1;
  --color-ring:    #007AFF;

  /* Shadows — 4-level elevation scale */
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 4px 12px rgba(15,23,42,0.10), 0 2px 4px rgba(15,23,42,0.06);
  --shadow-lg: 0 12px 28px rgba(15,23,42,0.12), 0 4px 8px rgba(15,23,42,0.08);
  --shadow-xl: 0 24px 48px rgba(15,23,42,0.16), 0 8px 16px rgba(15,23,42,0.10);
  --shadow-float: 0 32px 64px rgba(15,23,42,0.22), 0 16px 32px rgba(15,23,42,0.14);

  /* Z-Index Layers */
  --z-base:    1;
  --z-raised:  2;
  --z-float:   3;
  --z-overlay: 4;
  --z-sticky:  100;
  --z-modal:   200;

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-mid:  250ms;
  --dur-slow: 400ms;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--layer-0);
  color: var(--color-fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--color-fg-mid); line-height: 1.75; }
.lead { font-size: 1.2rem; color: var(--color-fg-mid); line-height: 1.7; }

/* ============================================================
   CONTAINERS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 56px 0; }

/* ============================================================
   STICKY HEADER / NAVBAR
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
  background: var(--layer-glass);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(203,213,225,0.4);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--dur-mid) var(--ease-out);
}

#site-header.scrolled { box-shadow: var(--shadow-lg); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.logo-icon svg { width: 24px; height: 24px; fill: #fff; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 700; font-size: 1rem; color: var(--color-primary); letter-spacing: -0.01em; }
.logo-sub  { font-size: 0.7rem; color: var(--color-fg-mute); font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase; }

/* Desktop Nav */
.primary-nav { display: flex; align-items: center; gap: 6px; }

.primary-nav a {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-fg-mid);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast);
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: rgba(26,54,93,0.08);
  color: var(--color-primary);
  outline: none;
}

.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  background: rgba(26,54,93,0.10);
  color: var(--color-primary);
  font-weight: 600;
}

/* CTA Button in Nav */
.nav-cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 18px !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast) !important;
}

.nav-cta:hover {
  background: var(--color-accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md) !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--dur-mid) var(--ease-out), opacity var(--dur-mid);
  transform-origin: center;
}

.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(248,250,252,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: calc(var(--z-sticky) - 1);
  padding: 24px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform var(--dur-mid) var(--ease-out), opacity var(--dur-mid);
}

.mobile-nav-drawer.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-drawer ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav-drawer li { margin: 0; padding: 0; border: none; }

.mobile-nav-drawer a {
  display: block;
  padding: 14px 18px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-fg);
  border-radius: var(--radius-md);
  transition: background var(--dur-fast), color var(--dur-fast);
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(203,213,225,0.3);
}

.mobile-nav-drawer a:hover { background: rgba(26,54,93,0.08); color: var(--color-primary); }

/* ============================================================
   HERO SECTION — Parallax + Glass Overlay
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-base);
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,23,42,0.75) 0%,
    rgba(26,54,93,0.60) 50%,
    rgba(15,23,42,0.40) 100%
  );
}

.hero-content {
  position: relative;
  z-index: var(--z-float);
  width: 100%;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text { color: #fff; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.hero-text h1 {
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-text .lead {
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Glass Card floats on hero */
.hero-glass-card {
  position: relative;
  z-index: var(--z-float);
  background: var(--layer-glass);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  transform: translateZ(0);
  transition: transform var(--dur-slow) var(--ease-out);
}

.hero-glass-card:hover { transform: translateY(-4px) translateZ(0); box-shadow: var(--shadow-float); }

.glass-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }

.glass-stat {
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid);
}

.glass-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.glass-stat-num { font-size: 1.8rem; font-weight: 800; color: var(--color-primary); letter-spacing: -0.03em; }
.glass-stat-label { font-size: 0.78rem; color: var(--color-fg-mute); font-weight: 500; margin-top: 2px; }

.glass-card-title { font-size: 1rem; font-weight: 700; color: var(--color-primary); margin-bottom: 4px; }
.glass-card-sub   { font-size: 0.85rem; color: var(--color-fg-mute); }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-float);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-hint svg { width: 20px; height: 20px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   BUTTON SYSTEM
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast);
  white-space: nowrap;
}

.btn:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 3px; }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(230,126,34,0);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   SLIDER — Custom Post Type 'slide'
   ============================================================ */
#slider-section {
  position: relative;
  z-index: var(--z-raised);
  padding: 0;
  overflow: hidden;
  background: var(--layer-0);
}

.slider-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  padding-bottom: 56px;
}

.slider-track {
  display: flex;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.slide-item {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16/7;
  overflow: hidden;
}

.slide-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 6s linear;
}

.slider-track.playing .slide-item.active img { transform: scale(1.04); }

.slide-caption {
  position: absolute;
  bottom: 32px; left: 32px; right: 32px;
  background: var(--layer-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-float);
  transform: translateY(8px);
  opacity: 0;
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow);
}

.slide-item.active .slide-caption {
  transform: translateY(0);
  opacity: 1;
}

.slide-caption h3 { font-size: 1.2rem; color: var(--color-primary); margin-bottom: 4px; }
.slide-caption p  { font-size: 0.9rem; color: var(--color-fg-mid); margin: 0; }

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: background var(--dur-mid), transform var(--dur-mid), width var(--dur-mid);
}

.slider-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
}

.slider-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--layer-2);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow var(--dur-fast), transform var(--dur-fast), background var(--dur-fast);
}

.slider-btn:hover { box-shadow: var(--shadow-md); transform: scale(1.08); background: var(--color-primary); }
.slider-btn:hover svg path { stroke: #fff; }
.slider-btn svg { width: 16px; height: 16px; }
.slider-btn svg path { stroke: var(--color-fg-mid); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--dur-fast); }

/* ============================================================
   SECTION LABELS / CHIP
   ============================================================ */
.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,54,93,0.08);
  color: var(--color-primary);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-chip svg { width: 14px; height: 14px; }

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header p { margin-top: 12px; max-width: 600px; }
.section-header.centered p { margin-left: auto; margin-right: auto; }

/* ============================================================
   SERVICE CARDS — CPT 'service' — Elevation Stacking
   ============================================================ */
#services-section {
  background: var(--layer-1);
  position: relative;
  z-index: var(--z-raised);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  position: relative;
  background: var(--layer-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(203,213,225,0.5);
  transition: transform var(--dur-mid) var(--ease-out), box-shadow var(--dur-mid);
  z-index: var(--z-base);
}

.service-card:hover {
  transform: translateY(-6px) translateZ(0);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-raised);
}

.service-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-card-icon {
  position: absolute;
  bottom: -20px; right: 20px;
  width: 52px; height: 52px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: var(--z-raised);
}

.service-card-icon svg { width: 26px; height: 26px; stroke: #fff; stroke-width: 1.8; fill: none; }

.service-card-body { padding: 32px 24px 24px; }
.service-card-body h3 { color: var(--color-primary); margin-bottom: 10px; }
.service-card-body p  { font-size: 0.92rem; margin: 0; }

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap var(--dur-fast);
}

.service-card-link:hover { gap: 10px; }
.service-card-link svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ============================================================
   ABOUT SECTION — Dimensional Image Stack
   ============================================================ */
#about-section {
  background: var(--layer-0);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-stack {
  position: relative;
  height: 480px;
}

.about-img-back {
  position: absolute;
  bottom: 0; right: 0;
  width: 78%;
  height: 88%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: var(--z-base);
}

.about-img-front {
  position: absolute;
  top: 0; left: 0;
  width: 65%;
  height: 70%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  z-index: var(--z-raised);
  border: 4px solid var(--layer-2);
}

.about-img-back img,
.about-img-front img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: var(--z-float);
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  min-width: 140px;
}

.about-badge-num  { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; }
.about-badge-text { font-size: 0.78rem; font-weight: 500; opacity: 0.9; }

.about-text { }
.about-text h2 { margin-bottom: 16px; }
.about-text p  { margin-bottom: 20px; }

.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--layer-2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(203,213,225,0.4);
  transition: box-shadow var(--dur-fast), transform var(--dur-fast);
}

.about-feature:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.about-feature-icon {
  width: 40px; height: 40px;
  background: rgba(26,54,93,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature-icon svg { width: 20px; height: 20px; stroke: var(--color-primary); stroke-width: 1.8; fill: none; }
.about-feature-title { font-weight: 700; font-size: 0.92rem; color: var(--color-fg); }
.about-feature-desc  { font-size: 0.82rem; color: var(--color-fg-mute); margin-top: 2px; }

/* ============================================================
   STATS BANNER — Floating Numbers
   ============================================================ */
#stats-section {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

#stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(45,90,142,0.5) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
  z-index: var(--z-raised);
}

.stat-item {
  text-align: center;
  padding: 48px 24px;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.15);
}

.stat-item:last-child::after { display: none; }

.stat-number {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span { color: var(--color-accent); }
.stat-label { font-size: 0.88rem; color: rgba(255,255,255,0.65); font-weight: 500; letter-spacing: 0.02em; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials-section { background: var(--layer-1); }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testimonial-card {
  background: var(--layer-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(203,213,225,0.4);
  position: relative;
  transition: transform var(--dur-mid), box-shadow var(--dur-mid);
}

.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.testimonial-card::before { content: '"'; position: absolute; top: 16px; right: 24px; font-size: 5rem; line-height: 1; color: rgba(26,54,93,0.08); font-family: Georgia, serif; }

.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 16px; height: 16px; fill: var(--color-accent); }

.testimonial-text { font-size: 0.95rem; color: var(--color-fg-mid); line-height: 1.7; margin-bottom: 20px; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(26,54,93,0.12); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; color: var(--color-primary); }
.author-name   { font-weight: 600; font-size: 0.88rem; color: var(--color-fg); }
.author-loc    { font-size: 0.78rem; color: var(--color-fg-mute); }

/* ============================================================
   CTA SECTION
   ============================================================ */
#cta-section {
  background: var(--layer-0);
}

.cta-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 { color: #fff; margin-bottom: 16px; }
.cta-box p  { color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-white {
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #0A1628;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 38px; height: 38px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg { width: 20px; height: 20px; fill: #fff; }

.footer-logo-name { font-weight: 700; font-size: 0.95rem; color: #fff; letter-spacing: -0.01em; }

.footer-desc { font-size: 0.88rem; line-height: 1.7; max-width: 280px; margin-bottom: 24px; }

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

.social-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.social-btn:hover { background: var(--color-accent); transform: translateY(-2px); }
.social-btn svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.8); }

.footer-col h4 { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.03em; text-transform: uppercase; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--dur-fast), padding-left var(--dur-fast); }
.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 12px; }

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
}

.contact-row-icon {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.contact-row-icon svg { width: 14px; height: 14px; stroke: var(--color-accent); stroke-width: 2; fill: none; }
.contact-row-text { color: rgba(255,255,255,0.7); line-height: 1.5; }
.contact-row-text a { color: rgba(255,255,255,0.7); transition: color var(--dur-fast); }
.contact-row-text a:hover { color: var(--color-accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); transition: color var(--dur-fast); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   INNER PAGE LAYOUTS
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 140px 0 72px;
  text-align: center;
  color: #fff;
}

.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero .breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a:hover { color: #fff; }

.page-content {
  background: var(--layer-1);
  padding: 64px 0;
}

.content-box {
  background: var(--layer-2);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(203,213,225,0.4);
  max-width: 860px;
  margin: 0 auto;
}

.content-box h2 { margin-top: 36px; margin-bottom: 12px; font-size: 1.4rem; }
.content-box h3 { margin-top: 28px; margin-bottom: 10px; font-size: 1.15rem; }
.content-box p  { margin-bottom: 16px; }
.content-box ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.content-box li { margin-bottom: 6px; color: var(--color-fg-mid); font-size: 0.95rem; }
.content-box a  { color: var(--color-accent); }
.content-box a:hover { text-decoration: underline; }

/* Contact page */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--layer-2);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(203,213,225,0.4);
}

.contact-info-card h2 { margin-bottom: 24px; }

.contact-detail-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }

.contact-detail-item { display: flex; align-items: flex-start; gap: 14px; }

.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(26,54,93,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg { width: 22px; height: 22px; stroke: var(--color-primary); stroke-width: 1.8; fill: none; }

.contact-detail-text strong { display: block; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-fg-mute); margin-bottom: 3px; }
.contact-detail-text span, .contact-detail-text a { font-size: 0.97rem; color: var(--color-fg); }
.contact-detail-text a:hover { color: var(--color-accent); }

.opening-hours-box {
  background: rgba(26,54,93,0.05);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  border: 1px solid rgba(26,54,93,0.12);
}

.opening-hours-box h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-fg-mute); margin-bottom: 10px; }
.oh-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 5px 0; border-bottom: 1px solid rgba(203,213,225,0.3); }
.oh-row:last-child { border-bottom: none; }
.oh-row span:first-child { font-weight: 500; color: var(--color-fg); }
.oh-row span:last-child  { color: var(--color-accent); font-weight: 600; }

.contact-form-card {
  background: var(--layer-2);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(203,213,225,0.4);
}

.contact-form-card h2 { margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--color-fg-mid); margin-bottom: 6px; letter-spacing: 0.02em; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.93rem;
  background: var(--layer-1);
  color: var(--color-fg);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
}
.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26,54,93,0.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; }

/* Services page */
.services-page-section {
  background: var(--layer-1);
  padding: 64px 0;
}

.services-page-header { text-align: center; margin-bottom: 56px; }
.services-page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }

.service-detail-card {
  background: var(--layer-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-mid), box-shadow var(--dur-mid);
}

.service-detail-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.service-detail-card-img { aspect-ratio: 16/9; overflow: hidden; }
.service-detail-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow); }
.service-detail-card:hover .service-detail-card-img img { transform: scale(1.05); }
.service-detail-card-body { padding: 28px; }
.service-detail-card-body h3 { color: var(--color-primary); margin-bottom: 10px; }
.service-detail-card-body p { font-size: 0.92rem; }
.service-detail-card-body .btn { margin-top: 18px; font-size: 0.85rem; padding: 10px 20px; }

/* Über uns */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; margin-top: 48px; }
.team-card { background: var(--layer-2); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); text-align: center; transition: transform var(--dur-mid), box-shadow var(--dur-mid); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.team-card-img { aspect-ratio: 1/1; overflow: hidden; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card-info { padding: 18px; }
.team-card-info h4 { color: var(--color-primary); font-size: 1rem; }
.team-card-info p { font-size: 0.82rem; margin: 4px 0 0; }

/* ============================================================
   ELEVATION REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-glass-card { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-stack { height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .burger { display: flex; }
}

@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-box { padding: 48px 28px; }
  .content-box { padding: 32px 24px; }
  .slide-caption { bottom: 16px; left: 16px; right: 16px; padding: 16px 18px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
  .glass-stat-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item::after { display: none; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
