/* AL Facility Management · neue Website · Gestaltungsidee „Das Objekt im Plan“ */
@font-face { font-family: "Barlow SC"; src: url("/assets/fonts/barlow-semi-condensed-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Source"; src: url("/assets/fonts/source-sans-3.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --tinte: #102B49;
  --nacht: #0B2037;
  --kobalt: #2D5BFF;
  --kobalt-dunkel: #2149D9;
  --himmel: #B6D5FF;
  --hellblau: #9ECAFF;
  --eis: #E8F1FC;
  --papier: #F7F6F2;
  --weiss: #FFFFFF;
  --text: #102B49;
  --text-2: #4E6074;
  --linie: #CBD7E6;
  --linie-stark: #8FA3BB;
  --fehler: #B42318;
  --gruen: #1F8A55;
  --anzeige: "Barlow SC", "Arial Narrow", system-ui, sans-serif;
  --fliess: "Source", system-ui, -apple-system, "Segoe UI", sans-serif;
  --marke: "Archivo", system-ui, sans-serif;
  --rahmen: 80rem;
  --rand: clamp(1.1rem, 4vw, 2.5rem);
  --abstand: clamp(4rem, 3rem + 4vw, 7.5rem);
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--papier); color: var(--text); font: 400 1.0625rem/1.6 var(--fliess); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--kobalt); }
h1, h2, h3 { margin: 0; font-family: var(--anzeige); font-weight: 500; line-height: 1; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 1.7rem + 4.2vw, 5.5rem); line-height: .94; }
h2 { font-size: clamp(2.05rem, 1.45rem + 2.4vw, 3.5rem); }
h3 { font-size: 1.45rem; line-height: 1.1; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--kobalt); outline-offset: 3px; }
::selection { background: var(--himmel); color: var(--tinte); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.rahmen { width: 100%; max-width: var(--rahmen); margin-inline: auto; padding-inline: var(--rand); }
.schmal { max-width: 56rem; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: .7rem 1rem; background: var(--tinte); color: var(--weiss); border-radius: var(--radius); }
.skip:focus { top: 1rem; }
main:focus { outline: none; }

/* ---------- Kennung, Knöpfe, Links ---------- */
.kennung { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem; font: 650 .74rem/1.2 var(--marke); letter-spacing: .09em; text-transform: uppercase; color: var(--kobalt-dunkel); }
.kennung::before { content: ""; width: .55rem; height: .55rem; background: var(--kobalt); flex: none; }
.kennung--hell { color: var(--hellblau); }
.kennung--hell::before { background: var(--hellblau); }

.ic { width: 1.15em; height: 1.15em; flex: none; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 3.1rem; padding: .75rem 1.3rem; border: 1.5px solid transparent; border-radius: var(--radius); font: 600 1rem/1.2 var(--fliess); text-decoration: none; cursor: pointer; }
.knopf .ic { width: 1.05em; height: 1.05em; }
.knopf--kobalt { background: var(--kobalt); color: var(--weiss); }
.knopf--kobalt:hover { background: var(--kobalt-dunkel); }
.knopf--tinte { background: var(--tinte); color: var(--weiss); }
.knopf--tinte:hover { background: var(--nacht); }
.knopf--hell { background: var(--weiss); color: var(--tinte); }
.knopf--hell:hover { background: var(--eis); }
.knopf--rahmen { background: var(--weiss); color: var(--tinte); border-color: var(--linie-stark); }
.knopf--rahmen:hover { border-color: var(--tinte); }
.knopf--klein { min-height: 2.6rem; padding: .5rem 1rem; font-size: .95rem; }
.knopf--breit { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .knopf, .knopf .ic, .textlink .ic { transition: background-color .2s, border-color .2s, transform .25s; }
  .knopf:hover .ic, .textlink:hover .ic { transform: translateX(3px); }
}
.textlink { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; font-weight: 600; color: var(--tinte); text-decoration: underline; text-decoration-color: var(--linie-stark); }
.textlink:hover { text-decoration-color: var(--kobalt); }
.textlink .ic { color: var(--kobalt); }
.textlink--hell { color: var(--weiss); text-decoration-color: rgb(255 255 255 / .4); }
.textlink--hell .ic { color: var(--hellblau); }
.reihe { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.reihe--klein { gap: .6rem 1.1rem; }

/* ---------- Marke ---------- */
.marke { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--tinte); }
.marke__zeichen { width: 3.1rem; height: auto; }
.marke__l { fill: var(--kobalt); }
.marke__name { font: 650 1rem/1.05 var(--marke); letter-spacing: -.035em; white-space: nowrap; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 20; background: rgb(247 246 242 / .94); border-bottom: 1px solid var(--linie); backdrop-filter: saturate(1.4) blur(10px); }
.kopf__zeile { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.kopf__nav { margin-left: auto; }
.kopf__nav ul { display: flex; gap: .25rem; }
.kopf__nav a { display: block; padding: .6rem .85rem; font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.kopf__nav a:hover { background: var(--eis); }
.kopf__nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--kobalt); border-radius: 0; }
.kopf__aktion { display: flex; align-items: center; gap: .75rem; }
.kopf__tel { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; padding: .5rem; }
.kopf__tel .ic { color: var(--kobalt); }
.kopf__menue { display: none; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .5rem .8rem; border: 1.5px solid var(--linie-stark); border-radius: var(--radius); background: var(--weiss); color: var(--tinte); font: 600 .95rem var(--fliess); cursor: pointer; }
@media (max-width: 75rem) { .kopf__tel span { display: none; } }
@media (max-width: 64rem) {
  .kopf__nav { display: none; }
  .kopf__aktion { margin-left: auto; }
  .kopf__menue { display: inline-flex; }
}
@media (max-width: 30rem) {
  .kopf__cta, .kopf__tel { display: none; }
  .marke__zeichen { width: 2.7rem; }
  .marke__name { font-size: .92rem; }
}

/* Menü als modaler Dialog */
.menue { width: min(28rem, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--papier); color: var(--tinte); }
.menue::backdrop { background: rgb(11 32 55 / .55); }
.menue[open] { display: flex; flex-direction: column; }
.menue__kopf { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--rand); border-bottom: 1px solid var(--linie); }
.menue__titel { margin: 0; font: 650 .8rem var(--marke); letter-spacing: .09em; text-transform: uppercase; }
.menue__zu { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .4rem .8rem; border: 1.5px solid var(--linie-stark); border-radius: var(--radius); background: var(--weiss); font: 600 .95rem var(--fliess); color: var(--tinte); cursor: pointer; }
.menue nav { padding: 1.25rem var(--rand); overflow-y: auto; flex: 1; }
.menue__haupt a { display: block; padding: .55rem 0; font: 500 1.9rem/1.1 var(--anzeige); text-decoration: none; }
.menue__haupt a[aria-current="page"] { color: var(--kobalt-dunkel); }
.menue__spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--linie); }
.menue__rubrik { margin: 0 0 .5rem; font: 650 .74rem var(--marke); letter-spacing: .09em; text-transform: uppercase; color: var(--text-2); }
.menue__spalten a { display: block; padding: .35rem 0; text-decoration: none; }
.menue__fuss { display: grid; gap: .75rem; padding: 1rem var(--rand) 1.5rem; border-top: 1px solid var(--linie); }
.menue__tel { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; font-weight: 600; text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .menue[open] { animation: menue-rein .28s ease-out; }
  @keyframes menue-rein { from { transform: translateX(1.5rem); opacity: 0; } }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--abstand); }
.abschnitt--kurz { padding-block: 1rem var(--abstand); }
.abschnitt--eis { background: var(--eis); }
.abschnitt--papier { background: var(--papier); }
.abschnitt--tinte { background: var(--nacht); color: var(--weiss); background-image: linear-gradient(rgb(182 213 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(182 213 255 / .06) 1px, transparent 1px); background-size: 32px 32px; }
.abschnitt:not(.abschnitt--eis):not(.abschnitt--tinte) + .abschnitt:not(.abschnitt--eis):not(.abschnitt--tinte) { border-top: 1px solid var(--linie); }
main > .abschnitt:first-child { padding-top: 2rem; }
.kopfzeile { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.kopfzeile--breit { max-width: 50rem; }
.kopfzeile h2 { margin-bottom: 1rem; }
.kopfzeile p { color: var(--text-2); font-size: 1.125rem; margin: 0; }
.kopfzeile--hell p { color: rgb(255 255 255 / .78); }
.klein-titel { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); margin-bottom: 1.25rem; }
.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.zwei--oben { align-items: start; }
@media (max-width: 56rem) { .zwei { grid-template-columns: 1fr; } }
.prosa h2 { margin-bottom: 1.25rem; }
.prosa p { max-width: 38rem; color: var(--text-2); font-size: 1.125rem; }
.prosa__gross { font-size: 1.35rem !important; line-height: 1.5; color: var(--text) !important; }

/* Brotkrumen */
.krumen { padding-top: 1.5rem; font-size: .92rem; color: var(--text-2); }
.krumen ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.krumen li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: var(--linie-stark); }
.krumen a { text-decoration: none; }
.krumen a:hover { text-decoration: underline; }

/* Seitenkopf */
.seitenkopf { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem); }
.seitenkopf h1 { max-width: 15ch; margin-bottom: 1.4rem; }
.seitenkopf__lead { max-width: 42rem; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.5; color: var(--text-2); }
.sprung ul { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.sprung a { display: inline-flex; align-items: center; min-height: 2.6rem; padding: .45rem 1rem; border: 1.5px solid var(--linie-stark); border-radius: 999px; background: var(--weiss); text-decoration: none; font-weight: 600; font-size: .95rem; }
.sprung a:hover { border-color: var(--kobalt); }
.sprung--klein ul { margin-top: 2rem; }
.sprung--klein a { min-height: 2.4rem; font-size: .9rem; background: transparent; border-color: var(--linie); }

/* ---------- Held (Startseite) ---------- */
.held { background: var(--nacht); color: var(--weiss); background-image: linear-gradient(rgb(182 213 255 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(182 213 255 / .07) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; overflow: hidden; }
.held__raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; padding-block: clamp(3rem, 6vw, 5.5rem); }
.held h1 { margin-bottom: 1.5rem; }
.held__zeile { display: block; color: var(--himmel); }
.held__lead { max-width: 31rem; font-size: clamp(1.12rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: rgb(255 255 255 / .82); margin-bottom: 2rem; }
.held__tel { margin: 1.75rem 0 0; color: rgb(255 255 255 / .72); font-size: .98rem; }
.held__tel a { color: var(--weiss); font-weight: 600; }
.held__bild { position: relative; margin: 0; aspect-ratio: 4 / 3; }
.held__bild img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.held__bild::before, .held__bild::after { content: ""; position: absolute; width: 1.6rem; height: 1.6rem; border: 2px solid var(--hellblau); pointer-events: none; }
.held__bild::before { top: -.7rem; left: -.7rem; border-right: 0; border-bottom: 0; }
.held__bild::after { bottom: -.7rem; right: -.7rem; border-left: 0; border-top: 0; }
.pin { position: absolute; left: var(--px); top: var(--py); display: flex; align-items: center; gap: .55rem; transform: translate(-.6rem, -50%); text-decoration: none; color: var(--tinte); }
.pin__punkt { position: relative; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--kobalt); box-shadow: 0 0 0 3px var(--weiss); flex: none; }
.pin__punkt::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--weiss); opacity: 0; }
.pin__text { display: grid; grid-template-columns: auto auto; column-gap: .45rem; align-items: baseline; padding: .4rem .7rem .45rem; background: var(--weiss); border-radius: var(--radius); font-weight: 650; font-size: .95rem; line-height: 1.15; box-shadow: 0 6px 18px rgb(11 32 55 / .22); }
.pin__nr { font: 650 .72rem var(--marke); color: var(--kobalt-dunkel); }
.pin__leistung { grid-column: 2; font-weight: 400; font-size: .8rem; color: var(--text-2); }
.pin:hover .pin__text, .pin:focus-visible .pin__text { background: var(--himmel); }
@media (prefers-reduced-motion: no-preference) {
  .laeuft .pin__punkt::after { animation: puls 2.8s ease-out infinite; }
  .laeuft .pin:nth-of-type(2) .pin__punkt::after { animation-delay: .9s; }
  .laeuft .pin:nth-of-type(3) .pin__punkt::after { animation-delay: 1.8s; }
  @keyframes puls { 0% { opacity: .9; transform: scale(.6); } 80%, 100% { opacity: 0; transform: scale(1.8); } }
}
@media (max-width: 64rem) {
  .held__raster { grid-template-columns: 1fr; }
  .held__bild { aspect-ratio: 3 / 2; margin-inline: .4rem; }
}
@media (max-width: 40rem) {
  .pin__leistung { display: none; }
  .pin__text { padding: .3rem .5rem; font-size: .85rem; }
}

/* ---------- Leistungsfinder ---------- */
.finder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "plan wahl" "plan zettel"; gap: 1.5rem clamp(1.5rem, 3vw, 3rem); align-items: start; }
.finder__plan { grid-area: plan; position: sticky; top: 6rem; margin: 0; padding: 1rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); }
.finder__legende { margin: .5rem 0 0; font-size: .85rem; color: var(--text-2); }
.finder__wahl { grid-area: wahl; margin: 0; padding: 0; border: 0; min-width: 0; }
.finder__wahl legend { padding: 0; margin-bottom: .75rem; font: 500 1.5rem/1.1 var(--anzeige); }
.wahl-liste { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.wahl { display: flex; align-items: center; gap: .65rem; min-height: 3.6rem; padding: .55rem .75rem; background: var(--weiss); border: 1.5px solid var(--linie); border-radius: var(--radius); cursor: pointer; }
.wahl:hover { border-color: var(--linie-stark); }
.wahl:has(input:checked) { border-color: var(--kobalt); background: #F3F7FF; }
.wahl:has(input:focus-visible) { outline: 2px solid var(--kobalt); outline-offset: 2px; }
.wahl input { appearance: none; flex: none; display: inline-grid; place-content: center; width: 1.25rem; height: 1.25rem; margin: 0; border: 2px solid var(--linie-stark); border-radius: 3px; background: var(--weiss); cursor: pointer; }
.wahl input::before { content: ""; width: .75rem; height: .75rem; background: var(--weiss); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain; scale: 0; }
.wahl input:checked { background: var(--kobalt); border-color: var(--kobalt); }
.wahl input:checked::before { scale: 1; }
.wahl input:focus-visible { outline: none; }
@media (forced-colors: active) { .wahl input::before { background: CanvasText; } }
.wahl__nr { font: 650 .75rem var(--marke); color: var(--kobalt-dunkel); }
.wahl__text { display: grid; line-height: 1.2; }
.wahl__text strong { font-weight: 600; font-size: .98rem; }
.wahl__text span { font-size: .82rem; color: var(--text-2); }
.finder__zettel { grid-area: zettel; padding: 1.4rem; background: var(--weiss); border: 1px solid var(--linie); border-top: 4px solid var(--kobalt); border-radius: var(--radius); }
.zettel__titel { margin: 0 0 .35rem; font: 650 .74rem var(--marke); letter-spacing: .09em; text-transform: uppercase; color: var(--kobalt-dunkel); }
.zettel__summe { font: 500 1.4rem/1.15 var(--anzeige); margin-bottom: .75rem; }
.zettel__liste { display: grid; gap: .6rem; margin-bottom: 1rem; }
.zettel__liste:empty { display: none; }
.zettel__liste li { padding: .65rem .75rem; background: var(--eis); border-radius: var(--radius); }
.zettel__liste strong { display: block; font-weight: 650; }
.zettel__liste span { display: block; font-size: .88rem; color: var(--text-2); line-height: 1.4; }
.zettel__notiz { margin: .8rem 0 0; font-size: .85rem; color: var(--text-2); }
.finder__zettel .feld { margin-bottom: .9rem; }
@media (prefers-reduced-motion: no-preference) {
  .zettel__liste li { animation: auftauchen .3s ease-out; }
  @keyframes auftauchen { from { opacity: 0; transform: translateY(4px); } }
}
@media (max-width: 64rem) {
  .finder { grid-template-columns: 1fr; grid-template-areas: "plan" "wahl" "zettel"; }
  .finder__plan { position: static; }
}
@media (max-width: 30rem) { .wahl-liste { grid-template-columns: 1fr; } }

/* Gebäudeschnitt */
.schnitt { width: 100%; height: auto; cursor: pointer; }
.schnitt__raster { stroke: #E3EBF5; stroke-width: 1; }
.schnitt__boden { fill: #DCE5F0; }
.schnitt__wand { fill: none; stroke: var(--tinte); stroke-width: 3; stroke-linecap: square; }
.schnitt__dach { stroke: var(--tinte); stroke-width: 5; }
.schnitt__mass { fill: none; stroke: var(--linie-stark); stroke-width: 1.2; }
.schnitt__text { font: 600 10px var(--marke); fill: var(--text-2); letter-spacing: .06em; text-anchor: middle; text-transform: uppercase; }
.z__flaeche { fill: #E4ECF6; stroke: none; }
.z__treffer { fill: transparent; stroke: none; cursor: pointer; } /* größere Tippfläche für schmale Bodenstreifen */
.z__glas rect { fill: #D3E4F7; stroke: var(--tinte); stroke-width: 1.5; }
.z__linie { fill: none; stroke: var(--tinte); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.z-fassade .z__flaeche { fill: #D9E2EE; }
.z:hover .z__flaeche, .z:hover .z__glas rect { stroke: var(--kobalt); stroke-width: 2.5; }
.schnitt__nr circle { fill: var(--weiss); stroke: var(--tinte); stroke-width: 1.5; }
.schnitt__nr text { font: 700 9.5px var(--marke); fill: var(--tinte); text-anchor: middle; }
@media (prefers-reduced-motion: no-preference) { .z__flaeche, .z__glas rect, .schnitt__nr circle { transition: fill .25s; } }
/* Auswahl im Plan sichtbar machen (Kontrollkästchen bleiben die Bedienung) */
.finder:has(#bz-fassade:checked) .z-fassade,
.finder:has(#bz-glas:checked) .z-glas,
.finder:has(#bz-eingang:checked) .z-eingang,
.finder:has(#bz-treppe:checked) .z-treppe,
.finder:has(#bz-buero:checked) .z-buero,
.finder:has(#bz-teppich:checked) .z-teppich,
.finder:has(#bz-boden:checked) .z-boden,
.finder:has(#bz-aussen:checked) .z-aussen { --an: 1; }
.z, .schnitt__nr { --an: 0; }
.z .z__flaeche { fill: color-mix(in srgb, var(--kobalt) calc(var(--an) * 70%), #E4ECF6); }
.z-fassade .z__flaeche { fill: color-mix(in srgb, var(--kobalt) calc(var(--an) * 70%), #D9E2EE); }
.z .z__glas rect { fill: color-mix(in srgb, var(--kobalt) calc(var(--an) * 55%), #D3E4F7); }
.z .z__linie { stroke: color-mix(in srgb, var(--nacht) calc(var(--an) * 100%), var(--tinte)); }
.schnitt__nr circle { fill: color-mix(in srgb, var(--kobalt) calc(var(--an) * 100%), var(--weiss)); stroke: color-mix(in srgb, var(--kobalt) calc(var(--an) * 100%), var(--tinte)); }
.schnitt__nr text { fill: color-mix(in srgb, var(--weiss) calc(var(--an) * 100%), var(--tinte)); }
/* Hervorhebung beim Überfahren der Liste */
.finder:has(label[for="bz-fassade"]:hover) .z-fassade .z__flaeche,
.finder:has(label[for="bz-glas"]:hover) .z-glas rect,
.finder:has(label[for="bz-eingang"]:hover) .z-eingang .z__flaeche,
.finder:has(label[for="bz-treppe"]:hover) .z-treppe .z__flaeche,
.finder:has(label[for="bz-buero"]:hover) .z-buero .z__flaeche,
.finder:has(label[for="bz-teppich"]:hover) .z-teppich .z__flaeche,
.finder:has(label[for="bz-boden"]:hover) .z-boden .z__flaeche,
.finder:has(label[for="bz-aussen"]:hover) .z-aussen .z__flaeche { stroke: var(--kobalt); stroke-width: 3; }

/* ---------- Leistungsverzeichnis ---------- */
.verzeichnis { display: grid; gap: 3rem; }
.verzeichnis__titel { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; padding-bottom: .9rem; font-size: 1.15rem; font-family: var(--marke); font-weight: 650; letter-spacing: -.01em; border-bottom: 2px solid var(--tinte); }
.verzeichnis__titel span { font: 400 1rem var(--fliess); color: var(--text-2); }
.zeile { display: grid; grid-template-columns: minmax(10rem, 2.2fr) minmax(0, 3.4fr) minmax(0, 3.2fr) 7.5rem 1.5rem; gap: 1.5rem; align-items: center; padding-block: 1.1rem; border-bottom: 1px solid var(--linie); text-decoration: none; }
.zeile__fuer { font-size: .9rem; color: var(--text-2); }
.zeile__name { font: 500 clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem)/1 var(--anzeige); }
.zeile__kurz { color: var(--text-2); font-size: 1rem; line-height: 1.45; }
.zeile__bild { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.zeile__pfeil { color: var(--kobalt); width: 1.4rem; height: 1.4rem; }
.zeile:hover { background: linear-gradient(90deg, var(--eis), transparent 85%); }
.zeile:hover .zeile__name { color: var(--kobalt-dunkel); }
@media (prefers-reduced-motion: no-preference) { .zeile__pfeil { transition: transform .25s; } .zeile:hover .zeile__pfeil { transform: translateX(4px); } }
@media (max-width: 64rem) {
  .zeile { grid-template-columns: minmax(0, 1fr) 6.5rem; grid-template-areas: "fuer bild" "name bild" "kurz bild"; gap: .3rem 1rem; }
  .zeile__fuer { grid-area: fuer; } .zeile__name { grid-area: name; } .zeile__kurz { grid-area: kurz; } .zeile__bild { grid-area: bild; }
  .zeile__pfeil { display: none; }
}

/* ---------- Szenen (Ablauf, Handgriff) ---------- */
.ablauf-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 64rem) { .ablauf-raster { grid-template-columns: 1fr; } }
.grundsaetze { display: grid; gap: .9rem; margin: 2rem 0 1.25rem; }
.grundsaetze li { display: grid; padding-left: 1rem; border-left: 2px solid var(--kobalt); }
.grundsaetze strong { font-weight: 650; }
.grundsaetze span { color: var(--text-2); font-size: .98rem; }
.ablauf { display: grid; gap: 1rem; }
.ablauf__buehne { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--eis); }
.ablauf__bild { position: absolute; inset: 0; }
.ablauf__bild img { width: 100%; height: 100%; object-fit: cover; }
.ablauf__bild[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .ablauf__bild:not([hidden]) { animation: einblenden .6s ease-out; } @keyframes einblenden { from { opacity: 0; } } }
.ablauf__schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; order: 2; }
@media (max-width: 48rem) { .ablauf__schritte { grid-template-columns: 1fr; } }
.szene-wahl { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .25rem .7rem; width: 100%; height: 100%; padding: 1.1rem 1rem 1rem; text-align: left; background: var(--weiss); border: 1.5px solid var(--linie); border-radius: var(--radius); color: var(--tinte); font: inherit; cursor: pointer; }
.szene-wahl:hover { border-color: var(--linie-stark); }
.szene-wahl[aria-current] { border-color: var(--kobalt); }
.szene-wahl__nr { font: 650 .78rem/1.6 var(--marke); color: var(--kobalt-dunkel); }
.szene-wahl__text { display: grid; gap: .2rem; }
.szene-wahl__text strong { font-weight: 650; line-height: 1.25; }
.szene-wahl__text span { font-size: .92rem; line-height: 1.45; color: var(--text-2); }
.szene-wahl__zeit { position: absolute; left: -1.5px; right: -1.5px; top: -1.5px; height: 3px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.szene-wahl__zeit::after { content: ""; position: absolute; inset: 0; background: var(--kobalt); transform: scaleX(0); transform-origin: left; }
.szene-wahl[aria-current] .szene-wahl__zeit::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) {
  .szene-wahl[aria-current] .szene-wahl__zeit::after { transform: scaleX(0); animation: zeit var(--dauer, 7000ms) linear forwards paused; }
  .laeuft .szene-wahl[aria-current] .szene-wahl__zeit::after { animation-play-state: running; }
  @keyframes zeit { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
.szene-wahl--hell { background: rgb(255 255 255 / .04); border-color: rgb(182 213 255 / .22); color: var(--weiss); }
.szene-wahl--hell:hover { border-color: rgb(182 213 255 / .5); }
.szene-wahl--hell[aria-current] { background: rgb(45 91 255 / .16); border-color: var(--hellblau); }
.szene-wahl--hell .szene-wahl__nr { color: var(--hellblau); }
.szene-wahl--hell .szene-wahl__text span { color: rgb(255 255 255 / .72); }
.szene-wahl--hell .szene-wahl__zeit::after { background: var(--hellblau); }

.griff { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.griff__bild { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--tinte); }
.griff__bild img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--x, 50%) var(--y, 50%); transform: scale(var(--s, 1)); }
@media (prefers-reduced-motion: no-preference) { .griff__bild img { transition: transform 1.4s cubic-bezier(.3, .7, .2, 1); } .griff__ziel { transition: opacity .4s; } }
.griff__ziel { position: absolute; left: var(--x); top: var(--y); width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border: 2px solid var(--weiss); border-radius: 50%; box-shadow: 0 0 0 1px rgb(11 32 55 / .35); pointer-events: none; }
.griff__ziel::before, .griff__ziel::after { content: ""; position: absolute; background: var(--weiss); }
.griff__ziel::before { left: 50%; top: -.8rem; bottom: -.8rem; width: 2px; margin-left: -1px; clip-path: polygon(0 0, 100% 0, 100% 22%, 0 22%, 0 78%, 100% 78%, 100% 100%, 0 100%); }
.griff__ziel::after { top: 50%; left: -.8rem; right: -.8rem; height: 2px; margin-top: -1px; clip-path: polygon(0 0, 22% 0, 22% 100%, 0 100%, 0 0, 78% 0, 100% 0, 100% 100%, 78% 100%); }
.griff__bild[data-weit] .griff__ziel { opacity: 0; }
.griff__bild figcaption { position: absolute; left: .9rem; bottom: .9rem; padding: .4rem .7rem; background: var(--weiss); color: var(--tinte); border-radius: var(--radius); font-size: .9rem; font-weight: 600; }
.griff__schritte { display: grid; gap: .75rem; }
@media (max-width: 56rem) { .griff { grid-template-columns: 1fr; } }

/* ---------- Region ---------- */
.region-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 64rem) { .region-raster { grid-template-columns: 1fr; } .region-raster .karte { max-width: 26rem; } }
.ort-kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ort-kacheln--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 48rem) { .ort-kacheln--drei { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .ort-kacheln, .ort-kacheln--drei { grid-template-columns: 1fr; } }
.ort-kachel { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .5rem; height: 100%; padding-bottom: 1rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; overflow: hidden; }
.ort-kachel img { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ort-kachel__text { display: grid; gap: .25rem; padding: .5rem 0 0 1rem; }
.ort-kachel h3, .ort-kachel h2 { font-size: 1.6rem; }
.ort-kachel__text span { font-size: .92rem; color: var(--text-2); }
.ort-kachel > .ic { margin: 0 1rem .2rem 0; color: var(--kobalt); }
.ort-kachel:hover { border-color: var(--kobalt); }
.karte { margin: 0; padding: 1rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); }
.karte svg { width: 100%; height: auto; overflow: visible; }
.karte__raster { stroke: #E7EDF5; stroke-width: 1; }
.karte__fluss { fill: none; stroke: var(--himmel); stroke-width: 9; stroke-linecap: round; }
.karte__fluss--neckar { stroke-width: 6; }
.karte__fluss-name { font: italic 500 14px var(--fliess); fill: #6C8BB4; }
.karte__ort { text-decoration: none; }
.karte__ort text { font: 650 17px var(--marke); fill: var(--tinte); letter-spacing: -.02em; }
.karte__sitz { font: 600 11px var(--marke); fill: var(--kobalt-dunkel); letter-spacing: .08em; text-transform: uppercase; }
.karte__punkt { fill: var(--weiss); stroke: var(--tinte); stroke-width: 3; }
.karte__ort.ist-sitz .karte__punkt { fill: var(--tinte); }
.karte__ort.ist-aktiv .karte__punkt { fill: var(--kobalt); stroke: var(--kobalt); }
.karte__ort:hover .karte__punkt, .karte__ort:focus-visible .karte__punkt { fill: var(--kobalt); stroke: var(--kobalt); }
.karte__ort:hover text { fill: var(--kobalt-dunkel); }
.karte__puls { fill: none; stroke: var(--kobalt); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .karte.laeuft .karte__ort.ist-aktiv .karte__puls, .karte.laeuft .karte__ort.ist-sitz:not(:has(~ .ist-aktiv)) .karte__puls { animation: kartenpuls 3s ease-out infinite; }
  @keyframes kartenpuls { 0% { opacity: .8; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(2.6); } }
}
.karte figcaption { margin-top: .5rem; font-size: .85rem; color: var(--text-2); }

/* ---------- Schnellanfrage, FAQ ---------- */
.schnell { padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--weiss); border: 1px solid var(--linie); border-top: 4px solid var(--tinte); border-radius: var(--radius); }
.schnell__titel { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); margin-bottom: 1rem; }
.schnell__tipp { color: var(--text-2); }
.schnell__felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; align-items: end; }
.schnell__notiz { margin: 1rem 0 0; font-size: .88rem; color: var(--text-2); }
.feld { display: grid; gap: .4rem; min-width: 0; }
.feld label { font-weight: 600; font-size: .98rem; }
.optional { font-weight: 400; color: var(--text-2); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 3.1rem; padding: .7rem .85rem; border: 1.5px solid var(--linie-stark); border-radius: var(--radius); background: var(--weiss); color: var(--tinte); font: inherit; }
.feld select { appearance: none; padding-right: 2.5rem; background: var(--weiss) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102B49' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right .8rem center / 1.1rem; }
.feld textarea { min-height: 8rem; resize: vertical; line-height: 1.5; }
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: var(--tinte); }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline: 2px solid var(--kobalt); outline-offset: 1px; border-color: var(--kobalt); }
.feld__hilfe { margin: 0; font-size: .88rem; color: var(--text-2); }
.feld__fehler { display: none; margin: 0; font-size: .92rem; font-weight: 600; color: var(--fehler); }
.feld:has([aria-invalid="true"]) .feld__fehler { display: block; }
.feld:has([aria-invalid="true"]) :is(input, textarea) { border-color: var(--fehler); }
.feld :is(input, textarea):user-invalid { border-color: var(--fehler); }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 40rem) { .feld-paar { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--linie-stark); }
.faq details { border-bottom: 1px solid var(--linie-stark); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3.5rem; padding: .9rem 0; font-weight: 650; font-size: 1.08rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__zeichen { position: relative; flex: none; width: 1.6rem; height: 1.6rem; border: 1.5px solid var(--linie-stark); border-radius: 50%; }
.faq__zeichen::before, .faq__zeichen::after { content: ""; position: absolute; left: 50%; top: 50%; width: .7rem; height: 1.5px; margin: -.75px 0 0 -.35rem; background: var(--tinte); }
.faq__zeichen::after { transform: rotate(90deg); }
.faq details[open] .faq__zeichen { background: var(--tinte); border-color: var(--tinte); }
.faq details[open] .faq__zeichen::before { background: var(--weiss); }
.faq details[open] .faq__zeichen::after { transform: rotate(0); background: var(--weiss); }
.faq details p { max-width: 38rem; padding-bottom: 1.1rem; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) { .faq__zeichen::after { transition: transform .25s; } }

/* ---------- Band und Fuß ---------- */
.band { background: var(--tinte); color: var(--weiss); background-image: linear-gradient(rgb(182 213 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(182 213 255 / .06) 1px, transparent 1px); background-size: 32px 32px; }
.band__raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 6vw, 6rem); padding-block: clamp(4rem, 7vw, 6.5rem); align-items: end; }
.band__titel { margin-bottom: 1.2rem; }
.band__text { max-width: 34rem; color: rgb(255 255 255 / .8); font-size: 1.15rem; margin-bottom: 2rem; }
.band__wege { display: grid; gap: .6rem; padding-left: clamp(0rem, 3vw, 2.5rem); border-left: 1px solid rgb(182 213 255 / .25); }
.band__klein { margin: 0; color: rgb(255 255 255 / .7); }
.band__tel { font: 500 clamp(2rem, 1.6rem + 1.4vw, 2.7rem)/1 var(--anzeige); text-decoration: none; }
.band__tel:hover { color: var(--himmel); }
.band__mail { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; color: var(--weiss); }
.band__mail .ic { color: var(--hellblau); }
@media (max-width: 56rem) { .band__raster { grid-template-columns: 1fr; } .band__wege { padding-left: 0; border-left: 0; padding-top: 1.5rem; border-top: 1px solid rgb(182 213 255 / .25); } }
.zeiten { display: grid; gap: .2rem; margin: .5rem 0 0; font-size: .95rem; }
.zeiten div { display: flex; justify-content: space-between; gap: 1rem; max-width: 20rem; }
.zeiten dt { color: var(--text-2); }
.zeiten dd { margin: 0; font-weight: 600; }
.zeiten--hell dt { color: rgb(255 255 255 / .7); }
.status { display: inline-flex; align-items: center; gap: .5rem; margin: .25rem 0; font-size: .95rem; font-weight: 600; }
.status__punkt { width: .6rem; height: .6rem; border-radius: 50%; background: #98A6B6; }
.status[data-offen] .status__punkt { background: #2FBF71; box-shadow: 0 0 0 3px rgb(47 191 113 / .2); }

.fuss { background: var(--nacht); color: rgb(255 255 255 / .82); padding-block: 3.5rem 2rem; font-size: .98rem; }
.fuss a { color: var(--weiss); text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss__oben { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgb(182 213 255 / .18); }
.fuss .marke { color: var(--weiss); }
.fuss .marke__l { fill: var(--hellblau); }
.fuss .marke__zeichen { width: 3.6rem; }
.fuss .marke__name { font-size: 1.2rem; }
.fuss__satz { margin: 0; max-width: 30rem; }
.fuss__spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-block: 2.5rem; }
.fuss__spalten h2 { margin-bottom: .9rem; font: 650 .74rem var(--marke); letter-spacing: .09em; text-transform: uppercase; color: var(--hellblau); }
.fuss__spalten li { padding: .2rem 0; }
.fuss__spalten address { margin-bottom: .75rem; }
.fuss .zeiten dt { color: rgb(255 255 255 / .65); }
.fuss .zeiten div { justify-content: flex-start; }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgb(182 213 255 / .18); font-size: .9rem; }
.fuss__unten p { margin: 0; }
.fuss__unten ul { display: flex; gap: 1.25rem; }
@media (max-width: 64rem) { .fuss__spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .fuss__spalten { grid-template-columns: 1fr; } }

/* ---------- Leistungsseiten ---------- */
.lkopf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.lkopf h1 { margin-bottom: 1.4rem; font-size: clamp(2.5rem, 1.7rem + 3vw, 4.6rem); }
.lkopf .seitenkopf__lead { margin-bottom: 2rem; }
.lkopf__bild { position: relative; margin: 0; }
.lkopf__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.lkopf__bild::before { content: ""; position: absolute; top: -.7rem; right: -.7rem; width: 1.6rem; height: 1.6rem; border: 2px solid var(--kobalt); border-left: 0; border-bottom: 0; }
.lkopf__bild figcaption, .okopf__bild figcaption { margin-top: .6rem; font-size: .85rem; color: var(--text-2); }
@media (max-width: 56rem) { .lkopf { grid-template-columns: 1fr; } .lkopf__bild { order: -1; margin-right: .7rem; } }
.umfang { padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); }
.umfang__titel { font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.3rem); margin-bottom: 1.25rem; }
.haken-liste { display: grid; gap: .1rem; margin-bottom: 1.5rem; }
.haken-liste li { display: flex; gap: .75rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--linie); font-weight: 600; }
.haken-liste li:last-child { border-bottom: 0; }
.haken-liste .ic { margin-top: .15rem; color: var(--kobalt); }
.klaeren { display: flex; gap: .9rem; padding: 1rem 1.1rem; margin-bottom: 1.5rem; background: var(--eis); border-left: 3px solid var(--kobalt); border-radius: 0 var(--radius) var(--radius) 0; }
.klaeren .ic { color: var(--kobalt-dunkel); width: 1.4rem; height: 1.4rem; }
.klaeren h3 { font: 650 1rem var(--fliess); margin-bottom: .3rem; }
.klaeren p { margin: 0; color: var(--text-2); }
.fokus { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.fokus__bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 56rem) { .fokus { grid-template-columns: 1fr; } }
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem; }
.karten--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 40rem) { .karten--zwei { grid-template-columns: 1fr; } }
.karte-l { position: relative; display: grid; height: 100%; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; overflow: hidden; }
.karte-l img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.karte-l__text { display: grid; align-content: start; gap: .35rem; padding: 1.1rem 3.2rem 1.3rem 1.2rem; }
.karte-l__fuer { font: 650 .72rem var(--marke); letter-spacing: .08em; text-transform: uppercase; color: var(--kobalt-dunkel); }
.karte-l h3, .karte-l h2 { font-size: 1.75rem; }
.karte-l__text > span:last-child { color: var(--text-2); font-size: .98rem; line-height: 1.45; }
.karte-l__pfeil { position: absolute; right: 1.1rem; bottom: 1.3rem; color: var(--kobalt); }
.karte-l:hover { border-color: var(--kobalt); }
@media (prefers-reduced-motion: no-preference) { .karte-l img { transition: transform .5s; } .karte-l:hover img { transform: scale(1.03); } }

/* Leistungsübersicht */
.gruppen { display: grid; gap: clamp(3rem, 6vw, 5rem); padding-bottom: var(--abstand); }
.gruppe__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; padding-bottom: 1rem; margin-bottom: 1.5rem; border-bottom: 2px solid var(--tinte); }
.gruppe__kopf p { margin: 0; color: var(--text-2); }
.tabelle-huelle { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.tabelle { width: 100%; border-collapse: collapse; }
.tabelle th, .tabelle td { padding: 1rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linie); }
.tabelle thead th { font: 650 .74rem var(--marke); letter-spacing: .09em; text-transform: uppercase; color: var(--text-2); background: var(--papier); }
.tabelle tbody th { font: 500 1.35rem/1.1 var(--anzeige); white-space: nowrap; }
.tabelle tbody th a { text-decoration: none; }
.tabelle tbody th a:hover { color: var(--kobalt-dunkel); text-decoration: underline; }
.tabelle td:nth-child(2) { color: var(--text-2); width: 26%; }
.tabelle tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 48rem) {
  .tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tabelle, .tabelle tbody, .tabelle tr, .tabelle th, .tabelle td { display: block; width: auto !important; }
  .tabelle tr { padding: 1rem 1.1rem; border-bottom: 1px solid var(--linie); }
  .tabelle th, .tabelle td { padding: 0; border: 0; }
  .tabelle td:nth-child(2) { margin: .35rem 0 .5rem; font-size: .92rem; }
}

/* ---------- Ortsseiten ---------- */
.okopf { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.okopf h1 { margin-bottom: 1.4rem; }
.okopf .seitenkopf__lead { margin-bottom: 2rem; }
.okopf__bild { margin: 0; }
.okopf__bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.okopf__bild figcaption a { color: var(--text-2); }
@media (max-width: 56rem) { .okopf { grid-template-columns: 1fr; } .okopf__bild { order: -1; } }
.angaben { padding: clamp(1.4rem, 3vw, 2rem); background: var(--weiss); border: 1px solid var(--linie); border-left: 4px solid var(--kobalt); border-radius: var(--radius); }
.angaben h3 { margin-bottom: .75rem; }
.angaben .haken-liste { margin-bottom: 1rem; }
.angaben__notiz { margin: 0; font-size: .9rem; color: var(--text-2); }
.direkt { display: grid; gap: .3rem; justify-items: start; }
.direkt__frage { margin: 0; color: var(--text-2); }
.direkt__tel { font: 500 clamp(2.2rem, 1.7rem + 2vw, 3.2rem)/1 var(--anzeige); text-decoration: none; }
.direkt__tel:hover { color: var(--kobalt-dunkel); }
.direkt p { margin: 0; }
.fokus-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 56rem) { .fokus-karten { grid-template-columns: 1fr; } }
.fokus-karte { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.fokus-karte img { width: 100%; height: 100%; min-height: 12rem; object-fit: cover; }
.fokus-karte > div { padding: 1.3rem; }
.fokus-karte h3 { font-size: 1.8rem; margin-bottom: .5rem; }
.fokus-karte p { color: var(--text-2); }
@media (max-width: 30rem) { .fokus-karte { grid-template-columns: 1fr; } .fokus-karte img { aspect-ratio: 3 / 2; min-height: 0; } }
.weitere { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--linie); }
.weitere h3 { font: 650 1rem var(--fliess); margin-bottom: .9rem; }
.weitere ul { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.weitere ul a { display: inline-flex; align-items: center; min-height: 2.6rem; padding: .4rem .95rem; border: 1.5px solid var(--linie-stark); border-radius: 999px; background: var(--weiss); text-decoration: none; font-weight: 600; font-size: .95rem; }
.weitere ul a:hover { border-color: var(--kobalt); }

/* Einsatzgebiete Übersicht */
.fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--linie); }
.fakten dt { font: 650 .74rem var(--marke); letter-spacing: .09em; text-transform: uppercase; color: var(--kobalt-dunkel); margin-bottom: .4rem; }
.fakten dd { margin: 0; font-weight: 600; }
@media (max-width: 48rem) { .fakten { grid-template-columns: 1fr; } }

/* ---------- Ratgeber ---------- */
.beitrag { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; }
.beitrag__bild { width: 100%; height: 100%; min-height: 20rem; object-fit: cover; }
.beitrag__text { padding: clamp(1.5rem, 4vw, 3rem); }
.beitrag__text h2 { margin-bottom: 1rem; }
.beitrag__text h2 a { text-decoration: none; }
.beitrag__text h2 a:hover { text-decoration: underline; text-decoration-color: var(--kobalt); }
.beitrag__text > p { color: var(--text-2); font-size: 1.1rem; }
.beitrag__kapitel { counter-reset: k; display: grid; gap: .3rem; margin: 1.5rem 0; }
.beitrag__kapitel li { counter-increment: k; display: flex; gap: .7rem; padding: .35rem 0; border-bottom: 1px solid var(--linie); }
.beitrag__kapitel li::before { content: counter(k, decimal-leading-zero); font: 650 .78rem/1.9 var(--marke); color: var(--kobalt-dunkel); }
@media (max-width: 56rem) { .beitrag { grid-template-columns: 1fr; } .beitrag__bild { min-height: 0; aspect-ratio: 3 / 2; } }
.artikel__kopf { padding-block: clamp(2rem, 4vw, 3rem) 2rem; }
.artikel__kopf h1 { max-width: 18ch; margin-bottom: 1.3rem; }
.artikel__bild { margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.artikel__bild img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.artikel { display: grid; grid-template-columns: 16rem minmax(0, 44rem); gap: clamp(2rem, 6vw, 6rem); padding-bottom: var(--abstand); }
.artikel__toc { position: sticky; top: 6rem; align-self: start; }
.toc__titel { font: 650 .74rem var(--marke); letter-spacing: .09em; text-transform: uppercase; color: var(--text-2); margin-bottom: .75rem; }
.artikel__toc ol { counter-reset: t; border-left: 1px solid var(--linie); }
.artikel__toc li { counter-increment: t; }
.artikel__toc a { display: flex; gap: .6rem; padding: .45rem 0 .45rem 1rem; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--text-2); font-weight: 600; font-size: .95rem; }
.artikel__toc a::before { content: counter(t, decimal-leading-zero); font: 650 .72rem/1.9 var(--marke); }
.artikel__toc a:hover { color: var(--tinte); }
.artikel__toc a[aria-current="true"] { color: var(--tinte); border-left-color: var(--kobalt); }
.abhak-stand { margin: 1.5rem 0 0; padding: .8rem 1rem; background: var(--eis); border-radius: var(--radius); font-weight: 600; font-size: .92rem; }
.kapitel { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--linie); }
.kapitel h2 { font-size: clamp(1.9rem, 1.5rem + 1.3vw, 2.6rem); margin-bottom: 1.1rem; }
.kapitel p { font-size: 1.14rem; line-height: 1.7; }
.abhak-liste { display: grid; gap: .5rem; margin-top: 1.5rem; }
.abhaken { display: flex; gap: .8rem; align-items: flex-start; min-height: 3rem; padding: .75rem 1rem; background: var(--weiss); border: 1.5px solid var(--linie); border-radius: var(--radius); cursor: pointer; font-weight: 600; }
.abhaken:has(input:checked) { border-color: var(--kobalt); }
.abhaken:has(input:checked) span { color: var(--text-2); text-decoration: line-through; text-decoration-color: var(--kobalt); }
.abhaken input { appearance: none; flex: none; display: inline-grid; place-content: center; width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; border: 2px solid var(--linie-stark); border-radius: 3px; background: var(--weiss); cursor: pointer; }
.abhaken input::before { content: ""; width: .75rem; height: .75rem; background: var(--weiss); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain; scale: 0; }
.abhaken input:checked { background: var(--kobalt); border-color: var(--kobalt); }
.abhaken input:checked::before { scale: 1; }
.abhaken input:focus-visible { outline: 2px solid var(--kobalt); outline-offset: 2px; }
@media (forced-colors: active) { .abhaken input::before { background: CanvasText; } }
.artikel__ende { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
@media (max-width: 56rem) { .artikel { grid-template-columns: 1fr; } .artikel__toc { position: static; } }

/* ---------- Büroreinigung ---------- */
.abstimmen { display: grid; gap: 1.25rem; }
.abstimmen li { padding-left: 1.1rem; border-left: 2px solid var(--kobalt); }
.abstimmen h3 { font: 650 1.08rem var(--fliess); margin-bottom: .3rem; }
.abstimmen p { margin: 0; color: var(--text-2); }
.rhythmus { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.rhythmus__wahl { display: grid; gap: .75rem; }
.rhythmus__zeile { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem 1.25rem; align-items: center; margin: 0; padding: 1rem 1.1rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); min-width: 0; }
.rhythmus__zeile legend { float: left; display: grid; padding: 0; }
.rhythmus__zeile legend strong { font-weight: 650; }
.rhythmus__zeile legend span { font-size: .88rem; color: var(--text-2); }
.segmente { display: flex; flex-wrap: wrap; gap: .4rem; }
.segment { position: relative; }
.segment input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segment span { display: inline-flex; align-items: center; min-height: 2.6rem; padding: .4rem .7rem; border: 1.5px solid var(--linie-stark); border-radius: 999px; font-size: .92rem; font-weight: 600; background: var(--weiss); }
.segment:hover span { border-color: var(--tinte); }
.segment input:checked + span { background: var(--tinte); border-color: var(--tinte); color: var(--weiss); }
.segment input:focus-visible + span { outline: 2px solid var(--kobalt); outline-offset: 2px; }
.rhythmus__notiz { position: sticky; top: 6rem; padding: 1.4rem; background: var(--weiss); border: 1px solid var(--linie); border-top: 4px solid var(--kobalt); border-radius: var(--radius); }
.notiz { margin: .5rem 0 1.25rem; padding: 1rem; min-height: 9rem; background: var(--papier); border: 1px dashed var(--linie-stark); border-radius: var(--radius); font: 400 .98rem/1.6 var(--fliess); white-space: pre-wrap; }
.kopie { position: relative; display: inline-flex; align-items: center; gap: .6rem; }
.kopie__tipp { font-size: .9rem; font-weight: 600; color: var(--gruen); opacity: 0; }
.kopie__tipp:not(:empty) { opacity: 1; }
[data-copied] .ic { color: var(--gruen); }
[data-failed] + .kopie__tipp { color: var(--fehler); }
@media (prefers-reduced-motion: no-preference) { .kopie__tipp { transition: opacity .2s; } }
@media (max-width: 64rem) { .rhythmus { grid-template-columns: 1fr; } .rhythmus__notiz { position: static; } }

/* ---------- Kontakt ---------- */
.kkopf { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem 4rem; align-items: end; }
.kkopf__wege { display: grid; gap: .4rem; padding: 1.4rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); }
.kkopf__tel { display: inline-flex; align-items: center; gap: .6rem; font: 500 2rem/1 var(--anzeige); text-decoration: none; }
.kkopf__tel .ic { color: var(--kobalt); width: 1.4rem; height: 1.4rem; }
@media (max-width: 56rem) { .kkopf { grid-template-columns: 1fr; } }
.anfrage { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.anfrage__form h2 { margin-bottom: .75rem; }
.anfrage__intro { color: var(--text-2); font-size: 1.1rem; margin-bottom: 1.75rem; }
.anfrage form { display: grid; gap: 1.5rem; padding: clamp(1.3rem, 3vw, 2rem); background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); }
.anfrage fieldset { display: grid; gap: 1.1rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.anfrage legend { padding: 0; margin-bottom: 1.1rem; font: 650 .74rem var(--marke); letter-spacing: .09em; text-transform: uppercase; color: var(--kobalt-dunkel); }
.anfrage fieldset + fieldset { padding-top: 1.5rem; border-top: 1px solid var(--linie); }
.anfrage .service-auswahl legend { margin-bottom: .4rem; color: inherit; font: 600 .98rem var(--fliess); letter-spacing: normal; text-transform: none; }
.service-auswahl details { border: 1.5px solid var(--linie-stark); border-radius: var(--radius); }
.service-auswahl summary { min-height: 3.1rem; padding: .7rem .85rem; cursor: pointer; }
.service-auswahl summary:focus-visible { outline: 2px solid var(--kobalt); outline-offset: 2px; }
.service-auswahl__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); padding: .25rem .85rem .5rem; border-top: 1px solid var(--linie); }
.service-auswahl__liste label { display: flex; align-items: center; gap: .6rem; min-height: 3rem; cursor: pointer; }
.service-auswahl__liste input { margin: 0; width: 1.15rem; height: 1.15rem; flex: none; accent-color: var(--kobalt); }
.service-auswahl details:has(input:checked) { border-color: var(--kobalt); }
.service-auswahl details:has(input:checked) summary { background: var(--eis); color: var(--tinte); }
.anfrage__notiz { margin: 0; font-size: .9rem; color: var(--text-2); }
.anfrage__direkt { margin-top: 1.25rem; color: var(--text-2); }
.ergebnis { padding: 1.25rem; background: var(--eis); border-left: 4px solid var(--kobalt); border-radius: 0 var(--radius) var(--radius) 0; }
.ergebnis:focus { outline: 2px solid var(--kobalt); outline-offset: 2px; }
.ergebnis h3 { margin-bottom: .5rem; }
.entwurf { position: sticky; top: 6rem; }
.entwurf__titel { margin: 0 0 .75rem; font: 650 .74rem var(--marke); letter-spacing: .09em; text-transform: uppercase; color: var(--text-2); }
.entwurf__blatt { padding: 1.4rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: 0 18px 40px -24px rgb(11 32 55 / .35); }
.entwurf__kopf { display: grid; gap: .35rem; margin: 0 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--linie); font-size: .92rem; }
.entwurf__kopf div { display: grid; grid-template-columns: 4.5rem 1fr; }
.entwurf__kopf dt { color: var(--text-2); }
.entwurf__kopf dd { margin: 0; font-weight: 600; }
.entwurf__text { margin: 0; font: 400 .95rem/1.6 var(--fliess); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--tinte); }
.entwurf__text mark { background: #DCE8FF; color: inherit; }
.entwurf__notiz { margin-top: .75rem; font-size: .88rem; color: var(--text-2); }
@media (max-width: 64rem) { .anfrage { grid-template-columns: 1fr; } .entwurf { display: none; } }
.buero { display: grid; gap: 1.5rem; }
.buero__bild { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.buero address { margin-bottom: .75rem; font-size: 1.1rem; }
.buero__unter { font: 650 1rem var(--fliess); margin: 1.5rem 0 .3rem; }

/* Über uns */
.person { padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--weiss); border: 1px solid var(--linie); border-top: 4px solid var(--tinte); border-radius: var(--radius); }
.person h2 { margin-bottom: .3rem; }
.person__firma { color: var(--text-2); }
.person__tel { display: inline-flex; align-items: center; gap: .6rem; margin: .5rem 0; font: 500 1.9rem/1 var(--anzeige); text-decoration: none; }
.person__tel .ic { color: var(--kobalt); }
.person p { margin: 0; }

/* ---------- Rechtstexte ---------- */
.recht { padding-block: clamp(2rem, 4vw, 3rem) var(--abstand); }
.recht__kopf { margin-bottom: 2.5rem; }
.recht__kopf h1 { margin-bottom: .75rem; }
.recht__stand { color: var(--text-2); margin: 0; }
.recht--toc { display: grid; grid-template-columns: 17rem minmax(0, 46rem); gap: 0 clamp(2rem, 6vw, 6rem); }
.recht--toc .recht__kopf { grid-column: 1 / -1; }
.recht__toc { position: sticky; top: 6rem; align-self: start; }
.toc-klapp summary { font: 650 .74rem var(--marke); letter-spacing: .09em; text-transform: uppercase; color: var(--text-2); cursor: pointer; min-height: 2.75rem; display: flex; align-items: center; }
.toc-klapp nav p { display: none; }
.toc-klapp ol { border-left: 1px solid var(--linie); }
.toc-klapp a { display: block; padding: .4rem 0 .4rem 1rem; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--text-2); font-weight: 600; font-size: .95rem; }
.toc-klapp a:hover { color: var(--tinte); border-left-color: var(--kobalt); }
.recht__text { max-width: 46rem; }
.recht__text section { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--linie); }
.recht__text h2 { font-size: clamp(1.6rem, 1.35rem + .9vw, 2.1rem); margin-bottom: 1rem; scroll-margin-top: 6rem; }
.recht__text h2:focus { outline: none; }
.recht__text p, .recht__text address { color: #2E4157; }
.recht__text address { margin-bottom: 1rem; line-height: 1.6; }
@media (max-width: 56rem) { .recht--toc { grid-template-columns: 1fr; } .recht__toc { position: static; margin-bottom: 2rem; padding: 1rem 1.1rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); } }

/* ---------- 404 ---------- */
.fehler { padding-block: clamp(4rem, 10vw, 8rem); }
.fehler__zahl { margin: 0 0 1rem; font: 500 clamp(6rem, 4rem + 10vw, 12rem)/.85 var(--anzeige); color: transparent; -webkit-text-stroke: 2px var(--kobalt); }
.fehler h1 { margin-bottom: 1rem; }
.fehler .seitenkopf__lead { margin-bottom: 2rem; }

@media print { .kopf, .band, .fuss, .menue { display: none; } }

/* ==========================================================================
   Modernisierung 05.12.2026 · „Das Objekt im Plan“, weitergedacht
   Ein großes Erlebnis: das Gebäude, das sich beim Scrollen Bereich für Bereich erklärt.
   ========================================================================== */
h2 { font-size: clamp(2.3rem, 1.1rem + 3.6vw, 4.6rem); line-height: .96; letter-spacing: -.02em; }

/* Kopf: kompakter Planstreifen, beim Scrollen mit Kante */
.kopf { view-transition-name: kopf; }
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
    .kopf { animation: kopf-kante linear both; animation-timeline: scroll(block root); animation-range: 0 140px; }
  }
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 200ms cubic-bezier(.4, 0, 1, 1) both seite-aus; }
  ::view-transition-new(root) { animation: 380ms cubic-bezier(.2, .7, .2, 1) both seite-ein; }
}
@keyframes kopf-kante { to { box-shadow: 0 12px 30px -20px rgb(11 32 55 / .55); background: rgb(247 246 242 / .98); } }
@keyframes seite-aus { to { opacity: 0; } }
@keyframes seite-ein { from { opacity: 0; translate: 0 12px; } }

/* Held: Überschrift über die volle Breite, darunter eine Maßkette wie im Bauplan */
.held__oben { padding-top: clamp(3rem, 6vw, 5.5rem); }
.held__titel { font-size: clamp(3.4rem, 1rem + 9.4vw, 9.6rem); line-height: .86; letter-spacing: -.028em; margin: .2rem 0 0; }
.held__titel .held__z1 { display: block; }
.held__titel .held__zeile { padding-left: clamp(0rem, 9vw, 9.5rem); }
.held__mass { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(1.75rem, 3vw, 2.5rem) 0 0; border-top: 1px solid rgb(182 213 255 / .45); font: 650 .72rem/1.2 var(--marke); letter-spacing: .09em; text-transform: uppercase; color: var(--hellblau); }
.held__mass span { position: relative; padding: .7rem 0 0 .6rem; }
.held__mass span::before { content: ""; position: absolute; left: 0; top: -6px; width: 1px; height: 11px; background: var(--hellblau); }
.held__mass::after { content: ""; position: absolute; right: 0; top: -6px; width: 1px; height: 11px; background: var(--hellblau); }
@media (prefers-reduced-motion: no-preference) {
  .held__mass { transform-origin: left; animation: mass-ziehen 1.1s .25s cubic-bezier(.2, .7, .2, 1) both; }
  .held__mass span { animation: blende-ein .5s calc(.55s + var(--n, 0) * .12s) both; }
  .held__mass span:nth-child(2) { --n: 1; } .held__mass span:nth-child(3) { --n: 2; } .held__mass span:nth-child(4) { --n: 3; }
}
@keyframes mass-ziehen { from { clip-path: inset(-12px 100% -12px 0); } to { clip-path: inset(-12px 0 -12px 0); } }
@keyframes blende-ein { from { opacity: 0; } }
.held__raster { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); padding-block: clamp(2rem, 4vw, 3.25rem) clamp(3.5rem, 7vw, 6rem); align-items: end; }
.held__bild { aspect-ratio: 16 / 10; }
@media (max-width: 63.99rem) {
  .held__raster { grid-template-columns: 1fr; }
  .held__titel .held__zeile { padding-left: 0; }
}
@media (max-width: 35.99rem) {
  .held__mass { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: .6rem; }
  .held__mass::after { display: none; }
}

/* Leistungsverzeichnis: der Name trägt, der Rest tritt zurück */
.zeile__name { font-size: clamp(1.8rem, 1.2rem + 2vw, 3.2rem); letter-spacing: -.02em; transition: color .15s; }
@media (hover: hover) { .verzeichnis:has(.zeile:hover) .zeile:not(:hover) .zeile__name { color: var(--text-2); } }
.zeile:hover { background: none; }
.zeile__bild { transition: clip-path .4s cubic-bezier(.2, .7, .2, 1); clip-path: inset(0 0 0 0); }

/* Das Objekt im Plan: das Gebäude erklärt sich beim Scrollen */
.objekt { position: relative; background: var(--nacht); color: var(--weiss); }
.objekt__buehne { position: relative; overflow: hidden; min-height: clamp(38rem, 92vh, 56rem); display: grid; }
.objekt__bild { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: max(100%, calc(clamp(38rem, 92vh, 56rem) * 1344 / 752)); aspect-ratio: 1344 / 752; margin: 0; }
.objekt__bild img { width: 100%; height: 100%; object-fit: cover; }
.objekt__buehne::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgb(11 32 55 / .78) 0%, rgb(11 32 55 / .25) 38%, rgb(11 32 55 / 0) 60%), linear-gradient(rgb(182 213 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(182 213 255 / .05) 1px, transparent 1px); background-size: auto, 32px 32px, 32px 32px; }
.objekt__text { position: relative; z-index: 2; align-self: start; padding-block: clamp(3.5rem, 7vw, 6rem) 0; }
.objekt__text h2 { max-width: 15ch; margin-bottom: 1rem; }
.objekt__text p { max-width: 31rem; color: rgb(255 255 255 / .84); font-size: 1.125rem; margin: 0; }
.objekt__punkte { position: absolute; inset: 0; z-index: 3; margin: 0; padding: 0; list-style: none; }
.objekt__punkt { position: absolute; left: var(--px); top: var(--py); }
.objekt__punkt a { display: grid; grid-template-columns: auto auto; column-gap: .5rem; align-items: baseline; translate: -.65rem -50%; padding: .5rem .8rem .55rem 1.9rem; background: var(--weiss); color: var(--tinte); border-radius: var(--radius); text-decoration: none; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .55); position: relative; white-space: nowrap; }
.objekt__punkt a::before { content: ""; position: absolute; left: .55rem; top: 50%; width: .8rem; height: .8rem; translate: 0 -50%; border-radius: 50%; background: var(--kobalt); box-shadow: 0 0 0 3px var(--himmel); }
.objekt__nr { font: 650 .72rem var(--marke); color: var(--kobalt-dunkel); }
.objekt__ort { font-weight: 650; font-size: 1rem; }
.objekt__leistung { grid-column: 2; font-size: .82rem; color: var(--text-2); }
.objekt__punkt a:hover, .objekt__punkt a:focus-visible { background: var(--himmel); }
.objekt__punkt a:focus-visible { outline: 3px solid var(--weiss); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @media (min-width: 48rem) {
      .objekt { height: 300vh; view-timeline: --objekt block; }
      .objekt__buehne { position: sticky; top: 0; height: 100vh; min-height: 0; }
      .objekt__bild { width: max(100%, calc(100vh * 1344 / 752)); }
      .objekt__punkt { animation: punkt-ein linear both; animation-timeline: --objekt; animation-range: contain calc(8% + var(--i) * 19%) contain calc(16% + var(--i) * 19%); }
      .objekt__punkt:focus-within { animation: none; }
      .objekt__bild img { animation: objekt-licht linear both; animation-timeline: --objekt; animation-range: contain 0% contain 100%; }
    }
  }
}
@keyframes punkt-ein { from { opacity: 0; translate: 0 1.25rem; } }
@keyframes objekt-licht { from { filter: brightness(.62) saturate(.8); } to { filter: none; } }
@media (max-width: 47.99rem) {
  .objekt__buehne { min-height: 0; display: block; }
  .objekt__text { padding-bottom: 1.5rem; }
  .objekt__bild { position: relative; left: auto; top: auto; translate: none; width: 100%; }
  .objekt__buehne::before { display: none; }
  .objekt__punkt a { padding: .3rem .5rem .35rem 1.45rem; font-size: .85rem; }
  .objekt__punkt a::before { left: .4rem; width: .6rem; height: .6rem; }
  .objekt__leistung { display: none; }
  .objekt__ort { font-size: .85rem; }
  .objekt__punkt:last-child a { translate: calc(-100% + .65rem) -50%; padding: .3rem 1.45rem .35rem .5rem; }
  .objekt__punkt:last-child a::before { left: auto; right: .4rem; }
}

/* Band und Fuß */
.band__titel { font-size: clamp(2.6rem, 1rem + 5vw, 5.6rem); line-height: .92; letter-spacing: -.025em; }
/* Korrektur: Schriftfeld wie im Bauplan, Punkte frei über dem Bild */
.held__raster { align-items: start; }
.objekt__buehne::before { content: none; }
.objekt__bild { z-index: 1; }
.objekt__bild::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgb(182 213 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(182 213 255 / .06) 1px, transparent 1px); background-size: 32px 32px; }
.objekt__punkte { z-index: 2; }
.objekt__text { z-index: 2; align-self: end; justify-self: start; width: 100%; padding-block: 0 clamp(2rem, 4vw, 3.5rem); pointer-events: none; }
.objekt__feld { pointer-events: auto; max-width: 34rem; padding: clamp(1.4rem, 2.4vw, 2rem); background: rgb(11 32 55 / .9); border: 1px solid rgb(182 213 255 / .35); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); }
@supports (backdrop-filter: blur(1px)) { .objekt__feld { background: rgb(11 32 55 / .78); backdrop-filter: blur(10px); } }
.objekt__feld h2 { font-size: clamp(2rem, 1.2rem + 2.2vw, 3.4rem); max-width: 14ch; }
@media (max-width: 47.99rem) {
  .objekt__text { padding-top: clamp(3rem, 8vw, 4rem); }
  .objekt__feld { padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
}
/* Lange deutsche Komposita in Titeln umbrechen statt die Seite zu verbreitern */
h1, h2 { overflow-wrap: break-word; }
.recht h1 { hyphens: auto; }
.recht__kopf, .recht__raster > * { min-width: 0; }
