/* =================================================================
   Frontend – helles, sachliches Fahrzeugportal
   Klare Linien, weiße Flächen, gute Lesbarkeit, große Klickflächen.
   Alle Farben kommen aus dem Admin (CSS-Variablen im <head>).
   ================================================================= */

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

:root {
  --fg-soft: color-mix(in srgb, var(--fg) 78%, var(--bg));
  --line-soft: color-mix(in srgb, var(--line) 55%, var(--surface));
  --accent-soft: color-mix(in srgb, var(--accent) 8%, var(--surface));
  --accent-dark: color-mix(in srgb, var(--accent) 82%, #000);
  --shadow-sm: 0 1px 2px rgba(20, 25, 32, .06);
  --shadow: 0 1px 3px rgba(20, 25, 32, .08), 0 6px 20px -12px rgba(20, 25, 32, .25);
  --ok: #1c7c46;
  --shell: min(1280px, 100% - 2.5rem);
  --pad: clamp(2.25rem, 1.5rem + 3vw, 4rem);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h2 { font-size: clamp(1.25rem, 1.05rem + .9vw, 1.7rem); }
h3 { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); }
p { margin: 0 0 1em; }

.shell { width: var(--shell); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: .75rem 1.25rem; }
.skip:focus { left: 0; }
.muted { color: var(--muted); }
.lead { color: var(--fg-soft); font-size: 1.05rem; max-width: 65ch; }
.eyebrow { font-size: .8rem; font-weight: 600; color: var(--accent); margin: 0 0 .5rem; }

/* ---------------- Kopfzeile ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 90; background: var(--surface);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.topbar__inner { width: var(--shell); margin-inline: auto; display: flex; align-items: center; gap: 1.25rem; min-height: 66px; }
.topbar__logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--fg); margin-right: auto; }
.topbar__logo img { max-height: 42px; width: auto; }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; white-space: nowrap; }
.wordmark span { display: block; font-size: .7rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.mainnav { display: flex; align-items: center; gap: 1.5rem; }
.mainnav a { color: var(--fg); text-decoration: none; font-size: .95rem; font-weight: 500; padding: .5rem 0; position: relative; }
.mainnav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--accent); transition: right .2s ease; }
.mainnav a:hover { color: var(--accent); }
.mainnav a:hover::after { right: 0; }
@media (max-width: 900px) { .mainnav { display: none; } }

.topbar__call { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; color: var(--fg); text-decoration: none; white-space: nowrap; }
.topbar__call:hover { color: var(--accent); }
@media (max-width: 620px) { .topbar__call span { display: none; } }

.partners { display: flex; align-items: center; gap: 1.25rem; }
.partners img { max-height: 22px; width: auto; opacity: .65; }
.partners a:hover img { opacity: 1; }
@media (max-width: 1150px) { .partners { display: none; } }

.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--fg); cursor: pointer; place-content: center; gap: 4px; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
@media (max-width: 900px) { .burger { display: grid; } }

/* Mobiles Menü */
.offcanvas {
  position: fixed; inset: 0; z-index: 120; background: var(--surface);
  transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  display: flex; flex-direction: column; padding: 1.25rem 0 2rem;
}
.offcanvas.open { transform: translateX(0); }
.offcanvas__top { width: var(--shell); margin-inline: auto; display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.offcanvas__close { width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--fg); font-size: 1.1rem; cursor: pointer; }
.offcanvas__body { width: var(--shell); margin-inline: auto; padding-top: 1rem; }
.offcanvas__nav { list-style: none; margin: 0; padding: 0; }
.offcanvas__nav a { display: block; padding: .95rem 0; border-bottom: 1px solid var(--line-soft); color: var(--fg); text-decoration: none; font-size: 1.05rem; font-weight: 600; }
.offcanvas__nav a:hover { color: var(--accent); }
.offcanvas__brands { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.offcanvas__brands a {
  display: inline-block; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 100px;
  font-size: .85rem; color: var(--fg-soft); text-decoration: none;
}
.offcanvas__brands a:hover { border-color: var(--accent); color: var(--accent); }
.offcanvas__foot { width: var(--shell); margin-inline: auto; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; font-size: .92rem; color: var(--muted); }
.offcanvas__foot a { color: var(--fg); text-decoration: none; font-weight: 500; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; min-height: 46px; border: 1px solid var(--accent); border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { background: var(--surface); color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.btn--block { width: 100%; }
.btn--sm { padding: .5rem 1rem; min-height: 38px; font-size: .87rem; }
.btn--lg { padding: .95rem 1.8rem; min-height: 52px; font-size: 1rem; }

/* ---------------- Formularelemente ---------------- */
select, input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=search], input[type=password], textarea {
  width: 100%; padding: .7rem .85rem; min-height: 46px; font: inherit; font-size: .95rem;
  color: var(--fg); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 54%, calc(100% - 14px) 54%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; cursor: pointer;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { min-height: 140px; resize: vertical; }
label { font-size: .85rem; font-weight: 600; color: var(--fg); display: block; margin-bottom: .35rem; }
.field { margin-bottom: 1rem; }
.field small { display: block; color: var(--muted); font-size: .8rem; margin-top: .25rem; }
.checkline { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--fg-soft); margin-bottom: 1.25rem; }
.checkline input { margin-top: .3rem; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.checkline label { font-weight: 400; margin: 0; font-size: .88rem; }

/* ---------------- Startseite ---------------- */
.hero { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, color-mix(in srgb, var(--surface) 94%, transparent) 0%,
              color-mix(in srgb, var(--surface) 88%, transparent) 45%, color-mix(in srgb, var(--surface) 45%, transparent) 100%);
}
.hero__inner { position: relative; width: var(--shell); margin-inline: auto; padding: clamp(2.25rem, 1.5rem + 3vw, 3.75rem) 0; }
.hero h1 { max-width: 20ch; margin-bottom: .4em; }
.hero__sub { max-width: 52ch; color: var(--fg-soft); font-size: 1.05rem; margin-bottom: 1.75rem; }

.searchbox {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.25rem; max-width: 900px;
}
.searchbox__grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); align-items: end; }
.searchbox__actions { display: flex; gap: .6rem; }
.searchbox__actions .btn { flex: 1; }
.searchbox__hint { margin: .9rem 0 0; font-size: .85rem; color: var(--muted); }
.searchbox__hint b { color: var(--fg); }

.usps { display: grid; gap: 1px; background: var(--line); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); border-block: 1px solid var(--line); }
.usp { background: var(--surface); padding: 1.4rem 1.35rem; }
.usp b { display: block; font-weight: 700; margin-bottom: .25rem; }
.usp span { font-size: .9rem; color: var(--fg-soft); }

.section { padding: var(--pad) 0; }
.section--flush { padding-top: clamp(1.5rem, 1rem + 2vw, 2.25rem); }
.section--white { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; }
.section__head h2 { margin: 0; }
.section__head p { margin: 0; color: var(--fg-soft); max-width: 62ch; }
.section__link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.section__link:hover { text-decoration: underline; }

/* Markenleiste */
.brandbar { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.brandtile {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .9rem 1.1rem; text-decoration: none; color: var(--fg); font-weight: 600; font-size: .95rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.brandtile:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.brandtile em { font-style: normal; color: var(--muted); font-weight: 500; font-size: .85rem; }

/* ---------------- Filterleiste ---------------- */
.filterbar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.25rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm);
}
.filterbar__row { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); align-items: end; }
.filterbar__actions { display: flex; gap: .6rem; }
.filterbar__actions .btn { flex: 1; }
.filterbar__more { margin-top: 1rem; border-top: 1px solid var(--line-soft); padding-top: 1rem; }
.filterbar__more > summary {
  cursor: pointer; list-style: none; font-size: .9rem; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: .4rem;
}
.filterbar__more > summary::-webkit-details-marker { display: none; }
.filterbar__more > summary::after { content: "▾"; font-size: .8rem; }
.filterbar__more[open] > summary::after { content: "▴"; }
.filterbar__grid { display: grid; gap: .85rem; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); margin-top: 1rem; }

.resultbar {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.resultbar__count { margin: 0; font-size: 1rem; }
.resultbar__count b { font-weight: 700; }

/* ---------------- Fahrzeugliste (Zeilenlayout) ---------------- */
.results { display: grid; gap: .9rem; }
.vcard {
  position: relative; display: grid; grid-template-columns: 300px 1fr 230px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease;
}
.vcard:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: var(--shadow); }
@media (max-width: 1000px) { .vcard { grid-template-columns: 240px 1fr; } }
@media (max-width: 700px)  { .vcard { grid-template-columns: 1fr; } }

.vcard__media { position: relative; background: var(--bg); }
.vcard__media img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; }
@media (min-width: 701px) { .vcard__media img { position: absolute; inset: 0; } }
@media (max-width: 700px) { .vcard__media img { aspect-ratio: 3/2; height: auto; } }
.vcard__count {
  position: absolute; left: .6rem; bottom: .6rem; padding: .2rem .55rem; border-radius: 3px;
  background: rgba(15, 20, 26, .72); color: #fff; font-size: .74rem; font-weight: 600;
}
.vcard__flag {
  position: absolute; top: .6rem; left: .6rem; padding: .25rem .6rem; border-radius: 3px;
  background: var(--accent); color: var(--accent-ink); font-size: .74rem; font-weight: 700;
}

.vcard__main { padding: 1.1rem 1.25rem; min-width: 0; }
.vcard__brand { font-size: .82rem; color: var(--muted); margin: 0 0 .2rem; }
.vcard__title { font-size: 1.15rem; margin: 0 0 .6rem; line-height: 1.3; }
.vcard__title a { color: var(--fg); text-decoration: none; }
.vcard__title a:hover { color: var(--accent); }
.vcard__title a::after { content: ""; position: absolute; inset: 0; }

.vcard__facts { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin: 0 0 .75rem; padding: 0; list-style: none; }
.vcard__facts li {
  background: var(--bg); border: 1px solid var(--line-soft); border-radius: 100px;
  padding: .22rem .7rem; font-size: .83rem; color: var(--fg-soft);
}
.vcard__eco { margin: 0; font-size: .8rem; color: var(--muted); line-height: 1.55; overflow-wrap: anywhere; }
.vcard__eco span::after { content: " · "; }
.vcard__eco span:last-child::after { content: ""; }

.vcard__side {
  padding: 1.1rem 1.25rem; border-left: 1px solid var(--line-soft);
  display: flex; flex-direction: column; justify-content: center; gap: .15rem; text-align: right;
}
@media (max-width: 1000px) {
  .vcard__side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line-soft);
    flex-direction: row; align-items: center; justify-content: space-between; text-align: left; flex-wrap: wrap; }
}
.vcard__price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.vcard__vat { font-size: .78rem; color: var(--muted); margin: 0; line-height: 1.45; }
.vcard__cta { margin-top: .85rem; }
@media (max-width: 1000px) { .vcard__cta { margin-top: 0; } }
.vcard__cta .btn { width: 100%; }
@media (max-width: 1000px) { .vcard__cta .btn { width: auto; } }
@media (max-width: 460px) { .vcard__side { flex-direction: column; align-items: stretch; } .vcard__cta .btn { width: 100%; } }

.empty {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 3rem 1.5rem; text-align: center; color: var(--fg-soft);
}

/* ---------------- Seitenblättern ---------------- */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 2rem; }
.pager a, .pager span {
  min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 .85rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--fg); font-size: .95rem; font-weight: 600; text-decoration: none;
}
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager .is-current { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pager .gap { border: 0; background: none; color: var(--muted); min-width: auto; padding: 0 .25rem; }

/* ---------------- Brotkrumen ---------------- */
.crumbs { font-size: .85rem; color: var(--muted); padding: 1rem 0 .25rem; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs i { font-style: normal; margin: 0 .45rem; }

/* ---------------- Fahrzeugdetail ---------------- */
.detail { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: start; padding-bottom: var(--pad); }
@media (min-width: 1000px) { .detail { grid-template-columns: 1fr 350px; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.25rem; }
.panel > h2 { font-size: 1.15rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line); margin-bottom: 1.1rem; }
.panel--flush { padding: 0; overflow: hidden; }

.detail__title { margin: 0 0 .35rem; }
.detail__meta { display: flex; flex-wrap: wrap; gap: .4rem .5rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.detail__meta li { background: var(--bg); border: 1px solid var(--line-soft); border-radius: 100px; padding: .25rem .8rem; font-size: .87rem; color: var(--fg-soft); }

.stage { position: relative; background: #10141a; }
.stage img { width: 100%; aspect-ratio: 3/2; object-fit: cover; cursor: zoom-in; }
.stage__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px;
  background: rgba(255,255,255,.92); border: 0; border-radius: 50%; color: #1b1f24;
  cursor: pointer; font-size: 1.05rem; display: grid; place-content: center; box-shadow: var(--shadow-sm);
}
.stage__nav:hover { background: #fff; }
.stage__nav--prev { left: .85rem; }
.stage__nav--next { right: .85rem; }
.stage__counter {
  position: absolute; right: .85rem; bottom: .85rem; padding: .25rem .7rem; border-radius: 3px;
  background: rgba(15,20,26,.72); color: #fff; font-size: .8rem; font-weight: 600;
}
.filmstrip { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .45rem; padding: .75rem; }
.filmstrip button { padding: 0; border: 2px solid transparent; border-radius: 4px; background: none; cursor: pointer; overflow: hidden; }
.filmstrip button[aria-current="true"] { border-color: var(--accent); }
.filmstrip img { aspect-ratio: 3/2; object-fit: cover; width: 100%; }

.specs { display: grid; gap: 0; }
@media (min-width: 620px) { .specs { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }
.specs div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line-soft); font-size: .93rem; }
.specs dt { color: var(--muted); margin: 0; }
.specs dd { margin: 0; text-align: right; font-weight: 500; }

.equip { columns: 2; column-gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 620px) { .equip { columns: 1; } }
.equip li { break-inside: avoid; position: relative; padding: .35rem 0 .35rem 1.5rem; font-size: .93rem; color: var(--fg-soft); }
.equip li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

.copy p { color: var(--fg-soft); }
.copy h3 { margin-top: 1.75rem; }
.copy ul { padding-left: 0; list-style: none; }
.copy li { position: relative; padding-left: 1.5rem; margin-bottom: .45rem; color: var(--fg-soft); }
.copy li::before { content: "•"; position: absolute; left: .35rem; color: var(--accent); font-weight: 700; }

.aside { position: sticky; top: 86px; }
.pricebox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.pricebox__price { font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.pricebox__vat { font-size: .85rem; color: var(--muted); margin: .2rem 0 1.1rem; line-height: 1.5; }
.pricebox .btn { width: 100%; margin-bottom: .55rem; }
.pricebox__status { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--ok); margin-bottom: .6rem; }
.pricebox__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }

.contactline {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; color: var(--fg); font-size: .93rem;
}
.contactline:last-of-type { border-bottom: 0; }
.contactline span { color: var(--muted); font-size: .82rem; }
.contactline b { font-weight: 600; }
.contactline:hover b { color: var(--accent); }
.eco-note { font-size: .82rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(12, 16, 21, .93); display: none; place-items: center; padding: clamp(1rem, 3vw, 3rem); }
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.92); border: 0; border-radius: 50%; color: #1b1f24;
  width: 46px; height: 46px; cursor: pointer; font-size: 1.1rem;
}
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 1.25rem; }
.lightbox__nav--next { right: 1.25rem; }
.lightbox__close:hover, .lightbox__nav:hover { background: #fff; }

/* ---------------- Meldungen ---------------- */
.notice { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.25rem; font-size: .93rem;
  background: color-mix(in srgb, var(--ok) 10%, var(--surface)); border: 1px solid var(--ok); color: #14603a; }
.notice--err { background: color-mix(in srgb, #c62828 8%, var(--surface)); border-color: #c62828; color: #a01d1d; }

/* ---------------- Kontakt / Seiten ---------------- */
.contact-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.05fr .95fr; } }
.map { width: 100%; aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: var(--radius); }
.page-body { max-width: 78ch; }
.page-body h2 { font-size: 1.25rem; margin-top: 2rem; }
.page-body h2:first-child { margin-top: 0; }
.page-body p, .page-body li { color: var(--fg-soft); }

/* ---------------- Fußzeile ---------------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: var(--pad) 0 1.5rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer h2 { font-size: .95rem; margin-bottom: 1rem; }
.footer address { font-style: normal; line-height: 1.8; font-size: .93rem; color: var(--fg-soft); }
.footer a { color: var(--fg-soft); text-decoration: none; }
.footer a:hover { color: var(--accent); text-decoration: underline; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .93rem; }
.footer__hours { font-size: .9rem; color: var(--fg-soft); display: grid; gap: .3rem; }
.footer__hours div { display: flex; justify-content: space-between; gap: 1rem; max-width: 230px; }
.footer__hours dt { color: var(--muted); }
.footer__note { font-size: .9rem; color: var(--fg-soft); }
.footer__people { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .6rem; }
.footer__people a { display: flex; flex-direction: column; font-size: .93rem; color: var(--fg); font-weight: 600; }
.footer__people small { color: var(--muted); font-size: .78rem; font-weight: 400; }
.social { display: flex; gap: 1rem; margin-top: 1rem; font-size: .9rem; }
.footer__base {
  border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; justify-content: space-between; font-size: .85rem; color: var(--muted);
}
.footer__base ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
.footer__base p { margin: 0; }
