/* Balzer Gruppe – Landing-Page */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-wdth.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --rot: #e52d2f;
  --rot-tief: #b81c1f;
  --rot-text: #c8282a;
  --tinte: #1c1c1e;
  --text-2: #5a5a60;
  --stein: #8a8a8c;
  --linie: #e4e2dd;
  --flaeche: #f5f4f1;
  --weiss: #fff;
  /* Unternehmensfarben */
  --f-a: #e52d2f;
  --f-b: #1c1c1e;
  --f-c: #8a8a8c;
  --max: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --kopf-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; color: var(--tinte); background: var(--weiss); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 78%; line-height: .95; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tinte); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }

/* Firmen-Farbcodes */
.f-a { --f: var(--f-a); }
.f-b { --f: var(--f-b); }
.f-c { --f: var(--f-c); }

/* Header – weiß */
.kopf { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--linie); }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--kopf-h); }
.kopf .logo img { height: 44px; width: auto; }
.kopf nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); font-size: .95rem; font-weight: 600; }
.kopf nav a { text-decoration: none; }
.kopf nav a:not(.cta):hover { color: var(--rot); }
.kopf .cta { background: var(--rot-text); color: #fff; padding: .7em 1.1em; transition: background .15s; }
.kopf .cta:hover { background: var(--rot-tief); }
.kopf .cta-kurz { display: none; }

/* Aktuelle Angebote – Einstieg und Fokus der Seite */
.angebote { padding: clamp(28px, 3.5vw, 48px) 0 clamp(56px, 8vw, 104px); }
.angebote-kopf { display: grid; gap: 12px 64px; align-items: end; margin-bottom: clamp(22px, 3vw, 36px); }
@media (min-width: 1000px) { .angebote-kopf { grid-template-columns: 7fr 4fr; } }
.angebote h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); text-transform: uppercase; }
.angebote h1 span { color: var(--rot); }
.angebote-kopf p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text-2); max-width: 40ch; margin: 0; }

.firmen { display: grid; gap: clamp(14px, 1.6vw, 24px); grid-template-columns: 1fr; }
@media (min-width: 900px) { .firmen { grid-template-columns: repeat(3, 1fr); } }
.firma {
  position: relative; display: flex; flex-direction: column; color: var(--tinte);
  background: #fff; border: 1px solid var(--linie); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.firma:hover, .firma:focus-within { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.35); }
.firma-bild { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--flaeche); }
.firma-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.firma:hover .firma-bild img { transform: scale(1.04); }
.firma-bild::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--f); }
.firma-bild.platzhalter { display: grid; place-items: center; background: var(--flaeche); }
.firma-bild.platzhalter img { width: 34%; height: auto; transform: none !important; }

.firma-text { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 0; }
.firma-sitz { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin: 0; }
.firma h2 { font-size: clamp(2rem, 3vw, 2.6rem); text-transform: uppercase; margin: 8px 0 14px; }
.firma-beschr { color: var(--text-2); font-size: .98rem; margin: 0 0 14px; }
.firma-orte { font-size: .88rem; font-weight: 600; margin: 0 0 20px; }
.firma-cta {
  margin: auto -26px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 26px; background: var(--rot-text); color: #fff; font-weight: 700; font-size: 1.02rem;
  text-decoration: none; transition: background .2s;
}
.firma-cta::after { content: ""; position: absolute; inset: 0; }   /* ganze Kachel klickbar */
.firma-cta .pfeil { font-size: 1.25rem; line-height: 1; transition: transform .2s; }
.firma:hover .firma-cta, .firma-cta:hover { background: var(--rot-tief); }
.firma:hover .firma-cta .pfeil { transform: translate(3px, -3px); }
.firma-cta:focus-visible { outline: 3px solid var(--tinte); outline-offset: -6px; }
.firma:focus-within { outline: 3px solid var(--rot); outline-offset: 3px; }

/* Standorte: Karte + Liste */
.standorte { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.standorte-grid { display: grid; grid-template-columns: 1fr; }
.karte-box { padding: 24px 0 8px; }
.karte-rahmen { background: #ebe9e3; overflow: hidden; border: 1px solid var(--linie); }
@media (min-width: 1000px) {
  .standorte-grid { grid-template-columns: minmax(0, 1fr) minmax(380px, 460px); align-items: start; }
  .karte-box { position: sticky; top: var(--kopf-h); padding: 24px 36px 24px 0; }
  .karte-rahmen { aspect-ratio: 1000 / 734; max-height: calc(100vh - var(--kopf-h) - 190px); max-width: 100%; margin: 0 auto 0 0; }
  .karte-rahmen .karte { width: 100%; height: 100%; }
  .orte { border-left: 1px solid var(--linie); }
}

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filter button {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--linie); padding: .7em 1.05em; min-height: 44px; font-size: .9rem; font-weight: 600; cursor: pointer;
}
.filter button i { width: 10px; height: 10px; background: var(--f); }
.filter button i.f-a { border-radius: 50%; }
.filter button i.f-c { transform: rotate(45deg) scale(1.05); }
.filter button:hover { border-color: var(--tinte); }
.filter button.aktiv { background: var(--tinte); border-color: var(--tinte); color: #fff; }

.karte { width: 100%; height: auto; display: block; }
.karte .land { fill: #ebe9e3; stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.karte .land.hessen { fill: #fff; stroke: #c9c5bb; stroke-width: 2; }
.karte .landname { font: 600 13px var(--sans); letter-spacing: .25em; fill: #b3afa5; }
.karte .stadt circle { fill: #fff; stroke: #9a968c; stroke-width: 2; }
.karte .stadt text { font: italic 500 17px var(--sans); fill: #8c887e; }
.karte .pin { cursor: pointer; }
.karte .pin .dot { fill: var(--f); stroke: #fff; stroke-width: 3; transition: r .15s, transform .15s; transform-box: fill-box; transform-origin: center; }
.karte .pin .hit { fill: transparent; }
.karte .pin .halo { fill: var(--f); opacity: 0; transition: opacity .15s; }
.karte .pin text { font: 700 19px var(--sans); fill: var(--tinte); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.karte .pin:hover .halo, .karte .pin.hl .halo { opacity: .18; }
.karte .pin:hover circle.dot, .karte .pin.hl circle.dot { r: 12; }
.karte .pin:hover .dot:not(circle), .karte .pin.hl .dot:not(circle) { transform: scale(1.3); }
.karte .pin:focus, .karte .pin:focus-visible { outline: none; }
.karte .pin .zus { font-weight: 500; fill: var(--text-2); }
.karte .pin.aus { display: none; }

.orte { list-style: none; margin: 0; padding: 0; background: #fff; }
.ort {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 20px;
  padding: 22px clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--linie);
  position: relative; transition: background .15s;
}
.ort::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--f); transform: scaleY(0); transition: transform .2s; }
.ort.hl, .ort:hover { background: #fbfaf8; }
.ort.hl::before, .ort:hover::before, .ort:target::before { transform: scaleY(1); }
.ort.aus { display: none; }
.ort-kopf { grid-column: 1 / -1; }
.marke-tag { display: inline-flex; align-items: center; gap: 7px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.marke-tag::before { content: ""; width: 9px; height: 9px; background: var(--f); }
.marke-tag.f-a::before, .f-a .marke-tag::before { border-radius: 50%; }
.f-c .marke-tag::before { transform: rotate(45deg); }
.ort h3 { font-size: 1.75rem; margin: 6px 0 4px; }
.ort .art { font-size: .9rem; color: var(--text-2); margin: 0; }
.ort-daten { font-size: .95rem; }
.ort-daten p { margin: 0 0 4px; }
.ort-daten .zeiten { color: var(--text-2); font-size: .88rem; }
.ort-aktion { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; align-self: end; }
.ort-aktion a { font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; min-height: 36px; }
.ort-aktion .tel { padding-left: 22px; background: no-repeat left center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1c1e' stroke-width='2.2'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.ort-aktion .route { border: 1.5px solid var(--tinte); padding: 0 .9em; }
.ort-aktion .route::after { content: " →"; }
.ort-aktion a:hover { color: var(--rot); border-color: var(--rot); }


/* Kopfzeile über Standorten */
.kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 6px 32px; padding-top: 12px; margin-bottom: 18px; }
.kopfzeile h2 { font-size: clamp(2rem, 3.4vw, 3rem); text-transform: uppercase; }
.kopfzeile h2 span { color: var(--rot); }
.kopfzeile p { color: var(--text-2); margin: 0; max-width: 44ch; font-size: .95rem; }
/* Über die Gruppe */
.gruppe { padding: clamp(64px, 9vw, 120px) 0; }
.gruppe-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .gruppe-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.gruppe figure { margin: 0; }
.gruppe figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gruppe h2 { font-size: .85rem; font-stretch: 100%; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rot-tief); margin-bottom: 18px; }
.gruppe p { color: var(--text-2); }
.gruppe .gross { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; font-weight: 700; font-stretch: 85%; color: var(--tinte); }
.sortiment-titel { font-size: .85rem; font-stretch: 100%; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tinte); margin: 28px 0 12px; line-height: 1.2; }
.sortiment { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0 28px; }
@media (min-width: 560px) { .sortiment { grid-template-columns: 1fr 1fr; } }
.sortiment li { padding: 10px 0 10px 22px; border-top: 1px solid var(--linie); font-size: .95rem; position: relative; }
.sortiment li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; background: var(--rot); }

/* Footer */
.fuss { background: var(--tinte); color: #c9c9ce; padding: 36px 0; font-size: .92rem; }
.fuss .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; }
.fuss-zeile { display: contents; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fuss nav { display: flex; gap: 8px; }
.fuss nav a { padding: 12px 10px; }

/* Rechtstexte */
.legal { padding: clamp(48px, 8vw, 96px) 0; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); text-transform: uppercase; margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; margin: 2.2em 0 .6em; }
.legal p { color: var(--text-2); }
.legal a { color: var(--rot-tief); }
.hinweis { background: var(--flaeche); border-left: 4px solid var(--rot); padding: 14px 18px; margin-bottom: 32px; }

@media (max-width: 760px) {
  :root { --kopf-h: 62px; }
  .kopf .logo img { height: 34px; }
  .kopf nav { gap: 8px; }
  .kopf nav a.n-gr, .kopf nav a.cta-ang { display: none; }
  .kopf nav a.n-st { background: var(--rot-text); color: #fff; padding: .7em 1.1em; }
  .karte .pin text { font-size: 38px; stroke-width: 9px; }
  .karte .pin .zus { display: none; }
  .karte .pin circle.dot { r: 15; }
  .karte .pin .dot:not(circle) { transform: scale(1.7); }
  
  .karte .pin:hover circle.dot, .karte .pin.hl circle.dot { r: 18; }
  .karte .pin:hover .dot:not(circle), .karte .pin.hl .dot:not(circle) { transform: scale(2); }

  /* Angebote: kompakte Auswahl, alle drei Händler auf dem ersten Bildschirm */
  .angebote { padding-top: 20px; }
  .angebote h1 { font-size: 2.3rem; }
  .angebote-kopf { margin-bottom: 18px; }
  .angebote-kopf p { font-size: 1rem; }
  .firmen { gap: 10px; }
  .firma { display: grid; grid-template-columns: 112px 1fr; }
  .firma-bild { aspect-ratio: auto; height: 100%; min-height: 108px; }
  .firma-bild img { position: absolute; inset: 0; }
  .firma-bild.platzhalter img { position: static; width: 46%; }
  .firma-text { padding: 12px 14px 12px; }
  .firma h2 { font-size: 1.45rem; margin: 4px 0 8px; }
  .firma-beschr, .firma-orte { display: none; }
  .firma-cta { margin: 0; padding: 0 12px; min-height: 40px; font-size: .88rem; }
  .karte .stadt { display: none; }
  .karte .landname { display: none; }
  .karte-box { margin: 0 calc(var(--gutter) * -1); padding: 20px var(--gutter) 0; }
  .orte { margin: 0 calc(var(--gutter) * -1); }
  .ort { grid-template-columns: 1fr; }
  .ort-aktion { flex-direction: row; align-items: stretch; gap: 10px; margin-top: 12px; }
  .ort-aktion a { flex: 1; justify-content: center; min-height: 48px; border: 1.5px solid var(--tinte); padding: 0 .9em; }
  .ort-aktion .tel { background: var(--tinte); color: #fff; padding-left: .9em; background-image: none; }
  .ort-aktion .route::after { content: " →"; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
