/* =============================================================
   FAHRZEUGTECHNIK TUNA — Premium Design System v2
   Warm · Automotive · Modern
   ============================================================= */

/* ── Scroll Progress Bar (global) ───────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), #06B6D4);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* ─── Google Fonts werden im HTML geladen ────────────────────── */

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Brand — Royal Blue + Turquoise */
  --accent:        #2563EB;
  --accent-hover:  #1D4ED8;
  --accent-light:  #3B82F6;
  --accent-ultra:  #EFF6FF;
  --accent-tint:   #F0F9FF;

  /* Blue aliases */
  --navy:          #0F172A;
  --blue:          #2563EB;
  --blue-mid:      #1D4ED8;
  --blue-bright:   #2563EB;
  --blue-light:    #06B6D4;
  --blue-ultra:    #EFF6FF;
  --blue-tint:     #F0F9FF;

  /* Surfaces */
  --white:         #FFFFFF;
  --bg:            #E9EDF2;
  --bg-section:    #DDE3EB;
  --bg-alt:        #C9D2DD;
  --bg-dark:       #0F172A;
  --bg-navy:       #0A1628;

  /* Text */
  --text:          #1E293B;
  --text-muted:    #64748B;
  --text-subtle:   #94A3B8;
  --text-white:    #FFFFFF;

  /* Borders */
  --border:        #E2E8F0;
  --border-blue:   rgba(37,99,235,0.15);

  /* Shadows */
  --shadow-xs:     0 1px 3px rgba(15,23,42,0.05);
  --shadow-sm:     0 2px 8px rgba(15,23,42,0.08);
  --shadow-md:     0 4px 20px rgba(15,23,42,0.10);
  --shadow-lg:     0 8px 40px rgba(15,23,42,0.13);
  --shadow-blue:   0 8px 32px rgba(37,99,235,0.28);
  --shadow-blue-sm: 0 4px 16px rgba(37,99,235,0.18);
  --shadow-card:   0 2px 12px rgba(15,23,42,0.07), 0 1px 3px rgba(15,23,42,0.04);

  /* Gradients */
  --grad-blue:     linear-gradient(135deg, #0F172A 0%, #1E3A8A 55%, #1D4ED8 100%);
  --grad-blue-r:   linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  --grad-hero:     linear-gradient(108deg, rgba(8,14,30,0.95) 0%, rgba(15,23,42,0.80) 45%, rgba(15,23,42,0.22) 100%);
  --grad-card:     linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);

  /* Layout */
  --max-width:     1280px;
  --nav-h:         84px;
  --radius-sm:     6px;
  --radius:        10px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-pill:   100px;

  /* Transitions */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:        0.16s;
  --t:             0.26s;
  --t-slow:        0.48s;
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ─── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.hero h1, .hero h2 { color: #fff; }

.t-hero   { font-size: clamp(46px, 6.5vw, 88px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.t-xl     { font-size: clamp(36px, 5vw, 64px);   font-weight: 700; letter-spacing: -0.025em; }
.t-lg     { font-size: clamp(28px, 3.5vw, 48px);  font-weight: 700; letter-spacing: -0.02em; }
.t-md     { font-size: clamp(22px, 2.5vw, 32px);  font-weight: 700; letter-spacing: -0.015em; }
.t-sm     { font-size: clamp(18px, 2vw, 22px);    font-weight: 600; }
.body-lg  { font-size: clamp(16px, 1.5vw, 19px);  line-height: 1.75; }
.body-md  { font-size: 16px; line-height: 1.7; }
.body-sm  { font-size: 14px; line-height: 1.65; }
.caption  { font-size: 12px; letter-spacing: 0.04em; }

.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.label-white { color: rgba(255,255,255,0.7); }
.label-navy  { color: rgba(28,25,20,0.45); }

/* ─── Layout ─────────────────────────────────────────────────── */
.container    { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }
.container-sm { max-width: 840px;            margin: 0 auto; padding: 0 40px; }
.container-xs { max-width: 640px;            margin: 0 auto; padding: 0 40px; }
.section { padding: 100px 0; }
.section-sm { padding: 72px 0; }
.section-lg { padding: 130px 0; }

/* ─── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0);
  transition: background var(--t) var(--ease),
              box-shadow var(--t) var(--ease),
              backdrop-filter var(--t) var(--ease);
}
.nav.scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(28,25,20,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner {
  height: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: flex-start; gap: 32px;
}
/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav-logo-img {
  height: 52px; width: auto;
}
.nav-logo-img--scrolled { display: none; }
.nav.scrolled .nav-logo-img--top { display: none; }
.nav.scrolled .nav-logo-img--scrolled { display: block; }
.nav-logo-text { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: -0.01em;
  color: #fff; line-height: 1.1;
  transition: color var(--t) var(--ease);
}
.nav.scrolled .nav-logo-name { color: var(--navy); }
.nav-logo-sub {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color var(--t) var(--ease);
}
.nav.scrolled .nav-logo-sub { color: var(--accent); }

/* Nav Links */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.82);
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap; position: relative;
}
.nav.scrolled .nav-link { color: var(--text-muted); }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav.scrolled .nav-link:hover { color: var(--navy); background: var(--bg-section); }
.nav-link.active { color: #fff; font-weight: 600; }
.nav.scrolled .nav-link.active { color: var(--accent); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--accent); border-radius: 2px;
}
.nav.scrolled .nav-link.active::after { background: var(--accent); }

/* Nav Right */
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.nav-phone-link {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--t-fast) var(--ease);
}
.nav.scrolled .nav-phone-link { color: var(--text-muted); border-color: var(--border); }
.nav-phone-link:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); }
.nav.scrolled .nav-phone-link:hover { background: var(--bg-section); color: var(--navy); }
.nav-cta {
  font-size: 13px; font-weight: 700; letter-spacing: 0.03em;
  color: #fff; background: #DC2626;
  padding: 10px 22px; border-radius: var(--radius-sm);
  transition: all var(--t-fast) var(--ease);
  box-shadow: 0 2px 8px rgba(220,38,38,0.30);
  white-space: nowrap;
}
.nav-cta:hover { background: #B91C1C; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(220,38,38,0.40); }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: #fff; transition: var(--t) var(--ease); border-radius: 2px; }
.nav.scrolled .nav-hamburger span { background: var(--navy); }

/* Mobile Nav */
.nav-mobile {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--white); flex-direction: column;
  padding: calc(var(--nav-h) + 24px) 32px 40px;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700;
  color: var(--navy); padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.nav-mobile-link:hover { color: var(--accent); padding-left: 8px; }
.nav-mobile-cta { margin-top: 28px; }
.nav-mobile-contact {
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 14px; color: var(--text-muted); line-height: 1.8;
}

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
  background: var(--bg-navy);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  transform-origin: center; will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: var(--grad-hero);
}
.hero-overlay-bottom {
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to top, rgba(8,16,32,0.5) 0%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2; padding: 80px 0 100px;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  padding: 8px 20px; margin-bottom: 32px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
.hero-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px rgba(74,222,128,0.6);
  animation: pulse-green 2s ease-in-out infinite;
}
@keyframes pulse-green { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(.85)} }

.hero h1 { color: #fff; margin-bottom: 22px; }
.hero-title-accent { color: #38BDF8; }

.hero-sub {
  font-size: clamp(16px, 2vw, 19px); line-height: 1.75;
  color: rgba(255,255,255,0.72); max-width: 540px; margin-bottom: 44px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }

/* Primary CTA — Schaden melden */
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
  color: #fff; padding: 17px 34px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  box-shadow: 0 8px 28px rgba(37,99,235,0.35), 0 2px 6px rgba(37,99,235,0.18);
  transition: all var(--t) var(--ease);
  position: relative; overflow: hidden;
  border: none; text-decoration: none;
}
.btn-hero-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--t-fast);
}
.btn-hero-primary:hover::before { opacity: 1; }
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(37,99,235,0.42), 0 4px 12px rgba(37,99,235,0.22); }
.btn-hero-primary:active { transform: translateY(0); }
.btn-hero-primary svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Secondary CTA — Unsere Leistungen */
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
  color: #fff; padding: 16px 32px; border-radius: var(--radius);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  transition: all var(--t) var(--ease);
  text-decoration: none;
}
.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.20);
  border-color: rgba(255,255,255,0.48);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-hero-secondary svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Hero Stats Bar */
.hero-stats {
  display: flex; gap: 0;
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-stat { padding: 0 40px 0 0; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em;
  color: #fff; line-height: 1;
}
.hero-stat-num sup { font-size: 18px; color: #38BDF8; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 5px; }

/* Hero Scroll hint */
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.45); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  animation: float-scroll 2.4s ease-in-out infinite;
}
@keyframes float-scroll { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }
.hero-scroll-line { width: 1px; height: 36px; background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 0.03em;
  padding: 14px 28px; border-radius: var(--radius-sm);
  transition: all var(--t-fast) var(--ease);
  cursor: pointer; border: none; text-decoration: none; white-space: nowrap;
}
.btn-primary {
  background: var(--blue-bright); color: #fff;
  box-shadow: var(--shadow-blue-sm);
}
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: var(--blue); border: 1.5px solid var(--border-blue);
}
.btn-outline:hover { background: var(--blue-tint); border-color: var(--blue-bright); color: var(--blue-mid); }

.btn-outline-white {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

.btn-ghost { background: transparent; color: var(--blue-bright); padding: 10px 0; font-size: 14px; gap: 8px; }
.btn-ghost:hover { color: var(--blue-mid); gap: 12px; }

.btn-danger { background: var(--accent); color: #fff; }
.btn-danger:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.28); }

.btn-lg { padding: 17px 36px; font-size: 15px; }
.btn-sm { padding: 10px 20px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; }
.btn-arrow-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), transform var(--t-fast);
  flex-shrink: 0;
}
.btn:hover .btn-arrow-icon { background: rgba(255,255,255,0.28); transform: translateX(3px); }

/* ─── Section Header ─────────────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header-center { text-align: center; }
.section-header-center p { margin: 0 auto; }
.section-header .label { margin-bottom: 14px; display: block; }
.section-header h2 { margin-bottom: 18px; }
.section-header p { max-width: 560px; color: var(--text-muted); }

/* ─── Cards ──────────────────────────────────────────────────── */
/* Service Image Cards */
.service-img-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; cursor: pointer; display: block;
  box-shadow: var(--shadow-md);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.service-img-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-img-card:hover img { transform: scale(1.05); }
.service-img-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,20,0.85) 0%, rgba(28,25,20,0.15) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  transition: background var(--t) var(--ease);
}
.service-img-card:hover .service-img-card-overlay { background: linear-gradient(to top, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.35) 60%, rgba(37,99,235,0.12) 100%); }
.service-img-card-num { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 4px; text-transform: uppercase; }
.service-img-card-title { font-family: 'Space Grotesk', sans-serif; font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.2; }
.service-img-card-sub { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; max-width: 240px; }
.service-img-card-cta { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #38BDF8; margin-top: 14px; opacity: 0; transform: translateY(6px); transition: all var(--t) var(--ease); }
.service-img-card:hover .service-img-card-cta { opacity: 1; transform: translateY(0); }

/* Feature Cards */
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-blue); }
.feature-icon {
  width: 52px; height: 52px; margin-bottom: 22px;
  background: var(--blue-ultra); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  transition: background var(--t-fast);
}
.feature-card:hover .feature-icon { background: var(--accent); }
.feature-card h4 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* Info Cards — light blue bg */
.info-card {
  background: var(--blue-tint); border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg); padding: 32px;
}
.info-card h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ─── Stats Bar ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-dark); padding: 56px 0;
}
.stats-bar-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  max-width: var(--max-width); margin: 0 auto; padding: 0 40px;
}
.stat-block { text-align: center; padding: 24px 20px; border-right: 1px solid rgba(255,255,255,0.08); }
.stat-block:last-child { border-right: none; }
.stat-block-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em;
  color: #fff; line-height: 1; margin-bottom: 8px;
}
.stat-block-num em { color: #38BDF8; font-style: normal; }
.stat-block-label { font-size: 11px; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; text-transform: uppercase; }

/* ─── Process Steps ──────────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.process-step { text-align: center; padding: 32px 20px; }
.process-step-num {
  width: 56px; height: 56px; margin: 0 auto 20px;
  background: var(--blue-ultra); border: 2px solid var(--border-blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 800; color: var(--blue);
  transition: all var(--t) var(--ease); position: relative;
}
.process-step-num::after {
  content: ''; position: absolute; top: 50%; left: 100%; transform: translateY(-50%);
  width: calc(100% + 44px); height: 1px; background: var(--border); z-index: 0;
  display: none;
}
.process-step:hover .process-step-num { background: var(--blue-bright); border-color: var(--blue-bright); color: #fff; }
.process-step h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ─── Section with Dark Blue BG ──────────────────────────────── */
.section-navy { background: var(--bg-navy); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-navy .t-label { color: rgba(124,185,255,0.8); }
.section-navy p { color: rgba(255,255,255,0.6); }

.section-blue-tint { background: var(--bg-section); }
.section-light { background: var(--bg); }

/* ─── Skip Link (a11y) ───────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: 0; left: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
  transform: translateY(-110%);
  transition: transform 0.2s var(--ease);
  z-index: 9999;
}
.skip-link:focus { transform: translateY(0); outline: 2px solid var(--blue-bright); outline-offset: 2px; }

/* ─── Page Hero ──────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #03060E 0%, #081232 55%, #0A1E66 100%);
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative; overflow: hidden;
  box-shadow: 0 5px 4px rgba(0,0,0,0.85);
  z-index: 1;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(255,255,255,0.04) 0%, transparent 60%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, 60px 60px, 60px 60px;
}
/* TUNA-Icon (SW, weiß eingefärbt) als Wasserzeichen rechts */
.page-hero::after {
  content: '';
  position: absolute;
  top: calc(var(--nav-h) + 72px);
  right: 20%;
  width: 280px;
  height: 280px;
  background-image: url('../img/Tuna_Icon_SW_3.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 760px) {
  .page-hero::after { width: 130px; height: 130px; right: 0px; opacity: 0.18; }
}
.page-hero .container { position: relative; z-index: 1; }

/* ─── Stripe Divider (shared) ────────────────────────────────── */
.stripe-divider { width: 100%; line-height: 0; display: block; position: relative; }
.stripe-divider svg { overflow: visible; display: block; }
.stripe-divider .dk { filter: drop-shadow(0 5px 4px rgba(0,0,0,0.85)); }

/* Variant: hero-stripe with small accent logo (subpages) */
.stripe-divider--hero .divider-logo {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-200px);
  height: 340px;
  width: auto;
  z-index: 3;
  pointer-events: none;
  opacity: 0.55;
  filter: invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
@media (max-width: 760px) {
  .stripe-divider--hero .divider-logo { height: 210px; right: 4%; transform: translateY(-115px); }
}

.page-hero h1 { color: #fff; margin-bottom: 16px; }
.page-hero-sub { font-size: 18px; color: rgba(255,255,255,0.68); max-width: 560px; line-height: 1.75; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
  font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ─── Leistungen Cards ───────────────────────────────────────── */
.leistung-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  display: grid; grid-template-columns: 380px 1fr;
}
.leistung-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.leistung-block-img { position: relative; min-height: 280px; overflow: hidden; }
.leistung-block-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.leistung-block:hover .leistung-block-img img { transform: scale(1.05); }
.leistung-block-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.leistung-block-body .label { margin-bottom: 12px; display: block; }
.leistung-block-body h3 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.leistung-block-body p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 22px; }
.leistung-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.leistung-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.leistung-feature-icon { color: var(--blue-bright); margin-top: 1px; flex-shrink: 0; font-size: 16px; }

/* Reverse layout */
.leistung-block-reverse { direction: rtl; }
.leistung-block-reverse > * { direction: ltr; }

/* Small leistung cards */
.leistung-sm-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.leistung-sm-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.leistung-sm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.leistung-sm-card-img { height: 180px; overflow: hidden; }
.leistung-sm-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.leistung-sm-card:hover .leistung-sm-card-img img { transform: scale(1.06); }
.leistung-sm-card-body { padding: 24px; }
.leistung-sm-card-body h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.leistung-sm-card-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ─── Parallax Section ───────────────────────────────────────── */
.parallax-section {
  position: relative; overflow: hidden;
  min-height: 480px; display: flex; align-items: center;
}
.parallax-bg {
  position: absolute; inset: -10% 0; width: 100%; height: 120%;
  background-size: cover; background-position: center;
  background-attachment: fixed;
  will-change: transform;
}
@supports (-webkit-touch-callout: none) {
  .parallax-bg { background-attachment: scroll; inset: 0; height: 100%; }
}
@media (max-width: 960px) {
  .parallax-bg { background-attachment: scroll; inset: 0; height: 100%; }
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(18,15,12,0.90) 0%, rgba(28,25,20,0.75) 100%);
}
.parallax-content { position: relative; z-index: 1; padding: 80px 0; }
.parallax-content h2 { color: #fff; margin-bottom: 16px; }
.parallax-content p { color: rgba(255,255,255,0.72); max-width: 560px; margin-bottom: 36px; }

/* ─── Trust / Highlight ──────────────────────────────────────── */
.highlight-band {
  background: var(--grad-blue-r); padding: 70px 0;
  position: relative; overflow: hidden;
}
.highlight-band::before {
  content: ''; position: absolute; top: -60px; right: 10%;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.highlight-band blockquote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(19px, 2.5vw, 26px); font-weight: 600; line-height: 1.55;
  color: #fff; max-width: 760px; margin: 0;
  position: relative; z-index: 1;
}
.highlight-band cite { display: block; margin-top: 20px; font-size: 13px; font-style: normal; color: rgba(255,255,255,0.55); }

/* ─── Gallery ────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 12px;
}
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; background: var(--bg-section);
  transition: transform var(--t) var(--ease);
}
.gallery-item:hover { transform: scale(1.02); z-index: 1; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute; inset: 0; opacity: 0;
  background: linear-gradient(to top, rgba(28,25,20,0.80) 0%, rgba(28,25,20,0.2) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 20px;
  transition: opacity var(--t) var(--ease);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label { font-size: 14px; font-weight: 700; color: #fff; }
.gallery-item-cat { font-size: 11px; color: #38BDF8; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }

/* Gallery Placeholder (when no real image) */
.gallery-ph {
  width: 100%; height: 100%; background: var(--bg-section);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; font-size: 13px; color: var(--text-muted);
}
.gallery-ph-icon { font-size: 28px; opacity: 0.5; }

/* ─── Filter Bar ─────────────────────────────────────────────── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; padding: 9px 20px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border); background: var(--white); color: var(--text-muted);
  cursor: pointer; transition: all var(--t-fast) var(--ease);
}
.filter-btn:hover { border-color: var(--border-blue); color: var(--blue); background: var(--blue-ultra); }
.filter-btn.active { background: var(--blue-bright); border-color: var(--blue-bright); color: #fff; box-shadow: var(--shadow-blue-sm); }

/* ─── Forms ──────────────────────────────────────────────────── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full { grid-column: 1/-1; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.form-input, .form-textarea, .form-select {
  width: 100%; box-sizing: border-box; min-width: 0;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 16px;
  font-size: 15px; color: var(--text); outline: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-subtle); }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-checkbox-wrap { display: flex; align-items: flex-start; gap: 12px; }
.form-checkbox-wrap input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; accent-color: var(--blue-bright); margin-top: 2px; cursor: pointer; border-radius: 4px; }
.form-checkbox-label { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.form-hint { font-size: 12px; color: var(--text-subtle); margin-top: 4px; }

/* Dark form variant */
.form-dark .form-input, .form-dark .form-textarea, .form-dark .form-select {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.form-dark .form-input::placeholder { color: rgba(255,255,255,0.35); }
.form-dark .form-input:focus, .form-dark .form-textarea:focus { border-color: #38BDF8; box-shadow: 0 0 0 3px rgba(56,189,248,0.15); }
.form-dark .form-label { color: rgba(255,255,255,0.5); }

/* ─── Contact Info ───────────────────────────────────────────── */
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: var(--blue-ultra); border: 1px solid var(--border-blue);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.contact-item-body {}
.contact-item-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); margin-bottom: 3px; }
.contact-item-value { font-size: 16px; font-weight: 600; color: var(--navy); }
.contact-item-value a { color: var(--navy); transition: color var(--t-fast); }
.contact-item-value a:hover { color: var(--blue-bright); }

/* Dark contact */
.contact-dark .contact-item-icon { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.contact-dark .contact-item-label { color: rgba(255,255,255,0.4); }
.contact-dark .contact-item-value { color: #fff; }
.contact-dark .contact-item-value a { color: #fff; }
.contact-dark .contact-item-value a:hover { color: #38BDF8; }

/* ─── Job Cards ──────────────────────────────────────────────── */
.job-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 36px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.job-card:hover { border-color: var(--border-blue); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.job-card-info .label { margin-bottom: 8px; display: block; }
.job-card-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.tag-blue { background: var(--blue-ultra); color: var(--blue); border: 1px solid var(--border-blue); }
.tag-gray { background: #fff; color: var(--navy); border: 1px solid var(--border); }
.tag-navy { background: rgba(28,25,20,0.08); color: var(--navy); border: 1px solid rgba(28,25,20,0.1); }

/* ─── Upload Zone ────────────────────────────────────────────── */
.upload-zone {
  display: block;
  border: 2px dashed var(--border); border-radius: var(--radius); padding: 36px;
  text-align: center; cursor: pointer; transition: all var(--t-fast) var(--ease); background: var(--bg);
}
.upload-zone:hover { border-color: var(--blue-bright); background: var(--blue-ultra); }
.upload-zone input { display: none; }
.upload-zone-icon { font-size: 32px; margin-bottom: 12px; }
.upload-zone-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.upload-zone-sub { font-size: 13px; color: var(--text-muted); }
.upload-zone-btn { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--blue-bright); letter-spacing: 0.04em; text-transform: uppercase; }

/* Damage Type Selector */
.damage-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.damage-type {
  background: var(--white); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 18px 12px; text-align: center; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  transition: all var(--t-fast) var(--ease);
}
.damage-type:hover { border-color: var(--border-blue); color: var(--blue); background: var(--blue-ultra); }
.damage-type.selected { border-color: var(--blue-bright); background: var(--blue-ultra); color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.damage-type-icon { font-size: 22px; display: block; margin-bottom: 6px; }

/* Step Indicator */
.step-bar { display: flex; align-items: center; margin-bottom: 36px; gap: 0; }
.step-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-subtle); }
.step-item.active { color: var(--blue-bright); }
.step-item.done { color: var(--text-muted); }
.step-circle {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; font-weight: 800;
  transition: all var(--t-fast);
}
.step-item.active .step-circle { background: var(--blue-bright); border-color: var(--blue-bright); color: #fff; }
.step-item.done .step-circle { background: var(--bg-section); }
.step-line { flex: 1; height: 1px; background: var(--border); margin: 0 10px; min-width: 16px; }

/* Emergency Bar */
.emergency-bar {
  background: #FEF2F2; border: 1.5px solid #FECACA; border-radius: var(--radius-lg);
  padding: 20px 28px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-bottom: 32px;
}
.emergency-bar-left { display: flex; align-items: center; gap: 16px; }
.emergency-bar-icon { font-size: 28px; }
.emergency-bar-title { font-size: 16px; font-weight: 700; color: #991B1B; margin-bottom: 2px; }
.emergency-bar-sub { font-size: 13px; color: #B91C1C; }

/* ─── CTA Section ────────────────────────────────────────────── */
.cta-section { background: var(--grad-blue); padding: 100px 0; position: relative; overflow: hidden; text-align: center; }
.cta-section::before { content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: rgba(255,255,255,0.04); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.cta-section .label { color: rgba(255,255,255,0.6); margin-bottom: 16px; display: block; }
.cta-section h2 { color: #fff; margin-bottom: 18px; }
.cta-section p { color: rgba(255,255,255,0.65); max-width: 480px; margin: 0 auto 36px; }
.cta-section .cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--navy); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-brand {}
.footer-logo-img { height: 72px; width: auto; display: block; margin-bottom: 18px; opacity: 0.95; }
.footer-brand-name { font-family: 'Space Grotesk',sans-serif; font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-brand-sub { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #38BDF8; margin-bottom: 16px; display: block; }
.footer-brand-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-bottom: 20px; max-width: 260px; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,0.5);
  transition: all var(--t-fast);
}
.footer-social-btn:hover { border-color: #38BDF8; color: #38BDF8; }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.footer-link { display: block; font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 10px; transition: color var(--t-fast), padding-left var(--t-fast); }
.footer-link:hover { color: rgba(255,255,255,0.9); padding-left: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; gap: 16px; }
.footer-copyright { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.3); transition: color var(--t-fast); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ─── Hours Box ──────────────────────────────────────────────── */
.hours-box {
  background: var(--blue-tint); border: 1px solid var(--border-blue);
  border-radius: var(--radius); padding: 18px 22px; margin-top: 16px;
}
.hours-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; }
.hours-day { color: var(--text-muted); font-weight: 500; }
.hours-time { color: var(--navy); font-weight: 600; }

/* ─── Scroll Animations ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal-left.visible  { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.96); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ─── Utilities ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-blue    { color: var(--blue-bright); }
.text-navy    { color: var(--navy); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: #fff; }
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.divider-blue { height: 3px; width: 48px; background: var(--blue-bright); border-radius: 2px; margin-bottom: 20px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; } .mb-64 { margin-bottom: 64px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.flex { display: flex; } .flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1140px) {
  .container, .container-sm, .container-xs { padding: 0 28px; }
  .stats-bar-grid { padding: 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .leistung-block { grid-template-columns: 1fr; }
  .leistung-block-img { min-height: 240px; max-height: 300px; }
  .leistung-block-reverse { direction: ltr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-bar-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 960px) {
  :root { --nav-h: 76px; }
  .nav-links, .nav-phone-link { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Auf Mobile/Tablet ist die Nav immer im "scrolled"-Look */
  .nav {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(28,25,20,0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .nav .nav-hamburger span { background: var(--navy); }
  .nav .nav-logo-name { color: var(--navy); }
  .nav .nav-logo-sub { color: var(--accent); }
  .nav .nav-link { color: var(--text-muted); }
  .nav .nav-link.active { color: var(--accent); }
  .nav .nav-logo-img--top { display: none; }
  .nav .nav-logo-img--scrolled { display: block; }

  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .gallery-item.wide { grid-column: span 1; }
  .gallery-item.tall { grid-row: span 1; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .leistung-sm-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; align-items: flex-start; }
  .section { padding: 72px 0; }
  .damage-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .container, .container-sm, .container-xs { padding: 0 20px; }
  .stats-bar-grid { padding: 0 20px; grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .leistung-sm-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-direction: column; gap: 10px; align-items: center; }
  .section { padding: 56px 0; }
  .cta-section { padding: 72px 0; }
  .cta-btns { flex-direction: column; align-items: center; }
  .damage-grid { grid-template-columns: 1fr; }
  .highlight-band { padding: 50px 0; }
  .emergency-bar { flex-direction: column; text-align: center; }
  /* Hero stats: stack on small screens */
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat { padding: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 12px; }
  .hero-stat:last-child { border-bottom: none; }
  /* Split section mobile */
  .split-content-col { padding: 36px 24px; border-left: none; border-top: 1px solid var(--border); }
  /* Feature cards full width */
  .feature-card { padding: 28px 24px; }
  /* Leistung block mobile */
  .leistung-block-body { padding: 28px 24px; }
}

/* ─── About page stats responsive ───────────────────────────── */
@media (max-width: 960px) {
  .about-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .about-stats-grid > div { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .about-stats-grid > div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08) !important; }
  .about-stats-grid > div:last-child, .about-stats-grid > div:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}
@media (max-width: 640px) {
  .about-stats-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ─── Global overflow guard ──────────────────────────────────── */
/* Prevent any child from causing horizontal scroll */
html, body { max-width: 100%; overflow-x: hidden; }
.hero, .parallax-band, .parallax-section, .cta-section, .cta-band,
.highlight-band, .page-hero, .stats-bar, .section, .split-section {
  overflow-x: clip;
}
/* Decorative pseudo-elements: ensure pointer-events off */
.cta-section::before, .cta-band::before, .highlight-band::before {
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   COMPATIBILITY — maps old dark-theme tokens to light equivalents
   so sub-pages render correctly without full rewrites
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* old dark vars: sections stay light, card containers stay dark (premium contrast) */
  --ink:          var(--bg);       /* section background → light */
  --ink-2:        #1E1A16;         /* inner card fill → dark warm */
  --ink-3:        #17140F;         /* card container → dark warm */
  --gold:         var(--accent);
  --gold-dim:     var(--accent-ultra);
  --border-dark:  var(--border);
  --text-subtle:  #9A948E;
  --transition:   0.26s cubic-bezier(0.4,0,0.2,1);
  --radius:       10px;
}
/* Old section-dark → light bg. Dark card containers (--ink-3) inside remain dark. */
.section-dark { background: var(--bg); }
/* Dark cards need their border to be visible in light sections */
.section-dark [style*="background:var(--ink-3)"],
.section-dark [style*="background: var(--ink-3)"] { border-color: rgba(255,255,255,0.08) !important; }
/* Old class names → new */
.nav-phone { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.75); padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.2); transition: all var(--t-fast) var(--ease); }
.nav.scrolled .nav-phone { color: var(--text-muted); border-color: var(--border); }
.nav-phone-icon { margin-right: 2px; }
.footer-social-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12); font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: all var(--t-fast); }
.footer-social-link:hover { border-color: #38BDF8; color: #38BDF8; }
/* Old overline → label */
.overline { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); display: block; }
/* Old display classes */
.display-lg { font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -0.025em; }
.display-md { font-size: clamp(28px, 3.5vw, 48px); font-weight: 700; letter-spacing: -0.02em; }
.display-sm { font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; letter-spacing: -0.015em; }
.text-lg { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.75; }
/* Old btn variant */
.btn-outline-dark, .btn-outline, .btn-outline-blue { background: transparent; color: var(--navy); border: 1.5px solid var(--border); display: inline-flex; align-items: center; gap: 8px; font-family: 'Space Grotesk',sans-serif; font-size: 14px; font-weight: 700; padding: 14px 28px; border-radius: var(--radius-sm); transition: all var(--t-fast) var(--ease); cursor: pointer; text-decoration: none; }
.btn-outline:hover, .btn-outline-blue:hover { background: var(--accent-ultra); border-color: var(--accent); color: var(--accent); }
.btn-outline.btn-lg, .btn-outline-blue.btn-lg { padding: 17px 36px; font-size: 15px; }
/* Old cta-section → use cta-band styles */
.cta-section { background: var(--grad-blue); padding: 100px 0; position: relative; overflow: hidden; text-align: center; }
.cta-section h2, .cta-section .overline { color: #fff; }
.cta-section p { color: rgba(255,255,255,0.65); }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 36px; position: relative; z-index: 1; }
/* Old leistung-card → use feature-card style */
.leistung-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-card); margin-bottom: 24px; transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease); }
.leistung-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.leistung-card-header { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.leistung-card-icon { font-size: 32px; width: 60px; height: 60px; min-width: 60px; background: var(--blue-ultra); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.leistung-card-title { font-family: 'Space Grotesk',sans-serif; font-size: 20px; font-weight: 700; color: var(--navy); }
.leistung-card-body p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.leistung-features { display: flex; flex-direction: column; gap: 10px; }
.leistung-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.leistung-feature-check { color: var(--blue-bright); font-size: 12px; margin-top: 2px; flex-shrink: 0; }
/* Old form checkbox */
.form-checkbox-group { display: flex; align-items: flex-start; gap: 12px; }
.form-checkbox-group input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; accent-color: var(--blue-bright); margin-top: 2px; cursor: pointer; }
.form-checkbox-label { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
/* Old job-card tags */
.tag-gold { background: var(--blue-ultra); color: var(--blue); border: 1px solid var(--border-blue); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); display: inline-block; }
.tag-white { background: var(--bg-section); color: var(--text-muted); border: 1px solid var(--border); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); display: inline-block; }
.job-card-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.job-card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.job-card-action { flex-shrink: 0; }
/* Old page-hero-content */
.page-hero-content {}
/* Old spacing helpers */
.mb-16 { margin-bottom: 16px; } .mb-20 { margin-bottom: 20px; } .mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
/* Old select */
.form-select { background-color: var(--white); }
/* Old contact-info classes (kontakt.html) */
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon { width: 46px; height: 46px; min-width: 46px; background: var(--blue-ultra); border: 1px solid var(--border-blue); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.contact-info-text { display: flex; flex-direction: column; gap: 3px; }
.contact-info-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.contact-info-value { font-size: 16px; font-weight: 600; color: var(--navy); }
.contact-info-value a { color: var(--navy); transition: color var(--t-fast); }
.contact-info-value a:hover { color: var(--accent); }
/* Galerie compat */
.gallery-full { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gallery-full-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-section); aspect-ratio: 4/3; cursor: pointer; transition: transform var(--t) var(--ease); }
.gallery-full-item:hover { transform: scale(1.02); }
.gallery-full-item.large { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-ph { width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:var(--bg-section); }
.gallery-ph-icon { font-size:36px;color:var(--text-subtle); }
.gallery-ph-label { font-size:13px;color:var(--text-muted);font-weight:500; }
.gallery-ph-cat { font-size:10px;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;color:var(--blue-bright);padding:4px 10px;background:var(--blue-ultra);border-radius:100px;border:1px solid var(--border-blue); }
.overlay-info { position:absolute;bottom:0;left:0;right:0;background:linear-gradient(to top,rgba(0,0,0,0.85) 0%,transparent 100%);padding:20px;transform:translateY(100%);transition:var(--t) var(--ease); }
.gallery-full-item:hover .overlay-info { transform:translateY(0); }
.overlay-title { font-family:'Space Grotesk',sans-serif;font-size:15px;font-weight:700;color:white; }
.overlay-cat { font-size:11px;color:#38BDF8;letter-spacing:0.06em;text-transform:uppercase;margin-top:2px; }
@media(max-width:900px) { .gallery-full { grid-template-columns: 1fr 1fr; } .gallery-full-item.large { grid-column: span 1; aspect-ratio: 4/3; } }
@media(max-width:600px) { .gallery-full { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE COMPONENTS — v2 Light / Royal Blue
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reveal delay aliases ───────────────────────────────────── */
.reveal-delay-1 { transition-delay: 0.09s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.27s; }
.reveal-delay-4 { transition-delay: 0.36s; }
.reveal-delay-5 { transition-delay: 0.45s; }

/* ─── Hero Trust Bar ─────────────────────────────────────────── */
.hero-trust {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.65);
}
.hero-trust-item svg { flex-shrink: 0; opacity: 0.8; }
.hero-trust-sep {
  width: 1px; height: 14px; background: rgba(255,255,255,0.2);
}

/* ─── Stats Bar (homepage) ───────────────────────────────────── */
/* .stats-bar already set to dark bg — works as contrast band */
.stats-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center; gap: 0; padding: 48px 0;
}
.stat-item { text-align: center; padding: 8px 32px; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.1); }
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em;
  color: #fff; line-height: 1; margin-bottom: 6px;
}
.stat-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ─── Section Intro ──────────────────────────────────────────── */
.section-intro { max-width: 620px; }
.section-intro.text-center { margin-left: auto; margin-right: auto; }

/* ─── Service Cards Grid ─────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); text-decoration: none;
  display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-blue);
}
.service-card-img {
  position: relative; height: 200px; overflow: hidden;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,20,0.4) 0%, transparent 60%);
  transition: background var(--t);
}
.service-card:hover .service-card-overlay { background: linear-gradient(to top, rgba(28,25,20,0.55) 0%, rgba(26,58,143,0.15) 60%, transparent 100%); }
.service-card-body {
  padding: 24px; flex: 1; display: flex; flex-direction: column;
}
.service-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.service-card-desc {
  font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1;
}
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--blue-bright);
  letter-spacing: 0.02em; margin-top: 16px;
  transition: gap var(--t-fast);
}
.service-card:hover .service-card-link { gap: 10px; }

/* ─── Split Section ──────────────────────────────────────────── */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.split-img-col {
  position: relative; overflow: hidden; min-height: 420px;
}
.split-img-col img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.split-section:hover .split-img-col img { transform: scale(1.04); }
.split-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(28,25,20,0.25) 0%, transparent 70%);
}
.split-img-badge {
  position: absolute; bottom: 28px; left: 28px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-radius: var(--radius-pill); padding: 10px 20px;
  font-size: 13px; font-weight: 700; color: var(--navy);
  box-shadow: var(--shadow-md);
}
.split-img-badge svg { color: var(--blue-bright); flex-shrink: 0; }
.split-content-col {
  background: var(--white); padding: 72px 64px;
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--border);
}

/* ─── Check List ─────────────────────────────────────────────── */
.check-list {
  display: flex; flex-direction: column; gap: 12px;
  list-style: none; padding: 0; margin: 0;
}
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; color: var(--text); line-height: 1.5;
}
.check-list li::before {
  content: '';
  flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px;
  background: var(--blue-ultra); border: 1.5px solid var(--border-blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%232563EB' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ─── USP Grid ───────────────────────────────────────────────── */
.usp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.usp-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  box-shadow: var(--shadow-card);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.usp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-blue);
}
.usp-icon {
  width: 52px; height: 52px;
  background: var(--blue-ultra); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-bright); margin-bottom: 22px;
  transition: background var(--t-fast);
}
.usp-card:hover .usp-icon { background: var(--blue-bright); color: #fff; }
.usp-card h4 {
  font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px;
}
.usp-card p {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
}

/* ─── Parallax Band ──────────────────────────────────────────── */
.parallax-band {
  position: relative; overflow: hidden; min-height: 460px;
  display: flex; align-items: center;
}
.parallax-band-img {
  position: absolute; inset: -15% 0; width: 100%; height: 130%;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
/* iOS / touch: disable fixed attachment (causes blank bg on Safari) */
@supports (-webkit-touch-callout: none) {
  .parallax-band-img { background-attachment: scroll; inset: 0; height: 100%; }
}
@media (max-width: 960px) {
  .parallax-band-img { background-attachment: scroll; inset: 0; height: 100%; }
}
.parallax-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(8,14,30,0.92) 0%, rgba(15,23,42,0.82) 60%, rgba(37,99,235,0.45) 100%);
}
.parallax-band-content {
  position: relative; z-index: 1; padding: 80px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

/* ─── Grid Split (2-col even) ────────────────────────────────── */
.grid-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

/* ─── Feature Row ────────────────────────────────────────────── */
.feature-row {
  display: flex; align-items: center; gap: 18px;
}
.feature-row .feature-icon {
  width: 60px; height: 60px; min-width: 60px;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-section);
  box-shadow: var(--shadow-sm);
}

/* ─── Gallery Grid Homepage ──────────────────────────────────── */
.gallery-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 12px;
}
.gallery-home-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; background: var(--bg-section);
  transition: transform var(--t) var(--ease);
}
.gallery-home-item:hover { transform: scale(1.02); z-index: 1; }
.gallery-home-item.large { grid-column: span 2; }
.gallery-home-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-home-item:hover img { transform: scale(1.07); }
.gallery-home-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 18px 14px;
  background: linear-gradient(to top, rgba(28,25,20,0.85) 0%, transparent 100%);
  font-size: 13px; font-weight: 700; color: #fff;
  letter-spacing: 0.02em;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--t), transform var(--t);
}
.gallery-home-item:hover .gallery-home-label { opacity: 1; transform: translateY(0); }

/* ─── CTA Band ───────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #060C18 0%, #0F1D50 55%, #0F2E9E 100%); padding: 52px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute;
  top: -100px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap; position: relative; z-index: 1;
}
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ─── Extra Buttons ──────────────────────────────────────────── */
.btn-white {
  background: #fff; color: var(--navy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.btn-white:hover {
  background: var(--bg); transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
}
.btn-outline-blue {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--border-blue);
}
.btn-outline-blue:hover {
  background: var(--blue-tint); border-color: var(--blue-bright);
  color: var(--blue-mid); transform: translateY(-1px);
}
/* Outline Button — hell / auf weißem Hintergrund */
.btn-outline-warm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--navy);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s, color 0.18s, background 0.18s, transform 0.18s;
  white-space: nowrap;
}
.btn-outline-warm:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-ultra);
  transform: translateY(-1px);
}
.btn-outline-warm.btn-lg {
  padding: 14px 28px;
  font-size: 14px;
}

.btn-glass {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 0.03em;
  padding: 14px 28px; border-radius: var(--radius-sm);
  transition: all var(--t) var(--ease);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* ─── Footer extras ──────────────────────────────────────────── */
.footer-contact-quick {
  display: flex; flex-direction: column; gap: 8px; margin-top: 20px;
}
.footer-contact-link {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
  white-space: nowrap;
}
.footer-contact-link:hover { color: rgba(255,255,255,0.9); }
.footer-contact-link svg { flex-shrink: 0; opacity: 0.6; }
.footer-cta-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); transition: all var(--t-fast);
  text-decoration: none;
}
.footer-cta-card:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14);
  transform: translateX(4px);
}
.footer-cta-card svg { color: rgba(255,255,255,0.4); flex-shrink: 0; }
.footer-links { display: flex; flex-direction: column; }

/* ─── Footer Quick Buttons ───────────────────────────────────── */
.footer-quick-btn {
  display: block;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 700;
  text-align: center;
  transition: all var(--t-fast) var(--ease);
  text-decoration: none;
}
.footer-quick-btn--red {
  background: rgba(220,38,38,0.1);
  color: #F87171;
  border: 1px solid rgba(220,38,38,0.22);
}
.footer-quick-btn--red:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.footer-quick-btn--blue {
  background: rgba(37,99,235,0.10);
  color: #38BDF8;
  border: 1px solid rgba(37,99,235,0.20);
}
.footer-quick-btn--blue:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ─── Sub-page layout helpers ─────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.section-light { background: var(--bg-section); }
.mb-24 { margin-bottom: 24px; }
.mb-48 { margin-bottom: 48px; }
.mt-48 { margin-top: 48px; }
.text-center { text-align: center; }

/* ─── Value Cards (Über uns) ─────────────────────────────────── */
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  position: relative;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.value-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 56px; font-weight: 800;
  color: rgba(37, 99, 235, 0.18);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.value-card h4 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ─── Job Cards (Stellenanzeigen) ─────────────────────────────── */
.job-card {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 32px;
  padding: 32px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.job-card:hover { box-shadow: var(--shadow-lg); border-color: var(--border-blue); }
.job-card-title { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.job-card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.job-card-action { flex-shrink: 0; padding-top: 4px; }

/* ─── Section header centered ─────────────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header-centered { text-align: center; margin-bottom: 56px; }
.section-header-centered p { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ─── Responsive additions ───────────────────────────────────── */
@media (max-width: 1140px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .parallax-band-content { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; }
}
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split-section { grid-template-columns: 1fr; }
  .split-content-col { padding: 48px 40px; }
  .split-img-col { min-height: 320px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .grid-split { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid-home { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-home-item.large { grid-column: span 1; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-divider { display: none; }
  .stat-item { padding: 24px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .job-card { flex-direction: column; }
  .usp-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .split-content-col { padding: 40px 24px; }
  .gallery-grid-home { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 0; }
  .cta-band-actions { flex-direction: column; width: 100%; }
  .cta-band-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-trust { gap: 14px; }
  .hero-trust-sep { display: none; }
  /* Prevent cards from exceeding viewport on mobile */
  .usp-card, .service-card, .value-card, .feature-card, .leistung-sm-card, .job-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  /* Grid-split: single column */
  .grid-split { grid-template-columns: 1fr; gap: 32px; }
  /* Parallax band content: single column */
  .parallax-band-content { grid-template-columns: 1fr; gap: 24px; padding: 56px 0; }
  /* Section padding tighter */
  .section-lg { padding: 64px 0; }
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL MOBILE POLISH — consistent edge distances, stacking grids
   ═══════════════════════════════════════════════════════════════ */

/* 4-column variant for services grid (index.html) */
.services-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Nav inner padding matches container on all breakpoints */
@media (max-width: 1140px) {
  .nav-inner { padding: 0 28px; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 0 20px; }
}

/* Tablet: 4-col → 2-col */
@media (max-width: 1100px) {
  .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: all grids → single column, consistent edge padding */
@media (max-width: 640px) {
  .services-grid-4 { grid-template-columns: 1fr; }

  /* Inline grids with fixed columns: force single column */
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns:1fr 1fr"]   { grid-template-columns: 1fr !important; }

  /* Ref-grid in galerie: stack on mobile */
  .ref-grid { grid-template-columns: 1fr !important; }

  /* Flip-card rows in leistungen: single column */
  .leistung-row { grid-template-columns: 1fr !important; }

  /* Video teaser grid: already handled, ensure gap shrinks */
  .video-teaser-section { padding: 48px 0; }

  /* Stats row section: always 2×2 on mobile */
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 0; }

  /* CTA band: always full-width button column */
  .cta-band-inner { gap: 28px; }
  .cta-band-actions { width: 100%; flex-direction: column; }
  .cta-band-actions .btn,
  .cta-band-actions .btn-white,
  .cta-band-actions .btn-primary { width: 100%; justify-content: center; text-align: center; }

  /* Page hero: less vertical padding */
  .page-hero { padding-bottom: 52px; }

  /* section-header: center align on mobile */
  .section-header { text-align: center; }
  .section-header .label { margin-left: auto; margin-right: auto; }

  /* Job cards: always stack action below content */
  .job-card-action { width: 100%; }
  .job-card-action a { display: block; width: 100%; text-align: center; }

  /* Flip cards: ensure full width and readable */
  .flip-card-wrap { width: 100%; }

  /* Prevent page-hero-content from causing edge bleed */
  .page-hero-content { padding-left: 0 !important; padding-right: 0 !important; }
}

@media (max-width: 480px) {
  /* Extra small screens: tighten container even more */
  .container, .container-sm, .container-xs { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }

  /* Stats: reduce font-size slightly */
  .stats-row-num { font-size: clamp(22px, 7vw, 36px); }

  /* USP grid: 1-col on very small screens */
  .usp-grid { grid-template-columns: 1fr !important; }

  /* Hero CTA buttons: full width */
  .hero-cta-row .btn,
  .hero-cta-row a { width: 100%; justify-content: center; }

  /* Reduce section padding */
  .section { padding: 44px 0; }
  .section-lg { padding: 52px 0; }
  .cta-band { padding: 36px 0; }
}

