
/* ============================================================
   Maroltingergarage Homepage – styles.css
   Designsystem: Bosch-inspirierte Basis (Tokens unverändert)
   Palette: #ffffff #eff1f1 #000000 #586878 #c1c7cc #d50005 #003253
   Raster: 0px Radius · 1px Linien · 8px Baseline · 12 Spalten
   ============================================================ */

:root {
  --bg: #ffffff;
  --surface: #eff1f1;
  --fg: #000000;
  --muted: #586878;
  --border: #c1c7cc;
  --accent: #d50005;
  --accent-2: #003253;

  --font-display: 'Bosch Sans Cond', 'Arial Narrow', 'Bosch Sans',
    system-ui, 'Segoe UI', Arial, sans-serif;
  --font-body: 'Bosch Sans', system-ui, -apple-system, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Menlo, Monaco, Consolas,
    'Liberation Mono', 'Courier New', monospace;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 56px;
  --section-y: 80px;
  --wrap: 1240px;
  --shadow-flat: 0 1px 2px rgba(0, 0, 0, 0.15);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --header-offset: 160px;
}

/* ---------------- Basis ---------------- */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.25px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: 0.5px;
  line-height: 1.08;
  margin: 0 0 24px;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.5rem); line-height: 1.04; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.85rem); line-height: 1.08; }
h3 { font-size: 1.3rem; letter-spacing: 0.3px; margin-bottom: 12px; }

p { margin: 0 0 1em; }

a { color: inherit; }

address { font-style: normal; }
dd { margin: 0; }
dt { font-weight: 700; }
ul { padding: 0; margin: 0; list-style: none; }
dl { margin: 0; }
figure { margin: 0; }
blockquote { margin: 0; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  display: inline-block;
  vertical-align: -0.18em;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.section { padding: var(--section-y) 0; }
.section-muted { background: var(--surface); }

section[id] { scroll-margin-top: var(--header-offset); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.eyebrow-light { color: #ffffff; }

.mini-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 28px 0 10px;
}

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head > p:last-of-type { margin-bottom: 0; color: var(--muted); max-width: 65ch; }

.section-head-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.section-head-row > div { max-width: 760px; }

.section-dark {
  background: var(--accent-2);
  color: var(--bg);
}
.section-dark h2,
.section-dark h3 { color: var(--bg); }
.section-dark .section-head > p:last-of-type { color: rgba(255, 255, 255, 0.82); }

/* ---------------- Fokus ---------------- */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hero :focus-visible,
.section-dark :focus-visible,
.emergency :focus-visible,
.nav-mobile :focus-visible {
  outline-color: #ffffff;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent-2);
  color: var(--bg);
  padding: 10px 16px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 13px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  min-height: 40px;
  white-space: nowrap;
  transition: background 150ms var(--ease),
              color 150ms var(--ease),
              border-color 150ms var(--ease),
              transform 150ms var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover { background: var(--accent-2); color: #ffffff; }
.btn-primary:active { background: var(--accent-2); transform: translateY(1px); }

.btn-ghost-light {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}
.btn-ghost-light:hover { background: #ffffff; color: var(--accent-2); }
.btn-ghost-light:active { background: #ffffff; color: var(--accent-2); transform: translateY(1px); }

.btn-ghost-dark {
  background: transparent;
  color: var(--accent-2);
  border-color: var(--accent-2);
}
.btn-ghost-dark:hover { background: var(--accent-2); color: #ffffff; }
.btn-ghost-dark:active { transform: translateY(1px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  text-decoration: none;
}
.section-dark .link-arrow { color: #ffffff; }
.link-arrow .ic { width: 14px; height: 14px; transition: transform 150ms var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
}

.topline {
  background: var(--accent-2);
  color: rgba(255, 255, 255, 0.92);
}

.topline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: 9px;
  padding-bottom: 9px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topline-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topline-item .ic { width: 14px; height: 14px; }

.topline-phone {
  color: #ffffff;
  text-decoration: none;
}
.topline-phone:hover { text-decoration: underline; text-underline-offset: 4px; }

.header-bar {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Header-Shrink: Zustand beim Scrollen (Klasse via script.js) */
.site-header .header-inner,
.site-header .header-logo,
.site-header .wordmark-main,
.site-header .wordmark-sub {
  transition: padding 200ms var(--ease), width 200ms var(--ease),
              height 200ms var(--ease), font-size 200ms var(--ease);
}

.site-header.is-scrolled .header-inner { padding-top: 8px; padding-bottom: 8px; }
.site-header.is-scrolled .has-mega { margin: -8px 0; padding: 8px 0; }
.site-header .has-mega { transition: margin 200ms var(--ease), padding 200ms var(--ease); }
.site-header.is-scrolled .header-logo { width: 60px; height: 60px; }
.site-header.is-scrolled .wordmark-main { font-size: 21px; }
.site-header.is-scrolled .wordmark-sub { font-size: 9px; }

.wordmark { text-decoration: none; line-height: 1.1; }

.wordmark-header {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 84px;
  height: 84px;
  flex: none;
}

.wordmark-text { display: block; min-width: 0; }

.wordmark-main {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent-2);
}
.wordmark-sub {
  display: block;
  font-size: 10.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav-desktop { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 32px; }
.nav-list a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  color: var(--fg);
  transition: color 150ms var(--ease), text-decoration-color 150ms var(--ease);
}
.nav-list a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.nav-list a[aria-current="page"] {
  color: var(--accent-2);
  text-decoration-color: var(--accent);
}

.header-cta { margin-left: 4px; }
.header-cta .ic { transition: transform 150ms var(--ease); }
.header-cta:hover .ic,
.header-cta:focus-visible .ic { transform: translateX(3px); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
  content: '';
  transition: transform 150ms var(--ease), opacity 150ms var(--ease), background 150ms var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after  { position: absolute; top:  6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---- Mega-Menü Leistungen ---- */

.has-mega {
  position: static;
  align-self: stretch;
  display: flex;
  align-items: center;
  /* Unsichtbare Hitbox: überdeckt das Padding der Kopfzeile,
     damit der Hover-Weg vom Button ins Panel lückenlos ist */
  margin: -18px 0;
  padding: 18px 0;
}

.nav-mega-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: color 150ms var(--ease), text-decoration-color 150ms var(--ease);
}
.nav-mega-toggle .ic { width: 14px; height: 14px; transition: transform 150ms var(--ease); }
.nav-mega-toggle:hover { color: var(--accent); }
.nav-mega-toggle[aria-expanded="true"] {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.nav-mega-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 45;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease),
              visibility 0s linear 200ms;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}

.mega-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: stretch;
}

.mega-col { padding: 40px 0; min-width: 0; }
.mega-col-light { padding-right: 48px; border-right: 1px solid var(--border); }
.mega-col-blue {
  background: var(--accent-2);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
}

.mega-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.mega-col-blue .mega-label { color: rgba(255, 255, 255, 0.72); }

.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  align-content: start;
}
.mega-list a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 150ms var(--ease);
}
.mega-list a:hover { background: var(--surface); }
.mega-col-blue .mega-list a:hover { background: rgba(255, 255, 255, 0.1); }

.mega-name {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-2);
}
.mega-col-blue .mega-name { color: #ffffff; }

.mega-desc {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.mega-col-blue .mega-desc { color: rgba(255, 255, 255, 0.82); }

/* Spalten staffeln sich beim Öffnen (60 ms Versatz) */
.mega .mega-col {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}
.mega .mega-col-blue { transition-delay: 60ms; }
.has-mega:hover .mega .mega-col,
.has-mega:focus-within .mega .mega-col,
.has-mega.is-open .mega .mega-col {
  opacity: 1;
  transform: none;
}

/* ---- Mobile-Menü (Overlay) ---- */

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--bg);
  overflow-y: auto;
  padding-top: 120px;
  padding-bottom: 40px;
}

.nav-mobile-list { border-top: 1px solid var(--border); }
.nav-mobile-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.3px;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-list a:hover { color: var(--accent); }

.nav-mobile-group summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 12px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.3px;
  color: var(--fg);
  cursor: pointer;
  list-style: none;
}
.nav-mobile-group summary::-webkit-details-marker { display: none; }

/* Plus/Minus aus Balken gezeichnet (statt Text-Glyphen) */
.nav-mobile-group summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 6px;
  width: 24px;
  height: 2px;
  margin-top: -1px;
  background: var(--accent-2);
}
.nav-mobile-group summary::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 6px;
  width: 24px;
  height: 2px;
  margin-top: -1px;
  background: var(--accent-2);
  transform: rotate(90deg);
  transition: transform 200ms var(--ease), opacity 200ms var(--ease);
}
.nav-mobile-group details[open] summary::before {
  transform: rotate(0deg);
  opacity: 0;
}

.nav-mobile-sub {
  padding: 4px 0 14px;
}
.nav-mobile-sub .sub-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 14px 0 4px;
}
.nav-mobile-sub a {
  display: block;
  padding: 9px 0 9px 16px;
  min-height: 40px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--fg);
  text-decoration: none;
}
.nav-mobile-sub a:hover { color: var(--accent); }

.nav-mobile-cta { margin-top: 24px; }
.nav-mobile-cta .btn { width: 100%; }

.nav-mobile-meta {
  margin: 24px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.nav-mobile-meta a { color: var(--accent-2); text-decoration: none; }
.nav-mobile-meta a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Großer Schließen-Button im offenen Menü */
.nav-mobile-close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  cursor: pointer;
  color: var(--fg);
  transition: color 150ms var(--ease), border-color 150ms var(--ease);
}
.nav-mobile-close .ic { width: 28px; height: 28px; }
.nav-mobile-close:hover { color: var(--accent); border-color: var(--accent); }

body.menu-open .nav-mobile-close { display: flex; }
body.menu-open .nav-toggle { visibility: hidden; }

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 86vh, 840px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--accent-2);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; }

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    #003253ee 0%,
    #0032538c 46%,
    #0032531f 100%
  );
}

.hero-content {
  position: relative;
  width: 100%;
  padding-top: 130px;
  padding-bottom: 56px;
}

.hero .eyebrow { color: #ffffff; }
.hero-title {
  color: #ffffff;
  max-width: 16ch;
  margin-bottom: 18px;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.9);
  max-width: 52ch;
  margin-bottom: 32px;
}

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

.hero-specs {
  position: relative;
  padding-bottom: 28px;
}

.hero-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 22px;
}

.spec { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.spec-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.spec-value {
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.25px;
}

.spec-link {
  text-decoration: none;
  width: fit-content;
}
.spec-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- Vertrauen: kompakte Partner-Leiste ---------------- */

.trust {
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.trust-bar {
  display: flex;
  align-items: center;
  gap: 40px;
}

.trust-claim {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.bosch-service-logo { width: 72px; height: auto; margin: 0; }

.trust-badge-text {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg);
  margin: 0;
}

.trust-divider {
  flex: 0 0 1px;
  align-self: stretch;
  background: var(--border);
}

.trust-partners { flex: 1 1 auto; min-width: 0; }
.trust-partners .mini-label { margin: 0 0 12px; }

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 14px 28px;
}
.partner-logos img {
  height: 22px;
  width: auto;
  filter: saturate(0);
  opacity: 0.85;
  transition: filter 200ms var(--ease), opacity 200ms var(--ease);
}
.partner-logos img:hover { filter: none; opacity: 1; }

/* ---------------- Kernleistungen (Bento) ---------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-3);
}

.svc { min-width: 0; }
.svc:nth-child(1) { grid-column: span 7; }
.svc:nth-child(2) { grid-column: span 5; }
.svc:nth-child(3) { grid-column: span 5; }
.svc:nth-child(4) { grid-column: span 7; }

.svc-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 150ms var(--ease), background 150ms var(--ease);
}
.svc-link:hover,
.svc-link:focus-visible { border-color: var(--accent-2); background: var(--bg); }

.media-frame { overflow: hidden; position: relative; }

.svc .media-frame img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.svc-link:hover .media-frame img,
.svc-link:focus-visible .media-frame img { transform: scale(1.03); }

.svc-body { padding: 24px 28px 28px; }

.svc-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.svc-body h3 { margin-bottom: 8px; }
.svc-body p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
  max-width: 52ch;
}

/* ---------------- Spezialgebiete ---------------- */

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.specialty { min-width: 0; }

.specialty-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 6vw, 92px);
  line-height: 1;
  letter-spacing: 0.5px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}
@supports not (-webkit-text-stroke: 1px #ffffff) {
  .specialty-num { color: rgba(255, 255, 255, 0.18); }
}

.specialty .media-frame img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.specialty h3 { margin-top: 24px; }
.specialty p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  margin-bottom: 20px;
}

/* ---------------- Panne / Unfall ---------------- */

.emergency {
  background: var(--fg);
  color: var(--bg);
  padding: 88px 0;
}

.emergency h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  max-width: 18ch;
}

.emergency-flex {
  display: flex;
  align-items: center;
  gap: 64px;
}

.emergency-text { flex: 1 1 60%; }
.emergency-text > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  max-width: 58ch;
  margin-bottom: 0;
}

.emergency-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 auto;
  align-items: stretch;
}

.emergency-actions .btn { white-space: nowrap; }

/* ---------------- Werkstatt / FAQ (Redesign) ---------------- */

.workshop { overflow-x: clip; }

.workshop-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.workshop-head h2 { margin-bottom: 0; }

.workshop-intro {
  color: var(--muted);
  max-width: 52ch;
  margin: 0;
  border-left: 1px solid var(--border);
  padding-left: 24px;
}

.workshop-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
}

.workshop-media {
  position: sticky;
  top: calc(var(--header-offset) + 8px);
}

.wm-main { position: relative; margin: 0; }

.wm-main::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--accent-2);
}

.wm-clip { position: relative; z-index: 1; overflow: hidden; }

.wm-clip img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.wm-main:hover .wm-clip img { transform: scale(1.03); }

.media-caption {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.workshop-faq { min-width: 0; }

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.faq-tab {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 12px 16px;
  min-height: 44px;
  cursor: pointer;
  transition: color 150ms var(--ease), border-color 150ms var(--ease),
              background 150ms var(--ease);
}
.faq-tab:hover { color: var(--accent-2); border-color: var(--accent-2); }
.faq-tab[aria-selected="true"] {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #ffffff;
}

.faq-group { counter-reset: faq; }

.acc-item { border-bottom: 1px solid var(--border); counter-increment: faq; }
.acc-heading { margin: 0; font: inherit; }

.acc-btn {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.3px;
  color: var(--accent-2);
  min-height: 44px;
  transition: color 150ms var(--ease);
}

.acc-btn::before {
  content: counter(faq, decimal-leading-zero);
  flex: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 150ms var(--ease);
}

.acc-q { flex: 1 1 auto; }

.acc-btn .ic {
  width: 16px;
  height: 16px;
  flex: none;
  align-self: center;
  transition: transform 150ms var(--ease);
}
.acc-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.acc-btn:hover { color: var(--accent); }
.acc-btn:hover::before { color: var(--accent); }

.acc-panel-inner { padding: 0 0 22px; }
.acc-panel-inner p {
  margin: 0;
  padding-left: 46px;
  color: var(--muted);
  max-width: calc(62ch + 46px);
}

/* ---------------- Tankstelle ---------------- */

.fuel { border-top: 1px solid var(--border); }

.fuel-flex {
  display: flex;
  gap: 64px;
  align-items: center;
}

.fuel-text { flex: 1 1 52%; min-width: 0; }
.fuel-text > p { color: var(--muted); max-width: 56ch; }

.fuel-media { flex: 1 1 48%; }
.fuel-media img { width: 100%; height: 460px; object-fit: cover; }

.fuel-hours {
  display: flex;
  gap: 48px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}

.hours-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-bottom: 12px;
}
.hours-block h3 .ic { color: var(--accent-2); width: 15px; height: 15px; }
.hours-block dl > div { display: flex; gap: 12px; font-size: 14px; padding: 3px 0; }
.hours-block dl > div dt { flex: 0 0 84px; }
.hours-block dl > div dd { color: var(--muted); font-family: var(--font-mono); }

/* ---------------- Bewertungen (Google-Review-Platzhalter) ----------------
   Diese Sektion wird live durch ein Elementor-Plugin ersetzt.
   Kachel-Stil nach expliziter Nutzervorgabe: Google-Reviews-Widget-Look
   (weiße, abgerundete Kacheln, runde Avatare, gelbe Sterne, Text-Kürzung). */

.reviews { padding: 56px 0 64px; }
.reviews .section-head { margin-bottom: 32px; }
.reviews h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

.reviews-summary {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 6px;
}
.reviews-summary strong { color: var(--fg); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.review-card {
  background: var(--bg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 20px;
  margin: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.review-meta { min-width: 0; }

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-2);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.review-name { display: block; font-size: 14px; font-weight: 700; color: var(--fg); }
.review-source { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.review-stars {
  display: block;
  color: #fbbc04;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 3px;
  margin: 0 0 10px;
}

.review-card blockquote p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------------- Kontakt ---------------- */

.contact-flex {
  display: flex;
  gap: 64px;
  align-items: center;
}

.contact-info { flex: 1 1 55%; min-width: 0; }
.contact-lead { color: rgba(255, 255, 255, 0.82); max-width: 48ch; }

.contact-list { margin-top: 24px; }
.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  font-size: 15px;
}
.contact-list .ic { color: #ffffff; width: 17px; height: 17px; transform: translateY(2px); }
.contact-list a {
  color: #ffffff;
  text-decoration: none;
  width: fit-content;
}
.contact-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-cta {
  flex: 1 1 45%;
  background: var(--bg);
  color: var(--fg);
  padding: 40px;
  box-shadow: var(--shadow-flat);
}
.contact-cta h3 { color: var(--accent-2); }
.contact-cta p { color: var(--muted); font-size: 14px; }

.contact-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-brand { flex: 1 1 320px; max-width: 380px; }
.footer-brand p { font-size: 14px; color: var(--muted); }
.footer-brand a { text-decoration: none; }
.footer-brand a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-brand .wordmark { display: inline-block; margin-bottom: 18px; }

.footer-links { flex: 0 1 auto; min-width: 160px; }
.footer-links h2 {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  transition: color 150ms var(--ease);
}
.footer-links a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

.footer-bar {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 18px 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-bar-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.footer-bar p { margin: 0; }
.footer-bar a { color: inherit; }
.footer-bar a:hover { color: var(--accent); }

/* ---------------- WhatsAppFloating ---------------- */

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-2);
  color: #ffffff;
  box-shadow: var(--shadow-flat);
  transition: background 150ms var(--ease), opacity 150ms var(--ease);
}
.wa-float .ic { width: 22px; height: 22px; }
.wa-float:hover { background: var(--accent); color: #ffffff; }

body.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* Einmaliger Einstieg nach dem Hero-Staging (nur mit Motion-Gate) */
html.motion .wa-float {
  opacity: 0;
  animation: waIn 400ms var(--ease) 600ms forwards;
}
@keyframes waIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.motion .wa-float { opacity: 1; animation: none; animation-delay: 0ms; }
}

/* ============================================================
   Motion-Gate: alle Animationen nur bei
   prefers-reduced-motion: no-preference UND aktivem JS
   (html.motion wird in script.js gesetzt)
   ============================================================ */

html.motion .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}
html.motion .reveal.is-inview { opacity: 1; transform: none; }

html.motion [data-stagger] > .reveal:nth-child(2) { transition-delay: 90ms; }
html.motion [data-stagger] > .reveal:nth-child(3) { transition-delay: 180ms; }
html.motion [data-stagger] > .reveal:nth-child(4) { transition-delay: 270ms; }
html.motion [data-stagger] > .reveal:nth-child(5) { transition-delay: 360ms; }
html.motion [data-stagger] > .reveal:nth-child(6) { transition-delay: 450ms; }

/* Bildmasken-Reveal (clip-path + Zoom, einstudig) */
html.motion .reveal-img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 900ms var(--ease);
}
html.motion .reveal-img img {
  transform: scale(1.08);
  transition: transform 1300ms var(--ease);
}
html.motion .reveal-img.is-inview { clip-path: inset(0 0 0 0); }
html.motion .reveal-img.is-inview img { transform: scale(1); }
html.motion [data-stagger] .reveal-img { transition-delay: 140ms; }

/* Hero-Staging */
html.motion .hero-anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
html.motion .hero-anim.is-inview { opacity: 1; transform: none; }
html.motion .hero-content > .eyebrow { transition-delay: 80ms; }
html.motion .hero-content > .hero-title { transition-delay: 170ms; }
html.motion .hero-content > .hero-sub { transition-delay: 260ms; }
html.motion .hero-content > .hero-actions { transition-delay: 350ms; }
html.motion .hero-specs { transition-delay: 520ms; }

html.motion .hero-media img { animation: heroZoom 1600ms var(--ease) both; }
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Werkstatt-Redesign: Rahmen, Sub-Bild und FAQ-Zeilen gestaffelt */
html.motion .wm-main::before {
  opacity: 0;
  transform: translate(-12px, -12px);
  transition: opacity 700ms var(--ease) 300ms, transform 700ms var(--ease) 300ms;
}
html.motion .wm-main.is-inview::before { opacity: 1; transform: none; }

html.motion .workshop .workshop-faq .acc-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
html.motion .workshop .workshop-faq.is-inview .faq-group:not([hidden]) .acc-item { opacity: 1; transform: none; }
html.motion .workshop .workshop-faq.is-inview .faq-group:not([hidden]) .acc-item:nth-child(1) { transition-delay: 80ms; }
html.motion .workshop .workshop-faq.is-inview .faq-group:not([hidden]) .acc-item:nth-child(2) { transition-delay: 160ms; }
html.motion .workshop .workshop-faq.is-inview .faq-group:not([hidden]) .acc-item:nth-child(3) { transition-delay: 240ms; }

html.motion .faq-group:not([hidden]) .accordion { animation: panelIn 220ms var(--ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* Vertrauen: Trennlinie zeichnet sich, Logos steigen kaskadierend auf */
html.motion .trust-divider {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 600ms var(--ease) 100ms;
}
html.motion .trust-bar.is-inview .trust-divider { transform: scaleY(1); }

html.motion .trust-bar:not(.is-inview) .partner-logos img {
  opacity: 0;
  transform: translateY(8px);
}
html.motion .trust-bar.is-inview .partner-logos img {
  animation: trustLogoIn 350ms var(--ease) backwards;
  animation-delay: calc(120ms + var(--i, 0) * 45ms);
}
@keyframes trustLogoIn {
  from { opacity: 0; transform: translateY(8px); }
}

/* Mobile-Menü-Einblendung */
html.motion .nav-mobile.is-open { animation: menuIn 220ms var(--ease); }
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: none; }
}

/* Accordion-Inhalt */
html.motion .acc-panel:not([hidden]) .acc-panel-inner { animation: accIn 220ms var(--ease); }
@keyframes accIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Responsive – 1100px / 920px / 640px
   ============================================================ */

@media (max-width: 1100px) {
  .nav-list { gap: 20px; }
  .svc:nth-child(1), .svc:nth-child(2),
  .svc:nth-child(3), .svc:nth-child(4) { grid-column: span 6; }
  .specialties-grid { gap: 20px; }
  .workshop-grid { gap: 40px; }
}

@media (max-width: 920px) {
  :root { --header-offset: 128px; }

  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding: 45px 0; }

  .topline, .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav-mobile { padding-top: 136px; }

  .trust-bar { flex-direction: column; align-items: flex-start; gap: 22px; }
  .trust-divider { flex: 0 0 auto; width: 100%; }
  html.motion .trust-divider { transform: scaleX(0); transform-origin: left center; }
  html.motion .trust-bar.is-inview .trust-divider { transform: scaleX(1); }
  .partner-logos { justify-content: flex-start; gap: 16px 24px; }

  .hero { min-height: 560px; }
  .hero-content { padding-top: 96px; padding-bottom: 44px; }
  .hero-specs-grid {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 0;
    padding-top: 0;
  }
  .spec {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding: 12px 0;
  }

  .services-grid { grid-template-columns: 1fr; }
  .svc:nth-child(1), .svc:nth-child(2),
  .svc:nth-child(3), .svc:nth-child(4) { grid-column: auto; }
  .svc .media-frame img { height: 260px; }

  .specialties-grid { grid-template-columns: 1fr; }
  .specialty .media-frame img { height: 300px; }

  .emergency { padding: 64px 0; }
  .emergency-flex { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .emergency-actions { flex-direction: row; flex-wrap: wrap; }

  .workshop-head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .workshop-grid { grid-template-columns: 1fr; }
  .workshop-media { position: static; }
  .wm-clip img { height: 320px; }
  .workshop-intro { padding-left: 20px; }

  .fuel-flex { flex-direction: column; align-items: stretch; gap: var(--space-4); }
  .fuel-media img { height: 320px; }
  .fuel-hours { gap: var(--space-4); }

  .reviews { padding: 40px 0; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-flex { flex-direction: column; align-items: stretch; gap: var(--space-4); }
  .contact-cta { padding: 32px; }

  .footer-flex { flex-direction: column; gap: var(--space-4); }
  .footer-brand { max-width: none; }
}

@media (max-width: 640px) {
  :root { --header-offset: 92px; }

  body { font-size: 14px; }

  .nav-mobile { padding-top: 92px; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }

  .header-logo { width: 56px; height: 56px; }
  .site-header.is-scrolled .header-logo { width: 44px; height: 44px; }
  .site-header.is-scrolled .wordmark-main { font-size: 17px; }
  .wordmark-main { font-size: 19px; }
  .wordmark-sub { font-size: 9px; }
  .header-inner { gap: 16px; padding-top: 12px; padding-bottom: 12px; }

  .section-head { margin-bottom: 32px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }

  .hero { min-height: 520px; }
  .hero-content { padding-top: 80px; padding-bottom: 36px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }

  .partner-logos img { height: 20px; }

  .svc .media-frame img { height: 200px; }
  .specialty .media-frame img { height: 220px; }

  .emergency-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .emergency-actions .btn { white-space: normal; }

  .wm-clip img { height: 240px; }
  .wm-main::before { inset: 12px -12px -12px 12px; }
  .acc-panel-inner p { padding-left: 0; }

  .reviews { padding: 32px 0; }
  .reviews-grid { grid-template-columns: 1fr; }

  .contact-cta { padding: 24px; }
  .contact-cta-actions .btn { width: 100%; }

  .footer-bar-inner { flex-direction: column; gap: 6px; }

  .wa-float { width: 44px; height: 44px; right: 14px; bottom: 14px; }
}

/* ============================================================
   Über uns (ueber-uns.html) – Sektionen im Homepage-Stil
   ============================================================ */

.page-hero { padding: 88px 0 56px; }
.page-hero h1 { max-width: 16ch; margin-bottom: 16px; }
.page-hero .lead { font-size: 17px; color: var(--fg); max-width: 56ch; margin: 0; }
html.motion .page-hero .eyebrow { transition-delay: 80ms; }
html.motion .page-hero .hero-anim:nth-of-type(1) { transition-delay: 170ms; }

/* Hero-Bühne mit Blueprint-Grafik */
.page-hero-stage {
  position: relative;
  overflow: hidden;
  background: var(--accent-2);
  padding: 120px 0 88px;
}
.page-hero-stage .eyebrow,
.page-hero-stage h1,
.page-hero-stage .lead {
  position: relative;
  z-index: 2;
}
.page-hero-stage h1 {
  color: #ffffff;
  margin-bottom: 18px;
}
.page-hero-stage .lead {
  color: rgba(255, 255, 255, 0.9);
}
.page-hero-stage :focus-visible { outline-color: #ffffff; }

.hero-blueprint {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-blueprint svg {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(74%, 1040px);
}
.hero-stage-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    95deg,
    rgba(0, 50, 83, 0.96) 34%,
    rgba(0, 50, 83, 0.45) 68%,
    rgba(0, 50, 83, 0.05) 100%
  );
}

/* Blueprint zeichnet sich selbst (einmalig) */
html.motion .hero-blueprint .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: bpDraw 1200ms var(--ease) forwards;
}
html.motion .hero-blueprint .draw-d1 { animation-delay: 250ms; }
html.motion .hero-blueprint .draw-d2 { animation-delay: 900ms; }
html.motion .hero-blueprint .draw-d3 { animation-delay: 1150ms; }
html.motion .hero-blueprint .draw-d4 { animation-delay: 1350ms; }
html.motion .hero-blueprint .draw-d5 { animation-delay: 1550ms; }
@keyframes bpDraw {
  to { stroke-dashoffset: 0; }
}
html.motion .hero-blueprint .bp-grid,
html.motion .hero-blueprint .bp-static {
  opacity: 0;
  animation: bpFade 900ms var(--ease) 150ms forwards;
}
@keyframes bpFade {
  to { opacity: 1; }
}

.about-team { padding: 16px 0 80px; }
.about-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}
.about-team-copy h2 { margin-bottom: 16px; }
.about-team-copy p { color: var(--muted); max-width: 54ch; }
.about-team-copy p:last-child { margin-bottom: 0; }
.about-team-media { margin: 0; }
.about-team-media img { width: 100%; height: 460px; object-fit: cover; }

.steps-section { padding: 80px 0; }

.steps { max-width: none; }

.steps-track {
  position: relative;
  height: 2px;
  background: var(--border);
  margin-bottom: 40px;
}
.steps-fill {
  position: absolute;
  inset: 0;
  background: var(--accent-2);
  transform-origin: left center;
  transform: scaleX(1);
}
html.motion .steps-fill { transform: scaleX(0); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.step { min-width: 0; }
.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  transition: color 200ms var(--ease);
}
.step-num.is-active {
  color: var(--accent-2);
  -webkit-text-stroke-color: var(--accent-2);
}
@supports not (-webkit-text-stroke: 1px #c1c7cc) {
  .step-num { color: var(--border); }
  .step-num.is-active { color: var(--accent-2); }
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.gallery-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.gallery-band .g1 img { height: 400px; }
.gallery-band .g2 { margin-top: 48px; }
.gallery-band .g2 img { height: 400px; }
.gallery-band .g3 { margin-top: 96px; }
.gallery-band .g3 img { height: 400px; }
.gallery-band .media-frame img { width: 100%; object-fit: cover; }

.g-item { min-width: 0; }
.g-caption {
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 12px;
}
.g-idx {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.g-title {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 4px;
}
.g-text {
  display: block;
  font-size: 13px;
  color: var(--muted);
}


/* Motion: Ablauf-Linie zeichnet sich, Schritte + Galerie staffeln */
/* Serviceablauf: Fortschrittsbalken ist scroll-gekoppelt (script.js),
   Schritte staffeln sich beim Eintritt in den Sichtbereich */
html.motion .steps .step {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
html.motion .steps.is-inview .step { opacity: 1; transform: none; }
html.motion .steps.is-inview .step:nth-child(2) { transition-delay: 90ms; }
html.motion .steps.is-inview .step:nth-child(3) { transition-delay: 180ms; }
html.motion .steps.is-inview .step:nth-child(4) { transition-delay: 270ms; }

/* Ziffern-Pop bei Aktivierung (Bestätigung neben der Farbe) */
html.motion .step-num.is-active { animation: numPop 260ms var(--ease); }
@keyframes numPop {
  0% { transform: scale(1); }
  55% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Blueprint-Parallaxe beim Rauscrollen (Transform via script.js) */
html.motion .hero-blueprint { will-change: transform; }

html.motion .gallery-band > .g-item:nth-child(2) .reveal-img { transition-delay: 130ms; }
html.motion .gallery-band > .g-item:nth-child(3) .reveal-img { transition-delay: 260ms; }

@media (max-width: 920px) {
  .page-hero { padding: 56px 0 40px; }
  .page-hero-stage { padding: 96px 0 64px; }
  .hero-blueprint svg { width: 150%; opacity: 0.8; }
  .hero-stage-scrim { background: rgba(0, 50, 83, 0.7); }
  .about-team { padding: 8px 0 45px; }
  .about-team-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-team-media img { height: 320px; }
  .steps-section { padding: 45px 0; }
  .steps-track { margin-bottom: 28px; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .step-num { font-size: 38px; }
  .gallery-band { grid-template-columns: repeat(12, 1fr); gap: 12px; }
  .gallery-band .g1 { grid-column: span 6; margin-top: 24px; }
  .gallery-band .g1 img { height: 260px; }
  .gallery-band .g2 { grid-column: span 6; }
  .gallery-band .g2 img { height: 340px; }
  .gallery-band .g3 { grid-column: span 12; margin-top: 0; }
  .gallery-band .g3 img { height: 280px; }
}

@media (max-width: 640px) {
  .page-hero { padding: 40px 0 32px; }
  .about-team-media img { height: 240px; }
  .gallery-band { grid-template-columns: 1fr; gap: 16px; }
  .gallery-band .g1, .gallery-band .g2, .gallery-band .g3 { grid-column: auto; margin-top: 0; }
  .gallery-band .g1 img, .gallery-band .g2 img, .gallery-band .g3 img { height: 240px; }
}

/* ============================================================
   Kontakt (kontakt.html) – Formular, Infos, Anfahrt
   ============================================================ */

.contact-section-light { padding: 80px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: start;
}

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-flat);
  padding: 40px;
}

.form-field { margin-bottom: 24px; }

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  letter-spacing: 0.25px;
  transition: border-color 150ms var(--ease);
}

.form-field input:hover,
.form-field textarea:hover { border-color: var(--accent-2); }
.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent-2);
}

.form-field textarea { min-height: 160px; resize: vertical; }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
}
.form-consent input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--accent-2);
}
.form-consent a { color: var(--accent-2); }

.form-submit .btn { width: 100%; }

/* Zustandsübergang: Erfolgspanel + gezeichneter Haken */
html.motion .form-success:not([hidden]) { animation: formIn 240ms var(--ease); }
@keyframes formIn {
  from { opacity: 0; transform: translateY(10px); }
}
.form-success .success-check {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 0 16px;
}
.form-success .success-check circle { stroke: var(--accent-2); stroke-width: 2; fill: none; }
.form-success .success-check path {
  stroke: var(--accent-2);
  stroke-width: 2.5;
  stroke-linecap: square;
  fill: none;
}
html.motion .form-success:not([hidden]) .success-check .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: bpDraw 700ms var(--ease) forwards;
}
html.motion .form-success:not([hidden]) .draw-d1 { animation-delay: 150ms; }
html.motion .form-success:not([hidden]) .draw-d3 { animation-delay: 700ms; }

/* Fokus mikro: Label folgt dem Feld */
.form-field label { transition: color 150ms var(--ease); }
.form-field:focus-within label { color: var(--accent-2); }

/* Info-Kaskade */
html.motion .contact-info-light .info-list li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
html.motion .contact-info-light.reveal.is-inview .info-list li { opacity: 1; transform: none; }
html.motion .contact-info-light.reveal.is-inview .info-list li:nth-child(2) { transition-delay: 120ms; }
html.motion .contact-info-light.reveal.is-inview .info-list li:nth-child(3) { transition-delay: 190ms; }
html.motion .contact-info-light.reveal.is-inview .info-list li:nth-child(4) { transition-delay: 260ms; }

.form-success {
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-flat);
  padding: 40px;
}
.form-success h3 { margin-bottom: 12px; }
.form-success p { color: var(--muted); margin: 0 0 12px; }
.form-success p:last-child { margin-bottom: 0; }
.form-success a { color: var(--accent-2); }

.contact-info-light .info-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  font-size: 15px;
}
.contact-info-light .info-list .ic { color: var(--accent-2); width: 17px; height: 17px; }
.contact-info-light .info-list a {
  color: var(--fg);
  text-decoration: none;
  width: fit-content;
}
.contact-info-light .info-list a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.anfahrt { border-top: 1px solid var(--border); padding: 72px 0; }
.anfahrt-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: center;
}
.anfahrt-media {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-flat);
  aspect-ratio: 4 / 3;
}
.anfahrt-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.anfahrt h2 { margin-bottom: 12px; }
.anfahrt .anfahrt-copy { color: var(--muted); max-width: 52ch; }

@media (max-width: 920px) {
  .contact-section-light { padding: 45px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 24px; }
  .form-success { padding: 24px; }
  .anfahrt { padding: 45px 0; }
  .anfahrt-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   Service & Reparatur (service-reparatur.html)
   ============================================================ */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tools-grid figure { margin: 0; min-width: 0; }
.tools-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.tools-grid figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
}

.parts-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}
.bosch-mark { width: 230px; height: auto; margin: 0 0 20px; }
.parts-img { margin: 0; }
.parts-img img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

.checks-band { padding: 48px 0; }
.checks-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: 56px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 40px 48px;
}
.checks-panel::before,
.checks-panel::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.checks-panel::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--accent-2);
  border-left: 2px solid var(--accent-2);
}
.checks-panel::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--accent-2);
  border-right: 2px solid var(--accent-2);
}
.checks-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.checks-head h2 { margin: 0; }
.checks-sub {
  margin: 0;
  color: var(--muted);
  max-width: 34ch;
}
.checks-stamp {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.checks-stamp svg { width: 72px; height: 72px; flex: none; }
.stamp-ring {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}
.stamp-check {
  stroke: var(--accent);
  stroke-width: 3;
  fill: none;
  stroke-linecap: square;
}
.stamp-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.checks-body { min-width: 0; }
.checks-tabs {
  display: inline-flex;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 24px;
}
.checks-tab {
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.checks-tab + .checks-tab { border-left: 1px solid var(--border); }
.checks-tab:hover { color: var(--fg); }
.checks-tab:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: -2px;
}
.checks-tab.is-active {
  background: var(--accent-2);
  color: #ffffff;
}
.tab-count {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1;
  padding: 3px 6px;
  border: 1px solid currentColor;
}
.checks-sub { transition: opacity 200ms var(--ease); }
html.motion .checks-sub.is-fading { opacity: 0; }
.checks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 372px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  transition: background-color 160ms var(--ease);
}
a.check-item {
  text-decoration: none;
  color: inherit;
}
.checks-list li:last-child .check-item { border-bottom: 0; }
.check-item:hover { background: var(--surface); }
.check-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  width: 22px;
  flex: none;
  transition: color 160ms var(--ease);
}
.check-item:hover .check-num { color: var(--accent-2); }
.check-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.check-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: var(--fg);
}
.check-desc {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.check-arrow {
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex: none;
  color: var(--muted);
  transition: transform 200ms var(--ease), color 200ms var(--ease);
}
.check-item:hover .check-arrow {
  transform: translateX(3px);
  color: var(--accent-2);
}
.check-item .draw-check {
  width: 22px;
  height: 22px;
  flex: none;
}
.check-item .draw-check-path {
  stroke: var(--accent-2);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: square;
}

.svc-diagnose-img { margin: 48px 0 56px; }
.svc-diagnose-img img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}

@media (max-width: 920px) {
  .tools-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .tools-grid img { height: 200px; }
  .parts-split { grid-template-columns: 1fr; gap: 32px; }
  .checks-band { padding: 45px 0; }
  .checks-panel { grid-template-columns: 1fr; gap: 32px; padding: 24px; }
  .checks-stamp { margin-top: 8px; }
  .checks-tab { padding: 10px 14px; font-size: 14px; }
  .checks-list { min-height: 0; }
  .svc-diagnose-img { margin: 32px 0 40px; }
}

@media (max-width: 640px) {
  .tools-grid { gap: 12px; }
  .tools-grid img { height: 140px; }
  .tools-grid figcaption { font-size: 10px; }
  .checks-tab { padding: 11px 14px; }
}

/* ============================================================
   Service & Reparatur – Motion (emilkowalski-motion)
   ============================================================ */

html.motion .tools-grid > .reveal-img:nth-child(2) { transition-delay: 100ms; }
html.motion .tools-grid > .reveal-img:nth-child(3) { transition-delay: 200ms; }
html.motion .tools-grid > .reveal-img:nth-child(4) { transition-delay: 300ms; }

html.motion .checks-panel {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
html.motion .checks-panel.reveal.is-inview { opacity: 1; transform: none; }

html.motion .checks-list .check-item {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
html.motion .checks-panel.reveal.is-inview .checks-list:not([hidden]) .check-item { opacity: 1; transform: none; }
html.motion .checks-panel.reveal.is-inview .checks-list:not([hidden]) li:nth-child(2) .check-item { transition-delay: 70ms; }
html.motion .checks-panel.reveal.is-inview .checks-list:not([hidden]) li:nth-child(3) .check-item { transition-delay: 140ms; }
html.motion .checks-panel.reveal.is-inview .checks-list:not([hidden]) li:nth-child(4) .check-item { transition-delay: 210ms; }
html.motion .checks-panel.reveal.is-inview .checks-list:not([hidden]) li:nth-child(5) .check-item { transition-delay: 280ms; }
html.motion .checks-panel.reveal.is-inview .checks-list:not([hidden]) li:nth-child(6) .check-item { transition-delay: 350ms; }

html.motion .check-item .draw-check-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
html.motion .checks-panel.reveal.is-inview .checks-list:not([hidden]) .check-item .draw-check-path {
  animation: checkDraw 450ms var(--ease) forwards;
}
html.motion .checks-panel.reveal.is-inview .checks-list:not([hidden]) li:nth-child(2) .check-item .draw-check-path { animation-delay: 70ms; }
html.motion .checks-panel.reveal.is-inview .checks-list:not([hidden]) li:nth-child(3) .check-item .draw-check-path { animation-delay: 140ms; }
html.motion .checks-panel.reveal.is-inview .checks-list:not([hidden]) li:nth-child(4) .check-item .draw-check-path { animation-delay: 210ms; }
html.motion .checks-panel.reveal.is-inview .checks-list:not([hidden]) li:nth-child(5) .check-item .draw-check-path { animation-delay: 280ms; }
html.motion .checks-panel.reveal.is-inview .checks-list:not([hidden]) li:nth-child(6) .check-item .draw-check-path { animation-delay: 350ms; }

/* Tab-Wechsel: Liste tauscht mit Stagger von links, Häkchen zeichnen neu */
@keyframes checkItemIn {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: none; }
}
html.motion .checks-list.swap-in .check-item {
  animation: checkItemIn 400ms var(--ease) both;
}
html.motion .checks-list.swap-in li:nth-child(2) .check-item { animation-delay: 60ms; }
html.motion .checks-list.swap-in li:nth-child(3) .check-item { animation-delay: 120ms; }
html.motion .checks-list.swap-in li:nth-child(4) .check-item { animation-delay: 180ms; }
html.motion .checks-list.swap-in li:nth-child(5) .check-item { animation-delay: 240ms; }
html.motion .checks-list.swap-in li:nth-child(6) .check-item { animation-delay: 300ms; }
html.motion .checks-list.swap-in .check-item .draw-check-path {
  animation: checkDraw 400ms var(--ease) both;
}
html.motion .checks-list.swap-in li:nth-child(2) .check-item .draw-check-path { animation-delay: 60ms; }
html.motion .checks-list.swap-in li:nth-child(3) .check-item .draw-check-path { animation-delay: 120ms; }
html.motion .checks-list.swap-in li:nth-child(4) .check-item .draw-check-path { animation-delay: 180ms; }
html.motion .checks-list.swap-in li:nth-child(5) .check-item .draw-check-path { animation-delay: 240ms; }
html.motion .checks-list.swap-in li:nth-child(6) .check-item .draw-check-path { animation-delay: 300ms; }

html.motion .stamp-ring {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
html.motion .checks-panel.reveal.is-inview .stamp-ring {
  animation: bpDraw 900ms var(--ease) 200ms forwards;
}
html.motion .stamp-check {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
html.motion .checks-panel.reveal.is-inview .stamp-check {
  animation: checkDraw 400ms var(--ease) 1000ms forwards;
}

@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

/* ============================================================
   Pickerl-Überprüfung (§57a) – Prüfumfang-Protokoll
   ============================================================ */

.pk-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pk-grid .pk-item:nth-last-child(-n+2) { border-bottom: 0; }
.pk-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.pk-item:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.pk-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  width: 24px;
  flex: none;
  padding-top: 2px;
}
.pk-item .draw-check {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
}
.pk-item .draw-check-path {
  stroke: var(--accent-2);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: square;
}

@media (max-width: 920px) {
  .pk-grid { grid-template-columns: 1fr; }
  .pk-item:nth-child(even) { padding-left: 0; border-left: 0; }
  .pk-item { padding-right: 0; }
  .pk-grid .pk-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .pk-grid .pk-item:last-child { border-bottom: 0; }
}

html.motion .pk-grid .pk-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
html.motion .pk-grid.reveal.is-inview .pk-item { opacity: 1; transform: none; }
html.motion .pk-grid.reveal.is-inview .pk-item:nth-child(2) { transition-delay: 70ms; }
html.motion .pk-grid.reveal.is-inview .pk-item:nth-child(3) { transition-delay: 140ms; }
html.motion .pk-grid.reveal.is-inview .pk-item:nth-child(4) { transition-delay: 210ms; }
html.motion .pk-grid.reveal.is-inview .pk-item:nth-child(5) { transition-delay: 280ms; }
html.motion .pk-grid.reveal.is-inview .pk-item:nth-child(6) { transition-delay: 350ms; }

html.motion .pk-grid .pk-item .draw-check-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
html.motion .pk-grid.reveal.is-inview .pk-item .draw-check-path {
  animation: checkDraw 450ms var(--ease) forwards;
}
html.motion .pk-grid.reveal.is-inview .pk-item:nth-child(2) .draw-check-path { animation-delay: 70ms; }
html.motion .pk-grid.reveal.is-inview .pk-item:nth-child(3) .draw-check-path { animation-delay: 140ms; }
html.motion .pk-grid.reveal.is-inview .pk-item:nth-child(4) .draw-check-path { animation-delay: 210ms; }
html.motion .pk-grid.reveal.is-inview .pk-item:nth-child(5) .draw-check-path { animation-delay: 280ms; }
html.motion .pk-grid.reveal.is-inview .pk-item:nth-child(6) .draw-check-path { animation-delay: 350ms; }

/* ============================================================
   Reifen & Felgen – Konfigurator-Panel
   ============================================================ */

.rad-cfg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 40px 48px;
  margin-top: 56px;
}
.rad-cfg-copy h3 { margin: 0 0 10px; }
.rad-cfg-copy p { margin: 0; color: var(--muted); max-width: 52ch; }
.rad-cfg .btn { flex: none; }

@media (max-width: 920px) {
  .rad-cfg { flex-direction: column; align-items: flex-start; padding: 24px; }
}

/* ============================================================
   Abschleppdienst – Fakten-Panel
   ============================================================ */

.abs-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border: 1px solid var(--border);
}
.abs-fact { padding: 40px 48px; }
.abs-fact + .abs-fact { border-left: 1px solid var(--border); }
.abs-fact h2 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.2;
}
.abs-fact p { margin: 0; color: var(--muted); }

@media (max-width: 920px) {
  .abs-facts { grid-template-columns: 1fr; }
  .abs-fact { padding: 24px; }
  .abs-fact + .abs-fact {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}

html.motion .abs-facts .abs-fact {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}
html.motion .abs-facts.reveal.is-inview .abs-fact { opacity: 1; transform: none; }
html.motion .abs-facts.reveal.is-inview .abs-fact:nth-child(2) { transition-delay: 100ms; }

/* ============================================================
   Autoglas – Reparaturpunkt im Hero-Blueprint
   ============================================================ */

html.motion .hero-blueprint .bp-repair {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: numPop 500ms var(--ease) 1500ms forwards;
}

/* ============================================================
   Lack & Karosserie – Galerie-Diptychon (nur lack-galerie)
   ============================================================ */

.lk-diptychon {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
}
.lk-frame {
  position: relative;
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 12px 12px 0;
}
.lk-frame::before,
.lk-frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}
.lk-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--accent-2);
  border-left: 2px solid var(--accent-2);
}
.lk-frame::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--accent-2);
  border-right: 2px solid var(--accent-2);
}
.lk-a { grid-column: 1 / 8; }
.lk-b {
  grid-column: 8 / 13;
  margin-top: 120px;
  margin-left: -48px;
  z-index: 2;
  box-shadow: var(--shadow-flat);
}
.lk-media {
  overflow: hidden;
  border: 1px solid var(--border);
}
.lk-media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 400ms var(--ease);
}
.lk-frame:hover .lk-media img { transform: scale(1.03); }
.lk-cap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 2px;
  font-weight: 500;
}
.lk-num {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1;
  color: var(--accent-2);
  border: 1px solid currentColor;
  padding: 3px 6px;
}

@media (max-width: 920px) {
  .lk-a, .lk-b { grid-column: 1 / 13; }
  .lk-b { margin-top: 24px; margin-left: 0; }
}

html.motion .lk-frame.lk-a {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
html.motion .lk-frame.lk-b {
  opacity: 0;
  transform: translateX(40px) translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease) 150ms;
}
html.motion .lk-diptychon.reveal.is-inview .lk-frame {
  opacity: 1;
  transform: none;
}
html.motion .lk-cap {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease) 500ms, transform 400ms var(--ease) 500ms;
}
html.motion .lk-frame.lk-b .lk-cap { transition-delay: 650ms; }
html.motion .lk-diptychon.reveal.is-inview .lk-cap {
  opacity: 1;
  transform: none;
}

/* ============================================================
   Spezialverfahren (SP-Seiten) – inverted Rhythmus
   ============================================================ */

.sp-chip {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  padding: 8px 14px;
  margin-bottom: 28px;
}
.sp-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.sp-intro {
  background: #000000;
  color: #ffffff;
  padding: 80px 0;
}
.sp-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sp-intro h2 {
  color: #ffffff;
  margin: 0 0 24px;
}
.sp-intro p {
  color: rgba(255, 255, 255, 0.85);
}
.sp-intro p + p { margin-top: 16px; }
.sp-intro .wm-main::before { background: rgba(255, 255, 255, 0.25); }
.sp-intro .wm-clip img { border: 1px solid rgba(255, 255, 255, 0.35); }

.sp-results {
  position: relative;
  background: var(--accent-2);
  padding: 88px 0;
}
.sp-results-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
}
.sp-results-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 14px;
}
.sp-results-title {
  color: #ffffff;
  margin: 0;
  text-align: left;
}
.sp-results-gear {
  width: 88px;
  height: 88px;
  flex: none;
  opacity: 0.65;
}
.sp-results-gear .sp-draw {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
  stroke-linecap: square;
}
.sp-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.sp-result {
  padding: 48px 40px;
  color: #ffffff;
}
.sp-result + .sp-result { border-left: 1px solid rgba(255, 255, 255, 0.3); }
.sp-badge {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
}
.sp-ring {
  position: absolute;
  inset: 0;
  width: 52px;
  height: 52px;
  transform: rotate(-90deg);
}
.sp-ring-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 2;
  stroke-linecap: square;
}
.sp-result-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #ffffff;
}
.sp-result h3 {
  color: #ffffff;
  margin: 0;
  font-size: 24px;
  line-height: 1.25;
}

@media (max-width: 920px) {
  .sp-intro { padding: 45px 0; }
  .sp-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .sp-results { padding: 45px 0; }
  .sp-results-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 32px; }
  .sp-results-gear { width: 64px; height: 64px; }
  .sp-results-grid { grid-template-columns: 1fr; }
  .sp-result { padding: 24px; }
  .sp-result + .sp-result {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }
}

/* Gear-Rotation: einmalig, begrenzter Winkel */
html.motion .hero-blueprint .sp-gear-a {
  transform-box: fill-box;
  transform-origin: center;
  animation: spSpin 2600ms var(--ease) 1900ms forwards;
}
html.motion .hero-blueprint .sp-gear-b {
  transform-box: fill-box;
  transform-origin: center;
  animation: spSpinRev 2600ms var(--ease) 1900ms forwards;
}
@keyframes spSpin { to { transform: rotate(20deg); } }
@keyframes spSpinRev { to { transform: rotate(-30deg); } }

html.motion .sp-chip {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 400ms var(--ease) 120ms, transform 400ms var(--ease) 120ms;
}
html.motion .sp-chip.is-inview { opacity: 1; transform: none; }

html.motion .sp-results .sp-result {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
html.motion .sp-results-grid.reveal.is-inview .sp-result { opacity: 1; transform: none; }
html.motion .sp-results-grid.reveal.is-inview .sp-result:nth-child(2) { transition-delay: 120ms; }
html.motion .sp-results-grid.reveal.is-inview .sp-result:nth-child(3) { transition-delay: 240ms; }

html.motion .sp-results-gear .sp-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
html.motion .sp-results-head.reveal.is-inview .sp-draw {
  animation: bpDraw 1200ms var(--ease) 200ms forwards;
}

html.motion .sp-ring-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
html.motion .sp-results-grid .sp-result-num {
  opacity: 0;
}
html.motion .sp-results-grid.reveal.is-inview .sp-result:nth-child(1) .sp-ring-path {
  animation: bpDraw 800ms var(--ease) 250ms forwards;
}
html.motion .sp-results-grid.reveal.is-inview .sp-result:nth-child(2) .sp-ring-path {
  animation: bpDraw 800ms var(--ease) 370ms forwards;
}
html.motion .sp-results-grid.reveal.is-inview .sp-result:nth-child(3) .sp-ring-path {
  animation: bpDraw 800ms var(--ease) 490ms forwards;
}
html.motion .sp-results-grid.reveal.is-inview .sp-result:nth-child(1) .sp-result-num {
  animation: spNumIn 400ms var(--ease) 750ms forwards;
}
html.motion .sp-results-grid.reveal.is-inview .sp-result:nth-child(2) .sp-result-num {
  animation: spNumIn 400ms var(--ease) 870ms forwards;
}
html.motion .sp-results-grid.reveal.is-inview .sp-result:nth-child(3) .sp-result-num {
  animation: spNumIn 400ms var(--ease) 990ms forwards;
}
@keyframes spNumIn {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}


/* ============================================================
   Partikelfilterreinigung – Strömungs-Choreografie (ein-shot)
   ============================================================ */

html.motion .hero-blueprint .sp-flow-dot {
  opacity: 0;
  animation: spDrift 950ms linear both;
}
html.motion .hero-blueprint .sp-flow-in {
  animation: spFlow 700ms var(--ease) 2600ms 1;
}
html.motion .hero-blueprint .sp-flow-out {
  animation: spFlow 700ms var(--ease) 3050ms 1;
}
@keyframes spDrift {
  0% { opacity: 0; transform: translateX(0); }
  20% { opacity: 0.6; }
  100% { opacity: 0; transform: translateX(150px); }
}
@keyframes spFlow {
  0% { opacity: 0.5; transform: translateX(-6px); }
  50% { opacity: 1; transform: translateX(2px); }
  100% { opacity: 0.5; transform: translateX(-6px); }
}

/* ============================================================
   Automatikgetriebe – Ölfluss durch das Zahnrad-Paar (ein-shot)
   ============================================================ */

html.motion .hero-blueprint .sp-oil-dot {
  opacity: 0;
  animation: spOil 1400ms var(--ease) both;
}
@keyframes spOil {
  0% { opacity: 0; transform: translateX(0); }
  12% { opacity: 0.6; }
  85% { opacity: 0.6; }
  100% { opacity: 0; transform: translateX(470px); }
}

/* ============================================================
   Hydrogen Carbon Cleaning – H₂-Blasen (ein-shot)
   ============================================================ */

html.motion .hero-blueprint .sp-bub {
  opacity: 0;
  animation: spRise 1200ms var(--ease) both;
}
@keyframes spRise {
  0% { opacity: 0; transform: translateY(0); }
  20% { opacity: 0.65; }
  100% { opacity: 0; transform: translateY(-260px); }
}

/* ============================================================
   Lack & Karosserie – Sprüh-Choreografie (ein-shot)
   ============================================================ */

html.motion .hero-blueprint .lk-spray {
  opacity: 0;
  animation: lkMist 1300ms var(--ease) both;
}
html.motion .hero-blueprint .lk-fan {
  transform-box: fill-box;
  transform-origin: 100% 50%;
  animation: lkFan 600ms var(--ease) 2500ms 1;
}
@keyframes lkMist {
  0% { opacity: 0; transform: translateX(140px); }
  30% { opacity: 0.75; }
  100% { opacity: 0.65; transform: translateX(0); }
}
@keyframes lkFan {
  0% { transform: scale(0.94); }
  55% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* ============================================================
   Autoglas – Rissversiegelung + Glanzsweep (ein-shot)
   ============================================================ */

html.motion .hero-blueprint .ag-cracks {
  animation: agSeal 600ms var(--ease) 2600ms forwards;
}
@keyframes agSeal {
  to { opacity: 0; }
}
.ag-shine { opacity: 0; }
html.motion .hero-blueprint .ag-shine {
  animation: agShine 900ms var(--ease) 3300ms both;
}
@keyframes agShine {
  0% { opacity: 0; transform: translateX(-560px); }
  40% { opacity: 0.9; }
  100% { opacity: 0; transform: translateX(420px); }
}

/* ============================================================
   Reviews-Marquee (index) – Laufband mit Duplikat-Set
   ============================================================ */

.reviews-marquee { overflow: hidden; }
.reviews-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: reviewsScroll 70s linear infinite;
}
.reviews-track:hover,
.reviews-track:focus-within { animation-play-state: paused; }
.reviews-track .review-card {
  flex: none;
  width: 340px;
  margin-right: 16px;
}
@keyframes reviewsScroll {
  to { transform: translateX(-50%); }
}
.reviews-track .review-card[aria-hidden="true"] { pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; flex-wrap: wrap; width: auto; }
  .reviews-track .review-card[aria-hidden="true"] { display: none; }
}

/* ============================================================
   Footer v2 – Logo-Zeile, Icons, Öffnungszeiten
   ============================================================ */

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.footer-logo-row .wordmark { margin-bottom: 0; }
.footer-addr {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 10px;
}
.footer-addr .ic { color: var(--accent-2); margin-top: 3px; }
.footer-addr a { color: var(--fg); }
.footer-addr a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.footer-hours { flex: 0 1 220px; }
.footer-hours ul { gap: 0; }
.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.footer-hours li:last-child { border-bottom: 0; }
.footer-hours li span:first-child { color: var(--muted); }
.footer-hours li span:last-child { color: var(--fg); font-weight: 500; }
  
/* ============================================================
   Design-Refinement 03.11.2026 (reine Gestaltung, Inhalte unverändert)
   A Typografie · B Rauschen · C Rhythmus · D Abstände · E Kontakt
   ============================================================ */

/* A1 – Eine Schriftfamilie auf allen Systemen: kein Arial-Narrow-Sprung,
   Bosch Sans greift automatisch, sobald die lizenzierten Dateien geladen sind. */
:root {
  --font-display: 'Bosch Sans Cond', 'Bosch Sans', system-ui, -apple-system,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --section-y: 80px;
}

/* A2 – Monospace nur noch für Zahlen und Daten; Labels, Links, Navigation in Bosch Sans */
.eyebrow,
.mini-label,
.link-arrow,
.topline-inner,
.wordmark-sub,
.mega-label,
.nav-mobile-sub .sub-label,
.nav-mobile-meta,
.spec-label,
.media-caption,
.faq-tab,
.footer-links h2,
.g-idx,
.form-field label,
.tools-grid figcaption,
.stamp-label,
.sp-chip,
.sp-results-eyebrow,
.review-avatar {
  font-family: var(--font-body);
}

.eyebrow,
.sp-results-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.eyebrow-light,
.section-dark .eyebrow,
.sp-results-eyebrow { color: rgba(255, 255, 255, 0.78); }

.mini-label,
.g-idx,
.media-caption,
.tools-grid figcaption,
.stamp-label,
.spec-label,
.mega-label,
.footer-links h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.link-arrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.25px;
}

.btn { font-size: 14px; }

.topline-inner { font-size: 12px; letter-spacing: 0.04em; }
.wordmark-sub { font-size: 11px; letter-spacing: 0.08em; }

.form-field label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.25px;
  text-transform: none;
}

/* A3 – Lesbare Mindestgrößen: Fließtext 16 px, Hinweise 14 px */
.svc-body p,
.specialty p,
.step p,
.g-text,
.review-card blockquote p,
.contact-cta p,
.contact-list li { font-size: 16px; }

.check-desc,
.form-consent,
.footer-brand p,
.footer-links a,
.footer-addr,
.footer-hours li,
.review-source,
.hours-block dl > div,
.reviews-summary { font-size: 14px; }

.svc-num,
.check-num,
.pk-num,
.tab-count { font-size: 12px; }

/* B1 – Umrisszahlen: als kleine, kontraststarke Zahl statt Kontur */
.specialty-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
  -webkit-text-stroke: 0;
  margin-bottom: 16px;
}
.step-num,
.step-num.is-active {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  -webkit-text-stroke: 0;
  margin-bottom: 8px;
}

/* B2 – Dekorative Eckwinkel entfernen */
.checks-panel::before,
.checks-panel::after,
.lk-frame::before,
.lk-frame::after { content: none; }

/* C1 – Spezialseiten: Intro hell, damit oben nur ein dunkles Band steht */
.sp-intro {
  background: var(--bg);
  color: var(--fg);
  border-bottom: 1px solid var(--border);
}
.sp-intro h2 { color: var(--accent-2); }
.sp-intro p { color: var(--fg); }
.sp-intro .wm-main::before { background: var(--accent-2); }
.sp-intro .wm-clip img { border: 0; }
.sp-intro :focus-visible { outline-color: var(--accent); }

/* C2 – Leistungsüberblick als ruhige Fläche statt Rahmenbox */
.checks-band { padding: var(--section-y) 0; }
.checks-panel {
  border: 0;
  border-top: 2px solid var(--accent-2);
}

/* E – Kontaktseite: Termin-Block unter Formular und Anfahrt zurücknehmen */
.anfahrt ~ .section.contact {
  background: var(--surface);
  color: var(--fg);
  border-top: 1px solid var(--border);
  padding: 56px 0;
}
.anfahrt ~ .section.contact h2,
.anfahrt ~ .section.contact h3 { color: var(--accent-2); }
.anfahrt ~ .section.contact .eyebrow { color: var(--muted); }
.anfahrt ~ .section.contact .contact-lead { color: var(--muted); }
.anfahrt ~ .section.contact .contact-list .ic { color: var(--accent-2); }
.anfahrt ~ .section.contact .contact-list a,
.anfahrt ~ .section.contact .contact-list li { color: var(--fg); }
.anfahrt ~ .section.contact .contact-cta { border: 1px solid var(--border); box-shadow: none; }
.anfahrt ~ .section.contact :focus-visible { outline-color: var(--accent); }

/* D – Mobile: Fließtext bleibt lesbar, Abschnittsabstand 48 px */
@media (max-width: 920px) {
  :root { --section-y: 48px; }
  .sp-intro { padding: 48px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wordmark-sub { font-size: 10px; }
}
/* /Design-Refinement */
/* Credit-Link „made by illume.at“: Unterstrich-Wischer + Pfeil bei Hover/Fokus */
.footer-bar a.credit-link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
}
.credit-name {
  position: relative;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-2);
  transition: color 200ms var(--ease);
}
.credit-name::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 260ms var(--ease);
}
.credit-ic {
  display: inline-block;
  flex: none;
  width: 12px;
  height: 12px;
  align-self: center;
  color: var(--accent);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 200ms var(--ease), transform 260ms var(--ease);
}
.footer-bar a.credit-link:focus-visible .credit-name::after { transform: scaleX(1); transform-origin: left center; }
.footer-bar a.credit-link:focus-visible .credit-ic { opacity: 1; transform: none; }
.footer-bar a.credit-link:focus-visible .credit-name { color: var(--accent); }
@media (hover: hover) {
  .footer-bar a.credit-link:hover { color: var(--muted); }
  .footer-bar a.credit-link:hover .credit-name { color: var(--accent); }
  .footer-bar a.credit-link:hover .credit-name::after { transform: scaleX(1); transform-origin: left center; }
  .footer-bar a.credit-link:hover .credit-ic { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .credit-name, .credit-name::after, .credit-ic { transition: none; }
}
/* /Credit-Link */

