/* Autohaus Schmid – Website
   Layout-Idee: ruhige, flache Architektur. Nachtblau trägt Header, Footer und Akzentbänder;
   helle Flächen wechseln (#FFF / #F7F7F7 / #ECEDEE) statt Linien. Überschriften VERSAL mit Laufweite.
   Alle Werte kommen aus DESIGN.md – Farben & Abstände NUR über diese Tokens verwenden. */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/sourcesans3-var.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  /* Farben */
  --c-primary: #0A121D;
  --c-primary-container: #242C38;
  --c-secondary: #8B693E;
  --c-secondary-light: #DCB694;
  --c-on-primary: #FFFFFF;
  --c-surface: #FFFFFF;
  --c-background: #F7F7F7;
  --c-surface-variant: #ECEDEE;
  --c-outline: #D8DADD;
  --c-muted: #949DAA;            /* nur auf Nachtblau */
  --c-on-surface-variant: #4A5B6E;
  --c-overlay: rgba(10,18,29, 0.75);
  --c-error: #D22A32;
  --c-success: #0D8849;
  --c-success-light: #0DB15C;
  --c-line-on-dark: rgba(255, 255, 255, 0.3);
  --c-logo-dark: #21160E;

  /* Schrift */
  --f-head: "Montserrat", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Abstände (Mazda --spacer-1…18) */
  --s1: 2px; --s2: 4px; --s3: 6px; --s4: 8px; --s5: 10px; --s6: 12px;
  --s7: 16px; --s8: 20px; --s9: 24px; --s10: 28px; --s11: 32px; --s12: 40px;
  --s13: 48px; --s14: 56px; --s15: 72px; --s16: 88px; --s17: 104px; --s18: 120px;

  --container: 1200px;
  --gutter: 20px;
  --page-pad: 24px;
  --section-y: var(--s18);
  --r-sm: 3px;
  --r-full: 9999px;
  --header-h: 88px;
  --shadow-overlay: 0 0 18px rgba(0, 0, 0, 0.2);
  --ease: cubic-bezier(.2,.7,.2,1);
}
@media (max-width: 1023px) { :root { --section-y: var(--s16); } }
@media (max-width: 767px)  { :root { --section-y: var(--s14); --page-pad: 16px; --header-h: 64px; } }
@media (min-width: 1024px) { :root { --gutter: 30px; } }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--c-background);
  color: var(--c-primary);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); font-weight: 500; text-transform: uppercase; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--c-secondary-light); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--c-secondary-light); color: var(--c-primary);
  padding: var(--s4) var(--s7); font-family: var(--f-head); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Typo ---------- */
.t-display { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.2; letter-spacing: .09em; }
@media (max-width: 767px) { h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; } }
.t-h1 { font-size: clamp(26px, 3vw, 34px); line-height: 1.3; letter-spacing: .096em; }
.t-h2 { font-size: 20px; line-height: 1.3; letter-spacing: .144em; }
.t-h3 { font-size: 15px; line-height: 1.3; letter-spacing: .139em; }
.overline {
  font-family: var(--f-head); font-size: 13px; font-weight: 500; line-height: 1.2;
  letter-spacing: .154em; text-transform: uppercase; color: var(--c-secondary);
}
.on-dark .overline { color: var(--c-secondary-light); }
.lead { font-size: 18px; line-height: 1.65; max-width: 62ch; color: var(--c-on-surface-variant); }
.on-dark .lead { color: rgba(255,255,255,.85); }
.small { font-size: 14px; line-height: 1.5; color: var(--c-on-surface-variant); }
.on-dark .small { color: var(--c-muted); }
.prose { max-width: 70ch; display: grid; gap: var(--s7); align-content: start; }
.prose h2 { font-size: 20px; letter-spacing: .144em; line-height: 1.3; margin-top: var(--s9); }
.prose h3 { font-size: 15px; letter-spacing: .139em; line-height: 1.3; margin-top: var(--s7); }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: var(--s2); }
.prose a, .link { color: var(--c-primary); text-decoration-color: var(--c-secondary); text-underline-offset: 3px; }
.prose a:hover, .link:hover { color: var(--c-secondary); }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--page-pad)); margin-inline: auto; padding-inline: var(--page-pad); }
.section { padding-block: var(--section-y); }
.section--white { background: var(--c-surface); }
.section--variant { background: var(--c-surface-variant); }
.section--dark { background: var(--c-primary); color: var(--c-on-primary); }
.section--tight { padding-block: var(--s15); }
.section-head { display: grid; gap: var(--s6); margin-bottom: var(--s13); max-width: 760px; }
.section-head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: var(--s9); }
@media (max-width: 1023px) { .section-head--row { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 767px) { .section-head { margin-bottom: var(--s11); } }
.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s13) var(--gutter); }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) { .split, .split--even { grid-template-columns: 1fr; } }
.stack { display: grid; gap: var(--s7); align-content: start; }
.stack-lg { display: grid; gap: var(--s11); align-content: start; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s4);
  min-height: 45px; padding: 5px 24px; border: 0; border-radius: var(--r-sm);
  font-family: var(--f-head); font-size: 13px; font-weight: 500; letter-spacing: .107em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease;
  background: var(--c-primary); color: var(--c-on-primary);
}
.btn:hover { background: var(--c-secondary-light); color: var(--c-primary); }
.btn--light { background: var(--c-surface); color: var(--c-primary); }
.btn--light:hover { background: var(--c-secondary-light); }
.btn--ghost-light { background: transparent; color: var(--c-on-primary); box-shadow: inset 0 0 0 1px var(--c-line-on-dark); }
.btn--ghost-light:hover { background: var(--c-on-primary); color: var(--c-primary); }
.btn--ghost { background: transparent; color: var(--c-primary); box-shadow: inset 0 0 0 1px var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); color: var(--c-on-primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s6); }
.textlink {
  display: inline-block; max-width: 100%;
  font-family: var(--f-head); font-size: 13px; font-weight: 500; letter-spacing: .107em; text-transform: uppercase;
  text-decoration: none; color: var(--c-primary); position: relative; padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color .2s ease, background-position .2s ease;
}
.textlink:hover { color: var(--c-secondary); background-position: 0 calc(100% - 4px); }
.on-dark .textlink { color: var(--c-on-primary); }
.on-dark .textlink:hover { color: var(--c-secondary-light); }
.ext::after { content: "↗"; font-size: 1.05em; letter-spacing: 0; margin-left: .45em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px);
  background: var(--c-primary); color: var(--c-on-primary);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: var(--s9); }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: 128px; height: auto; }
@media (max-width: 767px) { .brand img { width: 104px; } }
.nav { margin-left: auto; display: flex; align-items: center; gap: var(--s9); }
.nav__list { display: flex; list-style: none; gap: var(--s2); align-items: center; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: var(--s3); padding: 12px 12px; min-height: 44px;
  background: none; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--f-head); font-size: 14px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-on-primary); transition: color .2s ease;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--c-secondary-light); }
.nav__link[aria-current="page"], .nav__item.is-active > .nav__link { color: var(--c-secondary-light); font-weight: 700; }
.nav__caret { width: 9px; height: 9px; transition: transform .2s ease; }
.nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: 0; min-width: 260px; list-style: none;
  background: var(--c-primary); box-shadow: var(--shadow-overlay); padding: var(--s4) 0;
  border-top: 2px solid var(--c-secondary-light);
}
.nav__menu a {
  display: block; padding: 10px var(--s8); text-decoration: none; color: var(--c-on-primary);
  font-family: var(--f-body); font-size: 16px; line-height: 1.4;
}
.nav__menu a:hover, .nav__menu a[aria-current="page"] { color: var(--c-secondary-light); background: var(--c-primary-container); }
.nav__menu .badge { margin-left: var(--s3); vertical-align: 2px; }
.header-actions { display: flex; align-items: center; gap: var(--s7); }
.header-phone { font-family: var(--f-head); font-size: 14px; letter-spacing: .06em; text-decoration: none; color: var(--c-on-primary); white-space: nowrap; }
.header-phone:hover { color: var(--c-secondary-light); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; color: var(--c-on-primary); }
.burger span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) { .header-phone { display: none; } }
.nav__link, .header-actions .btn { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1180px) {
  .nav { gap: var(--s6); }
  .nav__list { gap: 0; }
  .nav__link { padding-inline: 9px; letter-spacing: .05em; font-size: 13px; }
  .header-actions .btn { padding-inline: 18px; }
}
@media (max-width: 1023px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--nav-top, calc(var(--header-h) + env(safe-area-inset-top, 0px))) 0 0 0; margin: 0;
    background: var(--c-primary); flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s7) var(--page-pad) calc(var(--s16) + env(safe-area-inset-bottom, 0px)); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--c-line-on-dark); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: 15px; }
  .nav__menu { position: static; box-shadow: none; border: 0; padding: 0 0 var(--s7); min-width: 0; background: transparent; }
  .nav__menu a { padding: 10px 0 10px var(--s7); }
  .nav__menu a:hover { background: transparent; }
  .header-actions { flex-direction: column; align-items: stretch; margin-top: var(--s9); gap: var(--s6); }
  .header-actions .btn { width: 100%; }
  .header-phone { display: block; text-align: center; padding: 12px; box-shadow: inset 0 0 0 1px var(--c-line-on-dark); border-radius: var(--r-sm); }
}
body.nav-open { overflow: hidden; }

/* ---------- Badges & Chips ---------- */
.badge {
  display: inline-block; padding: 4px 10px; border-radius: var(--r-sm);
  background: var(--c-secondary-light); color: var(--c-primary);
  font-family: var(--f-head); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
}
.status-chip {
  display: inline-flex; align-items: center; gap: var(--s4); padding: 4px 12px; border-radius: var(--r-full);
  background: var(--c-surface); color: var(--c-primary); font-size: 14px; line-height: 1.5; box-shadow: inset 0 0 0 1px var(--c-outline);
}
.card > .status-chip { justify-self: start; }
a[href^="tel:"] { white-space: nowrap; }
.status-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-muted); flex: none; }
.status-chip.is-open::before { background: var(--c-success); box-shadow: 0 0 0 3px rgba(13,136,73,.18); }
.status-chip.is-open { color: var(--c-success); }
.status-chip.is-break::before { background: var(--c-secondary); }
.on-dark .status-chip { background: transparent; color: var(--c-on-primary); box-shadow: inset 0 0 0 1px var(--c-line-on-dark); }
.on-dark .status-chip.is-open { color: var(--c-on-primary); }
.on-dark .status-chip.is-open::before { background: var(--c-success-light); }
.status-row { display: flex; flex-wrap: wrap; gap: var(--s4); }

/* ---------- Platzhalter-Bilder ---------- */
.ph {
  position: relative; overflow: hidden; background: var(--c-primary-container);
  background-image:
    radial-gradient(120% 90% at 85% 15%, rgba(220,182,148,.22), transparent 55%),
    linear-gradient(160deg, #2A3442 0%, #131C29 60%, #0A121D 100%);
}
.ph::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 48px);
}
.ph__label {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  font-family: var(--f-head); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7); background: rgba(10,18,29,.55); padding: 4px 8px; border-radius: var(--r-sm);
}
.ph--light { background: var(--c-surface-variant); background-image: linear-gradient(160deg, #f2f3f4, #dfe2e6); }
.ph--light::before { background-image:
    repeating-linear-gradient(0deg, rgba(10,18,29,.05) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(10,18,29,.05) 0 1px, transparent 1px 48px); }
.ph--light .ph__label { color: var(--c-on-surface-variant); background: rgba(255,255,255,.8); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--c-on-primary); min-height: clamp(520px, 78vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media.ph::after {
  /* stilisierte Luftaufnahme als Platzhalter: Dach, Hof, Straße */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, transparent 0 57%, rgba(255,255,255,.07) 57% 59%, transparent 59%),
    linear-gradient(transparent 0 62%, rgba(255,255,255,.05) 62% 72%, transparent 72%),
    radial-gradient(closest-side, rgba(220,182,148,.20), transparent) 68% 34% / 38% 30% no-repeat,
    linear-gradient(rgba(255,255,255,.10), rgba(255,255,255,.10)) 62% 28% / 22% 18% no-repeat;
}
.hero__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,18,29,.92) 0%, rgba(10,18,29,.55) 45%, rgba(10,18,29,.2) 100%); }
.hero__content { position: relative; z-index: 1; padding-block: var(--s18) var(--s16); display: grid; gap: var(--s9); max-width: 860px; }
.hero__content .lead { color: rgba(255,255,255,.88); }
.hero .status-row { margin-top: var(--s4); }
@media (max-width: 767px) { .hero { min-height: 560px; } .hero__content { padding-block: var(--s16) var(--s13); } }

/* ---------- Marken-Kacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
@media (max-width: 899px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; text-decoration: none; color: var(--c-on-primary);
  background: var(--c-primary-container);
}
@media (max-width: 899px) { .tile { aspect-ratio: 4 / 3; } }
@media (max-width: 480px) { .tile { aspect-ratio: 4 / 5; } }
.tile__media { position: absolute; inset: 0; transition: transform .5s ease; }
.tile:hover .tile__media, .tile:focus-visible .tile__media { transform: scale(1.04); }
.tile__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,18,29,.92) 0%, rgba(10,18,29,.5) 45%, rgba(10,18,29,0) 75%); }
.tile__brand {
  position: absolute; left: var(--s11); top: var(--s11); z-index: 2; display: flex; align-items: center; gap: var(--s4);
}
.logo-slot {
  display: inline-flex; align-items: center; height: 28px; padding: 0 10px;
  box-shadow: inset 0 0 0 1px var(--c-line-on-dark); border-radius: var(--r-sm);
  font-family: var(--f-head); font-size: 12px; font-weight: 600; letter-spacing: .3em; color: var(--c-on-primary);
}
.tile__badge { position: absolute; right: var(--s11); top: var(--s11); z-index: 2; }
.tile__body { position: relative; z-index: 1; padding: var(--s11); display: grid; gap: var(--s4); }
.tile__title { font-size: 26px; letter-spacing: .12em; line-height: 1.2; }
.tile__text { color: rgba(255,255,255,.85); max-width: 36ch; }
.tile__link { margin-top: var(--s4); justify-self: start; }
.tile:hover .tile__link { color: var(--c-secondary-light); }
.tile .ph__label { top: auto; bottom: 12px; }
.tile__body .small { color: rgba(255,255,255,.65); font-size: 12px; }

/* ---------- Vertrauensleiste ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
@media (max-width: 899px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s11); } }
.fact { display: grid; gap: var(--s3); border-left: 1px solid var(--c-line-on-dark); padding-left: var(--s8); }
.fact__num { font-family: var(--f-head); font-weight: 500; font-size: clamp(28px, 3.2vw, 40px); letter-spacing: .06em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact__num small { font-size: .55em; letter-spacing: .1em; }
.fact__label { font-family: var(--f-head); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--c-muted); line-height: 1.4; }

/* ---------- Karten ---------- */
.card { background: var(--c-surface); padding: var(--s11); display: grid; gap: var(--s6); align-content: start; }
.section--white .card { background: var(--c-background); }
.card--link { text-decoration: none; transition: background-color .2s ease; }
.card--link:hover { background: var(--c-surface-variant); }
.card--link:hover .textlink { color: var(--c-secondary); }
.card h3 { font-size: 15px; letter-spacing: .139em; line-height: 1.3; }
.card--dark { background: var(--c-primary-container); color: var(--c-on-primary); }
.card__icon { width: 36px; height: 36px; color: var(--c-secondary); }
.card--dark .card__icon { color: var(--c-secondary-light); }
.card__meta { display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; }

/* Leistungs-Raster */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--c-outline); border: 1px solid var(--c-outline); }
@media (max-width: 1023px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.service { background: var(--c-surface); padding: var(--s9); display: grid; gap: var(--s4); align-content: start; }
.service svg { width: 30px; height: 30px; color: var(--c-secondary); }
.service h3 { font-size: 14px; letter-spacing: .12em; line-height: 1.35; }
.service p { font-size: 15px; line-height: 1.55; color: var(--c-on-surface-variant); }

/* Versprechen / Liste mit Nummern */
.promises { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); counter-reset: p; }
@media (max-width: 1023px) { .promises { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }
.promise { display: grid; align-content: start; gap: var(--s4); border-top: 1px solid var(--c-line-on-dark); padding-top: var(--s7); }
.section:not(.section--dark) .promise { border-top-color: var(--c-outline); }
.promise h3 { font-size: 14px; letter-spacing: .14em; }

/* Schritte (echte Reihenfolge) */
.steps { list-style: none; display: grid; gap: var(--gutter); counter-reset: step; }
.steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) { .steps--row { grid-template-columns: 1fr; } }
.step { counter-increment: step; display: grid; grid-template-columns: 48px 1fr; gap: var(--s7); align-items: start; background: var(--c-surface); padding: var(--s9); }
.section--white .step { background: var(--c-background); }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-primary); color: var(--c-on-primary); font-family: var(--f-head); font-size: 15px; font-weight: 500;
}
.step h3 { font-size: 14px; letter-spacing: .13em; margin-bottom: var(--s3); }
.step p { color: var(--c-on-surface-variant); }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-head { background: var(--c-primary); color: var(--c-on-primary); padding-block: var(--s15) var(--s15); position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%;
  background: radial-gradient(closest-side, rgba(220,182,148,.12), transparent); pointer-events: none;
}
.page-head .container { position: relative; z-index: 1; display: grid; gap: var(--s7); }
.page-head .lead { color: rgba(255,255,255,.85); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: var(--s3); list-style: none; font-size: 14px; color: var(--c-muted); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-secondary-light); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s3); opacity: .6; }
@media (max-width: 767px) { .page-head { padding-block: var(--s13); } }

/* ---------- Tabellen (Öffnungszeiten) ---------- */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--c-outline); vertical-align: top; }
.hours th { font-weight: 400; color: var(--c-on-surface-variant); padding-right: var(--s9); white-space: nowrap; }
.hours thead th { font-family: var(--f-head); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--c-primary); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--c-primary); }
.table-wrap { overflow-x: auto; }

/* ---------- Bewertungen ---------- */
.rating-summary { display: flex; align-items: center; gap: var(--s7); flex-wrap: wrap; }
.rating-summary__num { font-family: var(--f-head); font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: .04em; }
.stars { display: inline-flex; gap: 2px; color: var(--c-secondary-light); }
.stars svg { width: 18px; height: 18px; }
.stars--on-light { color: var(--c-secondary); }
.review { display: grid; gap: var(--s6); align-content: start; }
.review__head { display: flex; justify-content: space-between; gap: var(--s6); align-items: center; }
.review__name { font-family: var(--f-head); font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.review__text { color: var(--c-primary); }
.review__foot { font-size: 14px; color: var(--c-on-surface-variant); display: flex; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; }
.review__foot a { color: var(--c-on-surface-variant); }

/* ---------- News ---------- */
.news-card { background: var(--c-surface); display: grid; grid-template-rows: auto 1fr; text-decoration: none; transition: background-color .2s ease; }
.section--white .news-card { background: var(--c-background); }
.news-card:hover { background: var(--c-surface-variant); }
.news-card__media { aspect-ratio: 16 / 9; max-width: 100%; }
.news-card__body { padding: var(--s9); display: grid; gap: var(--s4); align-content: start; }
.news-card__meta { display: flex; gap: var(--s6); align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--c-on-surface-variant); }
.news-card h3 { font-size: 15px; letter-spacing: .12em; line-height: 1.35; }
.filter { display: flex; flex-wrap: wrap; gap: var(--s4); margin-bottom: var(--s11); }
.filter button {
  min-height: 40px; padding: 6px 16px; border-radius: var(--r-full); border: 0; cursor: pointer;
  background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-outline);
  font-family: var(--f-head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.filter button[aria-pressed="true"] { background: var(--c-primary); color: var(--c-on-primary); box-shadow: none; }
.article { background: var(--c-surface); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); scroll-margin-top: calc(var(--header-h) + 24px); }
@media (max-width: 899px) { .article { grid-template-columns: 1fr; } }
.article__media { aspect-ratio: 16 / 9; align-self: start; }
.article__body { padding: var(--s11); display: grid; gap: var(--s7); align-content: start; }
.article__body h2 { font-size: 20px; letter-spacing: .12em; line-height: 1.35; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 120px; top: 8px; bottom: 8px; width: 1px; background: var(--c-outline); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: var(--s11); padding-block: var(--s9); position: relative; }
.timeline li::before { content: ""; position: absolute; left: 115px; top: calc(var(--s9) + 10px); width: 11px; height: 11px; border-radius: 50%; background: var(--c-surface); box-shadow: inset 0 0 0 2px var(--c-secondary); }
.timeline li.is-key::before { background: var(--c-secondary); }
.timeline__year { font-family: var(--f-head); font-size: 22px; font-weight: 500; letter-spacing: .06em; font-variant-numeric: tabular-nums; padding-right: var(--s9); line-height: 1.4; }
.timeline__body { display: grid; gap: var(--s3); padding-left: var(--s9); }
.timeline__body h3 { font-size: 14px; letter-spacing: .14em; line-height: 1.5; }
.timeline__body p { color: var(--c-on-surface-variant); max-width: 62ch; }
@media (max-width: 600px) {
  .timeline::before { left: 5px; }
  .timeline li { grid-template-columns: 1fr; gap: var(--s3); padding-left: var(--s11); }
  .timeline li::before { left: 0; top: calc(var(--s9) + 8px); }
  .timeline__body { padding-left: 0; }
  .timeline__year { font-size: 18px; }
}

/* Zitat */
.quote { display: grid; gap: var(--s9); max-width: 900px; }
.quote blockquote { margin: 0; font-family: var(--f-head); font-weight: 400; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.5; letter-spacing: .01em; text-transform: none; }
.quote figcaption { display: grid; gap: var(--s2); }
.placeholder-note { display: inline-block; font-size: 13px; color: var(--c-secondary-light); border: 1px dashed var(--c-secondary-light); padding: 2px 8px; border-radius: var(--r-sm); }
.section:not(.section--dark) .placeholder-note { color: var(--c-secondary); border-color: var(--c-secondary); }

/* ---------- Team ---------- */
.person { background: var(--c-surface); display: grid; grid-template-columns: 88px 1fr; gap: var(--s8); padding: var(--s9); align-items: start; }
.section--white .person { background: var(--c-background); }
.avatar {
  width: 88px; height: 88px; display: grid; place-items: center; background: var(--c-primary); color: var(--c-secondary-light);
  font-family: var(--f-head); font-size: 24px; font-weight: 500; letter-spacing: .08em;
}
.person h3 { font-size: 15px; letter-spacing: .12em; line-height: 1.35; }
.person__role { color: var(--c-secondary); font-size: 15px; }
.person__contact { margin-top: var(--s4); display: grid; gap: var(--s1); font-size: 15px; line-height: 1.5; }
.person__contact a { color: var(--c-primary); text-decoration: none; overflow-wrap: anywhere; }
.person__contact a:hover { color: var(--c-secondary); text-decoration: underline; }
@media (max-width: 420px) { .person { grid-template-columns: 1fr; } }
.group-title { font-size: 13px; letter-spacing: .154em; color: var(--c-secondary); margin: var(--s13) 0 var(--s7); font-family: var(--f-head); text-transform: uppercase; }
.group-title:first-child { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--c-outline); }
.faq details { border-bottom: 1px solid var(--c-outline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s9); align-items: center;
  padding: var(--s8) 0; font-family: var(--f-head); font-weight: 500; font-size: 15px; letter-spacing: .04em; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--c-secondary); flex: none; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 var(--s9); max-width: 70ch; color: var(--c-on-surface-variant); display: grid; gap: var(--s4); }
.faq-group + .faq-group { margin-top: var(--s13); }
.faq-group h2 { font-size: 15px; letter-spacing: .14em; margin-bottom: var(--s6); }

/* ---------- Hinweis-Boxen ---------- */
.callout { display: grid; grid-template-columns: 1fr auto; gap: var(--s9); align-items: center; background: var(--c-primary); color: var(--c-on-primary); padding: var(--s12) var(--s11); }
.callout h2, .callout h3 { font-size: 20px; letter-spacing: .12em; line-height: 1.35; }
@media (max-width: 767px) { .callout { grid-template-columns: 1fr; } }
.info-box { background: var(--c-surface); border-left: 3px solid var(--c-secondary); padding: var(--s9); display: grid; gap: var(--s4); }
.emergency { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--c-line-on-dark); }
.emergency div { background: var(--c-primary); padding: var(--s8); display: grid; gap: var(--s2); }
.emergency span { font-family: var(--f-head); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--c-muted); }
.emergency strong { font-family: var(--f-head); font-weight: 500; font-size: 22px; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--c-on-primary); }
.emergency .is-brand strong { color: var(--c-secondary-light); font-size: 18px; white-space: nowrap; }
@media (max-width: 767px) { .emergency { grid-template-columns: repeat(2, minmax(0, 1fr)); } .emergency .is-brand { grid-column: 1 / -1; } }

/* ---------- Formular ---------- */
.form { display: grid; gap: var(--s11); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s7); min-width: 0; }
.form legend { font-family: var(--f-head); font-size: 13px; font-weight: 500; letter-spacing: .154em; text-transform: uppercase; color: var(--c-secondary); padding: 0; margin-bottom: var(--s6); }
.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 560px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: grid; gap: var(--s2); min-height: 72px; align-content: center; padding: var(--s6) var(--s7);
  background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-outline); border-radius: var(--r-sm);
  font-family: var(--f-head); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35;
  transition: background-color .2s ease, color .2s ease;
}
.choice span small { font-family: var(--f-body); font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--c-on-surface-variant); }
.choice input:checked + span { background: var(--c-primary); color: var(--c-on-primary); box-shadow: none; }
.choice input:checked + span small { color: var(--c-muted); }
.choice input:focus-visible + span { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.pill-choices { display: flex; flex-wrap: wrap; gap: var(--s4); }
.pill-choices .choice span { min-height: 44px; padding: 8px 16px; border-radius: var(--r-full); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7) var(--gutter); }
.fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .fields, .fields--3 { grid-template-columns: 1fr; } }
.field { display: grid; gap: var(--s3); min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-size: 14px; font-weight: 600; line-height: 1.5; }
.field .req { color: var(--c-secondary); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--c-outline); border-radius: var(--r-sm);
  background: var(--c-surface); color: var(--c-primary); font: inherit; line-height: 1.4;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--c-primary); outline-offset: 2px; border-color: var(--c-primary); }
.field [aria-invalid="true"] { border-color: var(--c-error); }
.field__error { color: var(--c-error); font-size: 14px; line-height: 1.4; display: flex; gap: var(--s3); }
.field__error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--c-error); color: #fff; font-size: 12px; font-weight: 700; flex: none; margin-top: 1px; }
.field__hint { font-size: 14px; color: var(--c-on-surface-variant); line-height: 1.45; }
.check { display: flex; gap: var(--s6); align-items: flex-start; font-size: 15px; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-primary); flex: none; }
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4) var(--gutter); }
@media (max-width: 767px) { .checks { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-panel { background: var(--c-surface); padding: var(--s13) var(--s12); }
@media (max-width: 767px) { .form-panel { padding: var(--s11) var(--s7); } }
.form-success { background: var(--c-surface); padding: var(--s13) var(--s12); display: grid; gap: var(--s7); border-top: 3px solid var(--c-success); }
.demo-note { font-size: 14px; color: var(--c-on-surface-variant); background: var(--c-background); padding: var(--s6) var(--s7); border-left: 3px solid var(--c-secondary-light); }
.upload { border: 1px dashed var(--c-muted); border-radius: var(--r-sm); padding: var(--s9); background: var(--c-background); display: grid; gap: var(--s4); }
.upload input { min-height: 0; border: 0; padding: 0; background: transparent; }
.upload__list { font-size: 14px; color: var(--c-on-surface-variant); }

/* ---------- Kontakt / Karte ---------- */
.contact-card { display: grid; gap: var(--s4); font-size: 17px; }
.contact-card a { color: var(--c-primary); text-decoration: none; }
.contact-card a:hover { color: var(--c-secondary); }
.map-box { position: relative; min-height: 360px; display: grid; place-items: center; text-align: center; padding: var(--s11); }
.map-box__inner { position: relative; z-index: 2; display: grid; gap: var(--s7); justify-items: center; max-width: 420px; color: var(--c-on-primary); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-primary); color: var(--c-surface-variant); padding-block: var(--s15) var(--s9); }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: var(--s12) var(--gutter); padding-bottom: var(--s13); border-bottom: 1px solid var(--c-line-on-dark); }
@media (max-width: 1023px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: grid; gap: var(--s7); align-content: start; font-size: 15px; line-height: 1.6; }
.footer-brand img { width: 150px; }
.footer-brand a { color: var(--c-surface-variant); text-decoration: none; }
.footer-brand a:hover { color: var(--c-secondary-light); }
.footer-claim { font-family: var(--f-head); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--c-secondary-light); }
.footer-col h2 { font-size: 13px; letter-spacing: .154em; color: var(--c-secondary-light); margin-bottom: var(--s7); }
.footer-col ul { list-style: none; display: grid; gap: var(--s3); }
.footer-col a { color: var(--c-surface-variant); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--c-secondary-light); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s7); padding-top: var(--s9); font-size: 13px; color: var(--c-muted); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--s7); list-style: none; }
.footer-bottom a, .footer-bottom button { color: var(--c-muted); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: 13px; }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--c-secondary-light); }
.social { display: flex; gap: var(--s4); }
.social a { width: 40px; height: 40px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--c-line-on-dark); border-radius: 50%; }
.social a:hover { background: var(--c-secondary-light); color: var(--c-primary); }
.social svg { width: 18px; height: 18px; }

/* ---------- Mobile Leiste ---------- */
.mobile-bar { display: none; }
@media (max-width: 767px) {
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--c-primary); border-top: 1px solid var(--c-line-on-dark);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mobile-bar a {
    height: 56px; display: grid; place-items: center; align-content: center; gap: 2px; text-decoration: none; color: var(--c-on-primary);
    font-family: var(--f-head); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  }
  .mobile-bar a + a { border-left: 1px solid var(--c-line-on-dark); }
  .mobile-bar svg { width: 20px; height: 20px; color: var(--c-secondary-light); }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Ankündigung / Cookie ---------- */
.notice-bar { background: var(--c-secondary-light); color: var(--c-primary); font-size: 14px; text-align: center; padding: 8px var(--page-pad); }
.notice-bar a { color: var(--c-primary); font-weight: 600; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: grid; align-content: center; gap: var(--s9); }

/* Hilfsklassen */
.mt-0 { margin-top: 0; } .mt-l { margin-top: var(--s13); } .mt-m { margin-top: var(--s9); }
.center { text-align: center; }
.muted { color: var(--c-on-surface-variant); }
.nowrap { white-space: nowrap; }
.list-check { list-style: none; display: grid; gap: var(--s4); }
.list-check li { position: relative; padding-left: 28px; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--c-secondary); border-bottom: 2px solid var(--c-secondary); transform: rotate(-45deg); }
.on-dark .list-check li::before { border-color: var(--c-secondary-light); }
.divider { height: 1px; background: var(--c-outline); border: 0; margin: var(--s11) 0; }

/* Platzhalter in Medien-Containern füllen */
.news-card__media > .ph, .article__media > .ph, .tile__media > .ph, .hero__media > .ph { position: absolute; inset: 0; }
.news-card__media, .article__media { position: relative; }
.split .ph, .stack > .ph { aspect-ratio: 4 / 3; max-width: 100%; }
.news-card[style*="cursor:default"]:hover { background: var(--c-surface); }
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 480px) { .t-display { font-size: 28px; letter-spacing: .07em; } .t-h1 { font-size: 23px; } }
[hidden] { display: none !important; }
.textlink, .section-head--row > .btn-row { justify-self: start; }
.prose p, .prose li { overflow-wrap: anywhere; }
.prose { grid-template-columns: minmax(0, 1fr); }
.prose h2, .prose h3 { overflow-wrap: anywhere; }

/* Kacheln: alle Textzeilen auf gleicher Höhe */
.tile__body { grid-template-rows: auto auto auto auto; }
.tile__body .overline { display: flex; align-items: flex-end; }
.tile__title { font-size: clamp(18px, 1.9vw, 24px); letter-spacing: .1em; white-space: nowrap; hyphens: none; -webkit-hyphens: none; overflow-wrap: normal; }
@media (min-width: 900px) and (max-width: 1150px) { .tile__body { padding: var(--s9); } .tile__brand { left: var(--s9); top: var(--s9); } .tile__badge { right: var(--s9); top: var(--s9); } }
@media (max-width: 899px) { .tile__text { min-height: 0; } .tile__body .overline { min-height: 0; } }
.tiles-note { margin-top: var(--s7); }
.tile__link { align-items: flex-start; }
.tile .textlink { color: var(--c-on-primary); }
.tile:hover .textlink, .tile:focus-visible .textlink { color: var(--c-secondary-light); }
.tile .ph__label { top: 72px; bottom: auto; right: var(--s11); }
.tile .overline { color: var(--c-secondary-light); }
.tile__logo { height: 36px; width: auto; }
.tile__logo--schmid { height: 34px; }

/* Hero mit Drohnenfoto */
.hero__media { display: block; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(10,18,29,.78) 0%, rgba(10,18,29,.45) 38%, rgba(10,18,29,0) 70%),
    linear-gradient(0deg, rgba(10,18,29,.92) 0%, rgba(10,18,29,.5) 32%, rgba(10,18,29,.08) 62%, rgba(10,18,29,.25) 100%);
}
@media (max-width: 600px) {
  .hero__media img { object-position: 50% 30%; }
  .hero__shade { background: linear-gradient(0deg, rgba(10,18,29,.95) 0%, rgba(10,18,29,.7) 45%, rgba(10,18,29,.15) 75%, rgba(10,18,29,.3) 100%); }
}
@media (max-width: 600px) {
  .hero { display: block; min-height: 0; background: var(--c-primary); }
  .hero__media { position: relative; height: min(62vh, 520px); }
  .hero__media img { object-position: 50% 50%; }
  .hero__shade { position: absolute; top: 0; left: 0; right: 0; height: min(62vh, 520px); bottom: auto;
    background: linear-gradient(0deg, rgba(10,18,29,1) 0%, rgba(10,18,29,.35) 28%, rgba(10,18,29,0) 55%); }
  .hero__content { padding-block: var(--s4) var(--s13); margin-top: -40px; }
}
.tile__logo { height: 44px; }
.tile__logo--schmid { height: 38px; }
.tile__logo--mazda { height: 52px; margin-top: -4px; }

/* Kachel-Logos: mittig, direkt über dem Text */
.tile__body .tile__brand { position: static; justify-content: center; align-items: flex-end; height: 64px; margin-bottom: var(--s6); }
.tile .ph__label { display: none; }
.tile__logo { height: 52px; }
.tile__logo--schmid { height: 48px; }
.tile__logo--mazda { height: 64px; margin-top: 0; }
@media (max-width: 899px) { .tile__body .tile__brand { height: 52px; } .tile__logo { height: 44px; } .tile__logo--schmid { height: 40px; } .tile__logo--mazda { height: 52px; } }
.tile__body .tile__brand { margin-bottom: var(--s15); }
@media (max-width: 1150px) { .tile__body .tile__brand { margin-bottom: var(--s13); } }
@media (max-width: 899px) { .tile__body .tile__brand { margin-bottom: var(--s9); } }

/* Formular: Anliegen-Kacheln einheitlich, Checkboxen mittig */
.choice-grid { grid-template-columns: repeat(auto-fit, minmax(124px, 1fr)); grid-auto-rows: 1fr; }
.choice { display: flex; }
.choice span { flex: 1; min-width: 0; min-height: 88px; align-content: center; padding: var(--s6) var(--s6) var(--s6) var(--s7); letter-spacing: .06em; hyphens: auto; -webkit-hyphens: auto; }
.choice span small { font-size: 12.5px; line-height: 1.35; }
@media (max-width: 560px) { .choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check, .field label.check { align-items: center; font-weight: 400; font-size: 15px; }
.check input, .field .check input { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; border: 0; flex: none; }
.check:has(span) { align-items: flex-start; }
.check:has(span) input { margin-top: 2px; }

/* Hilfsklassen (ersetzen Inline-Styles, damit eine strenge CSP möglich ist) */
.addr { font-style: normal; }
.cookie-panel { margin-top: var(--s9); color: var(--c-primary); }
.form .req, .section-head .req { color: var(--c-secondary); }
.news-card--static { cursor: default; }
.btn-row--tight { margin-top: var(--s4); }
.btn-row--center { justify-content: center; }
.grid--top { align-items: start; }
.lead--strong { color: var(--c-primary); }
.link--inherit { color: inherit; }
.stars svg.is-off { opacity: .25; }

/* Mobil/Tablet: Logos größer und mittig in der freien Fläche über dem Text */
@media (max-width: 899px) {
  .tile__body { flex: 1; display: flex; flex-direction: column; gap: var(--s4); }
  .tile__body .tile__brand { flex: 1; height: auto; min-height: 96px; margin: 0 0 var(--s7); align-items: center; justify-content: center; }
  .tile__logo { height: 56px; }
  .tile__logo--schmid { height: 54px; }
  .tile__logo--mazda { height: 70px; }
  .tile__link { align-self: flex-start; }
}

/* Live-Inhalte aus der Redaktion */
.site-notice { background: var(--c-secondary-light); color: var(--c-primary); padding: var(--s5) var(--page-pad); text-align: center; font-size: 15px; font-weight: 600; display: grid; gap: var(--s2); }
.site-notice__item { margin: 0; }
.site-notice__item--zu::before { content: "● "; color: var(--c-error); }
.avatar--foto { padding: 0; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card__media img, .article__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
img.fokus-unten { object-position: 50% 78%; }
img.fokus-oben { object-position: 50% 0%; }
@media (min-width: 768px) { .article__media img.fokus-plakat-chery { object-fit: contain; background: linear-gradient(#a3a6b0 50%, #26272a 50%); } }
.news-card__media > .ph, .article__media > .ph { position: absolute; inset: 0; }
.job { background: var(--c-background); border-left: 3px solid var(--c-secondary); padding: var(--s9); display: grid; gap: var(--s4); margin-bottom: var(--s7); }
.job__title { font-family: var(--f-head); font-weight: 500; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.job p { margin: 0; }
.jobs { display: grid; gap: var(--s7); }
@media (min-width: 900px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .jobs > .info-box { grid-column: 1 / -1; max-width: 46rem; } }
.jobs .job { margin-bottom: 0; background: var(--c-surface); align-content: start; }
.prose a.btn { color: var(--c-on-primary); text-decoration: none; }
.prose a.btn:hover { color: var(--c-primary); }
.karriere-bild { position: relative; aspect-ratio: 4 / 3; max-width: 100%; background: var(--c-surface-variant); overflow: hidden; }
.karriere-bild > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Inhalte in gleich hohen Rasterzellen oben ausrichten (sonst wandert kurzer Text nach unten) */
.promise, .fact, .card, .emergency div, .steps > li, .person > div:not(.avatar), .news-card__body, .timeline__body, .info-box { align-content: start; }
.news-card__media--hell { background: #FFFFFF; border-bottom: 1px solid var(--c-outline); }
.news-card__media--hell img { object-fit: contain; }
/* Modellkarten: Links unten bündig */
.news-card--static .news-card__body { display: flex; flex-direction: column; }
.news-card--static .news-card__body .btn-row { margin-top: auto; padding-top: var(--s4); }

/* ---------- Archivfotos (Geschichte) ---------- */
.archiv { margin: 0; display: grid; gap: var(--s4); }
.archiv img { display: block; width: 100%; height: auto; box-shadow: 0 1px 2px rgba(10,18,29,.08), 0 8px 24px rgba(10,18,29,.10); }
.archiv figcaption { font-size: 14px; color: var(--c-muted); }
.archiv + .archiv { margin-top: var(--s6); }
@media (min-width: 900px) { .stack--sticky { position: sticky; top: 120px; align-self: start; } }

/* ---------- Darstellungs-Feinschliff (Browser-/Gerätetest 20.10.2026) ---------- */
/* Platzhalter-Beschriftung darf umbrechen */
.ph__label { white-space: normal; max-width: calc(100% - 24px); }
/* Impressum-Tabelle am Handy untereinander */
@media (max-width: 520px) {
  .table-wrap--stack table, .table-wrap--stack tbody, .table-wrap--stack tr, .table-wrap--stack th, .table-wrap--stack td { display: block; width: 100%; }
  .table-wrap--stack th { padding-bottom: 0; border-bottom: 0; }
  .table-wrap--stack td { padding-top: 2px; }
}
/* Startseite Tablet: Text im Drohnenfoto besser lesbar */
@media (min-width: 601px) and (max-width: 1180px) {
  .hero__shade { background:
    linear-gradient(90deg, rgba(10,18,29,.88) 0%, rgba(10,18,29,.62) 55%, rgba(10,18,29,.2) 90%),
    linear-gradient(0deg, rgba(10,18,29,.92) 0%, rgba(10,18,29,.5) 40%, rgba(10,18,29,.25) 100%); }
}
.hero__content .overline { text-shadow: 0 1px 6px rgba(10,18,29,.7); }
/* Tablet hochkant: drei Karten nebeneinander statt 2 + 1 */
@media (min-width: 700px) and (max-width: 1023px) {
  [data-live="news-teaser"], [data-reviews] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); }
  [data-live="news-teaser"] .news-card__body, [data-reviews] .review { padding: var(--s7); }
}
/* Anliegen-Kacheln: 3 + 2 statt 4 + 1, am Handy letzte Kachel über die volle Breite */
@media (min-width: 561px) { .choice-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .choice-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* Namen nie mitten im Wort trennen – Umbruch nur zwischen Vor- und Nachname */
.person h3, .review__name { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; word-break: normal; }
/* Notrufnummern: alle Nummern auf einer Höhe (unten bündig), Mazda-Nummer mit doppelter Breite */
.emergency > div { align-content: space-between; }
.emergency .is-brand strong { font-size: 22px; }
@media (min-width: 768px) {
  .emergency { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .emergency .is-brand { grid-column: span 2; }
}
@media (min-width: 1200px) { .emergency { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 2fr) repeat(2, minmax(0, 1fr)); } .emergency .is-brand { grid-column: auto; } }
/* Öffnungszeiten am sehr kleinen Handy: Tagesbezeichnung darf umbrechen (z. B. „Samstag, Sonntag & Feiertag“ fett am Wochenende) */
@media (max-width: 400px) { .hours th { white-space: normal; padding-right: var(--s6); } }
/* Marken-Kacheln: ohne Gitterlinien, Logos 15 % größer */
.tile .ph::before { display: none; }
.tile__body .tile__brand { height: 74px; }
.tile__logo { height: 60px; }
.tile__logo--schmid { height: 55px; }
.tile__logo--mazda { height: 74px; }
@media (max-width: 899px) {
  .tile__body .tile__brand { height: auto; min-height: 110px; }
  .tile__logo { height: 64px; }
  .tile__logo--schmid { height: 62px; }
  .tile__logo--mazda { height: 80px; }
}

/* Redaktion: mehrere Absätze im Fließtext ohne zusätzlichen Abstand, Kachelbilder */
.stack-prose { display: contents; }
.tile__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
