/* ============================================================
   Reinigungsservice Horscht - Prototyp
   Mobile first. Farben und Schriftbild aus Logo und Flyer.
   Strukturmotiv: Bilder sitzen in einem Fensterrahmen mit Bank.
   ============================================================ */

:root{
  --navy-900:#0B1B3E;
  --navy-800:#122A54;
  --navy-700:#1B3A6E;
  --blau:#1877DC;
  --blau-tief:#1260B8;
  --glas:#A9D6F7;
  --papier:#EFF3F8;
  --weiss:#FFFFFF;
  --tinte:#16233B;
  --tinte-weich:#4F6076;
  --rahmen:#D6DEEA;

  --rand:1.25rem;               /* Seitenrand mobil */
  --sp:clamp(3.5rem,9vw,6.5rem);/* vertikaler Abstand zwischen Abschnitten */
  --kopf-h:64px;
  --daumen-h:60px;
  --schatten:0 10px 30px -18px rgba(11,27,62,.55);
}

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

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
  scroll-padding-top:calc(var(--kopf-h) + 12px);
}

body{
  margin:0;
  font-family:"Archivo",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-variation-settings:"wdth" 100;
  font-size:1.0625rem;
  line-height:1.62;
  color:var(--tinte);
  background:var(--weiss);
  padding-bottom:var(--daumen-h);
}

img{max-width:100%;height:auto;display:block}

h1,h2,h3{
  font-variation-settings:"wdth" 112;
  font-weight:700;
  line-height:1.06;
  letter-spacing:-.018em;
  margin:0;
  text-wrap:balance;
}
h1{font-size:clamp(2.35rem,10.5vw,3.9rem)}
h2{font-size:clamp(1.85rem,6.2vw,2.75rem)}
h3{font-size:1.2rem;line-height:1.24;letter-spacing:-.01em}
p{margin:0 0 1rem}
p:last-child{margin-bottom:0}

a{color:var(--blau-tief)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,summary:focus-visible{
  outline:3px solid var(--blau);
  outline-offset:3px;
  border-radius:2px;
}

.skip{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--navy-900);color:#fff;padding:.75rem 1rem;
}
.skip:focus{left:0}

/* ---------- Bausteine ---------- */

.knopf{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:52px;padding:.8rem 1.4rem;
  background:var(--blau);color:#fff;
  font:inherit;font-weight:600;font-variation-settings:"wdth" 104;
  letter-spacing:.005em;text-decoration:none;
  border:2px solid var(--blau);border-radius:4px;
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease;
}
.knopf:hover{background:var(--blau-tief);border-color:var(--blau-tief)}
.knopf--rand{background:transparent;border-color:rgba(255,255,255,.5);color:#fff}
.knopf--rand:hover{background:rgba(255,255,255,.12);border-color:#fff}
.knopf--klein{min-height:42px;padding:.45rem 1rem;font-size:.95rem}
.knopf--voll{width:100%}

.spalte{max-width:38rem}
.block{padding:var(--sp) var(--rand)}
.block--hell{background:var(--papier)}
.block__vor{
  margin-top:1rem;color:var(--tinte-weich);
  font-size:1.075rem;max-width:34rem;
}

/* Fensterrahmen: duenner Rahmen, unten die Bank */
.scheibe{
  margin:0;
  background:var(--weiss);
  border:1px solid var(--rahmen);
  border-bottom-width:7px;
  border-bottom-color:var(--navy-900);
  padding:6px;
  box-shadow:var(--schatten);
}
.scheibe img{width:100%;aspect-ratio:3/2;object-fit:cover}

/* ---------- Kopf ---------- */

.kopf{
  position:sticky;top:0;z-index:40;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--rahmen);
}
.kopf__innen{
  height:var(--kopf-h);
  max-width:72rem;margin:0 auto;padding:0 var(--rand);
  display:flex;align-items:center;gap:1rem;
}
.kopf__marke{display:block;flex:0 0 auto;line-height:0}
.kopf__marke img{width:auto;height:34px}
.kopf__nav{display:none}
.kopf__ruf{margin-left:auto}

/* ---------- Held ---------- */

.held{
  position:relative;
  background:var(--navy-900);
  color:#fff;
}
.held__bild{position:relative;overflow:hidden}
.held__bild img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;object-position:52% 34%;
}
.held__bild::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to bottom,rgba(11,27,62,.18) 0%,rgba(11,27,62,0) 35%,rgba(11,27,62,.75) 82%,var(--navy-900) 100%);
}

/* Der eine bewegte Moment: das Bild wird beim Laden klar gewischt */
.js-klarwisch img{
  filter:blur(9px) saturate(.72) brightness(1.06);
  transform:scale(1.04);
}
.js-klarwisch.klar img{
  filter:none;transform:none;
  transition:filter 1.1s cubic-bezier(.22,.8,.3,1),transform 1.4s cubic-bezier(.22,.8,.3,1);
}

.held__text{
  position:relative;
  padding:1.75rem var(--rand) calc(var(--sp) * .8);
  margin-top:-3.25rem;
}
.held__ort{
  margin:0 0 .85rem;
  color:var(--glas);
  font-size:.92rem;font-weight:600;
  font-variation-settings:"wdth" 104;
}
.held__ort::before{
  content:"";display:inline-block;
  width:26px;height:2px;margin-right:.6rem;vertical-align:.32em;
  background:var(--blau);
}
.held__unter{
  margin:1.15rem 0 0;
  max-width:31rem;
  color:#C7D5E8;
  font-size:1.075rem;
}
.held__aktion{
  display:flex;flex-direction:column;gap:.7rem;
  margin-top:1.75rem;
}
.held__anker{
  list-style:none;margin:1.5rem 0 0;padding:1.25rem 0 0;
  border-top:1px solid rgba(169,214,247,.28);
  display:grid;gap:.6rem;
}
.held__anker li{color:#C7D5E8;font-size:.98rem}
.held__anker b{
  color:#fff;font-size:1.35rem;font-variation-settings:"wdth" 112;
  margin-right:.35rem;
}

/* ---------- Warum Horscht ---------- */

.warum{
  background:var(--navy-800);
  padding:var(--sp) var(--rand);
  color:#fff;
}
.warum__innen{max-width:72rem;margin-inline:auto}
.warum h2{font-size:clamp(1.5rem,5vw,2rem)}
.warum ul{
  list-style:none;margin:1.75rem 0 0;padding:0;
  display:grid;gap:.9rem;
}
.warum li{
  position:relative;
  padding-left:2.1rem;
  font-size:1.075rem;font-weight:600;
  font-variation-settings:"wdth" 104;
}
.warum li::before{
  content:"";
  position:absolute;left:0;top:.28em;
  width:1.35rem;height:1.35rem;
  background:var(--glas);
  -webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9.2 16.6 4.6 12l1.4-1.4 3.2 3.2 8.8-8.8L19.4 6 9.2 16.6Z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9.2 16.6 4.6 12l1.4-1.4 3.2 3.2 8.8-8.8L19.4 6 9.2 16.6Z'/></svg>") center/contain no-repeat;
}

/* ---------- Leistungen ---------- */

#leistungen{max-width:72rem;margin-inline:auto}

.leistungen{
  list-style:none;margin:2.5rem 0 0;padding:0;
  display:grid;gap:2.25rem;
}
.leistung__text{padding-top:1.1rem}
.leistung__text h3{color:var(--navy-900)}
.leistung__text p{
  margin-top:.5rem;color:var(--tinte-weich);font-size:1rem;
}
.leistung__haupt{
  margin:0 0 .4rem;
  color:var(--blau-tief);font-size:.82rem;font-weight:700;
  font-variation-settings:"wdth" 106;
}
.leistung__preis{
  margin-top:.9rem;color:var(--navy-900);font-size:1rem;
}
.leistung__preis b{
  font-size:1.35rem;font-variation-settings:"wdth" 112;margin-right:.3rem;
}
.leistung__ust{
  display:block;margin-top:.15rem;
  font-size:.92rem;color:var(--tinte-weich);
}
.leistung__text .knopf{margin-top:1rem}

.leistungen__zusatz{
  margin-top:2.25rem;padding:1.15rem 1.25rem;
  background:var(--papier);
  border-left:4px solid var(--blau);
  color:var(--tinte-weich);font-size:1rem;
}

/* ---------- Vorher / Nachher ---------- */

#vorhernachher{max-width:72rem;margin-inline:auto}

/* Kennzeichnung der drei Leistungsbilder, fuer die es noch kein eigenes Foto gibt */
.beispiel{
  padding:.45rem .1rem 0;
  font-size:.78rem;color:#8795A8;
  font-variation-settings:"wdth" 104;
}

.paare{list-style:none;margin:2.25rem 0 0;padding:0;display:grid;gap:2.5rem}
.paar h3{color:var(--navy-900);margin-bottom:.9rem}
.paar__bilder{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}

/* Knopf liegt ueber beiden Bildern - erzeugt von app.js */
.paar__bilder--klickbar{position:relative}
.paar__lupe{
  position:absolute;inset:0;
  display:grid;place-items:center;
  background:transparent;border:0;padding:0;margin:0;
  cursor:zoom-in;
  font:inherit;color:#fff;
}
.paar__lupe-text{
  display:inline-flex;align-items:center;gap:.45rem;
  padding:.55rem 1rem;
  background:rgba(11,27,62,.88);
  font-size:.92rem;font-weight:600;font-variation-settings:"wdth" 104;
  border-radius:3px;
  opacity:0;
  transition:opacity .15s ease;
}
.paar__lupe:hover .paar__lupe-text,
.paar__lupe:focus-visible .paar__lupe-text{opacity:1}
/* Auf Geraeten ohne Mauszeiger bleibt der Hinweis sichtbar */
@media (hover:none){
  .paar__lupe-text{opacity:1;font-size:.85rem;padding:.45rem .8rem}
}

/* ---------- Lupe (Modal) ---------- */

.lupe{
  width:min(100% - 1.5rem,64rem);
  max-width:none;max-height:calc(100dvh - 1.5rem);
  margin:auto;padding:0;
  border:0;border-radius:5px;
  background:var(--weiss);color:var(--tinte);
  overflow:auto;
  overscroll-behavior:contain;
}
.lupe::backdrop{background:rgba(7,16,36,.88)}

.lupe__kopf{
  position:sticky;top:0;z-index:2;
  display:flex;align-items:flex-start;gap:1rem;
  padding:1rem var(--rand);
  background:var(--weiss);
  border-bottom:1px solid var(--rahmen);
}
.lupe__titel{
  margin:0;font-size:1.3rem;color:var(--navy-900);
  font-variation-settings:"wdth" 112;
}
.lupe__zaehler{
  margin:.2rem 0 0;font-size:.88rem;color:var(--tinte-weich);
}
.lupe__schliessen{
  margin-left:auto;flex:0 0 auto;
  width:44px;height:44px;
  display:grid;place-items:center;
  background:var(--papier);color:var(--navy-900);
  border:1px solid var(--rahmen);border-radius:3px;
  cursor:pointer;
}
.lupe__schliessen:hover{background:var(--rahmen)}

.lupe__bilder{
  display:grid;gap:1rem;
  padding:1.25rem var(--rand);
}
.lupe__bilder figure{margin:0}
.lupe__bilder img{
  width:100%;aspect-ratio:1/1;object-fit:cover;
  background:var(--papier);
  border:1px solid var(--rahmen);
  border-bottom:7px solid var(--navy-900);
}
.lupe__bilder figcaption{
  padding:.5rem .1rem 0;
  font-size:.86rem;font-weight:700;
  font-variation-settings:"wdth" 106;
  color:var(--tinte-weich);
}
.lupe__bilder figure:first-child img{border-bottom-color:#8795A8}
.lupe__bilder figure:last-child figcaption{color:var(--blau-tief)}

.lupe__nav{
  position:sticky;bottom:0;
  display:grid;grid-template-columns:1fr 1fr;gap:.75rem;
  padding:1rem var(--rand);
  background:var(--weiss);
  border-top:1px solid var(--rahmen);
}
.lupe__nav .knopf{width:100%}
.lupe__nav .knopf--rand{color:var(--navy-900);border-color:#B9C5D6}
.lupe__nav .knopf--rand:hover{background:var(--papier);border-color:var(--navy-900)}
.paar figcaption{
  padding:.5rem .1rem 0;
  font-size:.86rem;font-weight:700;
  font-variation-settings:"wdth" 106;
  color:var(--tinte-weich);
}
.scheibe--vorher{border-bottom-color:#8795A8}
.scheibe--vorher figcaption{color:#6B7A8D}
.scheibe--nachher figcaption{color:var(--blau-tief)}
.paar .scheibe img{aspect-ratio:1/1}

/* ---------- Preis vorab + Ablauf ---------- */

#ablauf{max-width:72rem;margin-inline:auto}

.preisvorab{
  max-width:38rem;
  padding-left:1.25rem;
  border-left:5px solid var(--blau);
}
.preisvorab h2{color:var(--navy-900)}
.preisvorab p{
  margin-top:.9rem;font-size:1.125rem;color:var(--tinte);
}

.ablauf__titel{
  margin-top:3rem;
  font-size:1.05rem;color:var(--tinte-weich);
  font-variation-settings:"wdth" 106;
}

.ablauf{
  list-style:none;margin:1.25rem 0 0;padding:0;
  counter-reset:schritt;
  display:grid;gap:0;
}
.ablauf li{
  counter-increment:schritt;
  position:relative;
  padding:1.5rem 0 1.5rem 3.4rem;
  border-top:1px solid var(--rahmen);
}
.ablauf li:last-child{border-bottom:1px solid var(--rahmen)}
.ablauf li::before{
  content:counter(schritt);
  position:absolute;left:0;top:1.45rem;
  width:2.1rem;height:2.1rem;
  display:grid;place-items:center;
  background:var(--navy-900);color:#fff;
  font-size:.95rem;font-weight:700;
  border-radius:50%;
}
.ablauf h4{
  margin:0;font-size:1.2rem;line-height:1.24;
  font-variation-settings:"wdth" 112;font-weight:700;letter-spacing:-.01em;
  color:var(--navy-900);
}
.ablauf p{margin-top:.45rem;color:var(--tinte-weich);font-size:1rem;max-width:34rem}

.ablauf__ehrlich{
  margin-top:2rem;max-width:38rem;
  color:var(--tinte-weich);font-size:1rem;
}

/* ---------- Gebiet ---------- */

.gebiet{max-width:72rem;margin-inline:auto;padding:var(--sp) var(--rand)}
/* Einzugsgebiets-Karte (inline-SVG aus werkzeuge/karte_bauen.py).
   Farben nur hier: die CSP verbietet style-Attribute, also traegt das SVG
   Klassen statt Farben. */
.gebiet__karte{
  margin:0;
  border:1px solid var(--rahmen);
  border-bottom:7px solid var(--navy-900);
  background:#F6F8FB;
}
.gebiet__karte figcaption{
  padding:.45rem .7rem;
  font-size:.75rem;color:#8795A8;
  border-top:1px solid var(--rahmen);
  background:var(--weiss);
}
.gebiet__karte figcaption a{color:inherit}
.karte{display:block;width:100%;height:auto}
.karte text{font-family:"Archivo",system-ui,sans-serif}
.karte__land{fill:#F6F8FB}
.karte__meer{fill:#D3E6F6}
.karte__see{fill:#D3E6F6;stroke:#8EC0E8;stroke-width:3}
.karte__fluss{fill:none;stroke:#8EC0E8;stroke-width:6;stroke-linejoin:round;stroke-linecap:round}
.karte__kanal{fill:none;stroke:#A9D0EE;stroke-width:4;stroke-linejoin:round;stroke-linecap:round}
.karte__kreis{
  fill:rgba(24,119,220,.06);
  stroke:var(--blau);stroke-width:5;stroke-dasharray:22 14;
}
.karte__ort{fill:var(--navy-900);stroke:#fff;stroke-width:3}
.karte__heim{fill:var(--blau);stroke:#fff;stroke-width:6}
.karte__name{
  font-size:36px;font-weight:600;fill:var(--tinte);
  /* weisser Hof, damit Namen ueber Fluessen und Kreislinie lesbar bleiben */
  paint-order:stroke;stroke:#F6F8FB;stroke-width:9px;stroke-linejoin:round;
}
.karte__name--heim{font-size:46px;font-weight:800;fill:var(--navy-900)}
.karte__wasser{
  font-size:30px;font-weight:500;fill:#5E9ACB;letter-spacing:.06em;
}
.karte__km{font-size:30px;font-weight:700;fill:var(--blau-tief)}
.karte__massstab{fill:none;stroke:var(--tinte-weich);stroke-width:4}
.karte__zeiger{fill:none;stroke:var(--tinte-weich);stroke-width:2.5}
.gebiet__text{padding-top:1.75rem}
.gebiet__text p{color:var(--tinte-weich)}
.gebiet__text h2{margin-bottom:1rem;color:var(--navy-900)}

.orte{
  list-style:none;margin:1.5rem 0;padding:0;
  display:flex;flex-wrap:wrap;gap:.5rem;
}
.orte li{
  padding:.35rem .75rem;
  background:var(--papier);
  border:1px solid var(--rahmen);
  font-size:.95rem;color:var(--navy-800);
}
.gebiet__hinweis{font-size:.98rem}

/* ---------- Kontakt ---------- */

.kontakt{
  background:var(--navy-900);color:#fff;
  padding:var(--sp) var(--rand);
}
.kontakt__innen{max-width:72rem;margin-inline:auto}
.kontakt h2{color:#fff}
.kontakt__vor{
  margin-top:1rem;color:#C7D5E8;max-width:30rem;
}

.wege{list-style:none;margin:2rem 0 2.75rem;padding:0;display:grid;gap:1.25rem}
.wege li{display:grid;gap:.2rem}
.wege__label{
  color:var(--glas);font-size:.82rem;font-weight:600;
  font-variation-settings:"wdth" 106;
}
.wege__wert{
  color:#fff;text-decoration:none;
  font-size:1.35rem;font-weight:700;font-variation-settings:"wdth" 108;
  letter-spacing:-.01em;
}
a.wege__wert{border-bottom:2px solid rgba(169,214,247,.45);justify-self:start}
a.wege__wert:hover{border-bottom-color:var(--glas)}
.wege__wert--mail{font-size:1.02rem;word-break:break-all}
.wege__wert--ruhig{font-size:1.02rem;font-weight:400;color:#C7D5E8;line-height:1.5}

/* ---------- Formular ---------- */

.formular{
  background:var(--weiss);color:var(--tinte);
  padding:1.5rem var(--rand);
  margin-inline:calc(var(--rand) * -1);
  border-top:7px solid var(--blau);
}
.topf{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.feld{display:grid;gap:.35rem;margin-bottom:1.1rem}
.feld label{
  font-size:.92rem;font-weight:600;color:var(--navy-800);
  font-variation-settings:"wdth" 104;
}
.feld input,.feld select,.feld textarea{
  font:inherit;font-size:1.0625rem;
  padding:.75rem .85rem;min-height:50px;
  color:var(--tinte);background:var(--weiss);
  border:1px solid #B9C5D6;border-radius:3px;
  width:100%;
}
.feld textarea{min-height:auto;resize:vertical;line-height:1.5}
.feld input::placeholder,.feld textarea::placeholder{color:#8899AD}
.feld input:focus,.feld select:focus,.feld textarea:focus{border-color:var(--blau)}
.feld input[aria-invalid="true"],.feld textarea[aria-invalid="true"]{border-color:#C02A2A;background:#FDF5F5}

.feld__hinweis{
  margin:-.5rem 0 1.25rem;
  font-size:.9rem;color:var(--tinte-weich);
}

.feld--haken{
  grid-template-columns:auto 1fr;align-items:start;gap:.65rem;
  margin:1.5rem 0;
}
.feld--haken input{width:22px;height:22px;min-height:0;margin-top:.15rem}
.feld--haken label{font-weight:400;font-size:.95rem;line-height:1.45;color:var(--tinte-weich)}

.formular__meldung{
  margin:1rem 0 0;font-size:.98rem;line-height:1.5;
}
.formular__meldung:empty{display:none}
.formular__meldung[data-art="fehler"]{color:#9E1F1F}
.formular__meldung[data-art="ok"]{
  color:#11492A;background:#E6F5EC;
  border-left:4px solid #1D8A4E;padding:.85rem 1rem;
}

/* ---------- Fuss ---------- */

.fuss{
  background:var(--navy-800);color:#C7D5E8;
  padding:var(--sp) var(--rand) 2.5rem;
  font-size:.98rem;
}
.fuss__innen{max-width:72rem;margin-inline:auto;display:grid;gap:1.75rem}
/* Das Logo ist fuer helle Untergruende gemacht - also bekommt es hier eine */
.fuss__logofeld{
  justify-self:start;
  background:var(--weiss);
  padding:1.1rem 1.35rem;
  border-radius:4px;
}
.fuss__logo{width:150px;height:auto}
.fuss b{color:#fff;font-variation-settings:"wdth" 108}
.fuss a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(169,214,247,.4)}
.fuss a:hover{border-bottom-color:var(--glas)}
.fuss__spalte p + p{margin-top:1rem}
.fuss__nav{display:flex;gap:1.5rem;padding-top:1.5rem;border-top:1px solid rgba(169,214,247,.22)}

/* Einzugsgebiet direkt über den Kontaktwegen */
.reichweite{
  display:flex;align-items:flex-start;gap:.55rem;
  max-width:30rem;
  margin-top:1.25rem !important;
  padding:.7rem .9rem;
  background:rgba(169,214,247,.1);
  border-left:3px solid var(--glas);
  color:#fff;font-size:.95rem;line-height:1.45;
}
.reichweite svg{flex:0 0 auto;color:var(--glas);margin-top:.12rem}

.fuss__zusatz{color:#A7B9D2}

/* ---------- Impressum / Datenschutz ---------- */

.rechts{
  max-width:44rem;margin-inline:auto;
  padding:2.5rem var(--rand) var(--sp);
}
.rechts h1{font-size:clamp(2rem,7vw,2.8rem);color:var(--navy-900)}
.rechts h2{
  font-size:1.25rem;margin-top:2.5rem;
  color:var(--navy-900);
  padding-top:1.1rem;border-top:1px solid var(--rahmen);
}
.rechts h1 + h2{margin-top:2rem}
.rechts p{margin-top:.85rem;color:var(--tinte-weich)}
.rechts b{color:var(--tinte)}
.rechts__zurueck{margin-top:3rem}

.luecke{
  margin:0 0 2rem;padding:1rem 1.15rem;
  background:#FFF6E3;border-left:4px solid #C98A12;
  color:#5A4412 !important;font-size:.98rem;line-height:1.5;
}
.luecke b{color:#5A4412}
.luecke--klein{margin:1rem 0 0;font-size:.94rem}

/* ---------- Anfahrtshinweis: dauerhaft, wegwischbar ---------- */

.anfahrt{
  position:fixed;left:0;right:0;z-index:49;
  bottom:var(--daumen-h);              /* sitzt auf der Daumenleiste auf */
  display:flex;align-items:center;gap:.5rem;
  padding:.5rem .75rem .5rem var(--rand);
  background:var(--navy-800);
  border-top:1px solid rgba(169,214,247,.25);
  color:#fff;
  touch-action:pan-y;                  /* senkrecht scrollen bleibt möglich */
}
.anfahrt[hidden]{display:none}
.anfahrt__text{
  margin:0;
  display:flex;align-items:center;gap:.5rem;
  font-size:.86rem;line-height:1.3;
}
.anfahrt__text svg{flex:0 0 auto;color:var(--glas)}
.anfahrt__weg{
  margin-left:auto;flex:0 0 auto;
  width:34px;height:34px;
  display:grid;place-items:center;
  background:transparent;color:#B9CAE0;
  border:1px solid rgba(169,214,247,.3);border-radius:3px;
  cursor:pointer;
}
.anfahrt__weg:hover{color:#fff;border-color:var(--glas)}

/* Wegwischen: die Leiste folgt dem Finger und fährt zur Seite raus */
.anfahrt--zieht{transition:none}
.anfahrt--fort{
  transform:translateX(110%);
  opacity:0;
  transition:transform .22s ease-in,opacity .22s ease-in;
}

/* ---------- Cookie-/Speicherhinweis ---------- */

.hinweis{
  position:fixed;z-index:60;
  left:.75rem;right:.75rem;
  bottom:calc(var(--daumen-h) + .75rem);
  max-width:30rem;
  padding:1.15rem var(--rand) 1.25rem;
  background:var(--weiss);color:var(--tinte);
  border:1px solid var(--rahmen);
  border-top:5px solid var(--blau);
  border-radius:4px;
  box-shadow:0 18px 40px -12px rgba(7,16,36,.55);
}
.hinweis[hidden]{display:none}
.hinweis__titel{
  margin:0 0 .6rem;font-size:1.1rem;color:var(--navy-900);
}
.hinweis p{font-size:.93rem;line-height:1.5;color:var(--tinte-weich)}
.hinweis p + p{margin-top:.6rem}
.hinweis__schrift{font-size:.86rem !important}
.hinweis .knopf{margin-top:1rem;width:100%}

/* ---------- Daumenleiste (nur Handy) ---------- */

.daumen{
  position:fixed;left:0;right:0;bottom:0;z-index:50;
  height:var(--daumen-h);
  display:grid;grid-template-columns:1fr 1fr;
  background:var(--navy-900);
  border-top:1px solid rgba(169,214,247,.25);
}
.daumen a{
  display:flex;align-items:center;justify-content:center;gap:.5rem;
  color:#fff;text-decoration:none;
  font-weight:600;font-size:1rem;font-variation-settings:"wdth" 104;
}
.daumen a + a{border-left:1px solid rgba(169,214,247,.25);background:var(--blau)}

/* ============================================================
   Ab Tablet
   ============================================================ */

@media (min-width:640px){
  :root{--rand:2rem}

  .held__aktion{flex-direction:row;flex-wrap:wrap}
  .held__anker{grid-template-columns:repeat(2,auto);justify-content:start;gap:2rem}
  .warum ul{grid-template-columns:repeat(2,1fr);gap:1rem 2rem}
  .paare{grid-template-columns:repeat(2,1fr);gap:2.5rem 2rem}
  .leistungen{grid-template-columns:repeat(2,1fr);gap:2.5rem 2rem}
  .ablauf{grid-template-columns:repeat(2,1fr);gap:0 3rem}
  .ablauf li:nth-child(2){border-top:1px solid var(--rahmen)}
  .ablauf li:nth-last-child(2){border-bottom:1px solid var(--rahmen)}
  .formular{padding:2rem;margin-inline:0;border-radius:4px}
  .fuss__innen{grid-template-columns:auto 1fr;align-items:start;gap:2.5rem}
  .fuss__nav{grid-column:1/-1}
}

@media (min-width:900px){
  :root{--kopf-h:76px}

  .kopf__marke img{height:42px}
  .kopf__nav{
    display:flex;gap:1.9rem;margin-left:2.5rem;
  }
  .kopf__nav a{
    color:var(--navy-800);text-decoration:none;
    font-size:1rem;font-weight:600;font-variation-settings:"wdth" 104;
    padding:.35rem 0;border-bottom:2px solid transparent;
  }
  .kopf__nav a:hover{border-bottom-color:var(--blau)}

  /* Held zweispaltig: Text links, Foto rechts randabfallend */
  .held{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;min-height:min(78vh,680px)}
  .held__bild{order:2;height:100%}
  .held__bild img{height:100%;aspect-ratio:auto;object-position:50% 32%}
  .held__bild::after{
    background:linear-gradient(to right,var(--navy-900) 0%,rgba(11,27,62,.45) 22%,rgba(11,27,62,0) 62%);
  }
  .held__text{
    order:1;margin-top:0;
    display:flex;flex-direction:column;justify-content:center;
    padding:var(--sp) 3rem var(--sp) max(var(--rand),calc((100vw - 72rem)/2 + var(--rand)));
  }

  .warum__innen{display:grid;grid-template-columns:auto 1fr;gap:3.5rem;align-items:start}
  .warum ul{margin-top:.3rem;grid-template-columns:repeat(3,1fr);gap:1.1rem 2rem}

  .paare{grid-template-columns:repeat(3,1fr);gap:2rem}

  .lupe__bilder{grid-template-columns:1fr 1fr;gap:1.25rem}
  .lupe__nav{grid-template-columns:auto auto;justify-content:end}
  .lupe__nav .knopf{width:auto;min-width:10rem}

  .leistungen{grid-template-columns:repeat(2,1fr);gap:3rem 2.5rem}
  .leistung:first-child{grid-column:span 2;display:grid;grid-template-columns:1.1fr 1fr;gap:2.5rem;align-items:center}
  .leistung:first-child .scheibe img{aspect-ratio:16/10}
  .leistung:first-child .leistung__text{padding-top:0}
  .leistung:first-child h3{font-size:1.8rem;font-variation-settings:"wdth" 112}
  .leistung:first-child p{font-size:1.075rem;max-width:26rem}

  .ablauf{grid-template-columns:repeat(4,1fr);gap:0 2rem}
  .ablauf li{border-bottom:1px solid var(--rahmen)}

  .gebiet{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:center}
  .gebiet__text{padding-top:0}

  .kontakt__innen{
    display:grid;grid-template-columns:1fr 1.05fr;gap:4rem;align-items:start;
  }
  .kontakt__weg{position:sticky;top:calc(var(--kopf-h) + 2rem)}

  .daumen{display:none}
  /* Ohne Daumenleiste rutscht der Anfahrtshinweis nach ganz unten und
     übernimmt den Platzhalter am Seitenende. */
  body{padding-bottom:var(--anfahrt-h,0px)}
  .anfahrt{
    bottom:0;
    justify-content:center;
    padding:.6rem 1rem;
    gap:1rem;
  }
  .anfahrt__text{font-size:.95rem}
  .anfahrt__weg{margin-left:0}
  .hinweis{
    left:auto;right:1.5rem;
    bottom:calc(var(--anfahrt-h,0px) + 1.5rem);
  }
  .hinweis .knopf{width:auto;min-width:11rem}
}

@media (min-width:1200px){
  .held__text h1{font-size:4.1rem}
}

/* ---------- Ruhiger Modus ---------- */

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js-klarwisch img,.js-klarwisch.klar img{
    filter:none;transform:none;transition:none;
  }
  *{animation-duration:.001ms !important;transition-duration:.001ms !important}
}
