/* autopflegeCENTER24
   Gestaltung: Hallenschwarz, Zeltplanen-Grau, das Blau aus dem Logo.
   Gelb gehört ausschließlich dem Leasing-Check (Fettstift am Lack). */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --nacht: #0a0c0f;
  --nacht-2: #12161b;
  --linie-n: #272e36;
  --beton: #eceeed;
  --weiss: #ffffff;
  --text: #13171b;
  --text-2: #4c565f;
  --linie: #d3d8d8;
  --hell-2: #a9b3bb;
  --blau: #3a8fc4;
  --blau-tief: #1c6894;
  --blau-hell: #7cc0ea;
  --stift: #ffd21f;

  --rand: clamp(20px, 4.4vw, 64px);
  --breite: 1320px;
  --luft: clamp(72px, 9vw, 144px);
  --kopfhoehe: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--kopfhoehe) + 12px); }
body {
  margin: 0; background: var(--weiss); color: var(--text);
  font: 400 1.0625rem/1.65 "Archivo", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video, svg, picture { display: block; max-width: 100%; }
figure { margin: 0; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }
::selection { background: var(--blau); color: #fff; }

h1, h2, h3, h4 { margin: 0; line-height: 1.05; text-wrap: balance; }
h1, h2 { font-stretch: 118%; font-weight: 750; letter-spacing: -.018em; }
h1 { font-size: clamp(1.95rem, 1.15rem + 3.9vw, 4.75rem); line-height: .98; }
h2 { font-size: clamp(1.62rem, 0.95rem + 3.1vw, 3.4rem); line-height: 1.04; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; font-stretch: 108%; line-height: 1.2; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; }
address { font-style: normal; }

.symbole { position: absolute; width: 0; height: 0; overflow: hidden; }
svg use { pointer-events: none; }
.nur-vorlesen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--stift); color: #000; padding: 10px 16px; font-weight: 700; }
.sprung:focus { top: 12px; }

/* ---------- Raster & Flächen ---------- */
.rahmen { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.abschnitt { padding-block: var(--luft); }
.abschnitt--eng { padding-block: clamp(48px, 6vw, 88px); }
.abschnitt + .abschnitt.ohne-oben { padding-top: 0; }
.nacht { background: var(--nacht); color: #eef2f4; }
.nacht-2 { background: var(--nacht-2); color: #eef2f4; }
.beton { background: var(--beton); }
.nacht p, .nacht-2 p { color: #c3ccd3; }

.kopfzeile { display: grid; gap: 20px 64px; margin-bottom: clamp(36px, 5vw, 64px); }
.kopfzeile > p { max-width: 46ch; font-size: 1.125rem; color: var(--text-2); }
.nacht .kopfzeile > p, .nacht-2 .kopfzeile > p { color: #c3ccd3; }
@media (min-width: 900px) { .kopfzeile { grid-template-columns: 1.25fr 1fr; align-items: end; } .kopfzeile > p { justify-self: end; } }

/* Lichtkante: wie die Leuchtröhren, die sich im Lack spiegeln */
.roehre { position: relative; padding-top: 28px; }
.roehre::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 4px; border-radius: 4px; background: var(--blau); }
.nacht .roehre::before, .nacht-2 .roehre::before { background: #fff; box-shadow: 0 0 14px 1px rgba(190, 225, 255, .55); }

/* ---------- Knöpfe & Links ---------- */
.knopf {
  --k-bg: var(--blau-tief); --k-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 14px 26px; border: 1.5px solid var(--k-bg); border-radius: 2px;
  background: var(--k-bg); color: var(--k-fg); font-weight: 650; font-stretch: 105%; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.knopf:hover { --k-bg: #134f73; }
.knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.knopf--hell { --k-bg: #fff; --k-fg: var(--nacht); }
.knopf--hell:hover { --k-bg: var(--blau-hell); }
.knopf--rand { background: transparent; color: inherit; border-color: currentColor; }
.knopf--rand:hover { background: var(--text); border-color: var(--text); color: #fff; }
.nacht .knopf--rand:hover, .nacht-2 .knopf--rand:hover, .held .knopf--rand:hover { background: #fff; border-color: #fff; color: var(--nacht); }
.knopf--stift { --k-bg: var(--stift); --k-fg: #101010; }
.knopf--stift:hover { --k-bg: #ffdf5c; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.pfeil { display: inline-flex; align-items: center; gap: .6em; font-weight: 650; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; }
.pfeil::after { content: ""; width: .55em; height: .55em; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); transition: transform .25s var(--ease), translate .25s var(--ease); }
.pfeil:hover::after { translate: 4px 0; }

/* ---------- Kopfzeile ---------- */
.kopf { position: sticky; top: 0; z-index: 100; background: var(--nacht); color: #fff; border-bottom: 1px solid var(--linie-n); }
.start .kopf { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: rgba(255,255,255,.14); transition: background-color .3s, border-color .3s; }
.start .kopf.fest, .start.menue-offen .kopf { background: var(--nacht); border-bottom-color: var(--linie-n); }
.kopf-in { display: flex; align-items: center; gap: 24px; height: var(--kopfhoehe); max-width: 1520px; margin: 0 auto; padding-inline: clamp(16px, 2.6vw, 40px); }
.marke { flex: none; position: relative; z-index: 2; }
.marke img { width: 172px; height: auto; }
.haupt { margin-left: auto; }
.haupt ul { list-style: none; margin: 0; padding: 0; }
.menue-fuss { display: none; }
.kopf-tel { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 16px; border-left: 1px solid rgba(255,255,255,.2); text-decoration: none; font-weight: 700; font-stretch: 108%; white-space: nowrap; line-height: 1.2; }
.kopf-tel svg { width: 22px; height: 22px; fill: none; stroke: var(--blau-hell); stroke-width: 1.6; stroke-linejoin: round; }
.kopf-tel small { display: block; font-size: .72rem; font-weight: 500; font-stretch: 100%; color: var(--hell-2); }
.menue-knopf { display: none; }

@media (min-width: 1181px) {
  .haupt-liste { display: flex; align-items: center; gap: clamp(2px, .9vw, 16px); }
  .haupt-liste > li { position: relative; display: flex; align-items: center; }
  .haupt-liste > li > a { padding: 10px 8px; text-decoration: none; font-size: .95rem; font-weight: 500; color: #dde3e7; background: linear-gradient(var(--blau-hell), var(--blau-hell)) 8px 100% / 0 2px no-repeat; transition: background-size .3s var(--ease), color .2s; }
  .haupt-liste > li > a:hover, .haupt-liste > li > a[aria-current] { color: #fff; background-size: calc(100% - 16px) 2px; }
  .unter-knopf { background: none; border: 0; padding: 8px 4px; margin-left: -6px; cursor: pointer; }
  .unter-knopf svg { width: 11px; fill: none; stroke: #dde3e7; stroke-width: 1.8; transition: transform .2s; }
  .unter-knopf[aria-expanded="true"] svg { transform: rotate(180deg); }
  .haupt .unter { position: absolute; top: calc(100% + 18px); left: -14px; min-width: 290px; padding: 10px 0; background: var(--nacht-2); border: 1px solid var(--linie-n); border-top: 3px solid var(--blau); box-shadow: 0 24px 48px rgba(0,0,0,.4); visibility: hidden; opacity: 0; translate: 0 6px; transition: opacity .18s, translate .18s, visibility .18s; }
  .hat-unter::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px; }
  .hat-unter:hover .unter, .hat-unter.offen .unter, .hat-unter:focus-within .unter { visibility: visible; opacity: 1; translate: 0 0; }
  .unter a { display: block; padding: 10px 22px; text-decoration: none; font-size: .95rem; color: #dde3e7; }
  .unter a:hover, .unter a:focus-visible { background: #1c232b; color: #fff; }
}

@media (max-width: 1180px) {
  :root { --kopfhoehe: 72px; }
  .marke img { width: 142px; }
  .kopf-tel { margin-left: auto; }
  .menue-knopf { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; background: transparent; border: 1.5px solid rgba(255,255,255,.35); border-radius: 2px; cursor: pointer; font-weight: 650; }
  .striche, .striche::before, .striche::after { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .25s var(--ease), background-color .2s; }
  .striche { position: relative; }
  .striche::before, .striche::after { content: ""; position: absolute; left: 0; }
  .striche::before { transform: translateY(-6px); }
  .striche::after { transform: translateY(6px); }
  .menue-offen .striche { background: transparent; }
  .menue-offen .striche::before { transform: rotate(45deg); }
  .menue-offen .striche::after { transform: rotate(-45deg); }
  .haupt { position: fixed; inset: var(--kopfhoehe) 0 0 0; height: calc(100dvh - var(--kopfhoehe)); overflow-y: auto; overscroll-behavior: contain; background: var(--nacht); padding: 8px var(--rand) 40px; visibility: hidden; opacity: 0; transition: opacity .22s, visibility .22s; }
  .menue-offen .haupt { visibility: visible; opacity: 1; }
  .menue-offen { overflow: hidden; }
  .haupt-liste > li { border-bottom: 1px solid var(--linie-n); }
  .haupt-liste > li > a { display: block; padding: 16px 0; font-size: 1.55rem; font-weight: 700; font-stretch: 115%; text-decoration: none; }
  .haupt-liste > li > a[aria-current] { color: var(--blau-hell); }
  .hat-unter { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .unter-knopf { width: 48px; height: 48px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
  .unter-knopf svg { width: 16px; fill: none; stroke: #fff; stroke-width: 1.8; transition: transform .2s; }
  .unter-knopf[aria-expanded="true"] svg { transform: rotate(180deg); }
  .haupt .unter { grid-column: 1 / -1; display: none; padding: 0 0 14px; }
  .hat-unter.offen .unter { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); column-gap: 24px; }
  .unter a { display: block; padding: 10px 0; text-decoration: none; color: #c9d2d8; }
  .menue-fuss { display: grid; gap: 14px; margin-top: 28px; }
  .menue-fuss a { text-decoration: none; font-size: 1.3rem; font-weight: 700; font-stretch: 110%; }
  .menue-fuss span { display: block; font-size: .8rem; font-weight: 500; font-stretch: 100%; color: var(--hell-2); }
}
@media (max-width: 700px) { .kopf-tel { display: none; } .menue-knopf { margin-left: auto; } }

/* ---------- Öffnungsstatus ---------- */
.status:empty { display: none; }
.status { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.status::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #8b949b; }
.status.auf::before { background: #3ecf7a; box-shadow: 0 0 0 4px rgba(62, 207, 122, .18); }

/* ---------- Startbild ---------- */
.held { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; height: 100vh; height: 100svh; min-height: 640px; max-height: 1100px; background: var(--nacht); color: #fff; overflow: hidden; }
.held-film { position: absolute; inset: 0; z-index: -2; }
.held-film picture, .held-film img, .held-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.held-film video { opacity: 0; transition: opacity .8s; }
.held-film video.laeuft { opacity: 1; }
.held::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10,12,15,.7) 0%, rgba(10,12,15,0) 26%, rgba(10,12,15,0) 38%, rgba(10,12,15,.86) 84%, var(--nacht) 100%),
  linear-gradient(90deg, rgba(10,12,15,.6), rgba(10,12,15,0) 62%); }
.held-text { padding-bottom: clamp(28px, 4.5vh, 56px); }
.held h1 { font-size: inherit; line-height: inherit; }
.held-dach { display: block; font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 600; font-stretch: 105%; letter-spacing: 0; line-height: 1.4; margin-bottom: 14px; max-width: 34ch; }
@media (min-width: 700px) { .held-dach { max-width: none; } }
.held-gross { display: block; font-size: clamp(3.1rem, 11.4vw, 9.4rem); font-weight: 800; font-stretch: 125%; line-height: .88; letter-spacing: -.028em; text-transform: none; }
.held-gross span { display: block; }
.held-unten { display: grid; gap: 24px 64px; margin-top: clamp(24px, 3.5vh, 40px); }
.held-unten p { max-width: 48ch; font-size: 1.125rem; color: #e1e7eb; margin: 0; }
.held-unten .knopfreihe { margin: 0; }
@media (min-width: 960px) { .held-unten { grid-template-columns: 1fr auto; align-items: end; } }
.held-leiste { border-top: 1px solid rgba(255,255,255,.18); }
.held-leiste .rahmen { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; min-height: 68px; font-size: .92rem; }
.held-leiste p { margin: 0; color: #dbe2e7; }
.held-leiste a { text-decoration: none; }
.held-leiste a:hover { text-decoration: underline; }
.film-knopf { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; cursor: pointer; }
.film-knopf::before { content: ""; width: 10px; height: 12px; border: solid #fff; border-width: 0 3px; }
.film-knopf.pause::before { width: 0; height: 0; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff; margin-left: 3px; }
.film-knopf[hidden] { display: none; }
@media (max-width: 899px) { .held-leiste .nur-breit { display: none; } }
@media (max-width: 700px) {
  .held { min-height: 600px; }
  .held-gross { font-size: clamp(2.4rem, 13vw, 5.4rem); font-stretch: 112%; }
  .held-unten p { font-size: 1.02rem; }
  .held-unten .knopfreihe { display: grid; grid-template-columns: 1fr; }
}
@media (max-height: 700px) and (min-width: 900px) { .held-gross { font-size: clamp(3rem, 14vh, 7rem); } }

/* ---------- Haltung (großer Fließtext) ---------- */
.haltung { display: grid; gap: 40px 72px; }
@media (min-width: 900px) { .haltung { grid-template-columns: 4fr 8fr; } }
.haltung-satz { font-size: clamp(1.5rem, 3vw, 2.45rem); line-height: 1.28; font-weight: 500; font-stretch: 103%; letter-spacing: -.012em; margin: 0; }
.haltung-satz em { font-style: normal; color: var(--blau-tief); }
.haltung-mehr { display: grid; gap: 28px 48px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--linie); }
.haltung-mehr p { color: var(--text-2); }
.haltung-mehr h3 { margin-bottom: 10px; }
@media (min-width: 620px) { .haltung-mehr { grid-template-columns: 1fr 1fr; } }

.bilderpaar { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(10px, 1.6vw, 24px); align-items: end; margin-top: var(--luft); }
.bilderpaar figure { margin: 0; }
.bilderpaar picture, .bilderpaar img { width: 100%; height: 100%; object-fit: cover; }
.bilderpaar figure:first-child picture { display: block; aspect-ratio: 4 / 3.4; }
.bilderpaar figure:last-child picture { display: block; aspect-ratio: 4 / 5; }
figcaption { margin-top: 12px; font-size: .875rem; color: var(--text-2); }
.nacht figcaption { color: var(--hell-2); }

/* ---------- Leistungsverzeichnis ---------- */
.verzeichnis { display: grid; gap: 0 72px; }
.verzeichnis ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie-n); }
.verzeichnis li { border-bottom: 1px solid var(--linie-n); }
.verzeichnis a { position: relative; display: grid; grid-template-columns: 88px 1fr 20px; gap: 4px 18px; align-items: center; padding: 18px 0; text-decoration: none; }
.verzeichnis .v-bild { grid-row: span 2; width: 88px; aspect-ratio: 1; overflow: hidden; }
.verzeichnis .v-bild img { width: 100%; height: 100%; object-fit: cover; }
.verzeichnis .v-name { font-size: clamp(1.2rem, 2.9vw, 2.35rem); font-weight: 720; font-stretch: 115%; letter-spacing: -.015em; line-height: 1.1; align-self: end; transition: color .2s; hyphens: auto; }
.verzeichnis .v-text { grid-column: 2; align-self: start; font-size: .95rem; color: var(--hell-2); line-height: 1.5; }
.verzeichnis a::after { content: ""; grid-column: 3; grid-row: 1 / span 2; width: 12px; height: 12px; border: solid var(--blau-hell); border-width: 2px 2px 0 0; transform: rotate(45deg); transition: translate .3s var(--ease); }
.verzeichnis a:hover .v-name, .verzeichnis a:focus-visible .v-name { color: var(--blau-hell); }
.verzeichnis a:hover::after { translate: 6px 0; }
.schau { display: none; }
@media (min-width: 1000px) {
  .verzeichnis { grid-template-columns: 7fr 5fr; }
  .verzeichnis a { grid-template-columns: 1fr 24px; padding: 28px 0; }
  .verzeichnis .v-bild { display: none; }
  .verzeichnis .v-text { grid-column: 1; }
  .verzeichnis a::after { grid-column: 2; }
  .schau { display: block; position: sticky; top: calc(var(--kopfhoehe) + 32px); align-self: start; height: min(660px, calc(100vh - var(--kopfhoehe) - 64px)); overflow: hidden; background: var(--nacht-2); }
  .schau picture { position: absolute; inset: 0; opacity: 0; transition: opacity .45s; }
  .schau picture.an { opacity: 1; }
  .schau img { width: 100%; height: 100%; object-fit: cover; }
}
.verzeichnis-nach { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 44px; }
.verzeichnis-nach p { max-width: 56ch; margin: 0; }

/* ---------- Leasing & Fettstift ---------- */
.markiert { position: relative; white-space: nowrap; }
.markiert::after { content: ""; position: absolute; left: -2%; right: -3%; bottom: -.2em; height: .36em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 17C58 9 128 6 188 7c38 .6 74 3 106 6M38 21c52-7 118-9 176-7' fill='none' stroke='%23ffd21f' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.kringel { position: relative; display: inline-grid; place-items: center; width: 62px; height: 62px; font-size: 1.5rem; font-weight: 800; font-stretch: 110%; }
.kringel::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M41 8C24 3 8 14 7 31c-1 16 12 27 28 26 15-1 24-13 22-28C55 17 45 9 31 9c-4 0-7 1-10 2' fill='none' stroke='%23ffd21f' stroke-width='3.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.beton .kringel::before { filter: brightness(.86) saturate(1.2); }

.befund { margin: 0; }
.befund picture, .befund img { width: 100%; }
.befund img { aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 640px) { .befund img { aspect-ratio: 4 / 3.4; } }

.schritte { list-style: none; margin: clamp(36px, 5vw, 64px) 0 0; padding: 0; display: grid; gap: 36px 40px; }
.schritte li { display: grid; grid-template-columns: 62px 1fr; gap: 6px 20px; align-content: start; }
.schritte h3 { align-self: center; }
.schritte p { grid-column: 2; font-size: 1rem; }
.beton .schritte p { color: var(--text-2); }
@media (min-width: 700px) { .schritte { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .schritte { grid-template-columns: repeat(4, 1fr); } .schritte li { grid-template-columns: 1fr; } .schritte p { grid-column: 1; } }

.fundstuecke { display: grid; gap: clamp(10px, 1.6vw, 24px); grid-template-columns: 1fr 1fr 1fr; }
.fundstuecke figure { margin: 0; }
.fundstuecke img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 640px) { .fundstuecke { grid-template-columns: 1fr 1fr; } .fundstuecke figure:first-child { grid-column: 1 / -1; } .fundstuecke figure:first-child img { aspect-ratio: 4 / 3; } }

.seva { display: inline-block; margin-top: 12px; background: #0e0b0b; padding: 4px 12px; }
.seva:hover { outline: 2px solid var(--blau); outline-offset: 2px; }
.seva img { width: 240px; height: auto; }
.titel-breit h1 .markiert::after { bottom: -.14em; }

/* ---------- Vorher / Nachher ---------- */
.vergleich { --pos: 50%; position: relative; width: 100%; overflow: hidden; background: #111; user-select: none; touch-action: pan-y; }
.vergleich picture, .vergleich img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vergleich .vor { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.vergleich .griff { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 16px 2px rgba(190, 225, 255, .7); pointer-events: none; }
.vergleich .griff::after { content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; translate: -50% -50%; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52'%3E%3Cpath d='m21 18-8 8 8 8M31 18l8 8-8 8' fill='none' stroke='%230a0c0f' stroke-width='2.4'/%3E%3C/svg%3E") center / 52px no-repeat; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.vergleich input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.vergleich input::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100vh; }
.vergleich input::-moz-range-thumb { width: 60px; height: 100%; border: 0; }
.vergleich:focus-within { outline: 3px solid var(--blau); outline-offset: 3px; }
.vergleich [class^="marke-"] { position: absolute; bottom: 14px; padding: 5px 12px; background: rgba(10,12,15,.82); color: #fff; font-size: .8rem; font-weight: 650; pointer-events: none; }
.vergleich .marke-vor { left: 14px; }
.vergleich .marke-nach { right: 14px; }

.faelle { display: grid; gap: 32px 72px; }
.faelle-wahl { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 3px; margin: -3px; }
.faelle-wahl button { flex: none; text-align: left; padding: 12px 18px; background: transparent; border: 1.5px solid var(--linie-n); border-radius: 2px; cursor: pointer; font-weight: 650; }
.faelle-wahl button small { display: none; font-weight: 400; color: var(--hell-2); font-size: .92rem; line-height: 1.5; margin-top: 6px; }
.faelle-wahl button[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--nacht); }
.faelle-wahl button[aria-selected="true"] small { color: var(--text-2); }
.beton .faelle-wahl button { border-color: #bfc6c7; }
.beton .faelle-wahl button[aria-selected="true"] { background: var(--nacht); border-color: var(--nacht); color: #fff; }
.beton .faelle-wahl button[aria-selected="true"] small { color: #c3ccd3; }
.beton .faelle-wahl button small { color: var(--text-2); }
.faelle-info { margin: 18px 0 0; min-height: 3.2em; font-size: .98rem; }
.fall[hidden] { display: none; }
.fall { max-width: 620px; width: 100%; margin-inline: auto; }
@media (min-width: 960px) {
  .faelle { grid-template-columns: 5fr 7fr; align-items: center; }
  .faelle-wahl { flex-direction: column; overflow: visible; }
  .faelle-wahl button { padding: 18px 22px; font-size: 1.2rem; font-stretch: 112%; }
  .faelle-wahl button[aria-selected="true"] small { display: block; font-stretch: 100%; }
  .faelle-info { display: none; }
}

/* ---------- Bilderband ---------- */
.band-kopf { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.band-knoepfe { display: flex; gap: 8px; }
.band-knoepfe button { width: 52px; height: 52px; border: 1.5px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; }
.band-knoepfe button::before { content: ""; width: 10px; height: 10px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); margin-left: -4px; }
.band-knoepfe button:first-child::before { transform: rotate(-135deg); margin: 0 -4px 0 0; }
.band-knoepfe button:hover { background: var(--text); border-color: var(--text); color: #fff; }
.band-knoepfe button:disabled { opacity: .3; pointer-events: none; }
.band { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 400px); gap: clamp(10px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--rand), calc((100% - var(--breite)) / 2)); scroll-padding-inline: max(var(--rand), calc((100vw - var(--breite)) / 2)); padding-block: 4px; }
.band::-webkit-scrollbar { display: none; }
.band figure { margin: 0; scroll-snap-align: start; }
.band picture, .band img { width: 100%; }
.band img { aspect-ratio: 4 / 5; object-fit: cover; }
.band figcaption { display: flex; justify-content: space-between; gap: 16px; color: var(--text); font-weight: 700; font-stretch: 110%; font-size: 1.05rem; }
.band figcaption span { font-weight: 400; font-stretch: 100%; color: var(--text-2); font-size: .9rem; }

/* ---------- Familie ---------- */
.duo { display: grid; gap: 40px 80px; align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } .duo--7-5 { grid-template-columns: 7fr 5fr; } .duo--5-7 { grid-template-columns: 5fr 7fr; } .duo--oben { align-items: start; } }
.duo > figure { margin: 0; }
.duo > figure picture, .duo > figure img { width: 100%; }
.hoch img { aspect-ratio: 4 / 5; object-fit: cover; }
.quer img { aspect-ratio: 4 / 3; object-fit: cover; }
.personen { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--linie); }
.personen li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--linie); }
.personen strong { font-size: 1.3rem; font-stretch: 112%; font-weight: 720; }
.personen span { color: var(--text-2); text-align: right; font-size: .95rem; align-self: center; }
@media (max-width: 520px) { .personen li { grid-template-columns: 1fr; } .personen span { text-align: left; } }

/* ---------- Instagram ---------- */
.insta-raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(10px, 1.6vw, 24px); }
@media (min-width: 900px) { .insta-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.insta-raster a { display: block; text-decoration: none; }
.insta-bild { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--nacht-2); }
.insta-bild img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease); }
.insta-raster a:hover img { scale: 1.035; }
.insta-video { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; background: rgba(10,12,15,.82); color: #fff; font-size: .78rem; font-weight: 650; }
.insta-raster time { display: block; margin-top: 12px; font-size: .82rem; color: var(--hell-2); }
.insta-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-top: 4px; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.insta-raster a:hover .insta-text { color: var(--blau-hell); }

/* ---------- Gutschein ---------- */
.gutschein { background: #14557a; color: #fff; overflow: hidden; }
.gutschein p { color: #dcecf6; }
.gutschein .duo p { max-width: 46ch; }
.gutschein h2 { margin-bottom: 20px; }
.karten { position: relative; aspect-ratio: 10 / 9.4; width: 100%; max-width: 620px; justify-self: center; }
.karten picture { position: absolute; width: 78%; box-shadow: 0 30px 50px rgba(0, 12, 24, .45); }
.karten picture:nth-child(1) { top: 1%; right: 1%; rotate: 6deg; }
.karten picture:nth-child(2) { bottom: 2%; left: 0; rotate: -4deg; }
.karten img { width: 100%; }

/* ---------- Anfahrt-Streifen ---------- */
.gebiet { columns: 2; column-gap: 32px; list-style: none; padding: 0; margin: 28px 0 0; }
.gebiet li { padding: 7px 0; border-bottom: 1px solid var(--linie); break-inside: avoid; }
@media (min-width: 620px) { .gebiet { columns: 3; } }

/* ---------- Fußbereich ---------- */
.fuss { background: var(--nacht); color: #dde3e7; font-size: .95rem; border-top: 1px solid var(--linie-n); }
.fuss-kontakt { padding-top: var(--luft); padding-bottom: clamp(48px, 6vw, 80px); }
.fuss-titel { color: #fff; font-size: clamp(2.2rem, 6vw, 5rem); font-stretch: 125%; }
.fuss-vorwort { max-width: 58ch; margin-top: 18px; color: var(--hell-2); }
.fuss-nummern { display: grid; margin-top: 36px; border-top: 1px solid var(--linie-n); }
.fuss-nummern a { display: block; padding: 22px 0; border-bottom: 1px solid var(--linie-n); text-decoration: none; transition: color .2s; }
.fuss-nummern span { display: block; color: var(--hell-2); font-size: .9rem; margin-bottom: 4px; }
.fuss-nummern strong { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 750; font-stretch: 115%; white-space: nowrap; letter-spacing: -.01em; }
.fuss-nummern a:hover strong { color: var(--blau-hell); }
@media (min-width: 900px) { .fuss-nummern { grid-template-columns: repeat(3, 1fr); } .fuss-nummern a + a { padding-left: 32px; border-left: 1px solid var(--linie-n); } }
.fuss-raster { display: grid; gap: 40px 32px; padding-bottom: 48px; }
.fuss-raster h3 { font-size: .95rem; font-stretch: 100%; color: #fff; margin-bottom: 16px; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--blau-hell); }
.fuss-links li { padding: 3px 0; }
.fuss-marke img { width: 150px; }
@media (min-width: 620px) { .fuss-raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .fuss-raster { grid-template-columns: 1fr 1.1fr 1.2fr 1fr; } }
.sozial { display: flex; gap: 10px; margin-top: 20px !important; }
.sozial a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--linie-n); border-radius: 50%; }
.sozial a:hover { border-color: var(--blau-hell); }
.sozial svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.zeiten { margin: 0 0 14px; }
.zeiten div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 16px; padding: 9px 0; border-bottom: 1px solid var(--linie-n); }
.zeiten dt { color: var(--hell-2); }
.zeiten dd { margin: 0; font-variant-numeric: tabular-nums; }
.beton .zeiten div, .weiss .zeiten div { border-color: var(--linie); }
.beton .zeiten dt, .weiss .zeiten dt { color: var(--text-2); }
.fuss-gebiet { padding-block: 24px; border-top: 1px solid var(--linie-n); color: var(--hell-2); font-size: .875rem; }
.fuss-ende { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; border-top: 1px solid var(--linie-n); font-size: .875rem; color: var(--hell-2); }
.fuss-ende ul { display: flex; gap: 24px; }

/* ---------- Daumenleiste (Handy) ---------- */
.daumen { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .daumen { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1fr; background: var(--nacht-2); border-top: 1px solid var(--linie-n); padding-bottom: env(safe-area-inset-bottom); }
  .daumen a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px; color: #fff; text-decoration: none; font-size: .75rem; font-weight: 600; }
  .daumen svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .daumen .daumen-haupt { background: var(--blau-tief); }
  .menue-offen .daumen { display: none; }
}

/* ---------- Unterseiten: Titelbereich ---------- */
.krumen ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 28px; padding: 0; font-size: .85rem; color: var(--hell-2); }
.krumen li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.krumen a { text-decoration: none; }
.krumen a:hover { text-decoration: underline; }
.vorspann { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.55; max-width: 50ch; margin-top: 24px; }

/* geteilt: Text links, hohes Foto randabfallend rechts */
.titel-geteilt { display: grid; background: var(--nacht); color: #fff; }
.titel-geteilt .vorspann { color: #c8d1d7; }
.titel-geteilt-text { padding: clamp(32px, 5vw, 72px) var(--rand) clamp(48px, 6vw, 88px); align-self: center; width: 100%; }
.titel-geteilt-bild { position: relative; min-height: 440px; }
.titel-geteilt-bild picture, .titel-geteilt-bild > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.titel-geteilt-bild video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.titel-geteilt-bild .vergleich { position: absolute; inset: 0; height: 100%; aspect-ratio: auto !important; }
@media (min-width: 900px) {
  .titel-geteilt { grid-template-columns: 1.15fr .85fr; min-height: min(760px, calc(100vh - var(--kopfhoehe))); }
  .titel-geteilt-text { padding-left: max(var(--rand), calc((100vw - var(--breite)) / 2)); padding-right: clamp(32px, 5vw, 80px); }
}
@media (max-width: 899px) { .titel-geteilt-bild { aspect-ratio: 4 / 4.4; min-height: 0; max-height: 80vh; width: 100%; } }

/* breit: Überschrift, darunter Panorama */
.titel-breit { background: var(--nacht); color: #fff; }
.titel-breit .rahmen.oben { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 4vw, 56px); display: grid; gap: 0 64px; }
.titel-breit .krumen { grid-column: 1 / -1; }
.titel-breit .vorspann { color: #c8d1d7; }
@media (min-width: 960px) { .titel-breit .rahmen.oben { grid-template-columns: 1.1fr .9fr; align-items: end; } .titel-breit .vorspann { margin: 0; justify-self: end; } }
.panorama picture, .panorama img { width: 100%; }
.panorama img { height: clamp(300px, 62vh, 680px); object-fit: cover; }

/* ---------- Unterseiten: Inhalt ---------- */
.mit-leiste { display: grid; gap: 56px 88px; }
@media (min-width: 1040px) { .mit-leiste { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.strecke > * + * { margin-top: clamp(56px, 7vw, 96px); }
.strecke h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 20px; }
.strecke h2 + p, .lesetext p { max-width: 66ch; }
.strecke p { color: var(--text-2); }
.strecke p strong { color: var(--text); }

.leiste { position: sticky; top: calc(var(--kopfhoehe) + 24px); background: var(--nacht); color: #fff; padding: 32px; }
.leiste h2 { font-size: 1.5rem; margin-bottom: 12px; }
.leiste p { color: #bfc8cf; font-size: .95rem; }
.leiste .knopf { width: 100%; margin-top: 10px; }
.leiste-nummer { display: block; margin: 22px 0 6px; padding-top: 20px; border-top: 1px solid var(--linie-n); text-decoration: none; }
.leiste-nummer span { display: block; font-size: .82rem; color: var(--hell-2); }
.leiste-nummer strong { font-size: 1.6rem; font-stretch: 112%; }
.leiste .status { margin: 16px 0 0; color: #dde3e7; font-size: .88rem; }
@media (max-width: 1039px) { .leiste { position: static; } }

.haken { list-style: none; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--text); }
.haken li { padding: 13px 0; border-bottom: 1px solid var(--linie); line-height: 1.45; break-inside: avoid; }
@media (min-width: 640px) { .haken { columns: 2; column-gap: 40px; } .haken--eins { columns: 1; } }
.haken span { display: block; font-size: .9rem; color: var(--text-2); }

.pakete { margin-top: 32px; border-top: 2px solid var(--text); }
.paket { display: grid; gap: 8px 40px; padding: 24px 0; border-bottom: 1px solid var(--linie); }
.paket h3 { font-size: 1.3rem; }
.paket p { margin: 0; }
@media (min-width: 720px) { .paket { grid-template-columns: 240px 1fr; } }

.paket-liste { margin: 0; padding: 0 0 0 1.1em; color: var(--text-2); }
.paket-liste li { padding: 1px 0; }
.paket-teil { margin: 16px 0 6px; font-size: 1rem; font-weight: 700; }
.paket-extra { margin-top: 16px !important; padding-top: 12px; border-top: 1px dashed var(--linie); }
.fotos.einzeln { grid-template-columns: minmax(0, 1fr); }
.fotos.einzeln img { aspect-ratio: 4 / 3; }
.paket.person span { display: block; margin-top: 6px; font-size: .92rem; color: var(--text-2); }
@media (min-width: 720px) { .paket.person { grid-template-columns: 360px 1fr; } .paket.person h3 { font-size: 1.7rem; } .paket.person p { max-width: 62ch; } }
.grundsatz { padding: 20px 0; }
.grundsatz strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.grundsatz p { margin: 0; }

.fotos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 20px); }
.fotos figure { margin: 0; }
.fotos picture, .fotos img { width: 100%; }
.fotos img { aspect-ratio: 4 / 5; object-fit: cover; }
.fotos--quer img { aspect-ratio: 4 / 3; }
.fotos .ganz { grid-column: 1 / -1; }
.fotos .ganz img { aspect-ratio: 16 / 9; }
@media (max-width: 520px) { .fotos--quer { grid-template-columns: 1fr; } }

.hinweis { padding: 24px 28px; background: var(--beton); border-left: 5px solid var(--blau); }
.hinweis p { color: var(--text); max-width: 64ch; }
.hinweis h3 { margin-bottom: 8px; }
.beton .hinweis { background: #fff; }

.nicht { list-style: none; padding: 0; margin: 20px 0 0; }
.nicht li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--linie); }
.nicht li::before, .nicht li::after { content: ""; position: absolute; left: 3px; top: 1.35em; width: 16px; height: 2px; background: var(--text-2); rotate: 45deg; }
.nicht li::after { rotate: -45deg; }

.fragen { border-top: 2px solid var(--text); margin-top: 28px; }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary { position: relative; display: block; padding: 20px 52px 20px 0; cursor: pointer; font-weight: 650; font-size: 1.12rem; font-stretch: 104%; list-style: none; line-height: 1.4; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::before, .frage summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--blau-tief); transition: rotate .25s var(--ease); }
.frage summary::after { rotate: 90deg; }
.frage[open] summary::after { rotate: 0deg; }
.frage summary:hover { color: var(--blau-tief); }
.frage > p { padding-bottom: 22px; max-width: 66ch; margin: 0; }
.nacht .fragen { border-color: #fff; }
.nacht .frage { border-color: var(--linie-n); }
.nacht .frage summary::before, .nacht .frage summary::after { background: var(--blau-hell); }
.nacht .frage summary:hover { color: var(--blau-hell); }

.weiter { display: grid; gap: clamp(10px, 1.6vw, 24px); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 40px; }
.weiter a { position: relative; display: block; overflow: hidden; background: var(--nacht); color: #fff; text-decoration: none; isolation: isolate; }
.weiter picture, .weiter img { width: 100%; }
.weiter img { aspect-ratio: 4 / 3; object-fit: cover; transition: scale .7s var(--ease); }
.weiter a:hover img { scale: 1.045; }
.weiter span { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 56px 22px 20px; background: linear-gradient(transparent, rgba(10,12,15,.92)); font-size: 1.28rem; font-weight: 720; font-stretch: 112%; line-height: 1.15; }
.weiter span::after { content: ""; flex: none; width: 11px; height: 11px; margin-bottom: 5px; border: solid var(--blau-hell); border-width: 2px 2px 0 0; transform: rotate(45deg); }

/* ---------- Leistungsübersicht: abwechselnd Bild / Text ---------- */
.angebot { display: grid; gap: var(--luft); }
.angebot-zeile { display: grid; gap: 28px 72px; align-items: center; }
.angebot-bild { display: block; overflow: hidden; }
.angebot-bild picture, .angebot-bild img { width: 100%; }
.angebot-bild img { aspect-ratio: 4 / 3; object-fit: cover; transition: scale .8s var(--ease); }
.angebot-bild:hover img { scale: 1.035; }
.angebot h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); margin-bottom: 18px; }
.angebot h2 a { text-decoration: none; }
.angebot h2 a:hover { color: var(--blau-tief); }
.angebot p { color: var(--text-2); max-width: 52ch; }
.angebot .haken { margin: 22px 0 26px; }
@media (min-width: 900px) { .angebot-zeile { grid-template-columns: 1fr 1fr; } .angebot-zeile:nth-child(even) .angebot-bild { order: 2; } }

/* ---------- Preisrechner Scheibentönung ---------- */
.rechner { display: grid; background: var(--nacht); color: #fff; margin-top: 32px; }
@media (min-width: 820px) { .rechner { grid-template-columns: 1.35fr 1fr; } }
.rechner fieldset { border: 0; margin: 0; padding: clamp(20px, 3vw, 36px); min-width: 0; }
.rechner legend { float: left; width: 100%; padding: 0 0 14px; font-weight: 700; font-size: 1.15rem; }
.rechner legend + * { clear: both; }
.rechner label { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 14px 13px 42px; border-top: 1px solid var(--linie-n); cursor: pointer; line-height: 1.35; }
.rechner label::before { content: ""; position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #6d7983; }
.rechner label:hover { background: #151b21; }
.rechner label:has(input:checked) { background: #1b242c; }
.rechner label:has(input:checked)::before { border: 5px solid var(--blau-hell); background: var(--nacht); }
.rechner label:has(input:focus-visible) { outline: 3px solid var(--blau); outline-offset: -3px; }
.rechner input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rechner .preis { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rechner .zusatz { margin-top: 18px; border: 1px solid var(--linie-n); }
.rechner .zusatz::before { border-radius: 2px; }
.rechner-summe { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 40px); background: var(--blau-tief); }
.rechner-summe p { color: #e3f1fa; margin: 0; }
.rechner-summe output { display: block; font-size: clamp(3.6rem, 7vw, 5.6rem); font-weight: 800; font-stretch: 118%; line-height: 1; margin: 10px 0 4px; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.rechner-summe .knopf { margin-top: 26px; }

/* ---------- Galerie ---------- */
.dreier { display: grid; gap: 32px clamp(12px, 1.6vw, 24px); align-items: start; }
.dreier figure { max-width: 520px; width: 100%; margin-inline: auto; }
/* Spaltenbreiten = Seitenverhältnisse der Bildpaare, dadurch gleiche Höhe */
@media (min-width: 900px) { .dreier { grid-template-columns: 0.75fr 0.8fr 1.086fr; } .dreier figure { max-width: none; } }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter button { min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--linie); border-radius: 2px; background: #fff; font-weight: 600; cursor: pointer; }
.filter button[aria-pressed="true"] { background: var(--nacht); border-color: var(--nacht); color: #fff; }
.wand { columns: 2; column-gap: clamp(10px, 1.4vw, 20px); }
@media (min-width: 900px) { .wand { columns: 3; } }
@media (min-width: 1300px) { .wand { columns: 4; } }
.wand figure { margin: 0 0 clamp(10px, 1.4vw, 20px); break-inside: avoid; }
.wand figure[hidden] { display: none; }
.wand button { display: block; width: 100%; padding: 0; border: 0; background: var(--beton); cursor: zoom-in; overflow: hidden; }
.wand picture, .wand img { width: 100%; }
.wand img { transition: scale .7s var(--ease); }
.wand button:hover img { scale: 1.035; }
.wand figcaption { margin-top: 8px; }
.wand figcaption strong { display: block; color: var(--text); }

.gross { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(6,8,10,.97); color: #fff; }
.gross::backdrop { background: rgba(6,8,10,.9); }
.gross[open] { display: grid; grid-template-rows: auto 1fr auto; }
.gross-leiste { display: flex; justify-content: flex-end; padding: 14px; }
.gross button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(10,12,15,.7); color: #fff; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.gross-bild { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 12px; }
.gross-bild img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gross-bild button { position: absolute; top: 50%; translate: 0 -50%; }
.gross-bild .zurueck { left: 14px; }
.gross-bild .vorwaerts { right: 14px; }
.gross-text { padding: 16px 20px 24px; text-align: center; margin: 0; }

/* ---------- Formular ---------- */
.formular { display: grid; gap: 20px; }
@media (min-width: 620px) { .formular { grid-template-columns: 1fr 1fr; } .formular .voll { grid-column: 1 / -1; } }
.feld label, .formular legend { display: block; margin-bottom: 7px; font-weight: 650; font-size: .95rem; }
.feld small { font-weight: 400; color: var(--text-2); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 54px; padding: 13px 15px; background: #fff; border: 1.5px solid #aab3b6; border-radius: 2px; transition: border-color .2s; }
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--blau-tief); outline: 3px solid rgba(58,143,196,.3); outline-offset: 0; }
.feld select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2313171b' stroke-width='1.8'/%3E%3C/svg%3E") right 16px center / 13px no-repeat; padding-right: 44px; }
.formular fieldset { border: 0; margin: 0; padding: 0; }
.wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px; margin: 0; background: #fff; border: 1.5px solid #aab3b6; cursor: pointer; font-weight: 500; }
.wahl input { accent-color: var(--blau-tief); width: 17px; height: 17px; }
.zustimmung { display: flex; gap: 14px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.zustimmung input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--blau-tief); }
.honig { position: absolute !important; left: -9999px; }

/* Spamschutz */
.captcha-kasten { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; max-width: 440px; min-height: 68px; margin: 0 !important; padding: 16px 18px; background: #fff; border: 1.5px solid #aab3b6; border-radius: 2px; cursor: pointer; }
.captcha-kasten input { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; margin: 0; opacity: 0; cursor: pointer; }
.captcha-haken { position: relative; flex: none; width: 30px; height: 30px; border: 2px solid #6d7983; border-radius: 3px; pointer-events: none; }
.captcha-text { font-weight: 650; pointer-events: none; }
.captcha-status { margin-left: auto; font-size: .88rem; font-weight: 400; color: var(--text-2); }
.captcha-kasten input:focus-visible + .captcha-haken { outline: 3px solid var(--blau); outline-offset: 3px; }
.captcha[data-zustand="prueft"] .captcha-haken { border-color: var(--linie); border-top-color: var(--blau-tief); border-radius: 50%; animation: drehen .8s linear infinite; }
.captcha[data-zustand="prueft"] .captcha-kasten, .captcha[data-zustand="prueft"] input { cursor: progress; }
.captcha[data-zustand="ok"] .captcha-kasten { border-color: #1f9d57; }
.captcha[data-zustand="ok"] .captcha-haken { background: #1f9d57; border-color: #1f9d57; }
.captcha[data-zustand="ok"] .captcha-haken::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 15px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
@keyframes drehen { to { transform: rotate(360deg); } }
.formular .knopfreihe { margin-top: 4px; }
.meldung { padding: 20px 24px; border-left: 5px solid var(--blau); background: #fff; }
.meldung:empty { display: none; }
.meldung.gut { border-color: #1f9d57; }
.meldung.schlecht { border-color: #c2410c; }

.kontaktkarten { display: grid; border-top: 2px solid var(--text); margin-top: 28px; }
.kontaktkarten a { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--linie); text-decoration: none; }
.kontaktkarten span { font-size: .9rem; color: var(--text-2); }
.kontaktkarten strong { grid-column: 1; font-size: clamp(1.35rem, 3.4vw, 2rem); font-stretch: 112%; font-weight: 740; overflow-wrap: anywhere; line-height: 1.2; }
.kontaktkarten a::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 12px; height: 12px; border: solid var(--blau-tief); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.kontaktkarten a:hover strong { color: var(--blau-tief); }

.karte { position: relative; display: grid; place-items: center; min-height: 460px; background: var(--nacht-2) url("../img/gebaeude-1024.webp") center / cover; color: #fff; text-align: center; }
.karte::before { content: ""; position: absolute; inset: 0; background: rgba(10,12,15,.82); }
.karte-hinweis { position: relative; padding: 40px var(--rand); max-width: 640px; }
.karte-hinweis p { color: #d3dbe0; margin-top: 14px; }
.karte-hinweis .knopfreihe { justify-content: center; }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Rechtstexte & 404 ---------- */
.recht { max-width: 780px; }
.recht h2 { font-size: 1.5rem; margin: 48px 0 14px; }
.recht h3 { margin: 28px 0 8px; }
.recht ul { padding-left: 20px; }
.recht { overflow-wrap: break-word; }
.titel-schlicht { background: var(--nacht); color: #fff; padding-block: clamp(32px, 5vw, 64px) clamp(40px, 6vw, 80px); }
.titel-schlicht .vorspann { color: #c8d1d7; }

/* ---------- Einblenden ---------- */
/* Nie vollstaendig abschneiden: sonst laedt der Browser die Bilder nicht nach */
.js .zeig > picture { display: block; clip-path: inset(9% 7% 9% 7%); transition: clip-path 1.1s var(--ease); }
.js .zeig.da > picture { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .zeig > picture { clip-path: none; }
}

@media print {
  .kopf, .fuss-raster, .daumen, .knopf, .held-film, .karte { display: none !important; }
  body { color: #000; }
}

/* ---------- Schmale Bildschirme: lange deutsche Wörter dürfen das Raster nicht sprengen ---------- */
.kopfzeile, .haltung, .verzeichnis, .duo, .faelle, .mit-leiste, .angebot, .angebot-zeile, .titel-geteilt,
.titel-breit .rahmen.oben, .rechner, .formular, .fuss-raster, .schritte, .pakete, .paket, .dreier { grid-template-columns: minmax(0, 1fr); }
.mit-leiste > *, .duo > *, .haltung > *, .faelle > *, .verzeichnis > * { min-width: 0; }
h1, h2, h3, .v-name, .kontaktkarten strong { overflow-wrap: break-word; }
@media (min-width: 620px) {
  .formular { grid-template-columns: 1fr 1fr; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 700px) { .schritte { grid-template-columns: 1fr 1fr; } }
@media (min-width: 720px) { .paket { grid-template-columns: 240px minmax(0, 1fr); } .paket.person { grid-template-columns: 360px minmax(0, 1fr); } }
@media (min-width: 820px) { .rechner { grid-template-columns: 1.35fr 1fr; } }
@media (min-width: 900px) {
  .kopfzeile { grid-template-columns: 1.25fr 1fr; }
  .haltung { grid-template-columns: 4fr 8fr; }
  .duo { grid-template-columns: 1fr 1fr; }
  .duo--7-5 { grid-template-columns: 7fr 5fr; }
  .duo--5-7 { grid-template-columns: 5fr 7fr; }
  .angebot-zeile { grid-template-columns: 1fr 1fr; }
  .titel-geteilt { grid-template-columns: 1.15fr .85fr; }
  .dreier { grid-template-columns: 0.75fr 0.8fr 1.086fr; }
}
@media (min-width: 960px) {
  .faelle { grid-template-columns: 5fr 7fr; }
  .titel-breit .rahmen.oben { grid-template-columns: 1.1fr .9fr; }
}
@media (min-width: 1000px) { .verzeichnis { grid-template-columns: 7fr 5fr; } }
@media (min-width: 1040px) {
  .mit-leiste { grid-template-columns: minmax(0, 1fr) 340px; }
  .fuss-raster { grid-template-columns: 1fr 1.1fr 1.2fr 1fr; }
  .schritte { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) { .schritte { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 999px) { .verzeichnis a { grid-template-columns: 88px minmax(0, 1fr) 14px; } }
@media (max-width: 600px) {
  h1, h2, .v-name { hyphens: auto; }
  .verzeichnis a { grid-template-columns: 68px minmax(0, 1fr) 12px; gap: 3px 14px; }
  .verzeichnis .v-bild { width: 68px; }
  .verzeichnis .v-name { font-size: 1.1rem; font-stretch: 108%; }
  .verzeichnis .v-text { font-size: .87rem; }
}
.kontaktkarten { grid-template-columns: minmax(0, 1fr); }
.kontaktkarten a { grid-template-columns: minmax(0, 1fr) auto; }
.kontaktkarten strong.mail { font-size: clamp(1.05rem, 4.4vw, 1.9rem); font-stretch: 105%; }

/* ---------- Feinschliff Handy ---------- */
@media (max-width: 700px) {
  .held { height: calc(100vh - 64px); height: calc(100svh - 64px - env(safe-area-inset-bottom)); min-height: 580px; }
  .panorama img { height: auto; aspect-ratio: 4 / 3.2; }
}
@media (max-width: 520px) {
  .knopfreihe { display: grid; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 959px) {
  .faelle-wahl { flex-wrap: wrap; overflow: visible; }
  .faelle-wahl button { flex: 1 1 auto; text-align: center; }
}

/* ---------- Social-Icons oben ---------- */
.kopf-sozial, .menue-sozial { list-style: none; margin: 0; padding: 0; }
.kopf-sozial { display: flex; flex: none; gap: 2px; }
.kopf-sozial a, .menue-fuss .menue-sozial a { display: grid; place-items: center; border-radius: 50%; color: #dde3e7; transition: color .2s, background-color .2s; }
.kopf-sozial a { width: 38px; height: 38px; }
.kopf-sozial a:hover, .menue-fuss .menue-sozial a:hover { color: var(--blau-hell); background: rgba(255, 255, 255, .08); }
.kopf-sozial svg, .menue-sozial svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.menue-sozial { display: none; }
@media (min-width: 1181px) and (max-width: 1439px) {
  .kopf-in { gap: 14px; padding-inline: 20px; }
  .marke img { width: 146px; }
  .haupt-liste { gap: 0; }
  .haupt-liste > li > a { padding-inline: 6px; font-size: .9rem; background-position: 6px 100%; }
  .haupt-liste > li > a:hover, .haupt-liste > li > a[aria-current] { background-size: calc(100% - 12px) 2px; }
  .kopf-sozial a { width: 32px; height: 36px; }
  .kopf-sozial svg { width: 19px; height: 19px; }
  .kopf-tel { padding-inline: 12px 0; gap: 8px; }
}
@media (max-width: 1180px) {
  .kopf-sozial { margin-left: auto; }
  .kopf-tel { margin-left: 0; }
}
@media (max-width: 700px) {
  .kopf-sozial { display: none; }
  .menue-sozial { display: flex; gap: 12px; }
  .menue-fuss .menue-sozial a { width: 48px; height: 48px; border: 1px solid var(--linie-n); }
}

/* Startbild auf dem Handy: darf mitwachsen, damit nichts unter die Kopfzeile rutscht */
@media (max-width: 700px) {
  .held { height: auto; min-height: max(580px, calc(100vh - 64px)); min-height: max(580px, calc(100svh - 64px - env(safe-area-inset-bottom))); max-height: none; padding-top: calc(var(--kopfhoehe) + 16px); }
}

/* ---------- Spar-Hinweis Leasing ---------- */
.sparen { background: var(--stift); color: #101010; padding-block: clamp(48px, 6vw, 88px); }
.sparen-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 64px; }
.sparen p { color: #24210f; max-width: 58ch; }
.sparen .sparen-gross { font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.5; color: #101010; }
.sparen a { color: inherit; font-weight: 650; }
.sparen :focus-visible { outline-color: #101010; }
@media (min-width: 900px) { .sparen-in { grid-template-columns: 5fr 6fr; align-items: start; } }
.spar-zeile { margin: 44px 0 0; padding: 18px 22px; max-width: 74ch; background: #fff; border-left: 6px solid var(--stift); }
.spar-zeile + .knopfreihe { margin-top: 22px; }

/* Hinweis auf die Agentur */
.fuss-ende .macher { margin: 0; }
.macher .herz { color: #e5484d; font-size: 1.1em; }
.macher a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); }
.macher a:hover { text-decoration-color: currentColor; }
.fuss-ende p { margin: 0; }
