/* === Fonts === */
@font-face {
  font-family: 'Inter';
  src: url('./fonts/inter-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./fonts/inter-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./fonts/inter-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./fonts/inter-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* === CSS Tokens === */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f6;
  --bg-dark: #0d0d0d;
  --bg-dark-2: #1a1a1a;
  --text: #111111;
  --text-muted: #6b6b6b;
  --text-inv: #ffffff;
  --text-inv-muted: #a0a0a0;
  --accent: #111111;
  --accent-hover: #333333;
  --silver: #8c8c8c;
  --border: #e5e5e5;
  --border-dark: #2a2a2a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --radius: 4px;
  --radius-lg: 8px;
  --nav-h: 64px;
  --max-w: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* === Dark Mode (follows OS preference) === */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0d0d;
    --bg-alt: #1a1a1a;
    --text: #f0f0f0;
    --text-muted: #8a8a8a;
    --accent: #f0f0f0;
    --accent-hover: #c8c8c8;
    --border: #2a2a2a;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
    --shadow: 0 4px 16px rgba(0,0,0,.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,.5);
  }
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: var(--nav-h);
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* === Typography === */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { max-width: 68ch; }

/* === Layout Utilities === */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background: var(--bg-dark);
  color: var(--text-inv);
}
.section--dark .text-muted { color: var(--text-inv-muted); }
.section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 12px;
}
.section-header { margin-bottom: 48px; }
.section-header p { color: var(--text-muted); margin-top: 12px; }
.section--dark .section-header p { color: var(--text-inv-muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.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; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .1s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover { background: var(--accent); color: var(--bg); }
.btn--outline-inv {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--outline-inv:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--lg { padding: 17px 36px; font-size: 1rem; }
.btn--sm { padding: 9px 18px; font-size: .875rem; }

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--nav-h);
  /* subtle gradient so logo never merges with scrolling hero text */
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, transparent 100%);
  border-bottom: none;
  box-shadow: none;
  transition: background .4s, box-shadow .4s;
}
.nav.scrolled {
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 2px 20px rgba(0,0,0,.45);
}
/* Equal top+left gap for Mercedes star logo */
.nav .container {
  padding-left: calc((var(--nav-h) - 36px) / 2);
}
/* Links + Kontakt nur sichtbar wenn past hero */
.nav:not(.scrolled) .nav__links,
.nav:not(.scrolled) .nav__phone,
.nav:not(.scrolled) .nav__wa {
  opacity: 0 !important;
  pointer-events: none;
}
.nav__links,
.nav__phone,
.nav__wa {
  transition: opacity .35s;
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__logo img {
  height: 36px;
  width: auto;
}
.nav__logo-text {
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.nav__logo-text span {
  display: block;
  font-weight: 400;
  font-size: .75rem;
  color: var(--text-inv-muted);
  letter-spacing: .04em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  color: var(--text-inv-muted);
  font-size: .875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__phone {
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: .85;
  transition: opacity .2s;
}
.nav__phone:hover { opacity: 1; }
.nav__phone svg { width: 15px; height: 15px; }
.nav__wa {
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--radius);
  background: #25D366;
  opacity: .95;
  transition: opacity .2s;
}
.nav__wa:hover { opacity: 1; }
.nav__wa svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav__theme-btn {
  background: rgba(255,255,255,.08);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  font-size: 1rem;
}
.nav__theme-btn:hover { background: rgba(255,255,255,.15); }
.nav__burger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
  border-radius: 2px;
}

/* Mobile nav drawer */
.nav__drawer {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  background: rgba(13,13,13,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 12px 16px 20px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.nav__drawer.open { display: flex; }
.nav__drawer a {
  color: var(--text-inv-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav__drawer a:hover, .nav__drawer a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.nav__drawer-phone {
  margin-top: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
}
.nav__drawer-wa {
  margin-top: 8px;
  padding: 14px 16px;
  background: #25D366;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
}

/* Hero-spezifische Button-Überschreibung */
.hero .btn--primary {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}
.hero .btn--primary:hover {
  background: #e8e8e8;
  border-color: #e8e8e8;
  color: #000;
}
.btn--wa {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn--wa:hover {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}

/* === Hero === */
.hero {
  height: 100svh;
  min-height: 580px;
  background: var(--bg-dark);
  color: var(--text-inv);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(13,13,13,1) 0%, rgba(13,13,13,.55) 28%, transparent 52%),
    radial-gradient(ellipse at 50% 48%, transparent 28%, rgba(13,13,13,.55) 68%, rgba(13,13,13,.95) 100%);
  z-index: 0;
}
.hero__silhouette {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: auto;
  max-width: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: .9;
  pointer-events: none;
  user-select: none;
  /* vertical fade only — car always fully visible left/right */
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 95%, transparent 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(36px, 6vh, 64px);
  max-width: 480px;
  width: 100%;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-inv-muted);
  margin-bottom: clamp(10px, 2vh, 20px);
}
.hero__badge::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--silver);
}
.hero__title {
  /* Skaliert mit Breite UND Höhe — verhindert Überlauf auf kurzen Fenstern */
  font-size: clamp(1.5rem, min(5.5vw, 7vh), 3.8rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-bottom: clamp(10px, 2vh, 20px);
}
.hero__title em {
  font-style: normal;
  color: var(--text-inv-muted);
}
.hero__sub {
  font-size: clamp(.875rem, min(2vw, 2.5vh), 1.15rem);
  color: var(--text-inv-muted);
  margin-bottom: clamp(20px, 4vh, 36px);
  max-width: 52ch;
  line-height: 1.65;
  text-wrap: balance;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(20px, 4vh, 48px);
}
.hero__trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero__trust-item {
  display: flex;
  flex-direction: column;
}
.hero__trust-item strong {
  font-size: clamp(1.1rem, 3vh, 1.5rem);
  font-weight: 700;
  color: #fff;
}
.hero__trust-item span {
  font-size: .75rem;
  color: var(--text-inv-muted);
  letter-spacing: .03em;
}
/* === Hero Trust Strip (kleine Vertrauenssignale) === */
.hero__trust-sm {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 8px 20px;
  margin-top: clamp(20px, 3vh, 32px);
  padding-top: clamp(16px, 2.5vh, 24px);
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__trust-sm span {
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .02em;
  white-space: nowrap;
}

@media (max-height: 500px) {
  .hero__trust-sm { display: none; }
  .hero__sub { display: none; }
}
@media (max-height: 620px) {
  .hero__badge { display: none; }
}

/* === Service Cards === */
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 2px solid var(--silver);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s, border-top-color .25s;
}
.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-top-color: var(--text);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}
.service-card__icon img { width: 100%; height: 100%; object-fit: contain; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: .9375rem; }
.service-card ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card ul li {
  font-size: .875rem;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.service-card ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--silver);
  font-size: .75rem;
}

/* === Stats Strip === */
.stats {
  background: var(--bg-alt);
  padding: 56px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stats__item + .stats__item {
  border-left: 1px solid var(--border);
}
.stats__item strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--text);
}
.stats__item span {
  font-size: .8125rem;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* === Team Card === */
.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.team-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.team-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
}
.team-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.team-card:hover .team-card__img img { transform: scale(1.04); }
.team-card__body { padding: 20px 24px; }
.team-card__body h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card__body p { font-size: .875rem; color: var(--text-muted); }
.team-card__contacts {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.team-card__contacts a {
  font-size: .8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.team-card__contacts a:hover { color: var(--accent); }

/* === About Section === */
.about__visual {
  position: relative;
}
.about__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-dark);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about__badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.about__badge span {
  font-size: .75rem;
  color: var(--text-inv-muted);
  letter-spacing: .04em;
}
.about__content { padding-left: 48px; }
.about__awards {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about__award {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.about__award-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.about__award-text strong { font-size: .9375rem; display: block; }
.about__award-text span { font-size: .8125rem; color: var(--text-muted); }

/* === CTA Section === */
.cta-section {
  background: var(--bg-dark);
  color: var(--text-inv);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: var(--text-inv-muted); max-width: 52ch; margin: 0 auto 36px; }
.cta-section .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* === Contact Section === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info__title { margin-bottom: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item__icon img { width: 18px; height: 18px; object-fit: contain; }
.contact-item__label {
  font-size: .75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.contact-item__value { font-weight: 600; font-size: .9375rem; }
.contact-item__sub { font-size: .8125rem; color: var(--text-muted); margin-top: 2px; }

/* === Form === */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17,17,17,.08);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236b6b6b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  padding-right: 44px;
  cursor: pointer;
}
.form-group select option { padding: 8px; }
.form-group select optgroup { font-weight: 600; font-size: .8125rem; }
@media (prefers-color-scheme: dark) {
  .form-group input,
  .form-group textarea,
  .form-group select {
    background-color: var(--bg-alt);
    border-color: var(--border);
    color: var(--text);
  }
  .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238a8a8a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-notice {
  font-size: .8125rem;
  color: var(--text-muted);
}
.form-notice a { text-decoration: underline; }
.form-optional {
  font-size: .75rem;
  font-weight: 400;
  color: var(--text-muted);
}
.form-success {
  display: none;
  padding: 16px 20px;
  background: #f0faf4;
  border: 1.5px solid #68c98a;
  border-radius: var(--radius);
  color: #1a7c3b;
  font-weight: 500;
}
@media (prefers-color-scheme: dark) {
  .form-success {
    background: #0d2416;
    border-color: #2d7a4a;
    color: #6fcf97;
  }
}

/* === Page Header === */
.page-header {
  background: var(--bg-dark);
  color: var(--text-inv);
  padding: calc(var(--nav-h) + 56px) 0 56px;
}
.page-header .section-label { color: var(--text-inv-muted); }
.page-header h1 { color: #fff; }
.page-header p { color: var(--text-inv-muted); margin-top: 12px; max-width: 60ch; }

/* === Leistungen Detail === */
.leistung-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.leistung-block:last-child { border-bottom: none; }
.leistung-block--reverse { direction: rtl; }
.leistung-block--reverse > * { direction: ltr; }
.leistung-block__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.leistung-block__content h2 { margin-bottom: 16px; }
.leistung-block__content p { color: var(--text-muted); margin-bottom: 20px; }
.leistung-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.leistung-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
}
.leistung-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* === Timeline === */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item__year {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 4px;
}
.timeline-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline-item p { font-size: .9rem; color: var(--text-muted); }

/* === Karriere === */
.job-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.job-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.job-card__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-muted);
}
.job-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.job-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}
.job-benefit::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
}

/* === Department Table === */
.dept-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}
.dept-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  background: var(--bg-alt);
}
.dept-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.dept-table tr:last-child td { border-bottom: none; }
.dept-table tr:hover td { background: var(--bg-alt); }

/* === Opening Hours === */
.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  font-size: .9375rem;
}
.hours-grid dt { color: var(--text-muted); }
.hours-grid dd { font-weight: 500; }

/* === Maps Dark Mode === */
@media (prefers-color-scheme: dark) {
  .map-wrapper iframe { filter: invert(90%) hue-rotate(180deg); }
}

/* === Footer === */
.footer {
  background: #050505;
  color: var(--text-inv);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand p {
  color: var(--text-inv-muted);
  font-size: .875rem;
  margin-top: 16px;
  max-width: 28ch;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.footer__logo img { height: 32px; width: auto; filter: brightness(0) invert(1) opacity(.8); }
.footer__logo-name {
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
}
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer__social a {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.footer__social a:hover { background: rgba(255,255,255,.16); }
.footer__social img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.footer__col h4 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-inv-muted);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer__col ul a:hover { color: #fff; }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
}
.footer__bottom a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer__bottom a:hover { color: rgba(255,255,255,.75); }
.footer__credit a { opacity: .5; transition: opacity .2s; }
.footer__credit a:hover { opacity: .8; }

/* === 404 === */
.error-page {
  min-height: 100vh;
  background: var(--bg-dark);
  color: var(--text-inv);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.error-page h1 {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1;
  color: rgba(255,255,255,.08);
  margin-bottom: 8px;
}
.error-page h2 { margin-bottom: 16px; }
.error-page p { color: var(--text-inv-muted); max-width: 44ch; margin: 0 auto 32px; }

/* === Legal Pages === */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 { font-size: 1.3rem; margin: 40px 0 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.legal-content h2:first-child { margin-top: 0; border-top: none; }
.legal-content h3 { font-size: 1rem; margin: 24px 0 8px; }
.legal-content p { color: var(--text-muted); margin-bottom: 12px; }
.legal-content a { text-decoration: underline; }

/* === Mobile Form Zoom Fix === */
@media (max-width: 768px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="color"]),
  textarea,
  select {
    font-size: max(16px, 1em);
  }
}

/* === Responsive === */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: span 2; }
  .about__content { padding-left: 32px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 52px; }
  .section { padding: 56px 0; }

  .nav { height: 52px; }
  .nav.scrolled { height: 52px; }
  .nav__drawer { top: 52px; }
  .nav__links, .nav__phone, .nav__wa { display: none !important; }
  .nav__burger { display: flex; }

  .hero__silhouette { opacity: .65; }
  .hero__content {
    padding: 0 20px 80px;
    max-width: 100%;
  }
  .hero__trust { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .leistung-block { grid-template-columns: 1fr; gap: 32px; }
  .leistung-block--reverse { direction: ltr; }
  .about__content { padding-left: 0; }
  .about__badge { right: 12px; bottom: -16px; }
  .stats__item { padding: 0 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { grid-column: span 1; }
  .job-benefits { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .dept-table { font-size: .8125rem; }
  .dept-table th, .dept-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__ctas .btn--lg { padding: 15px 24px; }
}


/* === Hero Reviews Badge === */
.hero__reviews {
  position: absolute;
  bottom: clamp(28px, 5vh, 48px);
  right: clamp(24px, 4vw, 56px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: rgba(13,13,13,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 100px;
  text-decoration: none;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  transition: background .2s;
  white-space: nowrap;
}
.hero__reviews:hover { background: rgba(13,13,13,.75); color: #fff; }
.hero__reviews__stars { color: #fbbc04; font-size: .9rem; letter-spacing: 1px; line-height: 1; }
.hero__reviews strong { color: #fff; font-weight: 700; }
.hero__reviews__logo { width: 14px; height: 14px; flex-shrink: 0; }
@media (max-width: 768px) {
  .hero__reviews { bottom: 80px; right: 16px; }
}

/* === Hero Open/Closed Status === */
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  margin-top: 10px;
}
.hero__status__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  flex-shrink: 0;
}
.hero__status--open .hero__status__dot { background: #4ade80; }
.hero__status--open { color: rgba(255,255,255,.65); }

/* === Leistungen Preishinweis === */
.price-hint {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--silver);
  border: 1px solid var(--border);
  border-radius: 100px;
  letter-spacing: .02em;
  vertical-align: middle;
  white-space: nowrap;
}


/* === Splash Screen === */
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity .5s ease, visibility .5s ease;
}
#splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#splash__star {
  width: clamp(80px, 18vw, 140px);
  height: clamp(80px, 18vw, 140px);
  animation: splash-spin 1.2s cubic-bezier(.4,0,.2,1) forwards;
  filter: brightness(0) invert(1);
}
#splash__wordmark {
  font-family: var(--font);
  font-size: clamp(.85rem, 2.5vw, 1.1rem);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  animation: splash-fade-up .5s ease .65s forwards;
}
@keyframes splash-spin {
  0%   { transform: rotate(0deg) scale(.6); opacity: 0; }
  30%  { opacity: 1; }
  80%  { transform: rotate(360deg) scale(1.06); }
  100% { transform: rotate(360deg) scale(1); opacity: 1; }
}
@keyframes splash-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: .65; transform: translateY(0); }
}
