/* 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; }

/* Hero: Claim + Karte + Leistungsversprechen */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 6vw, 72px); }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.6rem); text-transform: uppercase; max-width: 22ch; margin-bottom: clamp(24px, 3.5vw, 44px); }
.hero h1 span { color: var(--rot); }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.karte-box { margin: 0; }
.karte-rahmen { background: #ebe9e3; border: 1px solid var(--linie); overflow: hidden; }
.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 .hit { fill: transparent; }
.karte .pin .dot { fill: var(--rot); stroke: #fff; stroke-width: 3; transition: r .15s; }
.karte .pin:not(.ausst) .dot { fill: var(--tinte); }
.karte .pin .shk { fill: var(--rot); stroke: #fff; stroke-width: 1.5; }
.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 text, .karte .pin:focus-visible text { fill: var(--rot-tief); text-decoration: underline; }
.karte .pin.ausst:hover .dot, .karte .pin.ausst:focus-visible .dot { r: 16; }
.karte .pin:focus { outline: none; }
.legende { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: .88rem; color: var(--text-2); }
.legende span { display: inline-flex; align-items: center; gap: 8px; }
.legende i { display: inline-block; }
.lg-ausst { width: 16px; height: 16px; border-radius: 50%; background: var(--rot); }
.lg-std { width: 10px; height: 10px; border-radius: 50%; background: var(--tinte); }
.lg-shk { width: 22px; height: 6px; background: var(--rot); }

.versprechen { list-style: none; margin: 0; padding: 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.35; }
.versprechen li { padding: 10px 0; border-bottom: 1px solid var(--linie); color: var(--text-2); }
.versprechen li:first-child { border-top: 2px solid var(--tinte); }
.versprechen strong { color: var(--tinte); font-weight: 800; font-stretch: 85%; }
.versprechen .zielgruppe { border-bottom: 0; padding-top: 16px; }
.versprechen .zielgruppe strong { color: var(--rot-tief); }

/* Sortiment */
.sortiment-sec { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); padding: clamp(44px, 6vw, 80px) 0; }
.sortiment-sec h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); text-transform: uppercase; margin-bottom: 24px; }
.sortiment { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0 32px; }
@media (min-width: 600px) { .sortiment { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .sortiment { grid-template-columns: repeat(4, 1fr); } }
.sortiment li { padding: 14px 0 14px 24px; border-top: 1px solid var(--linie); font-weight: 600; position: relative; }
.sortiment li::before { content: ""; position: absolute; left: 0; top: 1.3em; width: 9px; height: 9px; background: var(--rot); }

/* Gesellschaften */
.gesellschaften { padding: clamp(56px, 8vw, 104px) 0; }
.ges-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 40px; margin-bottom: 28px; }
.ges-kopf h2 { font-size: clamp(2rem, 3.4vw, 3rem); text-transform: uppercase; }
.ges-kopf p { color: var(--text-2); margin: 0; max-width: 46ch; }
.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; 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:focus-within { outline: 3px solid var(--rot); outline-offset: 3px; }
.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(--rot); }
.firma-text { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 0; }
.firma-sitz { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin: 0; }
.firma h3 { font-size: clamp(1.9rem, 2.8vw, 2.4rem); text-transform: uppercase; margin: 8px 0 12px; }
.firma-beschr { color: var(--text-2); font-size: .98rem; margin: 0 0 12px; }
.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.05rem; text-decoration: none; transition: background .2s; }
.firma-cta::after { content: ""; position: absolute; inset: 0; }   /* Bild und ganze Kachel verlinkt */
.firma-cta .pfeil { flex: none; width: 16px; height: 16px; 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: none; }

/* Footer mit Rechtslinks der Gesellschaften */
.fuss { background: var(--tinte); color: #c9c9ce; padding: clamp(36px, 5vw, 56px) 0 28px; font-size: .92rem; }
.fuss-oben { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid #3a3a3d; margin-bottom: 20px; }
.rechtliches { display: grid; gap: 14px 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .rechtliches { grid-template-columns: repeat(3, auto); justify-content: space-between; } }
.recht { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.recht-name { width: 100%; color: #fff; font-weight: 700; margin-bottom: 2px; }
.recht a { color: #c9c9ce; text-decoration: none; padding: 8px 12px 8px 0; min-height: 40px; display: inline-flex; align-items: center; }
.recht a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.fuss-zeile { display: contents; }
.fuss nav a { color: #c9c9ce; }

/* 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 a.n-le, .kopf nav a.n-so { display: none; }
  .karte .pin text { font-size: 34px; stroke-width: 8px; }
  .karte .stadt, .karte .landname { display: none; }
  .karte-box { margin: 0 calc(var(--gutter) * -1); }
  .karte-rahmen { border-left: 0; border-right: 0; }
  .legende { padding: 0 var(--gutter); }
  .firma-cta { min-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
