/*
Theme Name: Zeiler + Partner
Description: Schlankes Block-Theme ohne Baukasten. Inhaltstypen und Firmenangaben liegen im Plugin zp-inhalte.
Version: 0.5.4
Requires at least: 7.0
Requires PHP: 8.3
Text Domain: zeiler
*/

:root {
  color-scheme: only light;
  --zp-nacht: #0A1A2F;
  --zp-papier: #F4F6F8;
  --zp-text: #0E1B2A;
  --zp-sek: #47535F;
  --zp-blau: #004691;
  --zp-blau-dunkel: #00306A;
  --zp-akzent: #8FBDEE;
  --zp-sek-hell: #B4C2D2;
  --zp-linie-hell: #C7D3E0;
  --zp-vorstufe: #5B6877;
  --zp-fokus: #B45309;
  --zp-fokus-hell: #FFD166;
  --zp-fehler: #B42318;
  --zp-fehler-hell: #FFB4A8;
  --zp-breit: 92rem;
  --zp-rand: clamp(1rem, 4vw, 3rem);
  --zp-kopf: 64px;
}

html { scroll-padding-block: calc(var(--zp-kopf) + 1rem) 1.5rem; }
body { margin: 0; overflow-wrap: break-word; }
img, svg { max-width: 100%; height: auto; }
a { text-underline-offset: .2em; }
h1, h2, h3 { letter-spacing: -.025em; }
.wp-block-heading, .wp-block-post-title { margin: 0; }
:focus-visible { outline: 3px solid var(--zp-fokus); outline-offset: 3px; }
.zp-kopf :focus-visible, .zp-fuss :focus-visible, .zp-seitenkopf :focus-visible, .zp-dunkel :focus-visible, .zp-held :focus-visible, .zp-wer :focus-visible, .zp-band :focus-visible, .zp-matrix-band :focus-visible { outline-color: var(--zp-fokus-hell); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Der umgebende Block darf den festen Kopf nicht begrenzen. */
.wp-site-blocks > .wp-block-template-part:first-child { display: contents; }
.wp-site-blocks > * { margin-block: 0 !important; }
.zp-haupt > * { margin-block: 0; }

/* Hinweis Aufbaufassung und offene Punkte */
.zp-aufbau { margin: 0; padding: .3rem var(--zp-rand); background: var(--zp-fokus-hell); color: var(--zp-text); font-size: .9375rem; text-align: center; }
mark.zp-offen { background: #FFF1C9; color: var(--zp-text); padding: 0 .2em; border-bottom: 2px dotted var(--zp-fokus); }

/* Kopf */
.zp-kopf { position: sticky; top: 0; z-index: 30; background: var(--zp-nacht); color: #fff; }
@media (max-height: 32rem) { .zp-kopf { position: static; } }
.zp-kopf-innen { max-width: var(--zp-breit); margin: auto; padding: 0 var(--zp-rand); min-height: var(--zp-kopf); box-sizing: border-box; display: flex; align-items: center; gap: clamp(.5rem, 1.5vw, 1.25rem); }
.zp-logo { display: block; margin-right: auto; }
.zp-logo img { display: block; height: 46px; width: auto; }
.zp-nav .zp-aktiv, .zp-gruppe > summary.zp-aktiv { background: var(--zp-blau); border-radius: 99px; }
.zp-nav .zp-nav-kontakt.zp-aktiv { background: var(--zp-akzent); color: var(--zp-nacht); }
.zp-nav a, .zp-gruppe > summary { transition: background .25s; }
.zp-gruppe > ul a[aria-current] { text-decoration: underline; }
.zp-ort { display: none; font-size: .9375rem; color: var(--zp-sek-hell); white-space: nowrap; }
@media (max-width: 34rem) and (min-width: 22.5rem) { .zp-ort { display: block; order: 2; margin-left: auto; } .zp-logo { margin-right: 0; } .zp-menue { order: 3; } }
.zp-tel { color: #fff; white-space: nowrap; text-decoration: none; padding: .5rem 0; }
.zp-tel:hover { text-decoration: underline; }
.zp-menue-knopf { display: none; }
.zp-nav, .zp-nav ul { list-style: none; margin: 0; padding: 0; }
.zp-nav { display: flex; gap: .1rem; align-items: center; }
.zp-nav > li { position: relative; }
.zp-nav a, .zp-gruppe > summary { display: block; padding: .55rem .6rem; color: #fff; text-decoration: none; cursor: pointer; }
.zp-nav a:hover, .zp-gruppe > summary:hover { text-decoration: underline; }
.zp-nav .zp-nav-kontakt { background: #fff; color: var(--zp-nacht); border-radius: 99px; padding: .5rem 1rem; margin-left: .4rem; font-weight: 500; }
.zp-nav .zp-nav-kontakt:hover { background: var(--zp-akzent); text-decoration: none; }
.zp-nav .zp-nav-tel { display: none; }
.zp-gruppe > summary { list-style: none; }
.zp-gruppe > summary::-webkit-details-marker { display: none; }
.zp-gruppe > summary::after { content: ""; display: inline-block; width: .42em; height: .42em; margin: 0 0 .17em .45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.zp-gruppe[open] > summary::after { transform: rotate(225deg); margin-bottom: -.05em; }
.zp-gruppe > ul { position: absolute; top: 100%; left: 0; min-width: 17rem; background: #132A45; padding: .5rem 0 .75rem; border: 1px solid var(--zp-sek-hell); box-shadow: 0 1rem 2rem rgb(0 0 0 / .4); }
.zp-gruppe > ul a { padding: .5rem 1rem; }

@media (max-width: 75rem) {
  .zp-menue { order: 3; }
  .zp-menue-knopf { display: block; min-height: 44px; padding: 0 1rem; font: inherit; color: #fff; background: transparent; cursor: pointer; border: 1px solid #fff; border-radius: 99px; }
  #zp-hauptnav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - var(--zp-kopf)); overflow-y: auto; background: var(--zp-nacht); padding: .5rem var(--zp-rand) 1.25rem; box-sizing: border-box; }
  .zp-menue.offen #zp-hauptnav { display: block; }
  .zp-nav { display: block; }
  .zp-gruppe > ul { position: static; border: 0; box-shadow: none; background: transparent; padding: 0 0 .25rem .75rem; min-width: 0; }
  .zp-nav a, .zp-gruppe > summary { padding: .7rem 0; font-size: 1.25rem; }
  .zp-gruppe > ul a { padding: .55rem 0; font-size: 1.125rem; }
  .zp-nav .zp-nav-kontakt { display: inline-block; padding: .6rem 1.25rem; margin: .5rem 0 0; }
  .zp-tel { order: 2; }
}
@media (max-width: 34rem) { .zp-tel { display: none; } .zp-nav .zp-nav-tel { display: list-item; } .zp-logo img { height: 42px; } }

/* Bausteine */
.zp-zeile { font-size: .9375rem; font-weight: 500; margin: 0 0 1rem; }
.zp-gross { font-size: clamp(1.25rem, 2.2vw, 1.875rem); line-height: 1.3; letter-spacing: -.01em; }
.zp-knopf, .zp-handlung a { display: inline-block; background: var(--zp-blau); color: #fff; border: 0; padding: .8rem 1.5rem; font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; border-radius: 99px; min-height: 44px; box-sizing: border-box; transition: background .2s, color .2s; }
.zp-knopf:hover, .zp-handlung a:hover { background: var(--zp-blau-dunkel); color: #fff; }
.zp-knopf-hell, .zp-seitenkopf .zp-handlung a { background: #fff; color: var(--zp-nacht); }
.zp-knopf-hell:hover, .zp-seitenkopf .zp-handlung a:hover { background: var(--zp-akzent); color: var(--zp-nacht); }
.zp-pfeil { display: inline-block; color: inherit; font-weight: 500; }
.zp-pfeil::after { content: " →"; transition: margin .2s; }
.zp-pfeil:hover::after { margin-left: .35rem; }

/* Seitenkopf */
/* Linke Kante wie der Inhalt darunter: Rand, auf breiten Bildschirmen zusätzlich der halbe Überstand. */
.zp-seitenkopf { position: relative; overflow: hidden; background: var(--zp-nacht); color: #fff; padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem); padding-inline: max(var(--zp-rand), calc((100% - var(--zp-breit)) / 2 + var(--zp-rand))); }
.zp-seitenkopf a { color: inherit; }
.zp-seitenkopf > :not(.zp-kopfbild) { position: relative; z-index: 2; box-sizing: border-box; }
.zp-seitenkopf h1 { margin-block: 0 1.25rem; max-width: 12em; hyphens: auto; }
@media (max-width: 34rem) { .zp-seitenkopf h1 { font-size: 9vw; } }
.zp-seitenkopf h1:last-child { margin-bottom: 0; }
.zp-seitenkopf > p { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; margin-block: 0; max-width: 46rem; text-wrap: pretty; }
.zp-seitenkopf > .zp-unterzeile { font-size: .9375rem; font-weight: 500; margin-bottom: 1rem; letter-spacing: 0; }
.zp-seitenkopf > .zp-handlung { margin-top: 1.5rem; font-size: 1.125rem; letter-spacing: 0; }
.zp-kopfbild { position: absolute; inset: 0; z-index: 0; margin: 0; }
.zp-kopfbild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-kopfbild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 26 47 / .92), rgb(10 26 47 / .5)); }
.zp-seitenkopf:has(.zp-kopfbild) { padding-top: clamp(7rem, 22vh, 15rem); }

/* Abschnitte: eine durchgehende Kante. Überschrift links, Inhalt rechts. */
.zp-abschnitt { max-width: var(--zp-breit); margin-inline: auto; padding: clamp(2.5rem, 6vw, 5rem) var(--zp-rand); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem clamp(2rem, 5vw, 5rem); box-sizing: border-box; }
.zp-abschnitt > * { margin-block: 0; min-width: 0; }
.zp-abschnitt > * + h2 { margin-top: 1.5rem; }
.zp-abschnitt > p, .zp-abschnitt > ul { max-width: 62ch; }
.zp-abschnitt ul { padding-left: 1.2em; }
.zp-abschnitt li + li { margin-top: .35rem; }
.zp-flaeche-band { background: #fff; }
@media (min-width: 60rem) {
  .zp-abschnitt { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-auto-flow: row; }
  .zp-abschnitt > * { grid-column: 2; }
  .zp-abschnitt > h2 { grid-column: 1; }
  .zp-abschnitt > * + h2 { margin-top: 0; padding-top: 2rem; }
  .zp-abschnitt > * + h2 + * { padding-top: 2rem; }
  .zp-abschnitt > .zp-breit { grid-column: 1 / -1; }
}

/* Schritte */
.zp-schritte { list-style: none; counter-reset: s; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 2rem clamp(1rem, 2.5vw, 2.5rem); max-width: none !important; }
.zp-schritte li { counter-increment: s; border-top: 1px solid var(--zp-text); padding-top: 1rem; margin: 0 !important; font-size: 1.25rem; line-height: 1.3; }
.zp-schritte li::before { content: counter(s); display: block; font-size: clamp(3rem, 6vw, 6rem); line-height: 1; color: var(--zp-blau); letter-spacing: -.04em; margin-bottom: .75rem; }

/* Tabellen */
.zp-tabelle { overflow-x: auto; }
.zp-tabelle:focus-visible { outline-offset: 4px; }
.zp-tabelle table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 1rem; font-variant-numeric: tabular-nums; }
.zp-tabelle th, .zp-tabelle td { text-align: left; vertical-align: top; padding: .8rem 1rem .8rem 0; border-top: 1px solid var(--zp-text); font-weight: 400; }
.zp-tabelle thead th { border-top: 0; font-size: .9375rem; color: var(--zp-sek); }
.zp-tabelle tbody th, .zp-tabelle tbody td:first-child { font-weight: 500; }
.zp-tabelle caption { text-align: left; color: var(--zp-sek); padding-bottom: .6rem; }

@media (max-width: 50rem) {
  .zp-tabelle caption::after { content: " Seitlich wischen für weitere Spalten."; }
  .zp-tabelle tr > :first-child { position: sticky; left: 0; background: var(--zp-papier); width: 10.5rem; min-width: 10.5rem; max-width: 10.5rem; box-sizing: border-box; padding-right: .75rem; overflow-wrap: normal; hyphens: auto; z-index: 1; box-shadow: 1px 0 0 var(--zp-linie-hell); }
  .zp-flaeche-band .zp-tabelle tr > :first-child { background: #fff; }
  .zp-matrix tr > :first-child { background: var(--zp-nacht); box-shadow: 1px 0 0 rgb(255 255 255 / .28); }
}

/* Matrix */
.zp-matrix-band, .zp-dunkel { background: var(--zp-nacht); color: #fff; }
.zp-dunkel a { color: #fff; }
.zp-matrix-innen { max-width: var(--zp-breit); margin: auto; padding: clamp(3rem, 8vw, 6rem) var(--zp-rand); box-sizing: border-box; }
.zp-matrix-innen h2 { max-width: 20ch; font-size: clamp(2rem, 5vw, 4.5rem); margin: 0 0 clamp(1.5rem, 4vw, 3rem); }
.zp-matrix { min-width: 44rem !important; }
.zp-matrix caption { color: var(--zp-sek-hell) !important; }
.zp-matrix th, .zp-matrix td { border-top: 0 !important; border-bottom: 1px solid rgb(255 255 255 / .28); padding: .65rem .4rem !important; text-align: center !important; font-weight: 400 !important; color: inherit; }
.zp-matrix thead th { color: var(--zp-sek-hell) !important; }
.zp-matrix th:first-child { text-align: left !important; padding-left: 0 !important; }
.zp-matrix .zp-nr { display: inline-block; width: 1.5rem; color: var(--zp-akzent); }
.zp-pkt { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--zp-akzent); }
.zp-einzel { color: var(--zp-sek-hell); font-style: italic; }
.zp-matrix-link { margin: 1.5rem 0 0; }

/* Startseite */
.zp-held { background: var(--zp-nacht); color: #fff; position: relative; }
.zp-held-kl { padding: clamp(2rem, 6vw, 4rem) var(--zp-rand); display: grid; gap: 2rem; }
.zp-held h1 { font-size: clamp(3rem, 9.6vw, 10.5rem); line-height: .98; letter-spacing: -.04em; max-width: 13ch; margin: 0; }
.zp-held-bild { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.zp-held-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-held-unten { display: grid; gap: 1.25rem; max-width: 40rem; justify-items: start; }
.zp-held-unten p { margin: 0; font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.35; }
.bew .zp-held { height: 170vh; }
.bew .zp-held-kl { position: sticky; top: var(--zp-kopf); height: calc(100svh - var(--zp-kopf)); box-sizing: border-box; overflow: hidden; display: block; padding: 0; }
.bew .zp-held-bild { position: absolute; inset: 0; aspect-ratio: auto; clip-path: inset(calc((1 - var(--p, 0)) * 46%) calc((1 - var(--p, 0)) * 6%) calc((1 - var(--p, 0)) * 5%) calc((1 - var(--p, 0)) * 50%)); }
.bew .zp-held-bild img { transform: scale(calc(1.12 - var(--p, 0) * .12)); }
.bew .zp-held-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 26 47 / .82), rgb(10 26 47 / .2) 60%); opacity: var(--p, 0); }
.bew .zp-held-text { position: absolute; left: var(--zp-rand); right: var(--zp-rand); top: clamp(1.5rem, 5vh, 3.5rem); z-index: 2; }
.bew .zp-held-unten { position: absolute; left: var(--zp-rand); bottom: clamp(1.5rem, 6vh, 3.5rem); z-index: 2; max-width: min(40rem, 42vw); }
@media (max-width: 50rem) {
  .bew .zp-held-unten { max-width: none; right: var(--zp-rand); bottom: 1.5rem; }
  .bew .zp-held-bild { clip-path: inset(calc((1 - var(--p, 0)) * 30%) 0 calc((1 - var(--p, 0)) * 18%) 0); }
}
/* Claim im freien Feld zwischen Überschrift und Text, nur auf großen Bildschirmen; blendet beim Scrollen aus. */
.zp-held-claim, .zp-held-hinweis { display: none; }
@media (min-width: 75rem) and (min-height: 50rem) {
  .bew .zp-held-claim { display: block; position: absolute; z-index: 1; left: var(--zp-rand); top: 54%; transform: translateY(-50%); margin: 0; font-size: clamp(2.5rem, 3.8vw, 5rem); font-weight: 500; line-height: 1.04; letter-spacing: -.02em; color: rgb(143 189 238 / .2); pointer-events: none; opacity: calc(1 - var(--p, 0) * 2.5); }
}
@media (min-width: 50.01rem) {
  .bew .zp-held-hinweis { display: flex; position: absolute; z-index: 2; left: 50%; bottom: clamp(1rem, 3vh, 2rem); transform: translateX(-50%); margin: 0; flex-direction: column; align-items: center; gap: .4rem; color: var(--zp-sek-hell); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; opacity: calc(1 - var(--p, 0) * 4); }
  .bew .zp-held-hinweis::after { content: ""; width: 1px; height: 2.5rem; background: linear-gradient(var(--zp-sek-hell), transparent); }
}

.zp-wer { background: var(--zp-nacht); color: #fff; }
.zp-wer a { color: #fff; }
.zp-wer-t { position: relative; }
.zp-wer-b { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.zp-wer-b img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-wer-x { padding: 2rem var(--zp-rand) 3.5rem; }
.zp-wer-x h2 { font-size: clamp(1.75rem, 8.2vw, 8.5rem); letter-spacing: -.035em; line-height: 1.02; margin: 0 0 1rem; }
.zp-wer-x .zp-gross { max-width: 34ch; margin: 0 0 1.25rem; }
.bew .zp-wer-t { position: sticky; top: var(--zp-kopf); height: calc(100svh - var(--zp-kopf)); overflow: hidden; background: var(--zp-nacht); }
.bew .zp-wer-b { position: absolute; inset: 0; aspect-ratio: auto; }
.bew .zp-wer-b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 26 47 / .92) 8%, rgb(10 26 47 / .6) 48%, rgb(10 26 47 / .05) 88%); }
.bew .zp-wer-x { position: absolute; inset: auto 0 0 0; padding: 0 var(--zp-rand) clamp(2rem, 7vh, 4.5rem); z-index: 2; }

.zp-jahr { max-width: var(--zp-breit); margin: auto; padding: clamp(3rem, 8vw, 7rem) var(--zp-rand); overflow: hidden; box-sizing: border-box; }
.zp-jahr-z { margin: 0 0 0 -.04em; font-size: clamp(7rem, 33vw, 34rem); line-height: .8; letter-spacing: -.06em; font-weight: 500; color: var(--zp-blau); }
.zp-jahr-t { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.5rem clamp(2rem, 6vw, 6rem); margin-top: clamp(2rem, 5vw, 4rem); }
.zp-jahr-t h2 { font-size: clamp(1.5rem, 2.6vw, 2.5rem); margin: 0; }
.zp-jahr-t .zp-gross { margin: 0; }
.bew .wort { color: var(--zp-vorstufe); transition: color .25s; }
.bew .wort.an { color: var(--zp-text); }

.zp-gew { padding-block: clamp(2rem, 6vw, 5rem); }
.zp-gew-kl { max-width: var(--zp-breit); margin: auto; padding-inline: var(--zp-rand); display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; box-sizing: border-box; }
.zp-gew h2 { font-size: clamp(2rem, 5vw, 4.5rem); margin: 0; }
.zp-gew-liste { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--zp-text); }
.zp-gew-liste li { border-bottom: 1px solid var(--zp-text); padding: 1.25rem 0; }
.zp-gew-liste h3 { font-size: clamp(1.625rem, 3.2vw, 3.25rem); margin: 0 0 .4rem; }
.zp-gew-liste h3 a { color: inherit; text-decoration: none; }
.zp-gew-liste h3 a:hover { color: var(--zp-blau); text-decoration: underline; text-decoration-thickness: 2px; }
.zp-gew-liste p { margin: 0; max-width: 38ch; }
.zp-gew-klein { position: relative; margin-top: 1rem; aspect-ratio: 16 / 10; overflow: hidden; }
.zp-gew-klein img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-gew-r { display: none; }
.zp-gew-mehr { margin: 1.25rem 0 0; }
@media (min-width: 60rem) {
  .zp-gew-klein { display: none; }
  .zp-gew-kl { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .zp-gew-r { display: block; position: relative; min-height: 60vh; }
  .zp-gew-bb { position: absolute; inset: 0; overflow: hidden; clip-path: inset(calc((1 - var(--w, 0)) * 100%) 0 0 0); }
  .zp-gew-bb:first-child { --w: 1; }
  .zp-gew-bb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .bew .zp-gew { height: 240vh; padding: 0; }
  .bew .zp-gew-kl { position: sticky; top: var(--zp-kopf); height: calc(100svh - var(--zp-kopf)); align-items: stretch; padding-block: clamp(1.25rem, 4vh, 2.5rem); }
  .zp-gew-liste { margin-top: clamp(1rem, 3vh, 2rem); }
  .zp-gew-liste li { padding: clamp(.45rem, 1.2vh, .9rem) 0; }
  .zp-gew-liste h3 { font-size: clamp(1.5rem, 3.6vh, 2.75rem); margin: 0; }
  .bew .zp-gew-liste li p { max-height: 0; overflow: hidden; transition: max-height .35s; }
  .bew .zp-gew-liste li.aktiv p { max-height: 4.8em; margin-top: .25rem; }
  .bew .zp-gew-liste li:not(.aktiv) h3 { color: var(--zp-vorstufe); }
  html:not(.bew) .zp-gew-liste p { margin-top: .25rem; }
}

.zp-ablauf-band, .zp-wissen-band { max-width: var(--zp-breit); margin: auto; padding: clamp(3rem, 7vw, 6rem) var(--zp-rand) 0; box-sizing: border-box; }
.zp-ablauf-band h2, .zp-wissen-band h2 { font-size: clamp(2rem, 5vw, 4.5rem); margin: 0 0 clamp(1.5rem, 4vw, 3rem); }
.zp-wissen-band { padding-bottom: clamp(3rem, 7vw, 6rem); }
.bew [data-ein] { transform: translateY(1.25rem); transition: transform .6s; }
.bew [data-ein].da { transform: none; }

/* Listen: Wissen, Projekte */
.zp-zeilen { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--zp-text); }
.zp-zeilen li { border-bottom: 1px solid var(--zp-text); }
.zp-zeilen a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(9rem, 2fr); gap: .25rem 2rem; padding: 1.25rem 0; color: inherit; text-decoration: none; align-items: baseline; }
.zp-z-t { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.2; letter-spacing: -.01em; font-weight: 500; }
.zp-z-s { font-size: .9375rem; color: var(--zp-sek); }
.zp-zeilen a:hover .zp-z-t { color: var(--zp-blau); text-decoration: underline; }
@media (max-width: 50rem) { .zp-zeilen a { grid-template-columns: minmax(0, 1fr); } }
.zp-liste-kl { max-width: var(--zp-breit); margin: auto; padding: clamp(2rem, 5vw, 4rem) var(--zp-rand) clamp(3rem, 7vw, 6rem); box-sizing: border-box; }
.zp-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.zp-filter a { display: inline-block; min-height: 44px; box-sizing: border-box; padding: .55rem 1.1rem; border: 1px solid var(--zp-text); border-radius: 99px; color: var(--zp-text); text-decoration: none; }
.zp-filter a:hover { background: #fff; text-decoration: underline; }
.zp-filter a[aria-current] { background: var(--zp-nacht); border-color: var(--zp-nacht); color: #fff; }
.zp-anzahl { color: var(--zp-sek); margin: 0 0 1rem; }

/* Schema Gebäudeschnitt */
.zp-plan-kl { max-width: var(--zp-breit); margin: auto; padding: clamp(2rem, 5vw, 4rem) var(--zp-rand); display: grid; gap: 2rem; box-sizing: border-box; }
.zp-plan-z { background: #fff; border: 1px solid var(--zp-text); padding: clamp(.5rem, 1.5vw, 1rem); }
.zp-plan-z p { margin: .5rem 0 0; font-size: .875rem; color: var(--zp-sek); }
.zp-schnitt { display: block; width: 100%; height: auto; max-height: 70vh; }
.zp-g { fill: none; stroke: var(--zp-text); stroke-width: 2.5; }
.zp-g.d { stroke-width: 1.5; }
.zp-g.f { stroke-width: 1; }
.zp-l { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.zp-l.dick { stroke-width: 6; }
.zp-ger { fill: #fff; stroke-width: 2.5; }
.zp-t { font-size: 13px; fill: var(--zp-sek); }
.zp-tg { font-size: 18px; font-weight: 500; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.zp-aus { stroke: #C7D3E0 !important; }
.zp-plan-t h2 { font-size: clamp(1.875rem, 3.6vw, 3.25rem); margin: 0 0 1.25rem; }
.zp-plan-t ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--zp-text); }
.zp-plan-t li { border-bottom: 1px solid var(--zp-text); padding: .7rem 0 .7rem 1.1rem; position: relative; }
.zp-plan-t li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .55rem; height: .55rem; background: var(--f); }
.zp-plan-t h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); margin: 0; }
.zp-plan-t h3 a { color: inherit; text-decoration: none; }
.zp-plan-t h3 a:hover { color: var(--zp-blau); text-decoration: underline; }
.zp-plan-t li p { margin: .2rem 0 0; }
.bew [data-sichtbar] { transition: opacity .25s; }
@media (min-width: 60rem) {
  .zp-plan-kl { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .bew .zp-plan { height: 300vh; }
  .bew .zp-plan-kl { position: sticky; top: var(--zp-kopf); height: calc(100svh - var(--zp-kopf)); padding-block: 1rem; }
  .bew .zp-plan-t li p { max-height: 0; overflow: hidden; margin: 0; transition: max-height .3s; }
  .bew .zp-plan-t li.aktiv p { max-height: 5em; margin-top: .2rem; }
  .bew .zp-plan-t li:not(.aktiv) h3 { color: var(--zp-sek); }
  .bew .zp-plan-t li.aktiv h3 { color: var(--f); }
}
@media (max-width: 59.99rem) {
  .bew .zp-plan { height: 300vh; }
  .bew .zp-plan-kl { position: sticky; top: var(--zp-kopf); height: calc(100svh - var(--zp-kopf)); display: block; padding-block: .5rem; overflow: hidden; }
  .bew .zp-plan-z { padding: .25rem; }
  .bew .zp-schnitt { max-height: 46vh; margin: auto; }
  .bew .zp-plan-z p { display: none; }
  .bew .zp-plan-t h2 { font-size: 1.5rem; margin: .75rem 0 .5rem; }
  .bew .zp-plan-t li { position: absolute; opacity: 0; pointer-events: none; border-bottom: 0; }
  .bew .zp-plan-t li.aktiv { position: relative; opacity: 1; pointer-events: auto; }
  .bew .zp-plan-t li.aktiv h3 { color: var(--f); }
}
.zp-schema-einzel { max-width: 44rem; }

/* Abschluss und Formular */
.zp-band { position: relative; overflow: hidden; background: var(--zp-nacht); color: #fff; min-height: clamp(24rem, 70vh, 48rem); display: flex; align-items: flex-end; }
.zp-band a { color: #fff; }
.zp-band-b { position: absolute; inset: -12% 0; }
.zp-band-b img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-band::before { content: ""; position: absolute; inset: 0; background: rgb(10 26 47 / .5); z-index: 1; }
.zp-band-t { position: relative; z-index: 2; width: 100%; max-width: var(--zp-breit); margin: auto; padding: clamp(2rem, 6vw, 5rem) var(--zp-rand); box-sizing: border-box; }
.zp-band-t h2 { max-width: 16ch; font-size: clamp(2.5rem, 7vw, 7rem); margin: 0 0 1.5rem; }
.zp-band-t p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.zp-band .zp-knopf { background: #fff; color: var(--zp-nacht); }
.zp-band .zp-knopf:hover { background: var(--zp-akzent); }
.zp-tel-gross { font-size: 1.25rem; white-space: nowrap; }

/* Lesestrecken: Fachtext, Profil */
.zp-lesen { max-width: var(--zp-breit); margin: auto; padding: clamp(2rem, 5vw, 4rem) var(--zp-rand) clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem clamp(2rem, 5vw, 5rem); box-sizing: border-box; }
.zp-lesen-text { min-width: 0; max-width: 52rem; }
.zp-lesen-text > * { margin-block: 0 1rem; }
.zp-lesen-text > h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); margin-block: 2.25rem .75rem; }
.zp-lesen-text > h2:first-child { margin-top: 0; }
.zp-lesen-text ul { padding-left: 1.2em; }
@media (min-width: 60rem) {
  .zp-lesen { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
  .zp-stand, .zp-raster { position: sticky; top: calc(var(--zp-kopf) + 1.5rem); }
}
.zp-stand { border-top: 1px solid var(--zp-text); padding-top: .75rem; font-size: 1rem; }
.zp-stand p { margin: 0 0 .5rem; }
.zp-raster { margin: 0; border-top: 1px solid var(--zp-text); }
.zp-raster div { border-bottom: 1px solid var(--zp-linie-hell); padding: .6rem 0; }
.zp-raster dt { color: var(--zp-sek); font-size: .9375rem; }
.zp-raster dd { margin: 0; font-weight: 500; }

/* Referenzen mit Bild */
.zp-ref-band { max-width: var(--zp-breit); margin: auto; padding: clamp(3rem, 7vw, 6rem) var(--zp-rand) 0; box-sizing: border-box; }
.zp-ref-band h2 { font-size: clamp(2rem, 5vw, 4.5rem); margin: 0 0 clamp(1.5rem, 4vw, 3rem); }
.zp-ref-raster { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 2rem clamp(1rem, 2vw, 2rem); }
.zp-ref-raster a { display: grid; gap: .5rem; color: inherit; text-decoration: none; }
.zp-ref-b { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: .35rem; background: var(--zp-nacht); }
.zp-ref-b img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.zp-ref-raster a:hover .zp-ref-b img { transform: scale(1.03); }
.zp-ref-raster a:hover .zp-z-t { color: var(--zp-blau); text-decoration: underline; }
.zp-ref-gross { margin: 0 0 2rem !important; }
.zp-ref-gross img { width: 100%; display: block; }
.zp-ablauf-mehr { margin: 2rem 0 0; }
.zp-ref-karte .zp-ref-b { position: relative; display: flex; align-items: flex-end; padding: 1.25rem; box-sizing: border-box; color: #fff; }
.zp-ref-karte .zp-ref-b img { position: absolute; inset: 0; z-index: 0; }
.zp-ref-karte .zp-ref-b::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgb(10 26 47 / .88), rgb(10 26 47 / .15) 65%); }
.zp-ref-label { position: relative; z-index: 2; font-size: clamp(1.25rem, 1.8vw, 1.625rem); line-height: 1.2; letter-spacing: -.01em; }
.zp-bildband { margin: 1rem 0; overflow: hidden; }
.zp-bildband img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 65%; }
@media (max-width: 40rem) { .zp-bildband img { aspect-ratio: 4 / 3; } }

/* Kontaktwege */
.zp-kontakt-kl { max-width: var(--zp-breit); margin: auto; padding: clamp(2.5rem, 6vw, 5rem) var(--zp-rand) 0; box-sizing: border-box; display: grid; gap: 1.5rem; }
.zp-kontakt-weg { margin: 0; display: grid; gap: .1rem; }
.zp-kontakt-weg span { color: var(--zp-sek); }
.zp-kontakt-weg a { font-size: clamp(1.75rem, 5.2vw, 5rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 500; color: var(--zp-blau); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.zp-kontakt-hinweis { margin: 0; max-width: 62ch; }

/* Pfadanzeige unter dem Seitenkopf */
.zp-pfad { max-width: var(--zp-breit); margin: auto; padding: 1rem var(--zp-rand) 0; box-sizing: border-box; font-size: .9375rem; color: var(--zp-sek); }
.zp-pfad ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.zp-pfad li + li::before { content: "›" / ""; margin-right: .5rem; }
.zp-pfad a { color: inherit; }
.zp-pfad a:hover { color: var(--zp-blau); }
@media print { .zp-pfad { display: none; } }

/* Seite nicht gefunden */
.zp-wege { max-width: var(--zp-breit); margin: auto; padding: clamp(2rem, 5vw, 4rem) var(--zp-rand) clamp(3rem, 7vw, 6rem); box-sizing: border-box; }

/* Fuß */
.zp-fuss { background: var(--zp-nacht); color: #fff; padding: clamp(2rem, 4vw, 3.5rem) var(--zp-rand); font-size: 1rem; }
.zp-fuss a { color: #fff; }
.zp-fuss-innen { max-width: var(--zp-breit); margin: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.5rem; }
.zp-fuss p { margin: 0 0 .75rem; }
.zp-fuss-name, .zp-fuss-titel { font-weight: 500; }
.zp-fuss ul { list-style: none; margin: 0; padding: 0; }
.zp-fuss li a { display: inline-block; padding: .2rem 0; }

.zp-firma { font-style: normal; }

/* Hochkontrast von Windows: Punkte und Knöpfe bleiben sichtbar */
@media (forced-colors: active) {
  .zp-pkt { forced-color-adjust: none; background: CanvasText; }
  .zp-knopf, .zp-handlung a, .zp-nav-kontakt { border: 1px solid ButtonText; }
  .zp-aktiv { outline: 2px solid Highlight; }
  .zp-gew-bb, .zp-held-bild { forced-color-adjust: none; }
}

/* Druck */
@media print {
  .zp-kopf, .zp-aufbau, .zp-band, .zp-fuss nav, .zp-held-claim, .zp-held-hinweis, .zp-gew-r, .zp-kopfbild, .zp-gew-klein, .zp-wer-b, .zp-held-bild, .zp-filter { display: none !important; }
  body, .zp-seitenkopf, .zp-held, .zp-wer, .zp-matrix-band, .zp-dunkel, .zp-fuss { background: #fff !important; color: #000 !important; }
  .zp-seitenkopf { padding: 0 0 1rem; }
  .zp-seitenkopf a, .zp-fuss a, .zp-wer a { color: #000 !important; }
  .zp-matrix th, .zp-matrix td { border-color: #000 !important; color: #000 !important; }
  .zp-tabelle { overflow: visible; }
  .zp-tabelle table { min-width: 0 !important; font-size: 10pt; }
  tr, .zp-schritte li { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  .bew .zp-held, .bew .zp-wer, .bew .zp-gew, .bew .zp-plan { height: auto !important; }
  .bew .zp-held-kl, .bew .zp-wer-kl, .bew .zp-gew-kl, .bew .zp-plan-kl, .zp-stand, .zp-raster { position: static !important; height: auto !important; overflow: visible !important; }
  .bew .zp-wer-t, .bew .zp-wer-x { position: static !important; height: auto !important; }
  .bew .zp-held-text, .bew .zp-held-unten { position: static !important; opacity: 1 !important; max-width: none !important; }
  .bew .wort { color: #000 !important; }
  .bew .zp-plan-t li p, .bew .zp-gew-liste li p { max-height: none !important; }
  .bew [data-ein] { transform: none !important; }
  .zp-jahr-z { font-size: 4rem; line-height: 1; }
}

/* 0.4.7: Matrix-Kopf, Hinweis im Schnitt, Regionskarte */
.zp-matrix thead tr:first-child th, .zp-matrix thead tr:first-child td { border-bottom: 0 !important; padding-bottom: 0 !important; }
.zp-matrix .zp-matrix-lph { text-align: center !important; color: #fff !important; font-weight: 600 !important; }
.zp-plan-hinweis { display: none; }
.bew .zp-plan-hinweis { display: block; margin: 1rem 0 0; font-size: .9375rem; color: var(--zp-sek); transition: opacity .3s; }
.bew .zp-plan-hinweis::after { content: " ↓"; }
.bew .zp-plan-t:has(li:last-child.aktiv) .zp-plan-hinweis { opacity: 0; }
.zp-karte-fig { margin: 1.5rem 0; background: #fff; border: 1px solid var(--zp-text); padding: clamp(.5rem, 1.5vw, 1rem); }
.zp-karte-fig figcaption { margin: .6rem 0 0; font-size: .9375rem; color: var(--zp-sek); }
.zp-karte { display: block; width: 100%; height: auto; }
.zp-k-land { fill: #EEF3F9; stroke: var(--zp-text); stroke-width: 2; stroke-linejoin: round; }
.zp-k-fluss { fill: none; stroke: var(--zp-akzent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.zp-k-region { font-size: 28px; fill: var(--zp-sek); font-style: italic; letter-spacing: .04em; }
.zp-k-ort { font-size: 32px; fill: var(--zp-text); paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
.zp-k-haupt { font-weight: 600; font-size: 36px; }
.zp-k-klein { font-size: 26px; fill: var(--zp-sek); paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
.zp-k-punkt { fill: var(--zp-text); }
.zp-k-buero { fill: #004691; fill-opacity: .18; stroke: #004691; stroke-width: 2.5; }
.zp-k-kern { fill: #004691; }
.zp-k-einsatz { fill: #fff; stroke: var(--zp-text); stroke-width: 1.5; }
.zp-k-de { fill: #fff; stroke: var(--zp-sek); stroke-width: 1; }
.zp-k-nrw { fill: var(--zp-akzent); stroke: var(--zp-text); stroke-width: 1.5; }
.zp-k-rahmen { fill: none; stroke: #004691; stroke-width: 2; }
@media (max-width: 40rem) { .zp-k-ort { font-size: 44px; stroke-width: 9px; } .zp-k-haupt { font-size: 48px; } .zp-k-klein { font-size: 34px; } .zp-k-region { font-size: 34px; } }
@media print { .zp-karte-fig { break-inside: avoid; } }

/* 0.4.8: LinkedIn-Symbol in der Fußzeile (offizielles [in]-Logo, weiß, unverändert) */
.zp-fuss .zp-li { display: inline-flex; align-items: center; gap: .5rem; }
.zp-fuss .zp-li img { width: 20px; height: auto; display: block; }
@media print { .zp-fuss .zp-li img { display: none; } }

/* 0.4.9: Rechtstexte einspaltig, ruhige Überschriften */
.zp-abschnitt.zp-recht { grid-template-columns: minmax(0, 1fr) !important; }
.zp-abschnitt.zp-recht > * { grid-column: 1 !important; max-width: 52rem; }
.zp-abschnitt.zp-recht > h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.25; padding-top: 1.75rem; margin-top: 0; hyphens: manual; }
.zp-abschnitt.zp-recht > h2:first-child { padding-top: 0; }
.zp-abschnitt.zp-recht > h3 { font-size: 1.1875rem; padding-top: .75rem; }

/* 0.5.0: Copyright, Cookie-Einstellungen */
.zp-fuss-copy { max-width: var(--zp-breit); margin: 2rem auto 0 !important; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .2); font-size: .875rem; color: rgb(255 255 255 / .8); }
.zp-einw-link { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; cursor: pointer; }
.zp-einw { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; color: var(--zp-text); border-top: 2px solid var(--zp-text); box-shadow: 0 -4px 16px rgb(0 0 0 / .12); max-height: 70vh; overflow: auto; }
.zp-einw[hidden] { display: none; }
.zp-einw:focus { outline: 3px solid var(--zp-fokus); outline-offset: -3px; }
.zp-einw-innen { max-width: var(--zp-breit); margin: auto; padding: 1.25rem var(--zp-rand); box-sizing: border-box; }
.zp-einw h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.zp-einw p { margin: 0 0 .75rem; max-width: 70ch; }
.zp-einw-liste { list-style: none; padding: 0; margin: 0 0 .75rem; }
.zp-einw-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; }
@media print { .zp-einw, .zp-einw-link, .zp-fuss-copy { display: none !important; } }

/* 0.5.1: Tabellen auf dem Handy als Liste statt seitlich wischen */
.zp-mx-handy { display: none; }
@media (max-width: 40rem) {
  .zp-tabelle { overflow: visible; }
  .zp-tabelle caption::after { content: none; }
  .zp-tabelle table { min-width: 0 !important; }
  .zp-tabelle table, .zp-tabelle tbody, .zp-tabelle tr, .zp-tabelle td, .zp-tabelle th, .zp-tabelle caption { display: block; }
  .zp-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .zp-tabelle tbody tr { border-top: 1px solid var(--zp-text); padding: .75rem 0; }
  .zp-tabelle tr > :first-child { position: static; width: auto; min-width: 0; max-width: none; background: none; box-shadow: none; padding-right: 0; }
  .zp-tabelle th, .zp-tabelle td { border-top: 0; padding: .1rem 0; }
  .zp-tabelle td:first-child { font-size: 1.0625rem; padding-bottom: .3rem; }
  .zp-tabelle td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; color: var(--zp-sek); }
  .zp-matrix td { display: none !important; }
  .zp-matrix tbody tr { border-top: 0; border-bottom: 1px solid rgb(255 255 255 / .28); }
  .zp-matrix th { text-align: left !important; padding: 0 !important; border: 0 !important; }
  .zp-matrix tr > :first-child { background: none !important; }
  .zp-mx-handy { display: block; margin: .25rem 0 0 1.5rem; font-size: .9375rem; color: var(--zp-akzent); }
}

/* 0.5.2: Handy und Tablet hochkant: ruhiges Scrollen auf der Startseite, kompaktere Blöcke, Schnellwahl */
.zp-wege { display: none; }
@media (max-width: 50rem) {
  .bew .zp-held { height: auto; }
  .bew .zp-held-kl { position: relative; top: auto; height: auto; overflow: visible; display: grid; gap: 1.25rem; padding: 0 0 2rem; }
  .bew .zp-held-bild { position: relative; inset: auto; aspect-ratio: 16 / 10; clip-path: none; }
  .bew .zp-held-bild img { transform: none; }
  .bew .zp-held-bild::after { display: none; }
  .bew .zp-held-text, .bew .zp-held-unten { position: static; max-width: none; opacity: 1 !important; padding-inline: var(--zp-rand); }
  .zp-held-kl { padding: 0 0 2rem; gap: 1.25rem; }
  .zp-held-text, .zp-held-unten { padding-inline: var(--zp-rand); }
  .zp-wege { display: flex; flex-direction: column; gap: .5rem; width: 100%; margin-top: .25rem; }
  .zp-wege a { display: block; padding: .7rem 1rem; min-height: 44px; box-sizing: border-box; border: 1px solid rgb(255 255 255 / .5); border-radius: 6px; color: #fff; text-decoration: none; }
  .zp-wege a::after { content: " →"; }
  .bew .zp-wer-t { position: relative; top: auto; height: auto; overflow: visible; }
  .bew .zp-wer-b { position: relative; inset: auto; aspect-ratio: 16 / 9; }
  .bew .zp-wer-b::after { display: none; }
  .bew .zp-wer-x { position: static; }
  .zp-wer-x { padding: 1.25rem var(--zp-rand) 2.25rem; }
  .zp-wer-b { aspect-ratio: 16 / 9; }
  .zp-wer-x h2 { font-size: 2rem; margin-bottom: .6rem; }
  .zp-gew-klein { display: none; }
  .zp-gew-liste li { padding: .9rem 0; }
  .zp-gew-liste h3 { font-size: 1.5rem; }
  .zp-ref-b { aspect-ratio: 16 / 9; }
  .zp-ref-raster { gap: 1.5rem; }
}

/* 0.5.3: Startseite auf dem Handy weiter gestrafft */
@media (max-width: 40rem) {
  .zp-ref-band .zp-ref-raster { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--zp-text); }
  .zp-ref-band .zp-ref-raster li { border-bottom: 1px solid var(--zp-text); }
  .zp-ref-band .zp-ref-raster a { grid-template-columns: 6.5rem minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 1rem; row-gap: .2rem; padding: .9rem 0; align-items: start; }
  .zp-ref-band .zp-ref-b { grid-row: 1 / span 2; aspect-ratio: 1 / 1; margin: 0; padding: 0; }
  .zp-ref-band .zp-ref-karte .zp-ref-b::after, .zp-ref-band .zp-ref-label { display: none; }
  .zp-ref-band .zp-z-t { font-size: 1.125rem; }
  .zp-wer-b, .bew .zp-wer-b { aspect-ratio: 5 / 2; }
  .zp-wer-x { padding: 1rem var(--zp-rand) 1.75rem; }
  .zp-wer-x .zp-gross { margin-bottom: .75rem; }
  .zp-ablauf-band .zp-schritte li { font-size: 1.0625rem; padding-top: .6rem; }
  .zp-ablauf-band .zp-schritte li::before { font-size: 2rem !important; line-height: 1 !important; margin-bottom: .3rem !important; }
  .zp-jahr { padding-block: 2.5rem; }
  .zp-jahr-z { font-size: 6rem; }
}

/* 0.5.4: Ohne Bewegung (Animationen aus) oder ohne JavaScript ab Tablet: Bild füllt ein Fenster, Text liegt darauf.
   Entspricht dem Endbild der Animation, nur ohne Bewegung. Handy bleibt wie 0.5.2. */
@media screen and (min-width: 50.01rem) {
  html:not(.bew) .zp-held-kl { position: relative; height: calc(100svh - var(--zp-kopf)); min-height: 30rem; box-sizing: border-box; overflow: hidden; display: block; padding: 0; }
  html:not(.bew) .zp-held-bild { position: absolute; inset: 0; aspect-ratio: auto; }
  html:not(.bew) .zp-held-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 26 47 / .82), rgb(10 26 47 / .2) 60%); }
  html:not(.bew) .zp-held-text { position: absolute; left: var(--zp-rand); right: var(--zp-rand); top: clamp(1.5rem, 5vh, 3.5rem); z-index: 2; }
  html:not(.bew) .zp-held-unten { position: absolute; left: var(--zp-rand); bottom: clamp(1.5rem, 6vh, 3.5rem); z-index: 2; max-width: min(40rem, 42vw); }
  html:not(.bew) .zp-held-hinweis { display: flex; position: absolute; z-index: 2; left: 50%; bottom: clamp(1rem, 3vh, 2rem); transform: translateX(-50%); margin: 0; flex-direction: column; align-items: center; gap: .4rem; color: var(--zp-sek-hell); font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
  html:not(.bew) .zp-held-hinweis::after { content: ""; width: 1px; height: 2.5rem; background: linear-gradient(var(--zp-sek-hell), transparent); }
}
@media screen and (min-width: 75rem) and (min-height: 50rem) {
  html:not(.bew) .zp-held-claim { display: block; position: absolute; z-index: 1; left: var(--zp-rand); top: 54%; transform: translateY(-50%); margin: 0; font-size: clamp(2.5rem, 3.8vw, 5rem); font-weight: 500; line-height: 1.04; letter-spacing: -.02em; color: rgb(143 189 238 / .2); pointer-events: none; }
}
/* 0.5.4: Niedrige Fenster (Handy quer): mit und ohne Bewegung ruhiger Fluss, Überschrift und Text vor dem Bild. */
@media screen and (max-height: 32rem) {
  .bew .zp-held { height: auto; }
  .zp-held-kl, .bew .zp-held-kl, html:not(.bew) .zp-held-kl { position: relative; top: auto; height: auto; min-height: 0; overflow: visible; display: grid; gap: 1.25rem; padding: 1.5rem 0 2rem; }
  .zp-held-bild, .bew .zp-held-bild, html:not(.bew) .zp-held-bild { position: relative; inset: auto; order: 3; aspect-ratio: 21 / 9; clip-path: none; }
  .bew .zp-held-bild img { transform: none; }
  .zp-held-bild::after, .bew .zp-held-bild::after, html:not(.bew) .zp-held-bild::after { display: none; }
  .zp-held-text, .zp-held-unten, .bew .zp-held-text, .bew .zp-held-unten, html:not(.bew) .zp-held-text, html:not(.bew) .zp-held-unten { position: static; max-width: none; opacity: 1 !important; padding-inline: var(--zp-rand); }
  .zp-held h1 { font-size: clamp(2.25rem, 12vh, 4rem); max-width: none; }
  .zp-held-hinweis, .bew .zp-held-hinweis, html:not(.bew) .zp-held-hinweis { display: none; }
}
/* 0.5.4: „Für wen“ ohne Bewegung ab Tablet: je Tafel ein Fenster, Bild hinten, Text darauf (wie die animierte Fassung, ohne Stapeln). */
@media screen and (min-width: 50.01rem) and (min-height: 32.01rem) {
  html:not(.bew) .zp-wer-t { height: calc(100svh - var(--zp-kopf)); min-height: 30rem; overflow: hidden; }
  html:not(.bew) .zp-wer-b { position: absolute; inset: 0; aspect-ratio: auto; }
  html:not(.bew) .zp-wer-b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 26 47 / .92) 8%, rgb(10 26 47 / .6) 48%, rgb(10 26 47 / .05) 88%); }
  html:not(.bew) .zp-wer-x { position: absolute; inset: auto 0 0 0; padding: 0 var(--zp-rand) clamp(2rem, 7vh, 4.5rem); z-index: 2; }
}
/* 0.5.4: Handy quer: Kopf scrollt mit (siehe .zp-kopf), Tafeln daher ohne Kopfabstand; ohne Bewegung flacheres Bild. */
@media screen and (max-height: 32rem) {
  .bew .zp-wer-t { top: 0; height: 100svh; }
  html:not(.bew) .zp-wer-b { aspect-ratio: 21 / 9; }
}
