/* Homepage neumann-neuruppin.de (Gestaltung A3 „Kräftig“, freigegeben 30.11.2026)
   Farben, Schriften, Foto und Texte wie auf der heutigen Seite.
   Gegenüber A2: Aufmacher in voller Farbe, Kontakttafel über der Fotokante,
   Bildband mit Kennzahlen, Leistungen als Karten, breiter auf großen Bildschirmen. */
:root {
  --blau: #0068b4;
  --gruen: #86bc22;
  --indigo: #35338b;
  --petrol: #096176;
  --tinte: #12202c;
  --grau: #516475;
  --hell: #deebf4;
  --bild: url("/assets/background-neuruppin.jpg");
  --grund: #f2f7fb;
  --blau-hell: #73acd6;      /* Blau, aufgehellt (für dunklen Grund) */
  --gruen-hell: #a4cd59;     /* Grün, aufgehellt (für dunklen Grund) */
  --text: rgba(18, 32, 44, 0.8);
  --linie: rgba(18, 32, 44, 0.12);
  --linie-stark: rgba(18, 32, 44, 0.2);
  --verlauf: linear-gradient(120deg, var(--blau) 0%, var(--petrol) 60%, var(--gruen) 100%);
  --titel: "Trebuchet MS", "Lucida Grande", "Segoe UI", sans-serif;
  --schrift: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --kopf: 76px;
  --sanft: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--schrift); font-size: 17px; line-height: 1.6; color: var(--tinte); background: var(--grund); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.huelle { width: min(1320px, calc(100% - 64px)); margin-inline: auto; }
section[id] { scroll-margin-top: calc(var(--kopf) + 8px); }


/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 17px; line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, background-position 0.7s var(--sanft), color 0.25s ease;
}
.knopf .ic { width: 18px; height: 18px; transition: transform 0.25s ease; }
.knopf:hover .ic { transform: translateX(3px); }
.knopf-verlauf {
  color: #fff;
  background-image: linear-gradient(120deg, var(--blau) 0%, var(--petrol) 30%, var(--gruen) 50%, var(--petrol) 72%, var(--blau) 100%);
  background-size: 200% 100%; background-position: 0% 50%;
}
.knopf-verlauf:hover { background-position: 100% 50%; }
.knopf-glas { color: #fff; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.knopf-glas:hover { background: rgba(255, 255, 255, 0.18); box-shadow: inset 0 0 0 2px #fff; }
.knopf-rand { color: var(--indigo); background: #fff; box-shadow: inset 0 0 0 2px rgba(53, 51, 139, 0.3); font-variant-numeric: tabular-nums; }
.knopf-rand:hover { box-shadow: inset 0 0 0 2px var(--indigo); }
.knopf-weiss { color: var(--blau); background: #fff; }
.knopf-weiss:hover { background: var(--grund); }
.knopf-klein { min-height: 44px; padding: 10px 22px; font-size: 15px; }

/* Kopfleiste mit Lesefortschritt im Firmenverlauf */
.kopf { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--linie); transition: box-shadow 0.3s ease; }
.kopf.gerollt { box-shadow: 0 8px 28px rgba(18, 32, 44, 0.1); }
.kopf::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px;
  background: var(--verlauf);
  transform: scaleX(var(--fortschritt, 0)); transform-origin: left center;
}
.kopf-innen { display: flex; align-items: center; gap: 36px; min-height: var(--kopf); }
.marke { margin-right: auto; display: grid; gap: 3px; font-family: var(--titel); font-weight: 700; font-size: 21px; line-height: 1.15; color: var(--indigo); }
.marke small { font-family: var(--schrift); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grau); }
.nav { display: flex; gap: 30px; }
.nav a { font-size: 15.5px; font-weight: 600; padding: 8px 0; border-bottom: 2px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.nav a:hover { color: var(--blau); border-bottom-color: currentColor; }
.kopf-aktionen { display: flex; align-items: center; gap: 24px; }
.tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--indigo); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tel .ic { width: 18px; height: 18px; }
.menue-knopf { display: none; width: 48px; height: 48px; margin-right: -8px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menue-knopf span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--tinte); transition: transform 0.2s ease, opacity 0.2s ease; }
.menue-knopf[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menue-knopf[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menue { display: none; }

/* ===== Aufmacher: Foto in voller Farbe ===== */
.aufmacher { position: relative; isolation: isolate; overflow: hidden; background: var(--tinte); color: #fff; }
.aufmacher-bild {
  position: absolute; inset: -24px 0 0 0; z-index: -2;
  background: var(--bild) 60% 22% / cover no-repeat;
  will-change: transform;
}
.aufmacher::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 32, 44, 0.86) 0%, rgba(18, 32, 44, 0.72) 30%, rgba(18, 32, 44, 0.28) 54%, rgba(18, 32, 44, 0) 72%),
    linear-gradient(180deg, rgba(18, 32, 44, 0.2) 0%, rgba(18, 32, 44, 0) 22%, rgba(18, 32, 44, 0) 66%, rgba(18, 32, 44, 0.6) 100%);
}
.aufmacher-innen { min-height: clamp(660px, calc(100svh - 77px), 980px); display: flex; align-items: center; padding: 72px 0 220px; }
.aufmacher-text { max-width: 720px; }
.ort { display: inline-flex; align-items: center; gap: 12px; font-family: var(--titel); font-weight: 700; font-size: 18px; color: var(--gruen-hell); margin-bottom: 22px; }
.aufmacher h1 { font-family: var(--titel); font-weight: 700; font-size: clamp(44px, 4.9vw, 92px); line-height: 1.03; letter-spacing: -0.02em; color: #fff; text-shadow: 0 2px 30px rgba(18, 32, 44, 0.35); }
.aufmacher h1 span {
  display: block;
  color: var(--blau-hell);
  background: linear-gradient(90deg, var(--blau-hell) 0%, #8fc0e0 45%, var(--gruen-hell) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  padding-bottom: 0.06em;
}
.einleitung { margin-top: 28px; font-size: clamp(18px, 1.25vw, 21px); line-height: 1.6; color: rgba(255, 255, 255, 0.9); max-width: 32em; }
.aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ===== Kontakttafel über der Fotokante ===== */
.wege { position: relative; z-index: 2; margin-top: -150px; }
.wege-karte {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(0, 0.8fr);
  background: #fff; border-radius: 14px;
  box-shadow: 0 34px 70px rgba(18, 32, 44, 0.2), 0 8px 22px rgba(18, 32, 44, 0.08);
}
.wege-karte::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--verlauf); }
.weg { display: flex; flex-direction: column; padding: 44px 44px 40px; }
.weg + .weg { border-left: 1px solid var(--linie); }
.weg h2 { font-family: var(--titel); font-weight: 700; font-size: 26px; line-height: 1.2; }
.weg > p { margin-top: 12px; color: var(--text); }
.daten { margin-top: auto; padding-top: 26px; display: grid; }
.daten > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 13px 0; border-top: 1px solid var(--linie); }
.daten dt { font-size: 15px; color: var(--grau); }
.daten dd { font-size: 18px; font-weight: 700; line-height: 34px; }
.daten .nummer { font-family: var(--titel); font-size: 23px; color: var(--indigo); font-variant-numeric: tabular-nums; }
.weiter { display: inline-flex; align-items: center; gap: 8px; color: var(--blau); font-weight: 700; }
.weiter .ic { width: 18px; height: 18px; transition: transform 0.2s ease; }
.weiter:hover .ic { transform: translateX(4px); }
.standort { background: linear-gradient(180deg, var(--grund), #fff 70%); }
.standort .etikett { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grau); }
.standort strong { display: block; margin-top: 14px; font-family: var(--titel); font-size: 24px; line-height: 1.3; color: var(--tinte); }
.standort .ic-gross { width: 34px; height: 34px; color: var(--blau); stroke-width: 1.7; margin-bottom: 18px; }

/* ===== Abschnitte ===== */
.abschnitt { padding: 128px 0; }
.weiss { background: #fff; }
.titel { font-family: var(--titel); font-weight: 700; font-size: clamp(36px, 3.6vw, 58px); line-height: 1.06; letter-spacing: -0.02em; }
.vorspann { font-size: clamp(18px, 1.2vw, 20px); line-height: 1.6; color: var(--text); max-width: 36em; }
.kopfzeile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: end; }

/* ===== Leistungen als Karten ===== */
#leistungen { padding-top: 120px; }
.leistungen { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.leistung {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 40px 36px 44px;
  background: #fff; border: 1px solid var(--linie); border-radius: 14px;
  transition: transform 0.45s var(--sanft), box-shadow 0.45s var(--sanft), border-color 0.45s ease;
}
.leistung::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--verlauf);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.55s var(--sanft);
}
.leistung:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(0, 104, 180, 0.13); border-color: transparent; }
.leistung:hover::before { transform: scaleX(1); }
.leistung > .ic { width: 42px; height: 42px; stroke-width: 1.7; color: var(--blau); }
.leistung .wz { /* großes, blasses Symbol im Hintergrund */
  position: absolute; right: -30px; bottom: -36px; z-index: -1;
  width: 180px; height: 180px; stroke-width: 1.1; color: var(--blau); opacity: 0.07;
  transition: transform 0.8s var(--sanft), opacity 0.5s ease;
}
.leistung:hover .wz { transform: rotate(-10deg) scale(1.08); opacity: 0.12; }
.leistung h3 { margin-top: 26px; font-family: var(--titel); font-weight: 700; font-size: clamp(24px, 1.9vw, 30px); line-height: 1.15; letter-spacing: -0.01em; }
.leistung p { margin-top: 12px; color: var(--text); max-width: 26em; }
.leistung .tel { margin-top: 16px; font-size: 17px; }

/* ===== Bildband mit Kennzahlen ===== */
.band { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--tinte); }
.band-bild {
  position: absolute; left: 0; right: 0; top: -140px; bottom: -140px; z-index: -2;
  background: var(--bild) 26% 52% / cover no-repeat;
  will-change: transform;
}
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(18, 32, 44, 0.84) 0%, rgba(18, 32, 44, 0.55) 55%, rgba(9, 97, 118, 0.5) 100%);
}
.band-innen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 132px 0; }
.kennzahl { display: grid; align-content: start; gap: 18px; padding: 0 48px; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.kennzahl:first-child { padding-left: 0; border-left: 0; }
.kennzahl strong { font-family: var(--titel); font-weight: 700; font-size: clamp(64px, 7.4vw, 132px); line-height: 0.92; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kennzahl i { display: block; width: 72px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--blau-hell), var(--gruen)); transform-origin: left center; }
.kennzahl span { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86); }

/* ===== Über uns ===== */
.ueber { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: center; }
.ueber-text .vorspann { margin-top: 28px; font-size: clamp(20px, 1.5vw, 24px); line-height: 1.5; color: var(--tinte); }
.ueber-text .weiterer { margin-top: 20px; color: var(--text); max-width: 34em; }
.merkmale { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.merkmal {
  display: grid; gap: 18px; align-content: start;
  padding: 30px 28px; border-radius: 14px;
  background: var(--grund);
  font-family: var(--titel); font-weight: 700; font-size: 19px; line-height: 1.3;
  transition: background-color 0.35s ease, transform 0.45s var(--sanft);
}
.merkmal .ic { width: 32px; height: 32px; stroke-width: 1.8; color: var(--petrol); }
.merkmal:hover { background: var(--hell); transform: translateY(-3px); }

/* ===== Ablauf quer ===== */
.ablauf { margin-top: 136px; }
.ablauf-kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.ablauf h2 { font-family: var(--titel); font-weight: 700; font-size: clamp(30px, 2.6vw, 42px); line-height: 1.12; letter-spacing: -0.015em; }
.ablauf-kopf .weiter { padding: 8px 0; }
.schritte { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.schritte li { position: relative; }
.schritte li:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 72px; right: -40px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blau), var(--petrol));
}
.schritte li:nth-child(2)::after { background: linear-gradient(90deg, var(--petrol), var(--gruen)); }
.nr {
  position: relative; z-index: 1;
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #fff; border: 3px solid var(--blau);
  font-family: var(--titel); font-weight: 700; font-size: 22px; color: var(--tinte);
}
.schritte li:nth-child(2) .nr { border-color: var(--petrol); }
.schritte li:nth-child(3) .nr { border-color: var(--gruen); }
.schritte h3 { margin-top: 26px; font-family: var(--titel); font-weight: 700; font-size: 24px; line-height: 1.25; }
.schritte p { margin-top: 10px; color: var(--text); max-width: 30em; }

/* ===== Kontakt ===== */
.kontakt { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; margin-top: 64px; align-items: stretch; }
.kontakt-karte { background: #fff; border: 1px solid var(--linie); border-radius: 14px; padding: 44px 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; align-content: start; }
.kd { padding: 26px 0 28px; border-top: 1px solid var(--linie); }
.kd-haupt { grid-column: 1 / -1; padding-top: 0; border-top: 0; }
.kd h3 { margin-bottom: 6px; font-size: 15px; font-weight: 400; color: var(--grau); }
.kd p { margin-top: 6px; color: var(--text); }
.kd .nummer-gross { display: inline-block; font-family: var(--titel); font-weight: 700; font-size: clamp(40px, 3.6vw, 56px); line-height: 1.05; letter-spacing: -0.01em; color: var(--indigo); font-variant-numeric: tabular-nums; }
.kd .nummer { font-family: var(--titel); font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--indigo); font-variant-numeric: tabular-nums; }
.kd .mail { font-weight: 700; font-size: 18px; color: var(--blau); overflow-wrap: anywhere; }
.kd .adresse { margin-top: 0; color: var(--tinte); font-size: 18px; line-height: 1.55; }
.kd .zeiten { margin-top: 0; }
.kd .zeiten strong { color: var(--tinte); }

.termin { position: relative; overflow: hidden; min-height: 600px; border-radius: 14px; color: #fff; display: flex; flex-direction: column; background: var(--blau); }
.termin::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--verlauf); }
.termin-kopf { padding: 48px 44px 0; }
.termin h3 { font-family: var(--titel); font-weight: 700; font-size: clamp(28px, 2.2vw, 34px); line-height: 1.15; }
.termin p { margin-top: 16px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.94); max-width: 28em; }
.termin-bild {
  flex: 1 1 auto; min-height: 220px; margin-top: 12px;
  background:
    linear-gradient(180deg, var(--blau) 0%, rgba(0, 104, 180, 0.4) 26%, rgba(0, 104, 180, 0.04) 50%, rgba(9, 97, 118, 0.3) 78%, var(--petrol) 100%),
    var(--bild) 64% 18% / 240% auto no-repeat;
}
.termin-unten { padding: 6px 44px 38px; background: var(--petrol); display: grid; gap: 14px; }
.termin .hinweis { margin-top: 0; font-size: 15px; text-align: center; text-wrap: balance; color: rgba(255, 255, 255, 0.92); }
.termin a:focus-visible { outline-color: #fff; }

/* ===== Fuß ===== */
.fuss { position: relative; background: var(--tinte); color: rgba(255, 255, 255, 0.72); }
.fuss::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--verlauf); }
.fuss-innen { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; padding: 64px 0 56px; }
.fuss-daten { display: grid; gap: 4px; font-size: 15.5px; }
.fuss-daten strong { font-family: var(--titel); font-size: 22px; color: #fff; }
.fuss-daten small { margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, 0.6); }
.fuss-links { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 15.5px; font-weight: 600; }
.fuss-links a { padding: 6px 0; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 0.25em; transition: text-decoration-color 0.2s ease; }
.fuss-links a:hover { text-decoration-color: #fff; }
.fuss a:focus-visible { outline-color: #fff; }

.handyleiste { display: none; }

/* ===== Unterseiten: Impressum, Datenschutz, Statistik ===== */
.unterkopf { position: relative; isolation: isolate; overflow: hidden; background: var(--tinte); color: #fff; }
.unterkopf-bild { position: absolute; inset: 0; z-index: -2; background: var(--bild) 62% 34% / cover no-repeat; }
.unterkopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(18, 32, 44, 0.92) 0%, rgba(18, 32, 44, 0.78) 42%, rgba(18, 32, 44, 0.4) 75%, rgba(18, 32, 44, 0.3) 100%);
}
.unterkopf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--verlauf); }
.unterkopf-innen { padding: 64px 0 76px; }
.pfad { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.72); margin-bottom: 18px; }
.pfad a { color: var(--gruen-hell); font-weight: 600; }
.pfad a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.unterkopf h1 { font-family: var(--titel); font-weight: 700; font-size: clamp(36px, 4vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.unterkopf-innen > p { margin-top: 16px; font-size: clamp(17px, 1.2vw, 20px); line-height: 1.6; color: rgba(255, 255, 255, 0.88); max-width: 40em; }
.unterkopf a:focus-visible { outline-color: #fff; }

.recht { padding: 64px 0 112px; }
.recht-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.recht-spalte { width: min(920px, calc(100% - 64px)); display: grid; gap: 20px; }
.recht-karte { background: #fff; border: 1px solid var(--linie); border-radius: 14px; padding: 32px 36px 34px; }
.recht-karte h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; font-family: var(--titel); font-weight: 700; font-size: 24px; line-height: 1.25; }
.rnr { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grund); border: 2px solid var(--blau); font-size: 16px; color: var(--blau); transform: translateY(-2px); }
.recht-karte p, .recht-karte li, .recht-karte address { color: var(--text); line-height: 1.7; }
.recht-karte p + p, .recht-karte address + p { margin-top: 8px; }
.recht-karte address { font-style: normal; }
.recht-karte address strong { color: var(--tinte); }
.recht-karte ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.recht-karte a { color: var(--blau); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(0, 104, 180, 0.3); text-underline-offset: 0.2em; overflow-wrap: anywhere; transition: text-decoration-color 0.2s ease; }
.recht-karte a:hover { text-decoration-color: currentColor; }
.stand { grid-column: 1 / -1; color: var(--grau); font-size: 15px; }
/* Fehlerseite (404) */
.fehler-aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 8px; }
.recht-karte a.knopf { text-decoration: none; }
.recht-karte a.knopf-verlauf { color: #fff; }
.recht-karte a.knopf-rand { color: var(--indigo); }
.recht-karte .fehler-links { list-style: none; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--linie); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
@media (max-width: 720px) { .recht-karte .fehler-links { grid-template-columns: minmax(0, 1fr); } .fehler-aktionen .knopf { width: 100%; } }
.fuss-links a[aria-current="page"] { text-decoration-color: #fff; }

/* ===== Statistik ===== */
.zahlen-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kachel { display: grid; gap: 8px; align-content: start; background: #fff; border: 1px solid var(--linie); border-radius: 14px; padding: 26px 28px 28px; }
.kachel span { font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grau); }
.kachel strong { font-family: var(--titel); font-weight: 700; font-size: clamp(40px, 3.4vw, 56px); line-height: 1; color: var(--tinte); font-variant-numeric: tabular-nums; }
.kachel small { font-size: 15px; color: var(--grau); }

.diagramm-karte { margin-top: 24px; background: #fff; border: 1px solid var(--linie); border-radius: 14px; padding: 32px 36px 30px; overflow-x: clip; }
.diagramm-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.diagramm-kopf h2 { font-family: var(--titel); font-weight: 700; font-size: 24px; line-height: 1.2; }
.diagramm-kopf p { font-size: 15px; color: var(--grau); }

.diagramm { margin-top: 34px; display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: 260px auto; }
.achse-y { position: relative; }
.achse-y span { position: absolute; right: 12px; transform: translateY(50%); font-size: 13px; color: var(--grau); font-variant-numeric: tabular-nums; }
.flaeche { position: relative; border-bottom: 1px solid var(--linie-stark); }
.rasterlinie { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--linie); }
.balken-reihe { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 2px; }
.spalte { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 100%; cursor: default; border-radius: 4px 4px 0 0; outline: none; }
.spalte:hover, .spalte:focus-visible { background: rgba(0, 104, 180, 0.06); }
.spalte:focus-visible { box-shadow: inset 0 0 0 2px var(--blau); }
.balken { display: block; width: 100%; max-width: 26px; height: var(--h); background: var(--blau); border-radius: 4px 4px 0 0; transform-origin: bottom center; }
.balken.leer { height: 2px; background: var(--linie-stark); }
.spalte.heute .balken:not(.leer) { background: var(--petrol); }
.spalte:hover .balken:not(.leer), .spalte:focus-visible .balken:not(.leer) { background: var(--indigo); }
.tipp {
  position: absolute; bottom: calc(var(--h, 0%) + 10px); left: 50%; z-index: 3;
  transform: translateX(-50%);
  white-space: nowrap; pointer-events: none;
  background: var(--tinte); color: #fff; font-size: 13.5px; line-height: 1.3;
  padding: 8px 11px; border-radius: 8px;
  opacity: 0; transition: opacity 0.15s ease;
}
.spalte.links .tipp { left: 0; transform: none; }
.spalte.rechts .tipp { left: auto; right: 0; transform: none; }
.spalte:hover .tipp, .spalte:focus-visible .tipp { opacity: 1; }
.achse-x { grid-column: 2; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 2px; padding-top: 10px; }
.achse-x span { font-size: 13px; color: var(--grau); white-space: nowrap; text-align: center; overflow: visible; display: flex; justify-content: center; }

.tabelle { margin-top: 22px; }
.tabelle summary { cursor: pointer; font-weight: 600; color: var(--blau); padding: 8px 0; width: max-content; }
.tabelle table { width: 100%; max-width: 560px; margin-top: 10px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tabelle th, .tabelle td { padding: 7px 10px; border-bottom: 1px solid var(--linie); text-align: right; font-size: 15px; }
.tabelle th:first-child { text-align: left; font-weight: 400; }
.tabelle thead th { font-weight: 600; color: var(--grau); }

.statistik-unten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.statistik-unten .diagramm-karte { margin-top: 24px; }
.seiten-liste { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.seiten-liste li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 64px; align-items: center; gap: 16px; }
.seiten-name { font-weight: 600; }
.seiten-balken { display: block; height: 12px; border-radius: 6px; background: var(--grund); overflow: hidden; }
.seiten-balken i { display: block; width: var(--b); height: 100%; border-radius: 6px; background: var(--blau); transform-origin: left center; }
.seiten-wert { text-align: right; font-variant-numeric: tabular-nums; color: var(--tinte); font-weight: 600; }
.so-zaehlen ul { margin: 18px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--text); line-height: 1.6; }
.so-zaehlen p { margin-top: 18px; }
.so-zaehlen a { color: var(--blau); font-weight: 600; }
.so-zaehlen a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.statistik-unten .breit { grid-column: 1 / -1; }
.so-zaehlen.breit ul { display: block; column-count: 2; column-gap: 56px; }
.so-zaehlen.breit li { break-inside: avoid; margin-bottom: 8px; }

/* Wochentage (Säulen) */
.woche { margin-top: 30px; height: 210px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; border-bottom: 1px solid var(--linie-stark); }
.woche-tag { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.woche-wert { font-size: 14px; font-weight: 600; color: var(--grau); font-variant-numeric: tabular-nums; }
.woche-saeule { display: block; width: 100%; max-width: 46px; height: var(--h); min-height: 2px; background: var(--blau); border-radius: 4px 4px 0 0; transform-origin: bottom center; }
.woche-tag.bester .woche-saeule { background: var(--petrol); }
.woche-tag.bester .woche-wert { color: var(--tinte); }
.woche-namen { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-top: 8px; text-align: center; font-size: 14px; color: var(--grau); }
.woche-namen .bester { color: var(--tinte); font-weight: 700; }
.woche-fazit { margin-top: 18px; color: var(--text); }
.woche-fazit strong { color: var(--tinte); }

/* Anteile (Geräte, Herkunft) */
.seiten-liste.anteile li { grid-template-columns: 172px minmax(0, 1fr) 92px; }
.seiten-liste.anteile .seiten-wert small { display: block; font-size: 12.5px; font-weight: 400; color: var(--grau); }
.seiten-liste.anteile li.null { opacity: 0.55; }

.anim .diagramm-karte .woche-saeule { transform: scaleY(0); transition: transform 0.7s var(--sanft); transition-delay: calc(var(--i, 0) * 70ms + 0.2s); }
.anim .diagramm-karte.gezeigt .woche-saeule { transform: none; }

@media (max-width: 980px) {
  .so-zaehlen.breit ul { column-count: 1; }
}
@media (max-width: 720px) {
  .woche { height: 170px; gap: 6px; }
  .woche-namen { gap: 6px; font-size: 13px; }
  .woche-wert { font-size: 12.5px; }
  .seiten-liste.anteile li { grid-template-columns: 112px minmax(0, 1fr) 70px; gap: 10px; }
  .seiten-liste.anteile .seiten-name { font-size: 15px; line-height: 1.3; }
}

@media (max-width: 980px) {
  .recht-raster { grid-template-columns: minmax(0, 1fr); }
  .zahlen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statistik-unten { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .unterkopf-innen { padding: 48px 0 58px; }
}
@media (max-width: 720px) {
  .recht { padding: 40px 0 72px; }
  .recht-spalte { width: calc(100% - 32px); }
  .recht-karte { padding: 24px 20px 26px; }
  .recht-karte h2 { font-size: 21px; gap: 12px; }
  .rnr { width: 30px; height: 30px; font-size: 15px; }
  .unterkopf h1 { font-size: 34px; }
  .zahlen-raster { gap: 12px; }
  .kachel { padding: 20px 18px 22px; }
  .kachel strong { font-size: 38px; }
  .kachel small { font-size: 14px; }
  .diagramm-karte { padding: 24px 18px 22px; }
  .diagramm { grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: 200px auto; }
  .achse-y span { right: 8px; font-size: 12px; }
  .balken-reihe, .achse-x { gap: 1px; }
  .achse-x span { font-size: 12px; }
  .tipp { white-space: normal; width: 150px; font-size: 13px; }
  .seiten-liste li { grid-template-columns: 96px minmax(0, 1fr) 48px; gap: 12px; }
}

/* ===== Große Bildschirme ===== */
@media (min-width: 1800px) {
  body { font-size: 18px; }
  .huelle { width: min(1520px, calc(100% - 160px)); }
  .aufmacher-text { max-width: 820px; }
  .weg { padding: 52px 56px 48px; }
}

/* ===== Mittlere und kleine Bildschirme ===== */
@media (max-width: 1140px) {
  .nav { display: none; }
  .kopf-innen { gap: 24px; }
  .menue-knopf { display: inline-flex; }
  .menue:not([hidden]) { display: grid; padding: 4px 16px 20px; border-top: 1px solid var(--linie); background: #fff; }
  .menue a { padding: 13px 8px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--linie); }
  .menue a:last-child { border-bottom: 0; }
  .menue a:hover { color: var(--blau); }
  .menue .tel { padding: 13px 8px; }
  .weg { padding: 38px 32px 34px; }
  .daten > div { grid-template-columns: 96px minmax(0, 1fr); }
  /* "Online Termin anfragen" nicht umbrechen: Beschriftung darüber statt daneben */
  .weg-online .daten > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .weg-online .weiter { white-space: nowrap; }
}

@media (min-width: 981px) and (max-width: 1220px) {
  .kontakt { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .kontakt-karte { padding: 36px 34px; column-gap: 32px; }
  .kd .mail { font-size: 16.5px; }
  .merkmal { padding: 24px 22px; font-size: 18px; }
}

@media (max-width: 980px) {
  .daten a, .leistung .tel, .kd .nummer, .kd .mail { display: inline-flex; align-items: center; min-height: 44px; }
  .aufmacher-bild { inset: 0; background-position: 64% 16%; }
  .aufmacher::before {
    background: linear-gradient(180deg, rgba(18, 32, 44, 0.1) 0%, rgba(18, 32, 44, 0.45) 34%, rgba(18, 32, 44, 0.86) 62%, rgba(18, 32, 44, 0.94) 100%);
  }
  .aufmacher-innen { min-height: 0; align-items: flex-end; padding: 300px 0 190px; }
  .wege { margin-top: -120px; }
  .wege-karte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .standort { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--linie); display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: center; padding-top: 26px; padding-bottom: 28px; }
  .standort .ic-gross { grid-row: 1 / span 2; margin: 0; }
  .standort strong { margin-top: 4px; font-size: 21px; }
  .standort br { display: none; }
  .kopfzeile { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .abschnitt { padding: 96px 0; }
  .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
  .band-innen { padding: 96px 0; }
  .kennzahl { padding: 0 28px; }
  .ueber { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ablauf { margin-top: 96px; }
  .schritte { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .schritte li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 22px; }
  .schritte .nr { grid-row: 1 / span 2; }
  .schritte h3 { margin-top: 10px; }
  .schritte li:not(:last-child)::after { top: 56px; bottom: -34px; left: 26.5px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--blau), var(--petrol)); }
  .schritte li:nth-child(2)::after { background: linear-gradient(180deg, var(--petrol), var(--gruen)); }
  .kontakt { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .termin { min-height: 0; }
  .termin-bild { min-height: 260px; background-position: 0 0, 64% 28%; }
}

@media (max-width: 799px) {
  .kopf-aktionen .tel { display: none; }
}

@media (max-width: 720px) {
  :root { --kopf: 64px; }
  .kopf-aktionen { display: none; }
  body { font-size: 16.5px; }
  .huelle { width: calc(100% - 32px); }
  .kopf-innen { gap: 12px; }
  .marke { font-size: 17.5px; }
  .marke small { font-size: 12.5px; letter-spacing: 0; text-transform: none; }
  .aufmacher-innen { padding: 230px 0 150px; }
  .ort { font-size: 16.5px; margin-bottom: 14px; }
  .aufmacher h1 { font-size: 37px; line-height: 1.08; }
  .einleitung { margin-top: 18px; font-size: 17.5px; }
  .aktionen { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .wege { margin-top: -96px; }
  .wege-karte { grid-template-columns: minmax(0, 1fr); border-radius: 12px; }
  .weg { padding: 30px 22px 26px; }
  .weg + .weg { border-left: 0; border-top: 1px solid var(--linie); }
  .weg h2 { font-size: 23px; }
  .daten { padding-top: 20px; }
  .daten > div { grid-template-columns: 104px minmax(0, 1fr); gap: 10px; }
  .daten dd { font-size: 17px; }
  .daten .nummer { font-size: 21px; }
  .standort { grid-template-columns: minmax(0, 1fr); }
  .standort .ic-gross { display: none; }
  .standort br { display: inline; }
  .abschnitt { padding: 76px 0; }
  #leistungen { padding-top: 80px; }
  .vorspann { font-size: 17.5px; }
  .leistungen { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 36px; }
  .leistung { padding: 28px 24px 30px; }
  .leistung > .ic { width: 36px; height: 36px; }
  .leistung h3 { margin-top: 18px; font-size: 24px; }
  .leistung .wz { width: 140px; height: 140px; }
  .band-innen { grid-template-columns: minmax(0, 1fr); padding: 72px 0; gap: 40px; }
  .kennzahl, .kennzahl:first-child { padding: 0; border-left: 0; gap: 12px; }
  .kennzahl + .kennzahl { padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
  .kennzahl strong { font-size: 72px; }
  .merkmale { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .merkmal { grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 16px; padding: 20px; font-size: 18px; }
  .ablauf { margin-top: 80px; }
  .schritte { margin-top: 40px; gap: 30px; }
  .schritte li { column-gap: 18px; }
  .schritte li:not(:last-child)::after { bottom: -30px; }
  .schritte h3 { font-size: 21px; }
  .kontakt { margin-top: 40px; }
  .kontakt-karte { grid-template-columns: minmax(0, 1fr); padding: 28px 22px 8px; }
  .kd { padding: 22px 0 24px; }
  .kd .nummer-gross { font-size: 42px; }
  .termin { margin-inline: -16px; border-radius: 0; }
  .termin-kopf { padding: 38px 22px 0; }
  .termin-bild { min-height: 200px; }
  .termin-unten { padding: 6px 22px 30px; }
  .termin .knopf { padding: 13px 16px; font-size: 15.5px; gap: 8px; }
  .knopf { white-space: normal; text-align: center; }
  .fuss-innen { flex-direction: column; align-items: flex-start; padding: 48px 0 108px; }

  .handyleiste {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--linie);
    box-shadow: 0 -8px 24px rgba(18, 32, 44, 0.08);
    transform: translateY(110%); visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .handyleiste.sichtbar { transform: none; visibility: visible; transition: transform 0.25s ease, visibility 0s; }
  .handyleiste .knopf { min-height: 48px; padding: 10px 14px; font-size: 15.5px; white-space: nowrap; }
}

/* ===== Animationen (nur mit .anim) ===== */
@keyframes hoch { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes bildein { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes atmen { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes treiben { from { background-position: 0 0, 62% 14%; } to { background-position: 0 0, 67% 21%; } }

.anim .aufmacher-bild { animation: bildein 3s var(--sanft) both, atmen 24s ease-in-out 3s infinite alternate; }
.anim .aufmacher-text > * { animation: hoch 1s var(--sanft) both; }
.anim .aufmacher-text > .ort { animation-delay: 0.2s; }
.anim .aufmacher-text > h1 { animation-delay: 0.35s; }
.anim .aufmacher h1 span { animation: hoch 1s var(--sanft) 0.55s both; }
.anim .aufmacher-text > .einleitung { animation-delay: 0.75s; }
.anim .aufmacher-text > .aktionen { animation-delay: 0.9s; }
.anim .wege-karte { animation: hoch 1.1s var(--sanft) 1.05s both; }

.anim [data-zeigen] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.9s var(--sanft) var(--verz, 0s), transform 0.9s var(--sanft) var(--verz, 0s);
}
.anim [data-zeigen].gezeigt { opacity: 1; transform: none; }
.anim .leistung[data-zeigen] { transition: opacity 0.9s var(--sanft) var(--verz, 0s), transform 0.9s var(--sanft) var(--verz, 0s), box-shadow 0.45s var(--sanft), border-color 0.45s ease; }
.anim .leistung[data-zeigen].gezeigt { transition: opacity 0.9s var(--sanft) var(--verz, 0s), transform 0.45s var(--sanft), box-shadow 0.45s var(--sanft), border-color 0.45s ease; }
/* Anheben beim Überfahren muss stärker sein als "gezeigt" (transform: none) */
.anim .leistung.gezeigt:hover { transform: translateY(-6px); }
.anim .merkmal.gezeigt:hover { transform: translateY(-3px); }
.anim .leistung:nth-child(3n + 2) { --verz: 0.12s; }
.anim .leistung:nth-child(3n + 3) { --verz: 0.24s; }
.anim .merkmal:nth-child(2) { --verz: 0.1s; }
.anim .merkmal:nth-child(3) { --verz: 0.2s; }
.anim .merkmal:nth-child(4) { --verz: 0.3s; }

/* Kennzahlen: Linie wächst, Zahlen erscheinen nacheinander */
.anim .kennzahl { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--sanft), transform 0.9s var(--sanft); }
.anim .kennzahl:nth-child(2) { transition-delay: 0.18s; }
.anim .kennzahl:nth-child(3) { transition-delay: 0.36s; }
.anim .band-innen.gezeigt .kennzahl { opacity: 1; transform: none; }
.anim .kennzahl i { transform: scaleX(0); transition: transform 0.9s var(--sanft) 0.5s; }
.anim .kennzahl:nth-child(2) i { transition-delay: 0.68s; }
.anim .kennzahl:nth-child(3) i { transition-delay: 0.86s; }
.anim .band-innen.gezeigt .kennzahl i { transform: scaleX(1); }
.anim .band-innen[data-zeigen] { transform: none; }

/* Ablauf: Linie zeichnet sich von 1 nach 3, Nummern erscheinen nacheinander */
.anim .schritte li:not(:last-child)::after { transform: scaleX(0); transform-origin: left center; transition: transform 0.7s cubic-bezier(0.5, 0, 0.3, 1); }
.anim .schritte li:nth-child(1)::after { transition-delay: 0.45s; }
.anim .schritte li:nth-child(2)::after { transition-delay: 1.15s; }
.anim .schritte.gezeigt li::after { transform: none; }
.anim .schritte .nr { opacity: 0; transform: scale(0.4); transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.3, 1.6, 0.5, 1); }
.anim .schritte li:nth-child(2) .nr { transition-delay: 0.85s; }
.anim .schritte li:nth-child(3) .nr { transition-delay: 1.55s; }
.anim .schritte.gezeigt .nr { opacity: 1; transform: none; }
.anim .schritte h3, .anim .schritte p { opacity: 0; transition: opacity 0.6s ease; }
.anim .schritte li:nth-child(1) h3, .anim .schritte li:nth-child(1) p { transition-delay: 0.15s; }
.anim .schritte li:nth-child(2) h3, .anim .schritte li:nth-child(2) p { transition-delay: 0.95s; }
.anim .schritte li:nth-child(3) h3, .anim .schritte li:nth-child(3) p { transition-delay: 1.65s; }
.anim .schritte.gezeigt h3, .anim .schritte.gezeigt p { opacity: 1; }
.anim .schritte[data-zeigen] { transform: none; }
@media (max-width: 980px) {
  .anim .schritte li:not(:last-child)::after { transform: scaleY(0); transform-origin: top center; }
  .anim .schritte.gezeigt li::after { transform: none; }
}

@media (min-width: 981px) {
  .anim .termin-bild { animation: treiben 22s ease-in-out infinite alternate; }
}

/* Unterseiten und Statistik */
.anim .unterkopf-innen > * { animation: hoch 0.9s var(--sanft) both; }
.anim .unterkopf-innen > h1 { animation-delay: 0.1s; }
.anim .unterkopf-innen > p { animation-delay: 0.22s; }
.anim .diagramm-karte .balken { transform: scaleY(0); transition: transform 0.7s var(--sanft); transition-delay: calc(var(--i, 0) * 25ms + 0.2s); }
.anim .diagramm-karte.gezeigt .balken { transform: none; }
.anim .seiten-balken i { transform: scaleX(0); transition: transform 0.9s var(--sanft) 0.25s; }
.anim .diagramm-karte.gezeigt .seiten-balken i { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
