/* ============================================================
   Jäger KFZ Technik – Design System
   Aesthetic: Premium German Handwerk / Automotive
   Fonts: Oswald (headings) + DM Sans (body)
   Colors: Navy Blue #1B3A6B + Red #CC2027
   ============================================================ */

/* Schriften: siehe css/fonts.css – lokal gehostet, wird vor dieser Datei geladen. */

/* ── Variables ── */
:root {
  --blue-primary:  #1B3A6B;
  --blue-accent:   #1B3A6B;
  --blue-dark:     #132A52;
  --blue-light:    #E8EFF8;
  --red-accent:    #CC2027;
  --red-dark:      #A81920;
  --dark:          #1A1A1F;
  --dark-2:        #2A2A30;
  --dark-3:        #3A3A42;
  --gray-700:      #35373E;
  --gray-600:      #50525A;
  --gray-500:      #70717A;
  --gray-400:      #94959E;
  --gray-300:      #C8C9CE;
  --gray-200:      #DEDFE5;
  --gray-100:      #EEEFF4;
  --light:         #F4F5F9;
  --white:         #FFFFFF;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08),  0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 6px rgba(0,0,0,.07),  0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:  0 10px 15px rgba(0,0,0,.10), 0 4px 6px rgba(0,0,0,.05);
  --shadow-xl:  0 20px 25px rgba(0,0,0,.12), 0 10px 10px rgba(0,0,0,.05);
  --radius-sm:  4px;
  --radius-md:  10px;
  --radius-lg:  18px;
  --transition: all 0.3s ease;
  --font-display: 'Oswald', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background-color: var(--dark); }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  color: var(--dark);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--gray-600); line-height: 1.75; }
.lead { font-size: 1.1rem; color: var(--gray-500); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}
.section    { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 14px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: .025em;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--red-accent);
  color: var(--white);
  border: 2px solid var(--red-accent);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(204,32,39,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}
.btn-outline-blue {
  background: transparent;
  color: var(--blue-primary);
  border: 2px solid var(--blue-primary);
}
.btn-outline-blue:hover {
  background: var(--blue-primary);
  color: var(--white);
}
.btn-ghost {
  color: var(--blue-primary);
  padding-left: 0;
  padding-right: 0;
  border: none;
  font-weight: 600;
}
.btn-ghost:hover { color: var(--red-accent); }
.btn-ghost .arrow { transition: transform .2s; }
.btn-ghost:hover .arrow { transform: translateX(5px); }

/* ── Site Header / Nav ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--blue-primary);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: var(--transition);
}
.site-header.scrolled {
  background: var(--blue-dark);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 48px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 9px 15px;
  color: rgba(255,255,255,.78);
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .02em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,.09);
}
.nav-links a.active {
  color: var(--white);
}
.nav-cta {
  background: var(--red-accent) !important;
  color: var(--white) !important;
  margin-left: 10px;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--red-dark) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center; align-items: center;
    gap: 5px; padding: 0;
    position: relative;
    z-index: 2100;
  }
  .nav-toggle span { width: 22px; height: 2px; flex-shrink: 0; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100dvh;
    background: var(--blue-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .38s cubic-bezier(0.4, 0, 0.2, 1), opacity .3s ease;
    z-index: 1999;
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-links li:first-child { border-top: 1px solid rgba(255,255,255,.07); }
  .nav-links a {
    display: block;
    padding: 22px 24px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(255,255,255,.85);
    border-radius: 0;
    transition: color .2s, background .2s;
  }
  .nav-links a:hover {
    color: var(--red-accent);
    background: rgba(255,255,255,.05);
  }
  .nav-links a.active { color: var(--red-accent); }
  .nav-links li:last-child {
    border-bottom: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
  }
  .nav-links .nav-cta {
    background: var(--red-accent) !important;
    color: var(--white) !important;
    margin: 0 !important;
    border-radius: var(--radius-sm) !important;
    padding: 15px 32px !important;
    font-size: 1.05rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    max-width: 300px;
    text-align: center;
  }
  .nav-links .nav-cta:hover { background: var(--red-dark) !important; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #ffffff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #ffffff;
}
.hero-bg::before { display: none; }
.hero-bg::after  { display: none; }
.hero-pattern    { display: none; }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  padding-top: 80px;
}
/* ── Hero Load Reveal ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-eyebrow { animation: heroFadeUp .65s cubic-bezier(0.22,1,0.36,1) both; }
.hero h1      { animation: heroFadeUp .7s  cubic-bezier(0.22,1,0.36,1) .15s both; }
.hero-lead    { animation: heroFadeUp .7s  cubic-bezier(0.22,1,0.36,1) .30s both; }
.hero-actions { animation: heroFadeUp .7s  cubic-bezier(0.22,1,0.36,1) .45s both; }
.hero-trust   { animation: heroFadeUp .7s  cubic-bezier(0.22,1,0.36,1) .60s both; }
.hero-visual  { animation: heroFadeIn  .9s ease                         .20s both; }
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero h1, .hero-lead,
  .hero-actions, .hero-trust, .hero-visual { animation: none; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red-accent);
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--red-accent);
}
.hero h1 {
  color: var(--blue-primary);
  margin-bottom: 26px;
  font-weight: 700;
}
.hero h1 em {
  font-style: normal;
  color: var(--red-accent);
}
.hero-lead {
  color: rgba(27,58,107,.8);
  font-size: 1.1rem;
  margin-bottom: 44px;
  max-width: 530px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline {
  color: var(--blue-primary);
  border-color: rgba(27,58,107,.5);
}
.hero .btn-outline:hover {
  background: var(--blue-primary);
  color: var(--white);
}
.hero-trust {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.hero-trust::-webkit-scrollbar { display: none; }
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(27,58,107,.07);
  border: 1px solid rgba(27,58,107,.2);
  border-radius: 20px;
  color: var(--blue-primary);
  font-size: .8rem;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .03em;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .hero-trust { gap: 5px; }
  .hero-trust-item { padding: 4px 8px; font-size: .68rem; letter-spacing: 0.01em; }
}
.hero-visual {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: 42%;
  z-index: 1;
  pointer-events: none;
}
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
}
.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    #ffffff 0%,
    rgba(255,255,255,.9) 20%,
    rgba(255,255,255,.2) 55%,
    transparent 85%);
}
@media (max-width: 900px) {
  .hero-visual { left: 30%; }
  .hero-content { max-width: 460px; }
  .hero-visual::after {
    background: linear-gradient(90deg,
      #ffffff 0%,
      rgba(255,255,255,.95) 35%,
      rgba(255,255,255,.5) 65%,
      transparent 100%);
  }
}
@media (max-width: 600px) {
  .hero { min-height: 100svh; }
  .hero-visual {
    display: block;
    position: absolute;
    inset: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url('https://images.unsplash.com/photo-1642075191572-9992f5f290c2?auto=format&fit=crop&w=800&q=70');
    background-size: cover;
    background-position: center center;
  }
  .hero-visual img { display: none; }
  .hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.80);
  }
  .hero-content {
    padding-top: 80px;
    padding-bottom: 40px;
    max-width: 100%;
  }
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(27,58,107,.35);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(27,58,107,.4), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: .4; transform: scaleY(.6); }
}

/* ── Stats / Kennzahlen ── */
.stats {
  background: var(--blue-primary);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.72);
  font-weight: 500;
}
@media (max-width: 680px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }
}

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}
.service-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-accent);
}
.service-card-img {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-img .img-bg {
  position: absolute;
  inset: 0;
  transition: transform .45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.service-card:hover .img-bg { transform: scale(1.05); }
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 24px; }
.service-card-body h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card-body p  { font-size: .88rem; line-height: 1.65; color: var(--gray-500); }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--blue-primary);
  font-family: var(--font-display);
}
.service-card-link .arrow { transition: transform .2s; }
.service-card:hover .service-card-link .arrow { transform: translateX(5px); }

/* ── Reference Cards ── */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.ref-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.ref-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.ref-card-img {
  height: 240px;
  position: relative;
  overflow: hidden;
}
.ref-card-img .img-bg {
  position: absolute;
  inset: 0;
  transition: transform .45s ease;
}
.ref-card:hover .img-bg { transform: scale(1.05); }
.ref-card-body { padding: 20px 24px 24px; }
.ref-tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-family: var(--font-display);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ref-card-body h3 { font-size: 1.08rem; margin-bottom: 8px; }
.ref-card-body p  { font-size: .87rem; color: var(--gray-500); }

/* ── Company Preview (split layout) ── */
.company-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 800px) { .company-split { grid-template-columns: 1fr; gap: 44px; } }

.company-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.company-img-wrap .img-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #0D1F3C 0%, #162E55 40%, #1B3A6B 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.company-badge {
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 116px;
  height: 116px;
  background: var(--red-accent);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 14px;
  font-family: var(--font-display);
  box-shadow: var(--shadow-lg);
}
.company-badge .num { font-size: 2.2rem; font-weight: 700; line-height: 1; }
.company-badge .lbl { font-size: .68rem; font-weight: 600; letter-spacing: .08em; margin-top: 4px; line-height: 1.35; }

.company-text h2 { margin-bottom: 18px; }
.company-text > p { margin-bottom: 28px; }

.value-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-primary);
}
.value-text h4 { font-size: .98rem; margin-bottom: 3px; }
.value-text p  { font-size: .86rem; margin: 0; }

/* ── News Cards ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.news-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.news-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.news-card-img .img-bg {
  position: absolute;
  inset: 0;
  transition: transform .45s ease;
}
.news-card:hover .img-bg { transform: scale(1.05); }
.news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.news-cat {
  font-size: .7rem;
  font-weight: 700;
  color: var(--blue-primary);
  font-family: var(--font-display);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.news-date { font-size: .78rem; color: var(--gray-400); }
.news-card-body h3 { font-size: 1.08rem; margin-bottom: 10px; }
.news-card-body p  { font-size: .87rem; color: var(--gray-500); flex: 1; }
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--blue-primary);
  font-family: var(--font-display);
}
.news-more .arrow { transition: transform .2s; }
.news-card:hover .news-more .arrow { transform: translateX(5px); }

/* ── CTA Section ── */
.cta-section {
  background: var(--dark);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 15% 60%, rgba(27,58,107,.25) 0%, transparent 60%);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta-inner h2 { color: var(--white); margin-bottom: 18px; }
.cta-inner p  { color: rgba(255,255,255,.62); margin-bottom: 40px; font-size: 1.05rem; }
.cta-actions  { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-contact  {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.55);
  font-size: .9rem;
}
.cta-contact-item svg { color: var(--red-accent); }
.cta-contact-item a { color: rgba(255,255,255,.8); }
.cta-contact-item a:hover { color: var(--red-accent); }

/* ── Contact Form ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; gap: 48px; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label {
  font-size: .87rem;
  font-weight: 600;
  color: var(--gray-700);
  font-family: var(--font-display);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

.contact-sidebar {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: var(--white);
}
.contact-sidebar h3 { color: var(--white); margin-bottom: 8px; }
.contact-sidebar > p { color: rgba(255,255,255,.6); font-size: .9rem; margin-bottom: 28px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(27,58,107,.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-accent);
  flex-shrink: 0;
}
.contact-info-text { font-size: .88rem; }
.contact-info-text strong { display: block; color: rgba(255,255,255,.85); margin-bottom: 2px; font-family: var(--font-display); }
.contact-info-text a,
.contact-info-text span { color: rgba(255,255,255,.55); }
.contact-info-text a:hover { color: var(--red-accent); }
.opening-hours {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  margin-top: 8px;
}
.opening-hours h4 { color: rgba(255,255,255,.8); font-size: .88rem; margin-bottom: 12px; }
.oh-row {
  display: flex;
  justify-content: space-between;
  font-size: .84rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 6px;
}

/* ── Page Header (subpages) ── */
.page-header {
  background: var(--dark);
  padding: 148px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(27,58,107,.25) 0%, transparent 60%);
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .025;
  background-image:
    linear-gradient(var(--white) 1px, transparent 1px),
    linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-header-inner { position: relative; z-index: 1; }
.page-header h1 { color: var(--white); margin-bottom: 16px; }
.page-header p  { color: rgba(255,255,255,.62); max-width: 580px; font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .82rem;
  color: rgba(255,255,255,.38);
}
.breadcrumb a { color: rgba(255,255,255,.5); transition: color .2s; }
.breadcrumb a:hover { color: var(--red-accent); }
.breadcrumb-sep { color: rgba(255,255,255,.22); }

/* ── Team Grid ── */
.team-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}
.team-card-v2 {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.team-card-v2:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.team-card-v2-img {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-card-v2-img .team-initials {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--blue-primary);
  opacity: .35;
  position: absolute;
}
.team-card-v2-body { padding: 24px; }
.team-card-v2-body h4 { font-size: 1.12rem; margin-bottom: 4px; }
.team-card-v2-body .team-role { margin-bottom: 12px; font-size: .78rem; }
.team-card-v2-body > p { font-size: .875rem; color: var(--gray-500); margin-bottom: 6px; line-height: 1.65; }
.team-role {
  font-size: .78rem;
  color: var(--blue-primary);
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.team-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.team-tag {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 20px;
  font-family: var(--font-display);
  letter-spacing: .04em;
}

/* ── Timeline (Unternehmen Seite) ── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-primary), rgba(27,58,107,.1));
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue-primary);
  border: 2.5px solid var(--white);
  box-shadow: 0 0 0 3px rgba(27,58,107,.2);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-item h4 { font-size: 1rem; margin-bottom: 5px; }
.timeline-item p  { font-size: .88rem; color: var(--gray-500); margin: 0; }

/* ── Blog / Aktuelles ── */
.post-expand {
  display: none;
  border-top: 1px solid var(--gray-200);
  margin-top: 18px;
  padding-top: 18px;
}
.post-expand.open { display: block; }
.post-expand p {
  font-size: .89rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 12px;
}
.post-expand p:last-child { margin-bottom: 0; }
.post-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--blue-primary);
  font-family: var(--font-display);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color .2s;
}
.post-toggle:hover { color: var(--red-accent); }
.toggle-arrow {
  display: inline-block;
  transition: transform .3s ease;
  font-style: normal;
}
.post-toggle.open .toggle-arrow { transform: rotate(90deg); }

/* ── Footer ── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 72px 0 0;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand > p {
  color: rgba(255,255,255,.48);
  font-size: .88rem;
  margin-top: 20px;
  max-width: 280px;
  line-height: 1.7;
}
.footer-col h4 {
  color: rgba(255,255,255,.9);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-display);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.48);
  font-size: .88rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--red-accent); }
.footer-ci { display: flex; flex-direction: column; gap: 12px; }
.footer-ci-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-ci-item svg { color: var(--red-accent); flex-shrink: 0; margin-top: 2px; }
.footer-ci-item p,
.footer-ci-item a {
  color: rgba(255,255,255,.48);
  font-size: .87rem;
  margin: 0;
  line-height: 1.55;
}
.footer-ci-item a:hover { color: var(--red-accent); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.28); margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.28);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--red-accent); }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

/* ── Scroll-to-Top ── */
#scrollTopBtn {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red-accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s cubic-bezier(.25,.8,.25,1), transform .4s cubic-bezier(.25,.8,.25,1), background .2s;
  box-shadow: 0 4px 20px rgba(204,32,39,.35);
  pointer-events: none;
}
#scrollTopBtn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#scrollTopBtn:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(204,32,39,.45);
}

/* ── Hero Text Rotation ── */
.hero-rotating-word {
  display: inline-block;
  font-style: normal;
  color: var(--red-accent);
  transition: opacity .35s ease, transform .35s ease;
  will-change: opacity, transform;
}
.hero-rotating-word.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

/* ── Process / Ablauf Timeline (VERTIKAL) ── */
.process-section {
  background: var(--dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(27,58,107,.15) 0%, transparent 60%);
  pointer-events: none;
}
.process-section .section-header h2 { color: var(--white); }
.process-section .section-header p  { color: rgba(255,255,255,.55); }

.process-timeline-wrap {
  position: relative;
  max-width: 700px;
  margin: 64px auto 0;
  padding-left: 64px;
}
.process-line-track {
  position: absolute;
  left: 20px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
}
.process-line-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--red-accent), var(--blue-primary));
  border-radius: 2px;
  transition: height .08s linear;
}
.process-step {
  position: relative;
  margin-bottom: 52px;
  opacity: .3;
  transform: translateX(-10px);
  transition: opacity .5s ease, transform .5s ease;
}
.process-step:last-child { margin-bottom: 0; }
.process-step.active   { opacity: 1; transform: translateX(0); }

.process-step-dot {
  position: absolute;
  left: -52px;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 2.5px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.process-step.active .process-step-dot {
  background: var(--red-accent);
  border-color: var(--red-accent);
  box-shadow: 0 0 0 6px rgba(204,32,39,.18);
}
.process-step-num {
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 6px;
  opacity: 0;
  transition: opacity .5s ease .1s;
}
.process-step.active .process-step-num { opacity: 1; }
.process-step h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.process-step p {
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  line-height: 1.75;
  max-width: 520px;
  margin: 0;
}
.process-cta {
  text-align: center;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 1;
}
.process-cta p {
  color: rgba(255,255,255,.55);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

/* ── Qualitäts-Sektion ── */
.quality-section {
  background: var(--dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.quality-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 10% 80%, rgba(27,58,107,.1) 0%, transparent 55%);
  pointer-events: none;
}
.quality-section .section-header h2 { color: var(--white); }
.quality-section .section-header p  { color: rgba(255,255,255,.55); }

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}
@media (max-width: 900px) { .quality-grid { grid-template-columns: 1fr; gap: 52px; } }

.quality-args {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
}
@media (max-width: 520px) { .quality-args { grid-template-columns: 1fr; gap: 32px; } }

.quality-arg-icon {
  width: 48px;
  height: 48px;
  background: rgba(27,58,107,.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-accent);
  margin-bottom: 16px;
  transition: transform .3s ease;
}
.quality-arg:hover .quality-arg-icon { transform: translateY(-4px); }
.quality-arg h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.quality-arg p  { font-size: .88rem; color: rgba(255,255,255,.48); margin: 0; line-height: 1.7; }

.quality-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
@media (max-width: 900px) { .quality-visual { display: none; } }

.quality-img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  will-change: transform;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.quality-img-card:nth-child(2) { margin-top: 48px; }
.quality-img-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}
.quality-img-card-fallback {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27,58,107,.3) 0%, rgba(26,26,31,.7) 100%);
  color: rgba(255,255,255,.2);
  font-family: var(--font-display);
  font-size: .75rem;
  letter-spacing: .1em;
}

/* ── Placeholder image gradients (KFZ-Farben) ── */
.img-kfz-inspektion { background: linear-gradient(135deg, #1B3A6B 0%, #132A52 100%); }
.img-kfz-tuev       { background: linear-gradient(135deg, #0D1F3C 0%, #1B3A6B 100%); }
.img-kfz-reifen     { background: linear-gradient(135deg, #1A1A1F 0%, #2A2A30 100%); }
.img-kfz-bremsen    { background: linear-gradient(135deg, #3A1015 0%, #CC2027 50%, #A81920 100%); opacity-stop: .8; background: linear-gradient(135deg, #2A1A1C 0%, #4A2028 100%); }
.img-kfz-motor      { background: linear-gradient(135deg, #1A1A1F 0%, #3A3A42 100%); }
.img-kfz-klima      { background: linear-gradient(135deg, #0D1F3C 0%, #1B3A6B 60%, #2A4A8A 100%); }
.img-kfz-elektrik   { background: linear-gradient(135deg, #132A52 0%, #1B3A6B 100%); }
.img-kfz-karosserie { background: linear-gradient(135deg, #2A1A1C 0%, #5A2A30 100%); }
.img-kfz-news1      { background: linear-gradient(135deg, #0D1F3C 0%, #1B3A6B 100%); }
.img-kfz-news2      { background: linear-gradient(135deg, #1A1A1F 0%, #3A3A42 100%); }
.img-kfz-news3      { background: linear-gradient(135deg, #2A1A1C 0%, #4A2028 100%); }
.img-kfz-team       { background: linear-gradient(135deg, #0D1F3C 0%, #1B3A6B 50%, #2A4A8A 100%); }
.img-kfz-company    { background: linear-gradient(140deg, #0D1F3C 0%, #162E55 50%, #1B3A6B 100%); }

/* placeholder icon inside img-bg */
.placeholder-icon {
  color: rgba(255,255,255,.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  user-select: none;
}
.placeholder-icon span {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
}

/* ── Leistungen Seite – Detail Cards ── */
.leistung-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-200);
}
.leistung-detail:last-child { border-bottom: none; }
.leistung-detail.reverse { direction: rtl; }
.leistung-detail.reverse > * { direction: ltr; }
@media (max-width: 800px) {
  .leistung-detail { grid-template-columns: 1fr; gap: 36px; direction: ltr; }
  .leistung-detail.reverse { direction: ltr; }
}
.leistung-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}
.leistung-img .img-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.leistung-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leistung-icon {
  width: 56px;
  height: 56px;
  background: var(--blue-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  margin-bottom: 20px;
}
.leistung-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 16px; }
.leistung-text p  { margin-bottom: 24px; }
.leistung-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.leistung-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: var(--gray-600);
}
.leistung-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-accent);
  flex-shrink: 0;
}

/* ── Highlight strip ── */
.highlight-strip {
  background: var(--blue-light);
  border-left: 4px solid var(--blue-primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0;
}
.highlight-strip p { color: var(--gray-700); margin: 0; font-size: .95rem; }

/* ── Legal pages ── */
.legal-section { padding: 80px 0; }
.legal-section + .legal-section {
  border-top: 2px solid var(--gray-200);
}
.legal-content h2 { margin-bottom: 24px; }
.legal-content h3 { font-size: 1.15rem; margin: 32px 0 10px; }
.legal-content p  { margin-bottom: 14px; font-size: .95rem; }
.legal-content ul { margin: 12px 0 14px 24px; list-style: disc; display: flex; flex-direction: column; gap: 6px; }
.legal-content ul li { font-size: .93rem; color: var(--gray-600); }
.legal-content a   { color: var(--blue-primary); text-decoration: underline; }

/* ── Utilities ── */
.bg-light  { background: var(--light); }
.bg-white  { background: var(--white); }
.text-center { text-align: center; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.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; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .section    { padding: 64px 0; }
  .section-lg { padding: 80px 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 16px; margin-bottom: 32px; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stat-item:nth-child(2n)   { border-right: none; }
  .stat-item:nth-child(2n-1) { border-right: 1px solid rgba(255,255,255,.18); }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4)    { border-bottom: none; }
  .stat-number { font-size: clamp(2rem, 9vw, 2.6rem); }
  .stat-label  { font-size: .78rem; }
}
@media (max-width: 520px) {
  .footer-brand, .footer-col { text-align: center; }
  /* .nav-logo ist ein Flex-Container, deshalb greift text-align nicht:
     das Logo bliebe linksbuendig stehen. */
  .footer-brand .nav-logo { justify-content: center; }
  .footer-brand > p { margin-left: auto; margin-right: auto; }
  .footer-col ul  { align-items: center; }
  .footer-ci      { align-items: center; }
  .footer-ci-item { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
  .footer-ci-item svg { margin-top: 0 !important; }
  .footer-bottom  { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: clamp(1.45rem, 7vw, 1.95rem); line-height: 1.25; }
}

/* ── Page Header entry animation ── */
@keyframes pageHeaderIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-header-inner .breadcrumb {
  animation: pageHeaderIn .5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.page-header-inner h1 {
  animation: pageHeaderIn .7s cubic-bezier(0.22, 1, 0.36, 1) .12s both;
}
.page-header-inner p {
  animation: pageHeaderIn .7s cubic-bezier(0.22, 1, 0.36, 1) .27s both;
}

/* ══════════════════════════════════════════════════════════════
   ERWEITERUNGEN RUNDE 2
   ══════════════════════════════════════════════════════════════ */

/* ── Rennwagen-Cursor ── */
html, body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ctext x='16' y='24' font-size='26' text-anchor='middle'%3E%F0%9F%8F%8E%EF%B8%8F%3C/text%3E%3C/svg%3E") 16 16, auto;
}
a, button, .btn, input, select, textarea, label, [role="button"],
.post-toggle, .nav-toggle, .service-card, .news-card, .team-card-v2 {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ctext x='16' y='24' font-size='26' text-anchor='middle'%3E%F0%9F%8F%8E%EF%B8%8F%3C/text%3E%3C/svg%3E") 16 16, pointer;
}

/* ── Warum-Section ── */
.warum-section {
  background: var(--blue-primary);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.warum-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 50%, rgba(204,32,39,.15) 0%, transparent 55%);
  pointer-events: none;
}
.warum-section .section-header h2 { color: var(--white); }
.warum-section .section-header p  { color: rgba(255,255,255,.6); }
.warum-section .section-eyebrow   { color: var(--red-accent); }
.warum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
@media (max-width: 800px) { .warum-grid { grid-template-columns: 1fr; } }
.warum-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
}
.warum-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.2);
}
.warum-card-icon {
  width: 60px;
  height: 60px;
  background: var(--red-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 24px;
}
.warum-card h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.warum-card p {
  color: rgba(255,255,255,.58);
  font-size: .92rem;
  line-height: 1.75;
  margin: 0;
}

/* ── Über uns Editorial (Landing Page) ── */
.ueber-editorial {
  background: var(--light);
  padding: 88px 0;
}
.ueber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 800px) { .ueber-grid { grid-template-columns: 1fr; gap: 44px; } }
/* Ohne diese Zeile klebte der Text an der Ueberschrift: die uebrigen
   Abschnitte setzen den Abstand ueber .section-header h2 oder
   .company-text h2, dieser hier hatte keine eigene Regel. */
.ueber-editorial h2 { margin-bottom: 20px; }
.ueber-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
}
.ueber-img .img-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ueber-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ueber-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin: 28px 0 36px;
}
@media (max-width: 480px) { .ueber-features { grid-template-columns: 1fr; } }
.ueber-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ueber-feature-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-accent);
  flex-shrink: 0;
  margin-top: 6px;
}
.ueber-feature h4 { font-size: .95rem; margin-bottom: 2px; }
.ueber-feature p  { font-size: .84rem; color: var(--gray-500); margin: 0; }

/* ── Location Hero (Anfahrt-Seite) ── */
.location-hero {
  position: relative;
  height: 56vh;
  min-height: 360px;
  margin-top: 74px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.location-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.location-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,24,40,.85) 0%, rgba(10,24,40,.3) 60%, transparent 100%);
}
.location-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 0 48px;
  width: 100%;
}
.location-hero-content h1 { color: var(--white); margin-bottom: 10px; }
.location-hero-content p  { color: rgba(255,255,255,.7); font-size: 1.05rem; }

/* ── Tankstellen-Block ── */
.tankstelle-block {
  background: var(--blue-primary);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.tankstelle-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(204,32,39,.12) 0%, transparent 55%);
  pointer-events: none;
}
.tankstelle-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.tankstelle-text h2 { color: var(--white); margin-bottom: 10px; }
.tankstelle-text p  { color: rgba(255,255,255,.6); max-width: 520px; margin: 0; }
.tankstelle-actions { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }

/* ── Anfahrt Info Split ── */
.anfahrt-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: stretch;
}
@media (max-width: 900px) { .anfahrt-split { grid-template-columns: 1fr; gap: 48px; } }
.anfahrt-info h3 { font-size: 1.25rem; margin-bottom: 20px; }
/* Die Karte fuellt die Hoehe der Zeile, statt auf einem festen Wert
   zu stehen. Damit enden Adressspalte und Kartenspalte immer bündig –
   unabhaengig davon, wie lang der Text in der Adresskarte gerade ist.
   Vorher stand hier height:420px, wodurch unter der Karte eine leere
   Flaeche blieb. */
.anfahrt-map {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
.anfahrt-map iframe {
  width: 100%;
  flex: 1 1 auto;
  min-height: 460px;
  display: block;
  border: 0;
}
@media (max-width: 600px) { .anfahrt-map iframe { min-height: 280px; } }

/* ── Anfahrtshinweis-Notiz (in contact-sidebar) ── */
.contact-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .84rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-bottom: 0;
}
.contact-note strong {
  color: rgba(255,255,255,.75);
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

/* ── Anfahrt Map-Actions ── */
/* Fussleiste der Kartenbox – sie sitzt innerhalb des Rahmens und
   wirkte mit margin-top freistehend. */
.anfahrt-map-actions {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 14px 16px;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}
.anfahrt-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ══════════════════════════════════════════════════════════════
   ERWEITERUNGEN RUNDE 3
   Bildstapelung, vollflächig klickbare Karten, Lightbox,
   Ankerabstände. Angehängt statt eingearbeitet: so gewinnt die
   Kaskade ohne !important und der Diff bleibt nachvollziehbar.
   ══════════════════════════════════════════════════════════════ */

/* ── 1. Bildstapelung ──────────────────────────────────────────
   Das Foto steht im Markup VOR dem .img-bg-Verlauf. Beide sind
   position:absolute ohne z-index – bei gleicher Stapelstufe malt
   das spätere Element oben, der deckende Verlauf verdeckte also
   das Foto vollständig. .real-img hebt das Foto eine Stufe an.
   Der Verlauf bleibt als Fallback darunter und wird wieder
   sichtbar, sobald onerror="this.style.display='none'" greift. */
.service-card-img .real-img,
.news-card-img   .real-img,
.leistung-img    .real-img,
.news-full-img   .real-img,
.company-img     .real-img,
.ueber-img       .real-img { z-index: 1; }

/* Stand vorher als Inline-Style an den beiden News-Bildern und fehlte
   damit jedem weiteren. Gehört als Regel hierher, nicht ins Markup. */
.news-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }

/* ── 2. Vollflächig klickbare Karten ("Stretched Link") ────────
   Der vorhandene "Mehr erfahren"-Link spannt ein Pseudo-Element
   über die ganze Karte. So bleibt es genau EIN echter Link pro
   Karte – ein <a> um den ganzen Block würde Überschrift und
   Fließtext in den Linktext ziehen und die Vorlesereihenfolge
   unbrauchbar machen.
   position:relative ist Pflicht: ohne sie spannt sich ::after auf
   den nächsten positionierten Vorfahren, nicht auf die Karte.
   Kein position auf .service-card-body – sonst würde ::after nur
   den Textbereich abdecken und das Bild bliebe unklickbar. */
.service-card,
.news-card { position: relative; }

.service-card-link::after,
.news-more::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* ── 3. Bild-Lightbox ──────────────────────────────────────────
   Aus der Dreher-Seite übernommen, auf die Jäger-Tokens übersetzt
   und ohne das dortige Karussell. Farbakzent ist --red-accent:
   --blue-primary wäre auf dem fast schwarzen Overlay nicht zu
   erkennen. */

/* Auslösefläche: das vorhandene Bildfeld, per data-lightbox
   markiert. Braucht position:relative für den Zoom-Button. */
[data-lightbox] { position: relative; cursor: zoom-in; }

/* Zoom-Button, erscheint beim Hover über dem Bild. */
.img-expand {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,.55);
  color: var(--white);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
[data-lightbox]:hover .img-expand,
[data-lightbox]:focus-within .img-expand { opacity: 1; transform: translateY(0); }
.img-expand:hover { background: rgba(0,0,0,.82); }
.img-expand:focus-visible { outline: 2px solid var(--red-accent); outline-offset: 2px; }
/* Ohne Hover (Touch) wäre der Button sonst nie erreichbar. */
@media (hover: none) {
  .img-expand { opacity: 1; transform: none; }
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overscroll-behavior: contain;
}
.lightbox-overlay.open { display: flex; }

/* Gestenfläche für Zoom, Pan und Wischen. Füllt den Innenbereich,
   damit auch ein Wisch neben dem Bild zählt und ein gezoomtes Bild
   bis an den Rand laufen kann. touch-action:none schaltet native
   Gesten ab (Pinch, Doppeltipp-Zoom, Pull-to-Refresh) und hält die
   Pointer-Capture während der Geste am Leben.
   Bewusst OHNE z-index und OHNE transform: beides erzeugte einen
   Stacking Context, und Close/Nav/Dots (position:fixed, z-index:3)
   lägen dann darunter. */
.lightbox-stage {
  position: relative;
  flex: 1 1 auto;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-img {
  max-width: min(90vw, 1600px);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  transform-origin: 50% 50%;
  will-change: transform;
  transition: none;          /* während der Geste kein Nachlauf */
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  cursor: zoom-in;
}
.lightbox-img.lb-anim { transition: transform .2s cubic-bezier(.22,1,.36,1); }
.lightbox-stage.is-zoomed  .lightbox-img { cursor: grab; }
.lightbox-stage.is-panning .lightbox-img { cursor: grabbing; }
@media (prefers-reduced-motion: reduce) {
  .lightbox-img.lb-anim { transition: none; }
}

/* Einziges Bedienelement im Overlay. Es wird immer nur ein Bild
   gezeigt, deshalb gibt es weder Blätterpfeile noch Pagination. */
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.lightbox-close:hover  { background: rgba(255,255,255,.25); }
.lightbox-close:active { transform: scale(.94); }
.lightbox-close:focus-visible {
  outline: 2px solid var(--red-accent);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .lightbox-overlay { padding: 12px; }
  .lightbox-img { max-width: 96vw; max-height: 72vh; }
  .lightbox-close { top: 12px; right: 12px; width: 44px; height: 44px; }
}

/* ── 4. Ansprungziele ──────────────────────────────────────────
   Abstand zur fixen Navbar (74 px) plus Luft, damit ein Anker
   nicht unter der Leiste landet. */
.leistung-detail,
.news-full-card { scroll-margin-top: 100px; }


/* ══════════════════════════════════════════════════════════════
   ERWEITERUNGEN RUNDE 4
   Karte erst nach Einwilligung. Der Kasten steht anstelle des
   iframes und traegt dessen Masse, damit die Kartenspalte beim
   Laden nicht springt.
   ══════════════════════════════════════════════════════════════ */

.map-consent {
  flex: 1 1 auto;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 32px 28px;
  text-align: center;
  background: var(--light);
}
.map-consent-icon { color: var(--blue-primary); }
.map-consent strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--dark);
}
.map-consent p {
  max-width: 34ch;
  margin: 0;
  font-size: .86rem;
  line-height: 1.6;
  color: var(--gray-500);
}
.map-consent p a {
  color: var(--blue-primary);
  text-decoration: underline;
}
.map-consent .btn { margin-top: 6px; }
.map-consent-alt {
  font-size: .82rem;
  color: var(--gray-500);
  text-decoration: underline;
}
.map-consent-alt:hover { color: var(--blue-primary); }

@media (max-width: 600px) {
  .map-consent { min-height: 280px; padding: 28px 20px; }
}
