/* ==========================================================================
   Unfallreparaturservice Beckmann GmbH — Design-System
   Markenfarben: Gelb #fbd51b (Logo) auf tiefem Navy-Blau
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #fbd51b;
  --yellow-hover: #ffdf3d;
  --yellow-deep: #d9b607;
  --navy-950: #070f1d;
  --navy-900: #0a1526;
  --navy-800: #0f1f38;
  --navy-700: #16294a;
  --navy-600: #1f3560;
  --ink: #14213a;
  --gray-700: #43536e;
  --gray-500: #64748c;
  --gray-300: #b8c2d1;
  --line: #e3e8f0;
  --bg-soft: #f4f6fa;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 12px 40px rgba(10, 21, 38, 0.12);
  --shadow-soft: 0 6px 24px rgba(10, 21, 38, 0.08);
  --container: 1180px;
  --header-h: 76px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 0.6em; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); text-transform: uppercase; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); text-transform: uppercase; }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1.1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: var(--gray-300); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--gray-500); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 34px; height: 3px; background: var(--yellow); border-radius: 2px; }
.section-navy .kicker { color: var(--gray-300); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.lead { font-size: 1.18rem; color: var(--gray-700); }
.section-navy .lead { color: var(--gray-300); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--yellow); color: var(--navy-900);
  font-weight: 800; font-size: 1rem; text-decoration: none; text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 1.2;
  padding: 16px 30px; border: 0; border-radius: var(--radius-sm);
  cursor: pointer; transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.btn:hover { background: var(--yellow-hover); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(251, 213, 27, 0.35); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 11px 20px; font-size: 0.88rem; }
.btn-outline { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.65); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 2px var(--white); }
.btn-outline-dark { background: transparent; color: var(--navy-900); box-shadow: inset 0 0 0 2px var(--navy-900); }
.btn-outline-dark:hover { background: var(--navy-900); color: var(--white); box-shadow: inset 0 0 0 2px var(--navy-900); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(10, 21, 38, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { background: rgba(10, 21, 38, 0.96); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25); }

.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1.02; flex-shrink: 0; }
.logo-top { color: var(--yellow); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.045em; }
.logo-main { color: var(--yellow); font-weight: 800; font-size: 1.62rem; letter-spacing: -0.01em; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .nav-sub-toggle {
  color: rgba(255, 255, 255, 0.88); text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 9px 14px; border-radius: 8px; background: none; border: 0; cursor: pointer;
  font-family: inherit; line-height: inherit; transition: color var(--transition), background var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
}
.main-nav > a:hover, .nav-sub-toggle:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
.main-nav > a[aria-current="page"], .nav-group.current .nav-sub-toggle { color: var(--yellow); }

.nav-sub-toggle::after {
  content: ""; width: 8px; height: 8px; margin-top: -4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform var(--transition);
}
.nav-group { position: relative; }
.nav-group.open .nav-sub-toggle::after { transform: rotate(-135deg); margin-top: 4px; }

.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--navy-800); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: var(--radius-sm);
  padding: 8px; min-width: 230px; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  box-shadow: var(--shadow);
}
.nav-group.open .sub-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.sub-menu a {
  color: rgba(255, 255, 255, 0.88); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 11px 14px; border-radius: 7px; transition: background var(--transition), color var(--transition);
}
.sub-menu a:hover { background: rgba(255, 255, 255, 0.08); color: var(--yellow); }
.sub-menu a[aria-current="page"] { color: var(--yellow); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  color: var(--white); text-decoration: none; font-weight: 700; font-size: 0.98rem; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.header-phone svg { width: 17px; height: 17px; fill: var(--yellow); }
.header-phone:hover { color: var(--yellow); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; background: none; cursor: pointer;
  position: relative; border-radius: 8px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 24px; height: 2.5px;
  background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s, top 0.3s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { left: 0; top: -8px; }
.nav-toggle span::after { left: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero (Startseite, mit Video)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: min(92vh, 860px); display: flex; align-items: center;
  background: var(--navy-900); color: var(--white); overflow: hidden;
  padding: calc(var(--header-h) + 60px) 0 80px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(78deg, rgba(7, 15, 29, 0.94) 6%, rgba(7, 15, 29, 0.72) 44%, rgba(7, 15, 29, 0.28) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero-topline {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.88rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--yellow); margin-bottom: 20px;
}
.hero-topline::before { content: ""; width: 34px; height: 3px; background: var(--yellow); border-radius: 2px; }
.hero h1 { color: var(--white); margin-bottom: 0.45em; }
.hero h1 .accent { color: var(--yellow); }
.hero p { font-size: 1.2rem; color: rgba(255, 255, 255, 0.85); max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-badges {
  position: relative; z-index: 2; margin-top: clamp(40px, 7vh, 84px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.hero-badge {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-weight: 600; font-size: 0.95rem; color: rgba(255, 255, 255, 0.92);
}
.hero-badge svg { width: 26px; height: 26px; fill: var(--yellow); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Unterseiten-Hero
   -------------------------------------------------------------------------- */
.page-head {
  position: relative; background: var(--navy-900); color: var(--white);
  padding: calc(var(--header-h) + clamp(56px, 9vw, 96px)) 0 clamp(56px, 8vw, 88px); overflow: hidden;
}
.page-head-media { position: absolute; inset: 0; }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; }
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(78deg, rgba(7, 15, 29, 0.95) 10%, rgba(7, 15, 29, 0.7) 55%, rgba(7, 15, 29, 0.42) 100%);
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { color: var(--white); max-width: 720px; margin-bottom: 0.3em; }
.page-head p { font-size: 1.16rem; color: rgba(255, 255, 255, 0.85); max-width: 620px; margin: 0; }
.breadcrumb { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { color: var(--yellow); }

/* --------------------------------------------------------------------------
   Karten & Grids
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--gray-700); font-size: 0.99rem; }
.card-link {
  margin-top: auto; font-weight: 800; text-decoration: none; color: var(--navy-900);
  text-transform: uppercase; font-size: 0.88rem; letter-spacing: 0.06em;
  display: inline-flex; align-items: center; gap: 8px;
}
.card-link::after { content: "→"; color: var(--yellow-deep); transition: transform var(--transition); }
.card-link:hover::after { transform: translateX(5px); }

.icon-item { display: flex; gap: 16px; align-items: flex-start; }
.icon-item svg { width: 40px; height: 40px; fill: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.icon-item h3 { margin-bottom: 0.3em; }
.icon-item p { color: var(--gray-700); font-size: 0.98rem; margin: 0; }
.section-navy .icon-item p { color: var(--gray-300); }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { padding-left: 34px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px;
  background: var(--yellow); border-radius: 50%;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / 15px no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / 15px no-repeat;
  background-color: var(--yellow-deep);
}
.section-navy .check-list li::before { background-color: var(--yellow); }

/* Split-Layout (Bild + Text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.split-media.tall img { aspect-ratio: 3 / 3.4; }

/* Ablauf-Schritte */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 26px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; background: var(--yellow);
  color: var(--navy-900); font-weight: 800; font-size: 1.4rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.12rem; }
.step p { color: var(--gray-700); font-size: 0.95rem; margin: 0; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; color: var(--yellow); line-height: 1; }
.stat-label { font-weight: 600; color: rgba(255, 255, 255, 0.85); margin-top: 10px; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; transition: transform 0.5s ease; }
.gallery a:hover img { transform: scale(1.06); }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(1) img { aspect-ratio: auto; height: 100%; }

.lightbox {
  border: 0; padding: 0; background: rgba(7, 15, 29, 0.94); max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; display: none; align-items: center; justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 88vh; width: auto; height: auto; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px; background: none; border: 0; color: var(--white);
  font-size: 2.4rem; cursor: pointer; line-height: 1; font-family: inherit;
}

/* Partner-Logos */
.logo-strip { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); align-items: center; justify-content: center; }
.logo-strip img { height: 52px; width: auto; filter: grayscale(1); opacity: 0.65; transition: filter var(--transition), opacity var(--transition); }
.logo-strip img:hover { filter: none; opacity: 1; }

/* Trust-Pills (Kooperationspartner & Siegel ohne Logodateien) */
.trust-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 11px 20px; font-weight: 700; font-size: 0.95rem; color: var(--ink);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.trust-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--yellow); }
.trust-pill svg { width: 18px; height: 18px; fill: var(--yellow-deep); flex-shrink: 0; }
.trust-pill.badge { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.trust-pill.badge svg { fill: var(--yellow); }

/* CTA-Band */
.cta-band { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(251, 213, 27, 0.16), transparent 65%);
}
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; position: relative; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; color: var(--gray-300); }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   Karriere: Stellen & Shorts
   -------------------------------------------------------------------------- */
.job { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; }
.job + .job { margin-top: 18px; }
.job summary {
  list-style: none; cursor: pointer; padding: 24px 28px; display: flex; align-items: center; gap: 18px;
  font-weight: 800; font-size: 1.15rem; transition: background var(--transition);
}
.job summary::-webkit-details-marker { display: none; }
.job summary:hover { background: var(--bg-soft); }
.job summary .job-tag {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--yellow); color: var(--navy-900); border-radius: 999px; padding: 4px 12px; flex-shrink: 0;
}
.job summary::after {
  content: ""; margin-left: auto; width: 11px; height: 11px; flex-shrink: 0;
  border-right: 2.5px solid var(--gray-500); border-bottom: 2.5px solid var(--gray-500);
  transform: rotate(45deg); transition: transform var(--transition);
}
.job[open] summary::after { transform: rotate(-135deg); }
.job-body { padding: 4px 28px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.job-body h4 { margin: 0 0 10px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-500); }
.job-cta { grid-column: 1 / -1; }

.shorts-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.short-video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9 / 16; background: var(--navy-800); box-shadow: var(--shadow-soft); }
.short-video video { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   Formulare
   -------------------------------------------------------------------------- */
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(26px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.92rem; }
.form-field .optional { color: var(--gray-500); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; background: var(--white); width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--yellow-deep); box-shadow: 0 0 0 3.5px rgba(251, 213, 27, 0.3);
}
.form-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; color: var(--gray-700); grid-column: 1 / -1; }
.form-consent input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--yellow-deep); flex-shrink: 0; }
.form-consent a { color: var(--navy-900); font-weight: 600; }
.form-note { font-size: 0.88rem; color: var(--gray-500); grid-column: 1 / -1; margin: 0; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-status { grid-column: 1 / -1; border-radius: var(--radius-sm); padding: 15px 18px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: #e8f6ec; color: #1c6b34; }
.form-status.error { display: block; background: #fdecec; color: #a12626; }

/* --------------------------------------------------------------------------
   Kontakt-Infos
   -------------------------------------------------------------------------- */
.contact-info { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 15px; align-items: flex-start; }
.contact-item svg { width: 22px; height: 22px; fill: var(--yellow); flex-shrink: 0; margin-top: 4px; }
.contact-item strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--gray-300); margin-bottom: 2px; }
.contact-item a { color: var(--white); text-decoration: none; font-weight: 600; }
.contact-item a:hover { color: var(--yellow); }
.contact-item span { color: var(--white); font-weight: 600; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); font-weight: 600; }
.hours-table td:last-child { text-align: right; color: var(--yellow); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--gray-300); padding: clamp(56px, 8vw, 84px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 52px; }
.footer-brand p { font-size: 0.96rem; margin-top: 16px; }
.site-footer h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.11em; margin: 0 0 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--gray-300); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--yellow); }
.footer-contact { font-style: normal; display: grid; gap: 8px; font-size: 0.98rem; }
.footer-contact a { color: var(--gray-300); text-decoration: none; }
.footer-contact a:hover { color: var(--yellow); }

.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 10px; background: rgba(255, 255, 255, 0.07); transition: background var(--transition), transform var(--transition);
}
.social-row a:hover { background: var(--yellow); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; fill: var(--white); }
.social-row a:hover svg { fill: var(--navy-900); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 22px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; font-size: 0.88rem; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: var(--gray-300); text-decoration: none; }
.footer-legal a:hover { color: var(--yellow); }

/* --------------------------------------------------------------------------
   Scroll-Reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-badges { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
}

@media (max-width: 820px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: block; }
  .main-nav {
    /* Kein bottom:0 — der Header ist durch backdrop-filter Containing Block */
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--navy-900); flex-direction: column; align-items: stretch; gap: 2px;
    padding: 22px clamp(18px, 4vw, 32px); overflow-y: auto;
    transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a, .nav-sub-toggle { font-size: 1.18rem; padding: 15px 12px; width: 100%; justify-content: space-between; }
  .sub-menu {
    position: static; transform: none; opacity: 1; visibility: hidden; max-height: 0; overflow: hidden;
    box-shadow: none; border: 0; background: rgba(255, 255, 255, 0.05); min-width: 0; padding: 0;
    transition: max-height 0.3s ease, visibility 0.3s;
  }
  .nav-group.open .sub-menu { padding: 8px 0; }
  .nav-group.open .sub-menu { visibility: visible; max-height: 300px; transform: none; }
  .sub-menu a { font-size: 1.05rem; padding: 13px 20px; }
  .btn-sm.header-cta { display: none; }

  .split, .grid-2, .job-body, .form-grid { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .stats { grid-template-columns: 1fr; gap: 34px; }
  .shorts-row { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-badges { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; }
}
