/* =========================================================================
   Autotechnik Besa – Stylesheet
   Eine CSS-Datei, Systemschrift, keine externen Ressourcen.
   Farben aus dem Logo (Blau und Akzente), Button-Grün dunkler für Kontrast.
   ========================================================================= */

:root {
  --blue: #00529c;
  --blue-700: #064586;
  --blue-900: #0a2e5c;
  --blue-50: #eef4fb;
  --blue-100: #dce8f6;
  --ink: #10233f;
  --muted: #526176;
  --line: #d8e1ea;
  --tint: #f5f7fa;
  --white: #fff;
  --green: #237c32;
  --green-700: #1b6627;
  --green-50: #eff6ee;
  --acc-green: #27b34d;
  --acc-gray: #6c6e70;
  --acc-orange: #eb8c1b;
  --amber-bg: #fff6dc;
  --amber-ink: #5c4300;

  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgb(16 35 63 / 6%), 0 2px 8px rgb(16 35 63 / 5%);
  --shadow-md: 0 10px 30px -12px rgb(16 35 63 / 28%);
  --shadow-lg: 0 24px 50px -20px rgb(7 80 155 / 38%);
  --gutter: 20px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

/* ---------------------------------------------------------------- Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 750; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
abbr[title] { text-decoration: none; }
main:focus { outline: none; }

.container { width: 100%; max-width: calc(1440px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow > * { max-width: 860px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico--lg { width: 30px; height: 30px; }
.ico--xl { width: 44px; height: 44px; }

/* Fokus – immer sichtbar */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.contact-card :focus-visible, .cta-band :focus-visible, .mobile-bar :focus-visible, .blue-band :focus-visible { outline-color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  font-size: .875rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .9rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--acc-green), var(--acc-gray), var(--acc-orange)); }
.lead { font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem); color: var(--muted); max-width: 62ch; }

/* --------------------------------------------------------------- Buttons */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: var(--bg);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .65rem 1.35rem; border-radius: 10px;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  font: 650 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--green { --bg: var(--green); }
.btn--green:hover { --bg: var(--green-700); }
.btn--blue:hover { --bg: var(--blue-700); }
.btn--white { --bg: #fff; --fg: var(--blue); }
.btn--white:hover { --bg: var(--blue-50); }
.btn--ghost { --bg: transparent; --fg: var(--blue); --bd: var(--blue); }
.btn--ghost:hover { --bg: var(--blue-50); }
.btn--outline-white { --bg: transparent; --fg: #fff; --bd: rgb(255 255 255 / 70%); }
.btn--outline-white:hover { --bg: rgb(255 255 255 / 12%); --bd: #fff; }
.btn--small { min-height: 42px; padding: .45rem 1rem; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: .8rem 1.6rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--shine::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 28%) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--shine:hover::after { transform: translateX(120%); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 1.75rem; }

.btn-link {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; color: var(--blue);
  min-height: 44px;
}
.btn-link .ico { transition: transform .25s var(--ease); }
.btn-link:hover .ico { transform: translateX(5px); }

/* ----------------------------------------------------------------- Topbar */
.topbar { background: var(--tint); border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--muted); display: none; }
@media (min-width: 900px) { .topbar { display: block; } }
.topbar__inner { display: flex; gap: 28px; align-items: center; min-height: 40px; }
.topbar__item { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__item .ico { width: 16px; height: 16px; color: var(--blue); }
.topbar__mail { margin-left: auto; }
.topbar__mail a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; }
.topbar__mail a:hover { color: var(--blue); }

.open-status {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 8px; border-radius: 999px;
  font-size: .8125rem; font-weight: 700; background: #e3f3e5; color: #1b5e26; margin-left: 6px;
}
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-status.is-open::before { animation: pulse 2s infinite; }
.open-status.is-closed { background: #eceff3; color: #4a5568; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(54 164 49 / 55%); } 70% { box-shadow: 0 0 0 7px rgb(54 164 49 / 0%); } 100% { box-shadow: 0 0 0 0 rgb(54 164 49 / 0%); } }

/* ----------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background-color .3s;
}
/* backdrop-filter nur ab Desktop: sonst wird der Header zum Bezugsrahmen der fixierten Mobilnavigation */
@media (min-width: 1180px) {
  @supports (backdrop-filter: blur(8px)) { .site-header { background: rgb(255 255 255 / 88%); backdrop-filter: saturate(1.4) blur(10px); } }
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgb(16 35 63 / 40%); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); transition: min-height .3s var(--ease); }
.is-scrolled .site-header__inner { min-height: 66px; }

.brand { display: flex; align-items: center; gap: 16px; flex: none; }
.brand__home img { width: clamp(170px, 14vw + 60px, 240px); height: auto; transition: width .3s var(--ease); }
.is-scrolled .brand__home img { width: clamp(160px, 12vw + 50px, 210px); }
.brand__divider { width: 1px; height: 38px; background: var(--line); display: none; }
.brand__partner { display: none; }
.brand__partner img { width: 84px; height: auto; }
@media (min-width: 560px) { .brand__divider, .brand__partner { display: block; } }

.header-actions { display: none; align-items: center; gap: 18px; margin-left: auto; }
@media (min-width: 760px) { .header-actions { display: flex; } }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: 1.0625rem;
  text-decoration: none; color: var(--blue); white-space: nowrap; min-height: 44px;
}
.header-phone .ico { width: 22px; height: 22px; padding: 6px; box-sizing: content-box; border-radius: 50%; background: var(--blue-50); transition: transform .3s var(--ease); }
.header-phone:hover .ico { transform: rotate(-12deg) scale(1.08); }
@media (max-width: 1439px) { .header-phone__num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

/* Menü-Schalter (mobil) */
.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
  min-height: 48px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--line);
  background: #fff; color: var(--ink); font: 700 1rem var(--font); cursor: pointer;
}
.menu-toggle .ico { width: 24px; height: 24px; }
.menu-toggle__close { display: none; }
.nav-open .menu-toggle__open { display: none; }
.nav-open .menu-toggle__close { display: block; }
@media (min-width: 760px) { .menu-toggle { margin-left: 0; order: 3; } }
.no-js .menu-toggle { display: none; }

/* Hauptnavigation */
.main-nav__list { list-style: none; }
.main-nav__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  font: 600 1.0625rem var(--font); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
  border-radius: 8px; position: relative;
}
.main-nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav__link:hover { color: var(--blue); }
.main-nav__link:hover::after, .main-nav__link[aria-current="page"]::after, .main-nav__link.is-active::after { transform: scaleX(1); }
.main-nav__link[aria-current="page"], .main-nav__link.is-active { color: var(--blue); }
.ico--chev { width: 18px; height: 18px; transition: transform .25s var(--ease); }
[aria-expanded="true"] > .ico--chev { transform: rotate(180deg); }
.js .main-nav__nojs { display: none; }
.no-js .main-nav__btn { display: none; }

.subnav { list-style: none; }
.subnav a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); transition: background-color .2s, transform .2s var(--ease); }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--blue-50); }
.subnav a:hover { transform: translateX(4px); }
.subnav__title { font-weight: 700; }
.subnav__desc { font-size: .9375rem; color: var(--muted); }
.main-nav__mobile-extra { display: none; }

/* Desktop-Navigation ab 1180px */
@media (min-width: 1180px) {
  .menu-toggle { display: none; }
  .main-nav { margin-left: auto; }
  .main-nav__list { display: flex; align-items: center; gap: 2px; }
  .main-nav__item { position: relative; }
  .subnav {
    position: absolute; top: calc(100% + 10px); left: -8px; width: 360px; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .subnav::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
  .has-sub.is-open .subnav, .no-js .has-sub:hover .subnav, .no-js .has-sub:focus-within .subnav {
    opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease);
  }
  .header-actions { margin-left: 8px; }
}

/* Mobile/Tablet-Navigation unter 1180px */
@media (max-width: 1179px) {
  .js .main-nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 99; background: #fff;
    overflow-y: auto; padding: 16px var(--gutter) 120px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .js .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .main-nav__link { width: 100%; min-height: 56px; font-size: 1.25rem; justify-content: space-between; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav__link::after { display: none; }
  .js .subnav { display: none; padding: 6px 0 12px; }
  .js .has-sub.is-open .subnav { display: block; animation: drop .3s var(--ease); }
  .main-nav__mobile-extra { display: grid; gap: 20px; justify-items: start; margin-top: 24px; }
  .main-nav__partner { width: 110px; }
  .no-js .main-nav { order: 10; width: 100%; padding-bottom: 12px; }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .site-header { position: static; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
body.nav-open { overflow: hidden; }
@media (min-width: 1180px) { body.nav-open { overflow: auto; } }

/* ------------------------------------------------------------------- Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at -10% -20%, var(--blue-50) 0%, transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  padding-block: clamp(28px, 4vw, 56px) clamp(28px, 3vw, 40px);
}
.hero::before {
  content: ""; position: absolute; right: -180px; top: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 60px solid var(--blue-50); opacity: .7; pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "text" "contact" "media";
}
.hero__text { grid-area: text; align-self: center; }
.hero__media { grid-area: media; position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.hero .contact-card { grid-area: contact; }
.hero__img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; animation: kenburns 1.8s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__badge {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink); font-weight: 750; font-size: .9375rem; padding: 10px 14px 10px 10px;
  border-radius: 999px; box-shadow: var(--shadow-md); animation: rise .8s var(--ease) .9s both;
}
.hero__badge .ico { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--blue); color: #fff; box-sizing: border-box; }

.hero__h1 { margin-bottom: .35em; }
.hero__kicker { display: block; font-size: .44em; letter-spacing: 0; color: var(--blue); font-weight: 750; margin-bottom: .45em; }
.hero__claim {
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 750; letter-spacing: -.01em; margin-bottom: .7em;
  background: linear-gradient(90deg, var(--blue) 0%, #0b7a3a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__anim { animation: rise .8s var(--ease) var(--d, 0ms) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (min-width: 700px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "text contact" "media media"; gap: 28px; }
  .hero__img { aspect-ratio: 21 / 9; }
}
@media (min-width: 1360px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr) minmax(300px, .72fr); grid-template-areas: "text media contact"; align-items: stretch; }
  .hero__img { aspect-ratio: auto; min-height: 480px; }
  .hero__h1 { font-size: clamp(2.2rem, 1rem + 2vw, 3.25rem); }
}

/* ----------------------------------------------------------- Kontaktkarte */
.contact-card {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-700) 55%, var(--blue-900) 100%);
  padding: clamp(22px, 2.4vw, 32px); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 18px;
}
.contact-card::after {
  content: ""; position: absolute; right: -70px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%;
  border: 28px solid rgb(255 255 255 / 6%); pointer-events: none;
}
.contact-card__title { color: #fff; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); margin: 0; }
.contact-card__list { list-style: none; display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid rgb(255 255 255 / 22%); }
.contact-card a:not(.btn) { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; overflow-wrap: anywhere; }
.contact-card a:not(.btn):hover { text-decoration: underline; }
.contact-card__big { font-size: 1.4rem; font-weight: 800; letter-spacing: -.01em; }
.contact-card .ico { width: 24px; height: 24px; color: #fff; opacity: .95; }
.contact-card__block { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgb(255 255 255 / 22%); }
.contact-card__block:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contact-card__label { font-weight: 700; margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; }
.contact-card address { margin-bottom: 14px; font-size: 1.0625rem; }
.contact-card .btn--white { --fg: var(--blue-700); }
/* Social-Media-Links: weiß unten links im Kasten „Direkt für Sie da“ (Startseite), blau neben dem Termin-Button (Kontakt) */
.social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.social__link { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.social__link:hover { transform: translateY(-2px); }
.contact-card .social { margin-top: auto; }
.contact-card a.social__link { width: 44px; height: 44px; min-height: 0; justify-content: center; background: rgb(255 255 255 / 12%); }
.contact-card a.social__link:hover { background: rgb(255 255 255 / 24%); text-decoration: none; }
.contact-card .social__link .ico { width: 20px; height: 20px; opacity: 1; }
.social--blue { align-self: center; gap: 12px; }
.social--blue .social__link { width: 56px; height: 56px; color: var(--blue); background: var(--blue-50); border: 1px solid rgb(0 82 156 / 18%); }
.social--blue .social__link:hover { color: #fff; background: var(--blue); }
.social--blue .social__link .ico { width: 26px; height: 26px; }
.contact-card .btn .ico { width: 18px; height: 18px; color: currentColor; }

.hours { margin: 0; display: grid; gap: 4px; }
.hours div { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.hours--card { color: rgb(255 255 255 / 92%); }

/* ------------------------------------------------------------ Schnellzugriff */
.quick { padding-block: 8px clamp(40px, 6vw, 72px); }
.quick__list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.quick__list > li { display: grid; }
@media (min-width: 760px) { .quick__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 760px) and (max-width: 1099px) {
  .quick__card { flex-direction: column; align-items: flex-start; position: relative; padding: 20px; }
  .quick__arrow { position: absolute; right: 18px; top: 22px; }
}
.quick__card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; min-height: 92px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.quick__card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.quick__icon { display: grid; place-items: center; width: 60px; height: 60px; color: var(--blue); flex: none; transition: color .25s, transform .4s var(--ease); }
.quick__icon .ico { width: 52px; height: 52px; stroke-width: 1.6; }
.quick__card:hover .quick__icon { color: var(--blue-700); transform: rotate(-8deg) scale(1.08); }
.quick__text { display: grid; gap: 2px; flex: 1; }
.quick__title { font-weight: 750; font-size: 1.125rem; }
.quick__sub { color: var(--muted); font-size: .9375rem; }
.quick__arrow { color: var(--blue); width: 26px; height: 26px; stroke-width: 2.4; transition: transform .25s var(--ease); }
.quick__card:hover .quick__arrow { transform: translateX(4px); }

/* --------------------------------------------------------------- Sektionen */
.section { padding-block: clamp(48px, 5.5vw, 80px); }
.section--tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.1875rem; margin: 0; }
.section-head p.eyebrow { color: var(--blue); font-size: .875rem; margin-bottom: .9rem; }
.topics { padding-top: 0; }

/* ----------------------------------------------------------- Themenkarten */
.topic-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 700px) { .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; } }
.topic-card { --acc: var(--blue); }
.topic-card--green { --acc: var(--acc-green); }
.topic-card--gray { --acc: var(--acc-gray); }
.topic-card--orange { --acc: var(--acc-orange); }
.topic-card__link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.topic-card__link:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.topic-card__link:focus-visible { outline-offset: 4px; border-radius: var(--radius-lg); }
.topic-card__media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--blue-50); }
.topic-card__media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--acc);
  transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease);
}
.topic-card__link:hover .topic-card__media::after { transform: scaleX(1); }
.topic-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.topic-card__link:hover .topic-card__img { transform: scale(1.06); }
.topic-card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.topic-card__title { font-size: 1.45rem; margin: 0; }
.topic-card__text { color: var(--muted); font-size: 1.0625rem; }
.topic-card__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; }
.topic-card__more .ico { transition: transform .3s var(--ease); }
.topic-card__link:hover .topic-card__more .ico { transform: translateX(6px); }

/* ---------------------------------------------------------- Servicekarten */
.svc-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 600px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.svc-card__link {
  display: flex; flex-direction: column; height: 100%; padding: 24px; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-decoration: none; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.svc-card__link:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.svc-card__icon {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 16px; margin-bottom: 10px;
  background: var(--blue-50); color: var(--blue); transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.svc-card__link:hover .svc-card__icon { background: var(--blue); color: #fff; transform: scale(1.06) rotate(-4deg); }
.svc-icon { width: 46px; height: 46px; }
.svc-icon * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc-card__title { font-size: 1.3rem; margin: 0; }
.svc-card__text { color: var(--muted); font-size: 1.0rem; }
.svc-card__more { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; font-size: 1rem; }
.svc-card__more .ico { transition: transform .3s var(--ease); }
.svc-card__link:hover .svc-card__more .ico { transform: translateX(6px); }

/* --------------------------------------------------------------- Vertrauen */
.trust__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1000px) {
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; align-items: start; }
  .trust__cards { grid-column: 1 / -1; }
}
.pillars { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.pillar {
  --acc: var(--acc-green); position: relative; padding: 20px 22px 20px 30px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s;
}
.pillar:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.pillar--gray { --acc: var(--acc-gray); }
.pillar--orange { --acc: var(--acc-orange); }
.pillar__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--acc); }
.pillar h3 { margin-bottom: .25em; }
.pillar p { margin: 0; color: var(--muted); font-size: 1.0625rem; }
.trust__cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 760px) { .trust__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trust-card { background: var(--tint); border-radius: var(--radius-lg); padding: 26px 28px; }
.trust-card p { margin: 0; color: var(--muted); }
.trust-card__logo { width: 120px; margin-bottom: 16px; background: #fff; padding: 10px; border-radius: 10px; box-sizing: content-box; }
.trust-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: #fff; color: var(--blue); margin-bottom: 16px; }

/* ----------------------------------------------------------------- CTA-Band */
.cta-band { padding-block: clamp(48px, 6vw, 80px); }
.cta-band + .trust { padding-top: clamp(8px, 1.5vw, 24px); }
.cta-band__inner {
  position: relative; overflow: hidden; border-radius: 22px; color: #fff;
  background: linear-gradient(120deg, var(--blue-900) 0%, var(--blue) 70%, #0b62b8 100%);
  padding: clamp(28px, 4vw, 56px); display: grid; gap: 24px; align-items: center; grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgb(255 255 255 / 88%); font-size: 1.1875rem; margin: 0; max-width: 56ch; }
.cta-band__text, .cta-band__actions { position: relative; z-index: 1; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-band__wheel { position: absolute; right: -60px; top: 50%; width: 320px; height: 320px; margin-top: -160px; color: rgb(255 255 255 / 9%); }
.cta-band__wheel .ico { width: 100%; height: 100%; stroke-width: 1.2; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------- Unterseiten */
.breadcrumb { padding-top: 18px; font-size: .9375rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.page-hero { padding-block: clamp(24px, 3.5vw, 48px) clamp(40px, 5vw, 72px); position: relative; }
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 960px) { .page-hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
.page-hero--noimg .page-hero__inner { grid-template-columns: minmax(0, 1fr); }
.page-hero--noimg .page-hero__text { max-width: 900px; }
.page-hero__text > * { animation: rise .8s var(--ease) both; }
.page-hero__text > :nth-child(2) { animation-delay: .08s; }
.page-hero__text > :nth-child(3) { animation-delay: .16s; }
.page-hero__text > :nth-child(4) { animation-delay: .24s; }
.page-hero__media { position: relative; }
.page-hero__media::before {
  content: ""; position: absolute; inset: 22px -14px -14px 22px; border-radius: 20px;
  background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); z-index: -1;
}
.page-hero__img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-md); aspect-ratio: 3 / 2; object-fit: cover; }
.page-hero__img { animation: kenburns-soft 1.6s var(--ease) both; }
@keyframes kenburns-soft { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (max-width: 959px) { .page-hero__media::before { inset: 14px -8px -8px 14px; } }
.page-hero { overflow-x: clip; }

/* Sprungleiste in Blau: helle Umrandung, Hover leicht aufgehellt, aktueller Abschnitt weiß mit blauer Schrift */
.jump { position: relative; z-index: 5; background: linear-gradient(90deg, var(--blue-700), var(--blue)); box-shadow: 0 6px 16px -10px rgb(10 46 92 / 60%); }
@media (min-width: 900px) { .jump { position: sticky; top: var(--header-sticky, 66px); } }
.jump__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding-block: 12px; }
.jump__list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgb(255 255 255 / 40%); text-decoration: none; color: #fff; font-weight: 600; font-size: 1rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.jump__list a:hover { background: rgb(255 255 255 / 16%); border-color: #fff; color: #fff; }
.jump__list a.is-current, .jump__list a.is-current:hover { background: #fff; border-color: #fff; color: var(--blue); }
.jump :focus-visible { outline-color: #fff; }

/* Werkstattleistungen (Auto Service): Zweierraster mit Farbstreifen, letzte Kachel blau */
.section--green { background: var(--green-50); }
.work-section { position: relative; overflow: hidden; isolation: isolate; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 900px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; } }
.work-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 80px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.work-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--acc); }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.work-card:target { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.work-card--green { --acc: var(--acc-green); --acc-bg: #e6f5ea; --acc-ink: var(--green-700); }
.work-card--orange { --acc: var(--acc-orange); --acc-bg: #fdf0e1; --acc-ink: #a35a00; }
.work-card--blue { --acc: var(--blue); --acc-bg: var(--blue-50); --acc-ink: var(--blue); }
.work-card__head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.work-card__icon { display: grid; place-items: center; flex: none; width: 72px; height: 72px; border-radius: 18px; background: var(--acc-bg); color: var(--acc-ink); }
.work-card__icon .svc-icon { width: 46px; height: 46px; }
.work-card h3 { flex: 1; min-width: 0; margin: 0; font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); overflow-wrap: break-word; hyphens: auto; }
.work-card__num { font-size: 3rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #c3d3e6; letter-spacing: -.03em; }
.work-card__text { margin: 0 0 20px; font-size: 1.0625rem; }
.work-card__tips { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); }
.work-card__tips h4 { margin-bottom: 10px; color: var(--blue-700); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.work-card__tips .checklist li { font-size: .97rem; }
.work-card--cta { justify-content: center; border-color: transparent; color: #fff; background: linear-gradient(150deg, var(--blue), var(--blue-900)); }
.work-card--cta::before { background: linear-gradient(90deg, var(--acc-green), var(--acc-gray), var(--acc-orange)); }
.work-card--cta h3 { flex: none; margin-bottom: 12px; color: #fff; }
.work-card--cta .work-card__text { color: var(--blue-100); }
.work-card__eyebrow { margin: 0 0 8px; color: #a9c3e3; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.work-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.checklist { list-style: none; display: grid; gap: 8px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 1.0625rem; }
.checklist .ico { width: 22px; height: 22px; color: var(--green); margin-top: 2px; }

.steps { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 1.35rem; margin-bottom: 18px;
  box-shadow: 0 0 0 8px var(--blue-50);
}
.step p { margin: 0; color: var(--muted); }
@media (min-width: 860px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 54px; left: calc(28px + 52px + 16px); right: -28px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--blue-100) 0 8px, transparent 8px 14px);
  }
}
.js .step.is-visible .step__num { animation: pop .6s var(--ease) calc(var(--d, 0ms) + .15s) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); } to { transform: none; opacity: 1; } }

.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 64px; align-items: start; } }
.more-box { margin-top: 20px; padding: 24px; border-radius: var(--radius-lg); background: var(--tint); }
.more-box p { color: var(--muted); }
.faq { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; min-height: 56px; border-radius: 14px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font-size: 1.125rem; margin: 0; letter-spacing: -.01em; }
.faq__icon { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--blue-50); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; background: var(--blue); border-radius: 2px; transition: transform .3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 22px 18px; color: var(--muted); }
.faq__item[open] .faq__a { animation: drop .3s var(--ease); }
.faq__a p { margin: 0; }


.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-grid--center { align-items: center; }
/* Lageplan (Lackiererei) */
.site-map { width: 100%; max-width: 440px; height: auto; }
@media (min-width: 860px) { .site-map { justify-self: center; } }
.contact-address { font-size: 1.25rem; margin-bottom: 14px; }
.contact-lines { font-size: 1.1875rem; }
.contact-lines a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 650; }


.notfound { min-height: 50vh; }

/* Gewerbekunden: Logos der Leasinggesellschaften (PNG mit weißem Grund, daher weiße Kacheln) */
.logo-grid { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; --gap: 16px; gap: var(--gap); }
.logo-grid > li { flex: 0 1 calc((100% - var(--gap)) / 2); }
@media (min-width: 900px) { .logo-grid { --gap: 32px; } .logo-grid > li { flex-basis: calc((100% - 3 * var(--gap)) / 4); } }
.logo-tile { display: grid; place-items: center; padding: 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow .25s, transform .25s var(--ease); }
.logo-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.logo-tile img { width: 100%; max-width: 220px; height: auto; }

/* ------------------------------------------------------------------ Footer */
.site-footer { position: relative; background: #fff; border-top: 1px solid var(--line); font-size: 1.0625rem; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 4px;
  background: linear-gradient(90deg, var(--blue) 0 55%, var(--acc-green) 55% 70%, var(--acc-gray) 70% 85%, var(--acc-orange) 85% 100%);
}
.site-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding-block: clamp(48px, 5vw, 72px) clamp(36px, 4vw, 56px); }
.footer-col--brand, .footer-col--brand + .footer-col { grid-column: 1 / -1; }
@media (min-width: 640px) { .footer-col--brand, .footer-col--brand + .footer-col { grid-column: auto; } .site-footer__grid { gap: 40px 32px; } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .9fr) minmax(0, .9fr); gap: 48px; } }
.footer-logo { display: inline-block; margin-bottom: 28px; }
.footer-logo img { width: 240px; }
.footer-col__title { font-size: 1.25rem; font-weight: 750; letter-spacing: -.01em; color: var(--ink); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 2px; }
.footer-col a:not(.btn) { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; }
.footer-col a:not(.btn):hover { color: var(--blue); text-decoration: underline; }
.footer-col address { margin-bottom: 12px; line-height: 1.7; }
.footer-contact .ico { width: 20px; height: 20px; color: var(--blue); }
.hours--footer { margin-bottom: 22px; gap: 6px; }
.footer-partner { margin-top: 22px; flex-direction: column; align-items: flex-start !important; gap: 8px !important; font-size: .875rem; color: var(--muted) !important; }
.footer-partner img { width: 110px; }
.footer-partner:hover { text-decoration: none !important; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
  border-top: 1px solid var(--line); padding-block: 20px; font-size: .9375rem; color: var(--muted);
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { list-style: none; display: flex; gap: 20px; }
.site-footer__bottom a { color: var(--muted); display: inline-flex; min-height: 44px; align-items: center; }
.site-footer__bottom a:hover { color: var(--blue); }

/* ------------------------------------------------------- Mobile Aktionsleiste */
.mobile-bar { display: none; }
@media (max-width: 759px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / 96%);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgb(16 35 63 / 35%);
    animation: slideup .5s var(--ease) .6s both;
  }
  .mobile-bar__btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px;
    font-weight: 750; text-decoration: none; font-size: 1.0625rem;
  }
  .mobile-bar__btn--call { background: var(--blue); color: #fff; }
  .mobile-bar__btn--book { background: var(--green); color: #fff; }
  .mobile-bar__btn:hover { color: #fff; }
  .mobile-bar :focus-visible { outline-color: var(--ink); }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .nav-open .mobile-bar { display: none; }
}
@keyframes slideup { from { transform: translateY(100%); } to { transform: none; } }

/* Jobs: 60-Sekunden-Block im Seitenkopf, Stellenkarten */
.quick-apply {
  position: relative; overflow: hidden; isolation: isolate; padding: clamp(28px, 3.5vw, 44px); border-radius: 20px;
  color: #fff; background: linear-gradient(140deg, var(--blue), var(--blue-900)); box-shadow: var(--shadow-lg);
  animation: rise .8s var(--ease) .2s both;
}
.quick-apply::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--acc-green), var(--acc-gray), var(--acc-orange)); }
.quick-apply::after { content: ""; position: absolute; z-index: -1; right: -70px; bottom: -110px; width: 300px; height: 300px; border: 40px solid rgb(255 255 255 / 6%); border-radius: 50%; }
.quick-apply__icon {
  position: absolute; top: clamp(20px, 3vw, 34px); right: clamp(20px, 3vw, 34px); display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: rgb(255 255 255 / 12%); box-shadow: 0 0 0 8px rgb(255 255 255 / 5%); color: #a6e5ae;
}
.quick-apply__icon .ico { width: 32px; height: 32px; stroke-width: 1.8; }
@media (min-width: 600px) { .quick-apply__icon { width: 76px; height: 76px; box-shadow: 0 0 0 10px rgb(255 255 255 / 5%); } .quick-apply__icon .ico { width: 44px; height: 44px; } }
.stopwatch__hand { transform-origin: 12px 13.5px; animation: stopwatch-tick 4s steps(8) infinite; }
@keyframes stopwatch-tick { to { transform: rotate(360deg); } }
.quick-apply__num { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; color: var(--blue-100); font-size: 1.5rem; font-weight: 700; }
.quick-apply__num span { font-variant-numeric: tabular-nums; color: #fff; font-size: clamp(4.5rem, 3rem + 5vw, 7rem); font-weight: 850; line-height: .9; letter-spacing: -.04em; }
.quick-apply__text { max-width: 34ch; margin: 14px 0 22px; color: var(--blue-100); font-size: 1.125rem; }
.quick-apply__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-apply__chips li { padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / 12%); font-size: .9375rem; font-weight: 650; }
.job-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
@media (min-width: 760px) { .job-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; } }
.job-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.job-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.job-card--green { --acc: var(--acc-green); }
.job-card--orange { --acc: var(--acc-orange); }
.job-card--blue { --acc: var(--blue); }
.job-card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-bottom: 5px solid var(--acc); }
.job-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2vw, 28px); }
.job-card h3 { margin: 0; font-size: clamp(1.35rem, 1.15rem + .6vw, 1.6rem); }
.job-card__mwd { display: block; color: var(--muted); font-size: 1rem; font-weight: 600; }
.job-card p { margin: 0 0 8px; color: var(--muted); }
.job-card .btn { margin-top: auto; align-self: flex-start; }
.blue-band h2 em { color: #a6e5ae; }

/* Kontakt: zwei Betriebskarten im Seitenkopf, Lageplan, Formular */
.contact-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 760px) { .contact-hero__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-hero__grid .page-hero__text { grid-column: 1 / -1; } }
@media (min-width: 1200px) {
  .contact-hero__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
  .contact-hero__grid .page-hero__text { grid-column: auto; align-self: center; padding-right: 24px; }
}
.place-card { animation: rise .8s var(--ease) var(--d, 0ms) both; }
.place-card__kicker { margin: 0; color: rgb(255 255 255 / 80%); font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.place-card .contact-card__title { margin-top: -10px; }
.place-card .contact-card__big { font-size: 1.3rem; }
.contact-card--orange { background: linear-gradient(160deg, #c4690a 0%, #a35400 55%, #7a3d00 100%); }
.contact-card--orange .btn--white { --fg: #8a4600; }
.map-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 900px) { .map-split { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); } }
.place-map { justify-self: center; width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 24px 40px rgb(7 80 155 / 18%)); }
.place-legend { list-style: none; display: grid; gap: 10px; margin: 22px 0 26px; }
.place-dot { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.place-dot strong { display: inline-grid; place-items: center; min-width: 52px; padding: 4px 8px; border-radius: 8px; background: var(--dot); color: #fff; }
.place-dot--blue { --dot: #004b8d; }
.place-dot--orange { --dot: #a35400; }
.form-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 960px) {
  .form-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto 1fr; column-gap: clamp(48px, 6vw, 96px); row-gap: 0; }
  .form-split .contact-form { grid-column: 2; grid-row: 1 / span 2; }
  .form-split .form-partner { grid-column: 1; grid-row: 2; align-self: end; }
}
.form-partner {
  display: inline-flex; align-items: center; gap: 16px; justify-self: start; padding: 14px 22px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--muted); font-size: .9375rem; font-weight: 600; text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.form-partner:hover { color: var(--muted); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.form-partner img { width: 150px; height: auto; }
.form-hints { margin-top: 22px; }
.contact-form { position: relative; overflow: hidden; display: grid; gap: 18px; padding: clamp(22px, 3vw, 36px); border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.contact-form::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--acc-green), var(--acc-gray), var(--acc-orange)); }
.topic-pick { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.topic-pick legend { margin-bottom: 10px; padding: 0; font-weight: 700; }
.topic-pick label { position: relative; }
.topic-pick input { position: absolute; opacity: 0; }
.topic-pick span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line);
  font-weight: 650; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.topic-pick span:hover { border-color: var(--blue); }
.topic-pick input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgb(0 82 156 / 60%); }
.topic-pick input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
@media (min-width: 600px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--tint);
  font: inherit; color: var(--ink); transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 17px; top: 17px; color: var(--muted); pointer-events: none; transition: top .2s var(--ease), font-size .2s var(--ease), color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-100); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; color: var(--blue); font-size: .78rem; font-weight: 700; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--muted); font-size: .9375rem; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); }
.contact-form__send { justify-self: start; }
.contact-form__send .ico { transition: transform .35s var(--ease); }
.contact-form__send:hover .ico { transform: translate(4px, -4px) rotate(-8deg); }
.contact-form.is-sending .contact-form__send { opacity: .7; pointer-events: none; }
.contact-form.is-sending .contact-form__send .ico { animation: send-fly .9s var(--ease) infinite; }
@keyframes send-fly { 50% { transform: translate(6px, -6px); opacity: .3; } }
.form-status { display: none; gap: 10px; margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status:target, .form-status.is-shown { display: flex; }
.form-status--ok { background: var(--green-50); color: var(--green-700); animation: rise .6s var(--ease) both; }
.form-status--ok .ico { flex: none; color: var(--green); }
.form-status--error { background: var(--amber-bg); color: var(--amber-ink); }

/* ---------------------------------------------------- Scroll-Animationen */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease) var(--d, 0ms), transform .75s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .svc-card .svc-icon * { stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) calc(var(--d, 0ms) + .25s); }
.js .svc-card.is-visible .svc-icon * { stroke-dashoffset: 0; }
.js .work-card .svc-icon * { stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) .2s; }
.js .work-card.is-visible .svc-icon * { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .svc-icon *, .js .draw-icon * { stroke-dashoffset: 0 !important; }
  html { scroll-behavior: auto; }
}

/* ========================== Unterseiten-Bausteine (v10, Vorlage für alle Leistungsseiten)
   Reihenfolge: Themenanker → Bild-Text-Abschnitte im Wechsel (Hellgrau mit Kreis, Weiß, Hellgrün)
   → blaues Band → Ablauf → FAQ. Grün nur als Textakzent und für die hellgrüne Fläche. */
.h-line { display: block; }
h2 em { font-style: normal; color: var(--green); }

/* Seitenkopf mit Themenkarten: Karten sitzen mittig auf der Kante Weiß/Hellgrau */
.page-hero--cards { padding-bottom: clamp(76px, 8vw, 112px); }
.page-hero .lead + .lead { margin-top: -.25em; }
.page-hero__note { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; max-width: 62ch; }
.page-hero__note .ico { width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.page-hero__media .hero__badge { left: 18px; bottom: 18px; }
.theme-band { background: linear-gradient(#fff 0 50%, var(--tint) 50% 100%); }
.theme-band + .split-section { padding-top: clamp(40px, 5vw, 64px); }
.theme-cards { position: relative; z-index: 2; margin-top: calc(-1 * clamp(44px, 5vw, 64px)); }
.theme-cards__list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.theme-cards__list > li { display: grid; min-width: 0; }
@media (min-width: 760px) { .theme-cards__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.theme-card {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 20px 20px 20px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.theme-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--acc); }
.theme-card:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.theme-card:focus-visible { outline-offset: 4px; border-radius: var(--radius-lg); }
.theme-card--green { --acc: var(--acc-green); --acc-bg: #e6f5ea; --acc-ink: var(--green-700); }
.theme-card--orange { --acc: var(--acc-orange); --acc-bg: #fdf0e1; --acc-ink: #a35a00; }
.theme-card--blue { --acc: var(--blue); --acc-bg: var(--blue-50); --acc-ink: var(--blue); }
.theme-card__icon { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 14px; background: var(--acc-bg); color: var(--acc-ink); transition: transform .4s var(--ease); }
.theme-card__icon .ico { width: 32px; height: 32px; stroke-width: 1.7; }
.theme-card:hover .theme-card__icon { transform: rotate(-8deg) scale(1.08); }
.theme-card__text { display: grid; gap: 2px; flex: 1; min-width: 0; }
.theme-card__title { font-weight: 750; font-size: 1.125rem; overflow-wrap: break-word; hyphens: auto; }
.theme-card__sub { color: var(--muted); font-size: .9375rem; line-height: 1.4; }
.theme-card__arrow { flex: none; width: 24px; height: 24px; color: var(--blue); transition: transform .25s var(--ease); }
.theme-card:hover .theme-card__arrow { transform: translateY(4px); }
/* Icons zeichnen sich beim Einblenden (wie die Service-Icons der Startseite) */
.draw-icon * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .theme-cards li .draw-icon * { stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) calc(var(--d, 0ms) + .35s); }
.js .theme-cards li.is-visible .draw-icon * { stroke-dashoffset: 0; }
@media (max-width: 759px) {
  .theme-cards { margin-top: -36px; }
  .theme-band { background: linear-gradient(#fff 0 36px, var(--tint) 36px); }
  .page-hero--cards { padding-bottom: 72px; }
  .theme-card { padding: 16px; }
  .theme-card__icon { width: 48px; height: 48px; }
  .theme-card__icon .ico { width: 28px; height: 28px; }
}

/* Bild-Text-Abschnitt */
.split-section { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(44px, 5.5vw, 76px); }
.split-section--tint { background: var(--tint); }
.split-section--green { background: var(--green-50); }
.split-section--tint::after, .work-section::after {
  content: ""; position: absolute; z-index: -1; right: -160px; top: -140px; width: 520px; height: 520px;
  border: 64px solid rgb(0 82 156 / 3.5%); border-radius: 50%; pointer-events: none;
}
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 7vw, 104px); }
  .split--media-left .split__media { order: -1; }
}
.split__copy h2 { margin-bottom: .6em; }
.split__copy > p:not(.eyebrow) { color: var(--muted); max-width: 58ch; }
.split__copy .checklist { margin: 22px 0 14px; }
.split__copy > .btn { margin-top: 10px; }
.split__media { position: relative; }
.split__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
@media (min-width: 960px) { .split__img { aspect-ratio: 5 / 4; } }
.split__media--framed { padding: 0 0 24px 24px; }
.split__media--framed::before { content: ""; position: absolute; z-index: -1; inset: 32px 24px 0 0; border-radius: 18px; background: var(--tint); }
@media (min-width: 960px) { .split__media--framed .split__img { aspect-ratio: 3 / 2; } }
.split__label {
  position: absolute; left: 24px; right: 24px; bottom: 24px; margin: 0; padding: 18px 22px;
  border-radius: 12px; background: rgb(255 255 255 / 95%); box-shadow: var(--shadow-md); color: var(--muted); font-size: .875rem;
}
.split__label span { display: flex; align-items: center; gap: 9px; }
.split__label span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc-green); }
.split__label strong { display: block; margin-top: 4px; color: var(--ink); font-size: 1.25rem; letter-spacing: -.01em; }
.split__art { width: 100%; max-width: 640px; margin-inline: auto; }
@media (max-width: 559px) {
  .split__label { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; }
  .split__label strong { font-size: 1.0625rem; }
  .split__media--framed { padding: 0 0 14px 14px; }
  .split__media--framed::before { inset: 20px 14px 0 0; }
}

/* E-Mobilität: Hochvolt-Kasten und breites Bildband (4:1) über dem Abschnitt */
.hv-panel { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--tint); border-top: 4px solid var(--acc-orange); }
.hv-panel h3 { font-size: 1.3rem; }
.hv-panel .checklist { margin: 18px 0 24px; }
.wide-art { display: block; width: 100%; height: auto; margin-bottom: clamp(36px, 5vw, 60px); border-radius: 18px; }
@media (max-width: 559px) { .wide-art { aspect-ratio: 2 / 1; object-fit: cover; } }
.link-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 18px; }

/* Reifen & Felgen: dezente Alufelge links im Hintergrund (Räderberatung), dreht sehr langsam */
.split-section--rim::before {
  content: ""; position: absolute; z-index: -1; left: -150px; top: 50%; width: 520px; height: 520px; margin-top: -260px;
  background: url("/assets/images/felge-deko.svg") center / contain no-repeat; opacity: .07; pointer-events: none;
  animation: spin 120s linear infinite;
}
@media (max-width: 959px) { .split-section--rim::before { left: auto; right: -200px; top: 120px; margin-top: 0; width: 380px; height: 380px; } }
@media (prefers-reduced-motion: reduce) { .split-section--rim::before { animation: none; } }

/* Über uns: Standortfoto mit Markierungen, Werte, point-S-Kasten */
.showcase { position: relative; margin: 0 0 clamp(36px, 5vw, 60px); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); }
.showcase__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.6s var(--ease); }
.js .showcase:not(.is-visible) .showcase__img { transform: scale(1.04); }
.showcase__pins { list-style: none; margin: 0; padding: 0; }
.showcase__pins li {
  position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 8px;
  transition: opacity .5s var(--ease) var(--d), transform .5s var(--ease) var(--d);
}
.js .showcase:not(.is-visible) .showcase__pins li { opacity: 0; transform: translateY(8px); }
.showcase__dot { position: relative; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--acc-green); border: 3px solid #fff; box-shadow: 0 2px 8px rgb(0 0 0 / 35%); }
.showcase__dot::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 80%); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.showcase__label { padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 94%); color: var(--ink); font-size: .875rem; font-weight: 700; box-shadow: var(--shadow-md); white-space: nowrap; }
.showcase__caption {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 48px 24px 20px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgb(0 30 60 / 75%));
}
.showcase__caption .ico { width: 20px; height: 20px; }
.showcase__route { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.showcase__route:hover { color: #fff; text-decoration-thickness: 2px; }
@media (max-width: 759px) {
  .showcase__pins { display: none; }
  .showcase__img { aspect-ratio: 4 / 3; }
  .showcase__caption { position: static; padding: 14px 16px; background: var(--blue-700); }
}
@media (prefers-reduced-motion: reduce) {
  .js .showcase .showcase__img, .js .showcase .showcase__pins li { opacity: 1; transform: none; transition: none; }
  .showcase__dot::after { animation: none; }
}
.split--top { align-items: start; }
/* Über uns: Teamfoto im letzten Drittel neben der Überschrift, über der dritten Spalte */
.areas-head { display: grid; gap: 24px; }
.areas-head .section-head { margin-bottom: 0; }
.areas-head__photo { margin: 0; }
.areas-head__photo .split__img { aspect-ratio: 3 / 2; box-shadow: var(--shadow-md); }
@media (min-width: 860px) {
  .areas-head { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 3vw, 44px); align-items: end; }
}
.values-title { font-size: 1.3rem; margin-bottom: 18px; }
.points-panel { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.points-panel img { width: 170px; height: auto; margin-bottom: 18px; }
.points-panel h3 { font-size: 1.3rem; }
.points-panel .checklist { margin: 16px 0 24px; }

/* Reifen & Felgen: Reifenmarken als Laufband (hält beim Zeigen an, steht bei reduzierter Bewegung) */
.brand-strip { padding-block: clamp(32px, 4.5vw, 56px); overflow: hidden; }
.brand-strip__viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-strip__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: marquee 45s linear infinite; }
.brand-strip__track li { flex: 0 0 auto; padding-inline: clamp(22px, 3vw, 44px); }
.brand-strip__track img { display: block; width: auto; height: clamp(34px, 4.2vw, 56px); }
.brand-strip + .split-section { padding-top: clamp(16px, 2.5vw, 32px); }
.brand-strip:hover .brand-strip__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .brand-strip__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 20px; }
  .brand-strip__track li[aria-hidden] { display: none; }
  .brand-strip__viewport { -webkit-mask-image: none; mask-image: none; }
}

/* Reifen & Felgen: Link-Karten im Stil der Themenkarten */
.link-cards { list-style: none; display: grid; gap: 16px; }
.link-cards .theme-card { padding-block: 22px; }

/* Offene Leistungsspalten */
.open-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: clamp(36px, 5vw, 60px); }
@media (min-width: 860px) { .open-cols { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px); } }
@media (min-width: 860px) and (max-width: 1099px) { .open-cols--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.open-col { min-width: 0; padding-top: 22px; border-top: 1px solid var(--line); }
.split-section--green .open-col { border-color: #c2d6c4; }
.open-col .open-col__kicker { margin: 0 0 12px; font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.open-col h3 { font-size: 1.3rem; }
.open-col p { color: var(--muted); font-size: 1.0625rem; }
.open-col p:last-child { margin-bottom: 0; }

/* Blaues Band */
.band-section { padding-block: clamp(40px, 5vw, 72px); }
/* Weiß an Weiß: doppelten Abstand um das blaue Band vermeiden */
.split-section:not(.split-section--tint):not(.split-section--green) + .band-section { padding-top: 0; }
.band-section + .split-section:not(.split-section--tint):not(.split-section--green) { padding-top: clamp(8px, 1.5vw, 16px); }
.blue-band {
  position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center;
  padding: clamp(28px, 4.5vw, 56px); border-radius: 18px; color: #fff; background: linear-gradient(120deg, var(--blue), var(--blue-900));
}
.blue-band > * { min-width: 0; }
@media (min-width: 960px) { .blue-band { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 104px); } }
.blue-band::after {
  content: ""; position: absolute; z-index: -1; right: -90px; bottom: -150px; width: 390px; height: 390px;
  border: 45px solid rgb(255 255 255 / 4%); border-radius: 50%; pointer-events: none;
}
.blue-band h2 { color: #fff; }
.blue-band p { color: rgb(255 255 255 / 88%); max-width: 56ch; }
.eyebrow--light { color: #fff; }
.blue-band .btn { margin-top: 8px; }
.blue-band__points { list-style: none; display: grid; }
.blue-band__points li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / 18%); font-weight: 650; }
.blue-band__points .ico { color: #a6e5ae; }
.blue-band__partner { display: flex; align-items: center; gap: 16px; margin: 24px 0 0; font-size: .9375rem; }
.blue-band__partner img { width: 150px; padding: 12px 16px; border-radius: 8px; background: #fff; }

/* Logofläche (Leasing) */
.logo-panel { margin-top: clamp(32px, 4vw, 52px); padding: clamp(20px, 3vw, 32px); border-radius: var(--radius-lg); background: var(--tint); }
.logo-panel__title { font-size: 1.0625rem; margin-bottom: 18px; }
.logo-panel .logo-grid { --gap: 12px; }
.logo-panel .logo-tile { padding: 12px 14px; }
.logo-panel .logo-tile img { max-width: 190px; }
.logo-panel__note { margin: 18px 0 0; color: var(--muted); font-size: .875rem; text-align: center; }
.logo-panel__call { color: var(--blue); font-weight: 600; }

/* Nummerierte Punkte */
.num-list { list-style: none; display: grid; gap: 18px; margin: 24px 0; }
.num-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; align-items: start; }
.num-list__no { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--blue); font-size: .875rem; font-weight: 750; }
.num-list--green .num-list__no { background: #dcebd9; color: var(--green-700); }
.num-list h3 { font-size: 1.125rem; margin: 5px 0 4px; }
.num-list p { margin: 0; color: var(--muted); font-size: 1rem; }

/* -------------------------------------------------------------------- Druck */
@media print {
  .topbar, .site-header, .mobile-bar, .cta-band, .jump { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Feinschliff */
.header-actions .btn { white-space: nowrap; }
.hours dd { white-space: nowrap; }

@media (min-width: 1360px) { .hero .contact-card { padding: 28px 24px; } }
.hours--card div { grid-template-columns: 3.6em 1fr; gap: 10px; }
.main-nav__link { white-space: nowrap; }
@media (min-width: 1180px) and (max-width: 1339px) {
  .main-nav__link { padding: 0 9px; font-size: 1rem; }
  .main-nav__link::after { left: 9px; right: 9px; }
}

/* Robustheit: Grid-Elemente dürfen schmaler als ihr Inhalt werden (Safari/WebKit) */
.hero__grid > *, .quick__list > *, .topic-grid > *, .svc-grid > *, .trust__grid > *, .pillars > *, .trust__cards > *,
.page-hero__inner > *, .steps > *, .faq-grid > *, .contact-grid > *,
.site-footer__grid > *, .cta-band__inner > * { min-width: 0; }

/* ============================== Footer mit Foto-Band (gewählt: Vorschlag B, v5) */
.site-footer--foto { border-top: 0; background: #eef4fb; }
.site-footer--foto::before { display: none; }
.site-footer--foto > .container { position: relative; }
.site-footer--foto > .container::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(135deg, rgb(7 80 155 / 5%) 0 2px, transparent 2px 18px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.site-footer--foto .site-footer__grid, .site-footer--foto .site-footer__bottom { position: relative; }
.footer-band { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.footer-band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; }
.footer-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(10 46 92 / 94%) 0%, rgb(7 80 155 / 82%) 55%, rgb(7 80 155 / 45%) 100%);
}
.footer-band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--blue) 0 55%, var(--acc-green) 55% 70%, var(--acc-gray) 70% 85%, var(--acc-orange) 85% 100%);
}
.footer-band__inner { display: grid; gap: 22px; align-items: center; padding-block: clamp(40px, 5vw, 64px); }
@media (min-width: 960px) { .footer-band__inner { grid-template-columns: minmax(0, 1fr) auto; } }
.footer-band__claim { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 .35em; color: #fff; }
.footer-band__text { margin: 0; color: rgb(255 255 255 / 88%); max-width: 52ch; }
.footer-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-band :focus-visible { outline-color: #fff; }
.site-footer--foto .footer-col__title { color: var(--blue-700); }
.site-footer--foto .footer-col { background: #fff; border-radius: 16px; padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid #dce6f2; transition: transform .3s var(--ease), box-shadow .3s; }
.site-footer--foto .footer-col:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.site-footer--foto .footer-logo { margin-bottom: 20px; }
@media (max-width: 639px) {
  .site-footer--foto .site-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .site-footer--foto .footer-col { padding: 20px; }
}
.quick__text { min-width: 0; }
.quick__title, .quick__sub { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 379px) {
  .quick__card { gap: 12px; padding: 16px; }
  .quick__icon { width: 44px; height: 44px; }
  .quick__icon .ico { width: 40px; height: 40px; }
}

/* =========================================================================
   Rechtstexte (Impressum, Datenschutz, AGB) – v7
   ========================================================================= */
.page-hero--legal { padding-bottom: clamp(28px, 3.5vw, 48px); }
.legal-section { padding-block: clamp(32px, 4.5vw, 72px); }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.legal-layout > * { min-width: 0; }
@media (min-width: 1000px) {
  .legal-layout--toc { grid-template-columns: 270px minmax(0, 1fr); gap: 40px; }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; }
}
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 52px); box-shadow: var(--shadow-sm); max-width: 920px; position: relative; overflow: hidden; }
.legal-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--blue) 0 55%, var(--acc-green) 55% 70%, var(--acc-gray) 70% 85%, var(--acc-orange) 85% 100%); }
.legal-text { font-size: 1.0625rem; line-height: 1.7; overflow-wrap: break-word; hyphens: auto; }
.legal-text h2 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 800; margin: 2.2em 0 .7em; padding-top: 1.4em; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal-text > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-text p { max-width: 75ch; }
.legal-text a { overflow-wrap: anywhere; }
.legal-address { margin: 0 0 1em; padding: 16px 20px; border-left: 4px solid var(--blue); background: var(--blue-50); border-radius: 0 var(--radius) var(--radius) 0; }
.legal-toc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; }
.legal-toc__title { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 1.4em; display: grid; gap: 4px; font-size: .9375rem; color: var(--muted); }
.legal-toc li { padding: 3px 0; line-height: 1.4; }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: var(--blue); text-decoration: underline; }
@media (max-width: 999px) { .legal-toc ol { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); column-gap: 24px; } }
/* Impressum: Angaben als Kacheln */
.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .legal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.legal-block { hyphens: manual; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--tint); }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block h2, .legal-text .legal-block h2 { font-size: 1.0625rem; margin: 0 0 .5em; padding: 0; border: 0; text-transform: none; }
.legal-block--lead { background: var(--blue-50); border-color: var(--blue-100); }
.legal-company { font-size: 1.1875rem; font-weight: 700; color: var(--ink); }
.legal-block--wide { grid-column: 1 / -1; }
.legal-source { margin: 24px 0 0; font-size: .9375rem; color: var(--muted); }
.legal-intro { font-size: 1.1875rem; line-height: 1.5; color: var(--ink); }
.legal-stand { display: inline-block; font-size: .9375rem; color: var(--muted); background: var(--tint); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; margin-bottom: 1.6em; }
.legal-note { padding: 12px 16px; border-left: 4px solid var(--acc-orange); background: #fff8ef; border-radius: 0 var(--radius) var(--radius) 0; font-weight: 600; color: var(--ink); }
.legal-list { margin: -.4em 0 1em; padding-left: 1.4em; max-width: 75ch; }
.legal-list li { margin-bottom: .25em; }
.legal-list li::marker { color: var(--blue); }
.legal-stand + h2 { margin-top: .4em; }

/* ------------------------------------------------------- Angebote & Aktionen (v14)
   Banner-Slider, Katalogvorschau und Blätteransicht. Inhalte füllt main.js aus angebote/daten/aktionen.json. */
[hidden] { display: none !important; }
.offer-head { margin-bottom: 22px; }
.offer-fallback { display: flex; gap: 10px; align-items: flex-start; max-width: 70ch; margin: 1.25rem 0 0; padding: 14px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--muted); }
.offer-fallback .ico { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.offer-fallback a { font-weight: 650; }
/* Banner der Hersteller (Originalformat 4:1) */
.promo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.promo__track { position: relative; aspect-ratio: 4 / 1; background: var(--tint); }
.promo__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s .6s; }
.promo__slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.promo__slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.promo__bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-top: 1px solid var(--line); }
.promo__btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--blue); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.promo__btn:hover { background: var(--blue-50); border-color: var(--blue); }
.promo__btn .ico { width: 18px; height: 18px; }
.promo__btn--prev .ico { transform: rotate(180deg); }
.promo__btn--pause { margin-left: 8px; }
.promo__play, .promo.is-paused .promo__pause { display: none; }
.promo.is-paused .promo__play { display: block; }
.promo__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; list-style: none; margin: 0 4px; padding: 0; }
.promo__dots button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.promo__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 99px; background: #b6c2cf; transition: width .3s var(--ease), background-color .3s; }
.promo__dots button[aria-current="true"] { width: 36px; }
.promo__dots button[aria-current="true"]::before { width: 28px; background: var(--blue); }
.promo__brands { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.promo__brands a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .875rem; font-weight: 650; text-decoration: none; color: var(--ink); }
.promo__brands a:hover { border-color: var(--blue); color: var(--blue); }
.promo__brands .ico { width: 14px; height: 14px; color: var(--muted); }
.promo__note { display: flex; gap: 8px; align-items: flex-start; font-size: .875rem; color: var(--muted); margin: 14px 0 0; }
.promo__note .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; }
/* Katalogvorschau als Heft */
.flip { display: grid; justify-items: center; gap: 34px; }
.flip__open { position: relative; display: block; width: min(320px, 72%); padding: 0; border: 0; background: none; cursor: pointer; border-radius: 6px; }
.flip__cover { position: relative; z-index: 2; display: block; width: 100%; height: auto; border-radius: 6px; background: #fff; box-shadow: 0 30px 50px -24px rgb(16 35 63 / 55%), 0 2px 6px rgb(16 35 63 / 15%); transform: perspective(1200px) rotateY(-9deg); transform-origin: left center; transition: transform .5s var(--ease); }
.flip__open:hover .flip__cover, .flip__open:focus-visible .flip__cover { transform: perspective(1200px) rotateY(-3deg); }
.flip__stack { position: absolute; inset: 6px -10px -6px 10px; z-index: 1; background: #fff; border-radius: 6px; box-shadow: 4px 4px 0 #e7ecf2, 8px 8px 0 #dfe5ec; }
.flip__hint { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-md); }
.flip__hint .ico { width: 18px; height: 18px; }
.flip__thumbs { display: flex; gap: 10px; align-items: center; }
.flip__thumbs img { width: 54px; height: auto; border-radius: 3px; box-shadow: var(--shadow-sm); background: #fff; }
.flip__thumbs span { font-weight: 700; color: var(--muted); font-size: .875rem; }
.flip__meta { font-size: .875rem; color: var(--muted); margin: 10px 0 0; }
.split .btn-row[data-book-actions] { margin-top: 1.25rem; }
/* Blätteransicht: Pfeile fest links und rechts, Seiten passen sich Breite und Höhe an (kein Verschieben) */
.viewer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: #0b1a2e; color: #fff; }
.viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.viewer::backdrop { background: #0b1a2e; }
.viewer :focus-visible { outline-color: #fff; }
.viewer__top { display: flex; align-items: center; gap: 12px 18px; padding: 14px 24px; }
.viewer__title { font-size: 1.0625rem; margin: 0; color: #fff; }
.viewer__count { margin: 0 auto 0 0; color: #b9c6d6; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.viewer__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.viewer__close .ico { width: 28px; height: 28px; }
.viewer__stage { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 20px; min-height: 0; padding: 0 20px; touch-action: pan-y pinch-zoom; }
.viewer__spread { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; min-width: 0; min-height: 0; perspective: 4000px; }
.viewer__page { width: auto; height: auto; max-width: 100%; max-height: 100%; background: #fff; box-shadow: 0 30px 60px rgb(0 0 0 / 50%); }
.viewer__page:nth-of-type(2), .viewer__page:first-of-type:not(:last-of-type) { max-width: 50%; }
.viewer__page + .viewer__page { border-left: 1px solid #d5dbe2; }
/* Umblättern: Blatt mit Vorder- und Rückseite, dreht sich um den Falz */
.viewer__under, .viewer__leaf { position: absolute; z-index: 1; }
.viewer__under { background: #fff; }
.viewer__leaf { z-index: 2; transform-style: preserve-3d; }
.viewer__leaf--next { transform-origin: left center; }
.viewer__leaf--prev { transform-origin: right center; }
.viewer__face { position: absolute; inset: 0; width: 100%; height: 100%; background: #fff; backface-visibility: hidden; box-shadow: 0 20px 50px rgb(0 0 0 / 35%); }
.viewer__face--back { transform: rotateY(180deg); }
.viewer__nav { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--blue); cursor: pointer; }
.viewer__nav:disabled { opacity: .3; cursor: default; }
.viewer__nav--prev { grid-column: 1; grid-row: 1; }
.viewer__nav--next { grid-column: 3; grid-row: 1; }
.viewer__spread { grid-column: 2; grid-row: 1; }
.viewer__nav--prev .ico { transform: rotate(180deg); }
.viewer__thumbs { position: relative; display: flex; gap: 8px; padding: 14px; overflow-x: auto; scrollbar-width: thin; }
.viewer__thumbs::before, .viewer__thumbs::after { content: ""; margin: auto; }
.viewer__thumbs button { flex: none; padding: 0; border: 2px solid transparent; border-radius: 3px; background: none; opacity: .55; cursor: pointer; }
.viewer__thumbs button[aria-current="true"] { opacity: 1; border-color: #fff; }
.viewer__thumbs img { display: block; height: 64px; width: auto; }
@media (max-width: 759px) {
  .promo__bar { gap: 6px; padding: 10px 6px; }
  .promo__btn { width: 36px; height: 36px; }
  .promo__btn--pause { margin-left: 2px; }
  .promo__dots button { width: 18px; }
  .promo__dots button[aria-current="true"] { width: 26px; }
  .promo__dots button[aria-current="true"]::before { width: 18px; }
  .promo__brands { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .promo__brands li { flex: none; }
  .viewer__top { padding: 10px 12px; gap: 8px 12px; }
  .viewer__title { font-size: .9375rem; }
  .viewer__count { font-size: .875rem; }
  .viewer__stage { position: relative; grid-template-columns: minmax(0, 1fr); padding: 0 10px; }
  .viewer__spread { grid-column: 1; }
  .viewer__nav { position: absolute; z-index: 2; top: 50%; width: 42px; height: 42px; margin-top: -21px; box-shadow: var(--shadow-md); }
  .viewer__nav--prev { left: 6px; }
  .viewer__nav--next { right: 6px; }
  .viewer__thumbs img { height: 52px; }
}
