/* Keller GmbH, Entwurf Rivercon Media.
   Idee „Drei Gewerke, eine Familie“: Das Logo besteht aus drei Quadraten (Sanitär blau, Heizungsbau rot, Solar gelb).
   Diese Quadrate sind das Leitsystem: Jedes Gewerk trägt sein Zeichen und seine Farbe, sonst bleibt alles Weiß, warmes Hellgrau
   und Tinte. Instrument Sans für alles, schmal geschnitten (wdth 75–80) für Jahreszahlen, Kennzahlen und Etiketten. */

@font-face { font-family: 'Instrument Sans'; font-style: normal; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%; src: url('/fonts/instrument-sans-latin-standard-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-display: swap; font-weight: 400 700; font-stretch: 75% 100%; src: url('/fonts/instrument-sans-latin-ext-standard-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --tinte: #1b1c20;
  --text: #33353b;
  --leise: #676a71;
  --linie: #d8d6d0;
  --linie-zart: #e7e5e0;
  --flaeche: #f3f2ee;
  --flaeche-tief: #e9e7e1;
  --papier: #ffffff;
  --blau: #133e82;
  --blau-tief: #0b2a5c;
  --rot: #e30613;
  --gelb: #fcca09;
  --schrift: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1360px;
  --rand: clamp(20px, 4vw, 56px);
  --kopf-h: 88px;
  --abstand: clamp(72px, 8vw, 120px);
  --weich: cubic-bezier(.2, .7, .2, 1);
  /* Gewerk-Farben, Standard: neutral */
  --g: var(--tinte);
  --g-text: var(--tinte);
  --g-hell: #cfccc4;
  --g-zart: var(--flaeche);
}
[data-gewerk="heizung"] { --g: #e30613; --g-text: #c2000e; --g-hell: #f39a7c; --g-zart: #fdeee8; }
[data-gewerk="sanitaer"] { --g: #133e82; --g-text: #133e82; --g-hell: #a8b9de; --g-zart: #eaeff7; }
[data-gewerk="solar"] { --g: #fcca09; --g-text: #7d5f00; --g-hell: #fee48f; --g-zart: #fff6d8; }
[data-gewerk="kundendienst"] { --g: var(--tinte); --g-text: var(--tinte); --g-hell: #cfccc4; --g-zart: var(--flaeche); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 32px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--schrift); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--papier); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: 'kern' 1; }
@media (min-width: 1200px) { body { font-size: 18px; } }
html.mobil-offen { overflow: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blau); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--blau-tief); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure, dl, dd, blockquote { margin: 0; }
address { font-style: normal; }
table { border-collapse: collapse; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; }
.abschnitt-dunkel :focus-visible, .fuss :focus-visible, .servicezeile :focus-visible { outline-color: #fff; }
.nur-leser { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--tinte); color: #fff; text-decoration: none; }
.sprung:focus { top: 12px; color: #fff; }
.i { width: 18px; height: 18px; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--rand); }
.zeichen { width: 17px; height: 21.5px; flex: none; overflow: visible; }
.zeichen-leer { display: inline-block; width: 17px; height: 17px; margin-top: 4.5px; flex: none; border: 1.5px solid currentColor; opacity: .55; }
.drei { width: 30px; height: 9px; flex: none; }

/* Typografie */
h1, h2, h3, .h3 { color: var(--tinte); margin: 0; text-wrap: balance; font-weight: 540; }
h1 { font-size: clamp(38px, 4.5vw, 66px); line-height: 1.05; letter-spacing: -.026em; }
h2 { font-size: clamp(29px, 3.1vw, 46px); line-height: 1.1; letter-spacing: -.022em; margin-bottom: .5em; }
h3, .h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.008em; font-weight: 580; }
.lead { font-size: clamp(18.5px, 1.4vw, 21px); line-height: 1.55; color: var(--text); max-width: 36em; text-wrap: pretty; }
.schmal { font-stretch: 78%; }
.etikett { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-size: 13px; line-height: 1; font-weight: 620; letter-spacing: .13em; text-transform: uppercase; color: var(--tinte); font-stretch: 92%; }
.etikett .zeichen { width: 15px; height: 19px; margin-top: -5px; }
.klein { font-size: 14.5px; color: var(--leise); }
.pfeil-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--tinte); text-decoration: none; border-bottom: 1.5px solid var(--g, var(--tinte)); padding-bottom: 3px; }
.pfeil-link:hover { color: var(--tinte); }
.pfeil-link .i { transition: transform .3s var(--weich); }
.pfeil-link:hover .i { transform: translateX(4px); }

/* Knöpfe */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.knopf { display: inline-flex; align-items: center; gap: 12px; min-height: 50px; padding: 13px 22px; background: var(--tinte); color: #fff; border: 1px solid var(--tinte); font-size: 15.5px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color .25s, border-color .25s, color .25s; }
.knopf:hover { background: var(--blau); border-color: var(--blau); color: #fff; }
.knopf .i { transition: transform .3s var(--weich); }
.knopf:hover .i:last-child { transform: translateX(3px); }
.knopf-linie { background: transparent; color: var(--tinte); border-color: var(--linie); }
.knopf-linie:hover { background: transparent; color: var(--tinte); border-color: var(--tinte); }
.knopf-klein { min-height: 40px; padding: 8px 14px; font-size: 14px; }

/* Servicezeile */
.servicezeile { background: var(--tinte); color: rgba(255, 255, 255, .66); font-size: 13.5px; line-height: 1; }
.servicezeile-innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.servicezeile p { margin: 0; }
.servicezeile ul { display: flex; align-items: center; list-style: none; }
.servicezeile li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
.servicezeile a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; white-space: nowrap; color: rgba(255, 255, 255, .82); text-decoration: none; }
.servicezeile li:last-child a { padding-right: 0; font-weight: 600; color: #fff; }
.servicezeile a:hover, .servicezeile a[aria-current] { color: #fff; }
.servicezeile .i { width: 15px; height: 15px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .985); border-bottom: 1px solid var(--linie-zart); transition: box-shadow .3s; }
.kopf-gescrollt { box-shadow: 0 1px 0 var(--linie), 0 12px 30px -24px rgba(27, 28, 32, .45); }
.kopf-innen { display: flex; align-items: center; gap: 24px; height: var(--kopf-h); }
.marke { display: block; flex: none; color: inherit; }
.kopf .logo { width: 236px; height: auto; }
.logo text { font-family: var(--schrift); }
.logo-wort { font-weight: 700; font-stretch: 76%; letter-spacing: .01em; }
.logo-unter { font-weight: 560; font-stretch: 86%; }
.nav { margin-left: auto; }
.nav-liste { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-liste > li { position: static; display: flex; align-items: center; }
.nav-liste > li > a { display: flex; align-items: center; height: var(--kopf-h); padding: 0 13px; font-size: 16px; font-weight: 560; color: var(--tinte); text-decoration: none; position: relative; }
.nav-liste > li > a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 26px; height: 2px; background: var(--tinte); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--weich); }
.nav-liste > li > a:hover::after, .nav-liste > li > a[aria-current]::after, .hat-menue.offen > a::after { transform: scaleX(1); }
.menue-knopf { display: grid; place-items: center; width: 22px; height: 30px; margin-left: -8px; margin-right: 4px; color: var(--leise); }
.menue-knopf .i { width: 12px; height: 12px; transition: transform .25s; }
.hat-menue.offen .menue-knopf .i { transform: rotate(180deg); }
.menue { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--linie-zart); border-bottom: 1px solid var(--linie); box-shadow: 0 30px 50px -40px rgba(27, 28, 32, .5); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--weich), visibility 0s .25s; }
.hat-menue.offen .menue { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .25s var(--weich); }
.menue-innen { display: grid; gap: 48px; padding-top: 40px; padding-bottom: 44px; }
.menue-innen-unternehmen { grid-template-columns: 1.1fr 1fr 1.1fr; }
.menue-innen-leistungen { grid-template-columns: 3fr 1fr; }
.mm-gross { font-size: 30px; line-height: 1.15; font-weight: 540; letter-spacing: -.02em; color: var(--tinte); margin-bottom: 14px; }
.mm-intro p:last-child { font-size: 15.5px; color: var(--leise); max-width: 30em; }
.mm-liste { list-style: none; border-top: 1px solid var(--linie-zart); }
.mm-liste a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--linie-zart); color: var(--tinte); font-weight: 560; text-decoration: none; }
.mm-liste a .i { color: var(--leise); transition: transform .3s var(--weich); }
.mm-liste a:hover .i { transform: translateX(4px); color: var(--tinte); }
.mm-foto .echt { margin: 0; }
.mm-foto figcaption { font-size: 13.5px; color: var(--leise); margin-top: 10px; }
.mm-gewerke { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; }
.mm-gewerk { border-top: 4px solid var(--g); padding-top: 18px; }
.mm-kopf { display: flex; gap: 12px; align-items: flex-start; color: var(--tinte); text-decoration: none; margin-bottom: 14px; }
.mm-kopf .zeichen { width: 22px; height: 28px; margin-top: -4px; }
.mm-kopf strong { display: block; font-size: 19px; font-weight: 600; line-height: 1.2; }
.mm-kopf small { display: block; font-size: 13.5px; color: var(--leise); margin-top: 3px; }
.mm-kopf:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.mm-gewerk ul { list-style: none; }
.mm-gewerk li a { display: block; padding: 6px 0 6px 34px; font-size: 15.5px; color: var(--text); text-decoration: none; }
.mm-gewerk li a:hover { color: var(--tinte); text-decoration: underline; }
.mm-service { border-top: 4px solid var(--tinte); padding-top: 18px; }
.mm-service p { font-size: 15px; color: var(--leise); }
.mm-rechner { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 14px 16px; background: var(--flaeche); color: var(--tinte); font-size: 15px; font-weight: 580; line-height: 1.3; text-decoration: none; }
.mm-rechner:hover { background: var(--flaeche-tief); color: var(--tinte); }
.mm-rechner .i:last-child { margin-left: auto; width: 15px; color: var(--leise); }
.entwurf-etikett { flex: none; padding: 5px 10px; border: 1px solid var(--linie); font-size: 11.5px; font-weight: 640; letter-spacing: .12em; text-transform: uppercase; color: var(--leise); text-decoration: none; }
.entwurf-etikett:hover { border-color: var(--tinte); color: var(--tinte); }
.kopf-telefon { display: none; }
.burger { display: none; width: 46px; height: 46px; position: relative; margin-right: -10px; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--tinte); transition: transform .3s var(--weich), top .3s var(--weich); }
.burger i:first-of-type { top: 18px; }
.burger i:last-of-type { top: 27px; }
.burger[aria-expanded="true"] i:first-of-type { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-of-type { top: 22px; transform: rotate(-45deg); }
.mobilmenue { position: fixed; inset: calc(var(--kopf-h) + 1px) 0 0; z-index: 49; background: #fff; overflow-y: auto; padding: 18px var(--rand) 40px; }
.mobilmenue[hidden] { display: none; }
.mobil-haupt { list-style: none; }
.mobil-haupt > li { border-bottom: 1px solid var(--linie-zart); }
.mobil-haupt > li > a { display: block; padding: 15px 0; font-size: 21px; font-weight: 560; color: var(--tinte); text-decoration: none; }
.mobil-gruppe { margin: 0; padding: 16px 0 4px; font-size: 12.5px; font-weight: 640; letter-spacing: .13em; text-transform: uppercase; color: var(--leise); }
.mobil-haupt ul { list-style: none; padding-bottom: 10px; }
.mobil-haupt ul a { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 18px; color: var(--tinte); text-decoration: none; }
.mobil-fuss { display: grid; gap: 4px; margin-top: 26px; }
.mobil-fuss a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--tinte); font-weight: 560; text-decoration: none; }

/* Brotkrumen */
.krumen ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; font-size: 14px; color: var(--leise); }
.krumen li + li::before { content: '/'; margin: 0 10px; color: var(--linie); }
.krumen a { color: var(--leise); text-decoration: none; }
.krumen a:hover { color: var(--tinte); text-decoration: underline; }
.krumen [aria-current] { color: var(--tinte); }

/* Einblenden */
.bewegt.rein-bereit [data-rein] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--weich), transform .9s var(--weich); }
.bewegt.rein-bereit [data-rein].drin { opacity: 1; transform: none; }
.bewegt.rein-bereit .rein-1 { transition-delay: .07s; }
.bewegt.rein-bereit .rein-2 { transition-delay: .14s; }
.bewegt.rein-bereit .rein-3 { transition-delay: .21s; }
.bewegt.rein-bereit .rein-4 { transition-delay: .28s; }
.bewegt.rein-bereit .rein-5 { transition-delay: .35s; }

/* Bilder */
picture img { width: 100%; }
.bild-fehlt { display: block; aspect-ratio: 3 / 2; background: var(--flaeche-tief); }
.echt { display: block; }
.echt picture { display: block; }
.echt img { width: 100%; }
.echt figcaption, .bild-unterschrift { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--leise); }
.bildflaeche { overflow: hidden; background: var(--flaeche-tief); }
.bildflaeche img { height: 100%; object-fit: cover; }

/* Abschnitte */
.abschnitt { padding: var(--abstand) 0; }
.abschnitt + .abschnitt:not(.abschnitt-flaeche):not(.abschnitt-dunkel) { padding-top: 0; }
.abschnitt-flaeche { background: var(--flaeche); }
.abschnitt-dunkel { background: var(--tinte); color: rgba(255, 255, 255, .8); }
.abschnitt-dunkel h2, .abschnitt-dunkel h3, .abschnitt-dunkel .etikett { color: #fff; }
.abschnitt-dunkel .pfeil-link { color: #fff; border-color: rgba(255, 255, 255, .5); }
.abschnitt-kopf { max-width: 920px; margin-bottom: clamp(36px, 4vw, 56px); }
.abschnitt-kopf h2 { margin-bottom: 0; }
.abschnitt-kopf-zwei { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: start; }
.abschnitt-kopf-zwei > p { padding-top: 34px; }
.abschnitt-kopf-zwei p { margin: 0; max-width: 34em; }
.abschnitt-fuss { margin: 40px 0 0; }

/* Startseite: Einstieg */
.einstieg { padding: clamp(40px, 5vw, 72px) 0 0; }
.einstieg-kopf { max-width: 1060px; margin-bottom: clamp(32px, 4vw, 52px); }
.einstieg h1 span { display: block; }
.einstieg-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 3.4vw, 56px); align-items: start; }
.einstieg-bild { aspect-ratio: 4 / 3; overflow: hidden; background: var(--flaeche-tief); }
.einstieg-bild img { height: 100%; object-fit: cover; }
.einstieg-seite .lead { margin-bottom: 34px; }
.einstieg-team { border-top: 1px solid var(--linie); padding-top: 18px; }
.eckdaten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: clamp(44px, 5vw, 72px); border-top: 1px solid var(--tinte); }
.eckdaten > div { padding-top: 18px; }
.eckdaten dt { font-size: 12.5px; font-weight: 620; letter-spacing: .13em; text-transform: uppercase; color: var(--leise); font-stretch: 92%; }
.eckdaten b { display: block; margin: 10px 0 6px; font-size: clamp(44px, 4.4vw, 64px); line-height: 1; font-weight: 600; font-stretch: 76%; letter-spacing: -.01em; color: var(--tinte); font-variant-numeric: tabular-nums; }
.eckdaten span { display: block; font-size: 15.5px; line-height: 1.45; color: var(--text); max-width: 17em; }

/* Startseite: Leistungen als Umschalter */
.gewerke { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.gewerke-liste { display: none; border-bottom: 1px solid var(--linie); }
.js .gewerke-liste { display: block; position: sticky; top: calc(var(--kopf-h) + 24px); }
.gewerk-tab { display: grid; grid-template-columns: 22px 1fr 18px; grid-template-areas: 'z n p' 'z s p'; gap: 2px 16px; width: 100%; padding: 22px 16px 22px 18px; text-align: left; border-top: 1px solid var(--linie); position: relative; transition: background-color .25s; }
.gewerk-tab::before { content: ''; position: absolute; left: 0; top: -1px; bottom: 0; width: 4px; background: var(--g); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--weich); }
.gewerk-tab .zeichen, .gewerk-tab .zeichen-leer { grid-area: z; width: 20px; height: 25px; margin-top: -2px; }
.gewerk-tab .zeichen-leer { width: 18px; height: 18px; margin-top: 4px; }
.gt-name { grid-area: n; font-size: 22px; font-weight: 560; line-height: 1.2; color: var(--leise); letter-spacing: -.01em; transition: color .25s; }
.gt-seit { grid-area: s; font-size: 14px; color: var(--leise); }
.gewerk-tab .i { grid-area: p; align-self: center; color: var(--leise); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--weich); }
.gewerk-tab:hover .gt-name { color: var(--tinte); }
.gewerk-tab[aria-selected="true"] { background: var(--g-zart); }
.gewerk-tab[aria-selected="true"]::before { transform: scaleY(1); }
.gewerk-tab[aria-selected="true"] .gt-name { color: var(--tinte); }
.gewerk-tab[aria-selected="true"] .i { opacity: 1; transform: none; color: var(--tinte); }
.gewerke-panels { display: grid; gap: 56px; }
.gewerk-panel { display: grid; gap: 28px; }
.gp-bild { aspect-ratio: 16 / 9; overflow: hidden; background: var(--flaeche-tief); position: relative; }
.gp-bild::after { content: ''; position: absolute; left: 0; bottom: 0; width: 72px; height: 72px; background: var(--g-hell); mix-blend-mode: multiply; opacity: 0; }
.gp-bild img { height: 100%; object-fit: cover; }
.gp-text { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-areas: 'k k' 'h t' 'p t' 'l t'; gap: 0 48px; align-items: start; }
.gp-kopf { grid-area: k; display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 13px; font-weight: 620; letter-spacing: .13em; text-transform: uppercase; color: var(--tinte); }
.js .gp-kopf { display: none; }
.gp-text h3 { grid-area: h; font-size: clamp(24px, 2vw, 30px); font-weight: 540; letter-spacing: -.016em; margin-bottom: 12px; }
.gp-text > p:not(.gp-kopf) { grid-area: p; }
.gp-text .pfeil-link { grid-area: l; justify-self: start; margin-top: 4px; }
.gp-themen { grid-area: t; list-style: none; border-top: 1px solid var(--linie); }
.gp-themen a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linie-zart); color: var(--tinte); text-decoration: none; font-size: 16px; }
.gp-themen a::before { content: ''; width: 8px; height: 8px; flex: none; background: var(--g); }
.gp-themen a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (min-width: 1000px) {
  .js .gewerk-panel[data-zu] { display: none; }
  .js .gewerke-panels { gap: 0; }
  .bewegt .gewerk-panel.zeigt { animation: panel-rein .55s var(--weich); }
}
@keyframes panel-rein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Zeitleiste */
.zeitleiste { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
.zl-innen { min-width: 860px; }
.zl-gruppe { border-top: 1px solid var(--linie); padding: 14px 0 12px; }
.zl-titel { margin: 0 0 6px; font-size: 12px; font-weight: 620; letter-spacing: .13em; text-transform: uppercase; color: var(--leise); }
.zl-reihe, .zl-achse { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; min-height: 38px; }
.zl-name { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 560; color: var(--tinte); }
.zl-name .zeichen { width: 15px; height: 19px; margin-top: -4px; }
.zl-spur { position: relative; height: 38px; }
.zl-band { position: absolute; top: 14px; height: 12px; background: var(--g); transform-origin: left center; }
.zl-band b { position: absolute; left: 0; bottom: 100%; padding-bottom: 3px; font-size: 13px; font-weight: 600; font-stretch: 80%; color: var(--tinte); white-space: nowrap; line-height: 1.2; transform: translateY(-1px); }
[data-gewerk="solar"] .zl-band { background: var(--gelb); box-shadow: inset 0 0 0 1px rgba(125, 95, 0, .18); }
.bewegt.rein-bereit .zl-band[data-rein] { opacity: 1; transform: scaleX(0); transition: transform 1.4s var(--weich); }
.bewegt.rein-bereit .zl-band[data-rein].drin { transform: scaleX(1); }
.bewegt.rein-bereit .zl-band[data-rein] b { opacity: 0; transition: opacity .6s .5s; }
.bewegt.rein-bereit .zl-band[data-rein].drin b { opacity: 1; }
.zl-spur-familie { height: 116px; }
.zl-person { position: absolute; display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 14px; color: var(--text); line-height: 1; }
.zl-person i { width: 11px; height: 11px; border-radius: 50%; background: var(--tinte); margin-left: -5.5px; flex: none; }
.zl-person b { font-weight: 600; color: var(--tinte); }
.zl-person:nth-child(1) { top: 6px; }
.zl-person:nth-child(2) { top: 34px; }
.zl-person:nth-child(3) { top: 62px; }
.zl-person:nth-child(4) { top: 90px; flex-direction: row-reverse; }
.zl-person-links i { margin-left: 0; margin-right: -5.5px; }
.zl-ort { position: absolute; top: 9px; height: 22px; border: 1px solid var(--tinte); border-left-width: 3px; display: flex; align-items: center; padding: 0 10px; font-size: 13.5px; color: var(--tinte); overflow: hidden; white-space: nowrap; }
.zl-ort + .zl-ort { background: var(--tinte); color: #fff; }
.zl-achse { border-top: 1px solid var(--tinte); }
.zl-achse .zl-spur { height: 46px; }
.zl-jahr { position: absolute; top: 0; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); }
.zl-jahr i { width: 1px; height: 9px; background: var(--tinte); }
.zl-jahr b { margin-top: 6px; font-size: 15px; font-weight: 620; font-stretch: 78%; color: var(--tinte); font-variant-numeric: tabular-nums; }
.zl-heute { transform: translateX(-100%); align-items: flex-end; }
.zl-heute b { color: var(--leise); font-weight: 500; }
.zeitleiste figcaption { margin-top: 12px; font-size: 13.5px; color: var(--leise); }

/* Sachverständiger */
.sv-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 110px); align-items: start; }
.sv h2 { max-width: 15em; }
.sv-text p { font-size: 18.5px; line-height: 1.6; }
.sv-daten { margin: 30px 0 34px; border-top: 1px solid rgba(255, 255, 255, .2); }
.sv-daten div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: 16px; }
.sv-daten dt { color: rgba(255, 255, 255, .55); }
.sv-daten dd { color: #fff; font-weight: 560; }

/* Kundendienst */
.kd-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.kd-text h2 { max-width: 13em; }
.kd-termin { margin-top: 36px; padding: 26px 28px 22px; background: var(--flaeche); }
.kd-termin-titel { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 620; color: var(--tinte); }
.kd-fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 8px; align-content: start; }
.kd-unterschrift { grid-column: 1 / -1; margin: 0; }

/* Öffnungszeiten */
.zeiten { width: 100%; font-size: 15.5px; }
.zeiten th, .zeiten td { text-align: left; vertical-align: top; padding: 9px 0; border-bottom: 1px solid var(--linie); font-weight: 400; }
.zeiten th { padding-right: 20px; color: var(--text); position: relative; }
.zeiten td { color: var(--tinte); white-space: nowrap; text-align: right; }
.zeiten tr.heute th, .zeiten tr.heute td { font-weight: 620; color: var(--tinte); }
.zeiten tr.heute th::after { content: 'heute'; margin-left: 10px; padding: 2px 7px 3px; font-size: 11.5px; font-weight: 620; letter-spacing: .06em; text-transform: uppercase; background: var(--tinte); color: #fff; vertical-align: 2px; }
.zeiten-klein { font-size: 15px; margin: 18px 0; }
.wege { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 16px 0 0; }
.wege a { display: inline-flex; align-items: center; gap: 9px; color: var(--tinte); font-weight: 560; text-decoration: none; }
.wege a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.wege-stapel { flex-direction: column; margin-bottom: 22px; }

/* Meldungen */
.aktuelles-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(40px, 5vw, 80px); align-items: start; }
.aktuelles-raster .abschnitt-kopf { margin: 0; }
.aktuelles-raster .abschnitt-kopf h2 { margin-bottom: 26px; }
.meldungen { list-style: none; border-top: 1px solid var(--tinte); }
.meldungen a { display: grid; grid-template-columns: 76px 128px minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--linie); color: var(--tinte); text-decoration: none; }
.m-jahr { font-size: 22px; font-weight: 600; font-stretch: 78%; font-variant-numeric: tabular-nums; }
.m-jahr .i { width: 22px; height: 22px; }
.m-rubrik { font-size: 12.5px; font-weight: 620; letter-spacing: .12em; text-transform: uppercase; color: var(--leise); }
.m-titel { font-size: 19px; font-weight: 540; line-height: 1.35; }
.meldungen a > .i { color: var(--leise); transition: transform .3s var(--weich); }
.meldungen a:hover .m-titel { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.meldungen a:hover > .i { transform: translateX(4px); color: var(--tinte); }

/* Karriere und Standort */
.zwei-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px clamp(40px, 6vw, 96px); padding-top: var(--abstand); }
.kt-bild { aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 30px; background: var(--flaeche-tief); }
.kt-bild img { height: 100%; object-fit: cover; }
.karriere-teaser h2, .standort h2 { font-size: clamp(27px, 2.5vw, 38px); }
.karriere-teaser p { max-width: 32em; }
.standort { border-top: 4px solid var(--tinte); padding-top: 28px; align-self: start; }
.standort-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 250px); gap: 28px; align-items: start; }
.standort address { font-size: 18px; line-height: 1.5; color: var(--tinte); }
.lageskizze { width: 100%; height: auto; }
.ls-rhein { stroke: #a8b9de; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.ls-fluss { font-family: var(--schrift); font-size: 34px; fill: #6f87b5; font-style: italic; letter-spacing: .08em; }
.ls-ort circle { fill: #fff; stroke: var(--tinte); stroke-width: 4; }
.ls-ort text { font-family: var(--schrift); font-size: 36px; fill: var(--text); }
.ls-ketsch rect { fill: var(--rot); }
.ls-ketsch text { font-family: var(--schrift); font-size: 44px; font-weight: 700; fill: var(--tinte); }

/* Unterseiten: Kopf */
.kopfbereich { padding: 26px 0 clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--linie-zart); }
.kopfbereich .krumen { margin-bottom: clamp(32px, 4vw, 56px); }
.kopfbereich-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(40px, 5vw, 80px); align-items: end; }
.kopfbereich-ohne .kopfbereich-raster { grid-template-columns: minmax(0, 1fr); }
.kopfbereich-text h1 { max-width: 15em; }
.kopfbereich-text .lead { margin: 26px 0 0; }
.kopfbereich-bild { aspect-ratio: 4 / 3; overflow: hidden; background: var(--flaeche-tief); position: relative; }
.kopfbereich-bild img { height: 100%; object-fit: cover; }
.kopfbereich[data-gewerk] .kopfbereich-bild::before { content: ''; position: absolute; z-index: 1; left: 0; top: 0; width: 56px; height: 8px; background: var(--g); }
.kopfbereich-bild .echt { height: auto; }

/* Unterseiten: Unternavigation und Inhalt */
.seite { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 40px clamp(40px, 5vw, 80px); padding-top: clamp(48px, 5vw, 72px); padding-bottom: var(--abstand); align-items: start; }
.unternav { position: sticky; top: calc(var(--kopf-h) + 28px); }
.unternav-titel { margin: 0 0 10px; font-size: 12.5px; font-weight: 620; letter-spacing: .13em; text-transform: uppercase; color: var(--leise); }
.unternav-titel a { color: inherit; text-decoration: none; }
.unternav-titel a:hover { color: var(--tinte); }
.unternav-seiten { list-style: none; border-top: 1px solid var(--linie); margin-bottom: 34px; }
.unternav-seiten a { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--linie-zart); color: var(--text); text-decoration: none; font-size: 16px; line-height: 1.3; }
.unternav-seiten .zeichen { width: 14px; height: 18px; margin-top: -4px; }
.unternav-seiten .zeichen-leer { width: 13px; height: 13px; margin-top: 0; }
.unternav-seiten a:hover { color: var(--tinte); }
.unternav-seiten a[aria-current] { color: var(--tinte); font-weight: 620; }
.unternav-anker { list-style: none; border-left: 1px solid var(--linie); }
.unternav-anker a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent; font-size: 15px; color: var(--leise); text-decoration: none; }
.unternav-anker a:hover { color: var(--tinte); border-left-color: var(--tinte); }
.unternav-anker a.aktiv { color: var(--tinte); border-left-color: var(--tinte); }
.seite-inhalt { max-width: 880px; min-width: 0; }
.teil { padding: 0 0 clamp(48px, 5vw, 72px); margin-bottom: clamp(48px, 5vw, 72px); border-bottom: 1px solid var(--linie-zart); }
.teil:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.teil > h2 { font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 22px; }
.teil[data-gewerk] > h2::before { content: ''; display: block; width: 40px; height: 6px; margin-bottom: 18px; background: var(--g); }
.teil h3 { margin: 30px 0 10px; }
.teil p, .teil li { max-width: 40em; }
.einleitung { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.55; color: var(--tinte); max-width: 34em; }

/* Bausteine */
.liste { list-style: none; margin: 0 0 1em; }
.liste li { position: relative; padding: 9px 0 9px 24px; border-bottom: 1px solid var(--linie-zart); }
.liste li::before { content: ''; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; background: var(--g); }
.liste-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.bildtext { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; margin: 32px 0; }
.bildtext-bild { aspect-ratio: 4 / 3; overflow: hidden; background: var(--flaeche-tief); }
.bildtext-bild img { height: 100%; object-fit: cover; }
.bildtext-hoch .bildtext-bild { aspect-ratio: 3 / 4; }
.bildbreit { aspect-ratio: 16 / 9; overflow: hidden; margin: 34px 0; background: var(--flaeche-tief); }
.bildbreit img { height: 100%; object-fit: cover; }
.kasten { margin: 30px 0; padding: 24px 28px; background: var(--g-zart, var(--flaeche)); border-left: 4px solid var(--g); }
.kasten p:last-child { margin-bottom: 0; }
.kasten-titel { font-weight: 620; color: var(--tinte); margin-bottom: 6px; }
.daten { border-top: 1px solid var(--tinte); margin: 24px 0; }
.daten div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--linie); }
.daten dt { color: var(--leise); }
.daten dd { color: var(--tinte); font-weight: 540; }
.zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 30px 0; border-top: 1px solid var(--tinte); }
.zahlen > div { padding-top: 16px; }
.zahlen b { display: block; font-size: clamp(40px, 3.6vw, 54px); line-height: 1; font-weight: 600; font-stretch: 76%; color: var(--tinte); margin-bottom: 8px; }
.zahlen span { font-size: 15px; color: var(--text); }
.fotoreihe { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin: 28px 0; }
.fotoreihe .echt { flex: 0 1 auto; }
.querverweise { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--tinte); margin-top: 8px; }
.querverweise a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--linie); color: var(--tinte); font-weight: 560; text-decoration: none; }
.querverweise a .zeichen { width: 16px; height: 20px; margin-top: -4px; }
.querverweise a > span { display: flex; align-items: center; gap: 12px; }
.querverweise a .i { color: var(--leise); transition: transform .3s var(--weich); }
.querverweise a:hover .i { transform: translateX(4px); color: var(--tinte); }

/* Leistungen: Übersicht */
.uebersicht { display: grid; gap: 0; border-top: 1px solid var(--tinte); }
.ueb-zeile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--linie); align-items: start; }
.ueb-bild { aspect-ratio: 3 / 2; overflow: hidden; background: var(--flaeche-tief); position: relative; }
.ueb-bild img { height: 100%; object-fit: cover; transition: transform 1.2s var(--weich); }
.ueb-zeile:hover .ueb-bild img { transform: scale(1.025); }
.ueb-bild::before { content: ''; position: absolute; z-index: 1; left: 0; top: 0; width: 48px; height: 7px; background: var(--g); }
.ueb-text h2 { font-size: clamp(26px, 2.4vw, 36px); display: flex; align-items: center; gap: 14px; }
.ueb-text h2 a { color: inherit; text-decoration: none; }
.ueb-text h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.ueb-text h2 .zeichen { width: 22px; height: 28px; margin-top: -6px; }
.ueb-seit { font-size: 14px; color: var(--leise); margin: -6px 0 16px; }
.ueb-text .liste { margin-top: 20px; }

/* Unternehmen */
.familie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; border-top: 1px solid var(--tinte); margin: 26px 0; list-style: none; }
.familie > li { padding: 22px 0 18px; border-bottom: 1px solid var(--linie); }
.familie h3 { margin: 0; font-size: 22px; }
.familie .rolle { margin: 4px 0 12px; font-size: 14.5px; color: var(--leise); }
.familie ul { list-style: none; }
.familie ul li { font-size: 15.5px; padding: 3px 0 3px 18px; position: relative; }
.familie ul li::before { content: ''; position: absolute; left: 0; top: 13px; width: 7px; height: 1.5px; background: var(--tinte); }
.team-bild { margin: 30px 0; }

/* Chronik */
.chronik { list-style: none; border-top: 1px solid var(--tinte); }
.chronik > li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--linie); position: relative; }
.chronik-jahr { font-size: clamp(42px, 4vw, 60px); line-height: .95; font-weight: 600; font-stretch: 76%; color: var(--tinte); font-variant-numeric: tabular-nums; }
.chronik-jahr small { display: block; margin-top: 10px; font-size: 13px; line-height: 1.35; font-weight: 500; font-stretch: 100%; color: var(--leise); letter-spacing: 0; }
.chronik h3 { margin: 4px 0 8px; display: flex; align-items: center; gap: 12px; }
.chronik h3 .zeichen { width: 15px; height: 19px; margin-top: -4px; }
.chronik p { margin: 0; max-width: 38em; }
.chronik-zitat { margin-top: 12px; font-size: 14px; color: var(--leise); }
.chronik-foto { margin-top: 18px; }

/* Partner */
.partner { border-top: 1px solid var(--tinte); }
.partner > div { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--linie); }
.partner dt { font-weight: 600; color: var(--tinte); }
.partner dd { color: var(--text); }
.partner dd span:not(:last-child)::after { content: ' · '; color: var(--leise); }

/* Solar: Anlagen */
.anlagen { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--tinte); }
.anlage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--linie); align-items: start; }
.anlage-fotos { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.anlage-ort { font-size: 13px; font-weight: 620; letter-spacing: .12em; text-transform: uppercase; color: var(--leise); margin-bottom: 6px; }
.anlage h3 { margin: 0 0 8px; }

/* Rundumansichten (Panoramen der alten Seite in Originalgröße, seitlich schiebbar) */
.rundum { display: grid; gap: 18px; margin: 28px 0; }
.rundum .echt { max-width: 500px; }

/* Aktuelles */
.meldung { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--linie); }
.meldung:first-of-type { border-top: 1px solid var(--tinte); }
.meldung-jahr { font-size: 44px; line-height: 1; font-weight: 600; font-stretch: 76%; color: var(--tinte); }
.meldung-rubrik { font-size: 12.5px; font-weight: 620; letter-spacing: .12em; text-transform: uppercase; color: var(--leise); margin-bottom: 6px; }
.meldung h3 { margin: 0 0 10px; font-size: 24px; }

/* Formular */
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 26px; }
.feld { display: grid; gap: 7px; }
.feld-breit { grid-column: 1 / -1; }
.feld label, .feld .feld-name { font-size: 14.5px; font-weight: 600; color: var(--tinte); }
.feld label small { font-weight: 400; color: var(--leise); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 16.5px; color: var(--tinte); background: #fff; border: 1px solid #bdbab2; border-radius: 0; transition: border-color .2s, box-shadow .2s; }
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--tinte); box-shadow: 0 0 0 3px rgba(19, 62, 130, .18); }
.formular-fuss { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.formular-fuss p { margin: 0; font-size: 14px; color: var(--leise); max-width: 34em; }
.formular-meldung { grid-column: 1 / -1; padding: 18px 20px; background: var(--flaeche); border-left: 4px solid var(--tinte); font-size: 15.5px; }
.formular-meldung[hidden] { display: none; }
.meldung-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* Kontakt */
.personen { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid var(--tinte); }
.person { padding: 22px 0; border-bottom: 1px solid var(--linie); }
.person-rolle { margin: 0 0 4px; font-size: 13px; font-weight: 620; letter-spacing: .1em; text-transform: uppercase; color: var(--leise); line-height: 1.4; }
.person-name { margin: 0 0 8px; font-size: 22px; font-weight: 580; color: var(--tinte); }
.person p:last-child { margin: 0; font-size: 15.5px; }
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.kontakt-raster address { font-size: 19px; line-height: 1.55; color: var(--tinte); margin-bottom: 14px; }
.karten-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* Rechtliches */
.recht { max-width: 760px; }
.recht h2 { font-size: 22px; margin: 34px 0 10px; }
.recht h2:first-child { margin-top: 0; }
.entwurf-kasten { margin-bottom: 40px; padding: 24px 28px; background: var(--flaeche); border-left: 4px solid var(--tinte); }
.entwurf-kasten h2 { margin-top: 0; }
.entwurf-kasten p:last-child { margin-bottom: 0; }

/* Fuß */
.fuss { background: var(--tinte); color: rgba(255, 255, 255, .7); font-size: 15px; padding: clamp(56px, 6vw, 84px) 0 28px; }
.fuss a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.fuss-oben { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.fuss .logo { width: 236px; margin-bottom: 28px; }
.fuss address, .fuss-wege, .fuss-zeiten { margin-bottom: 14px; line-height: 1.6; }
.fuss-zeiten { color: rgba(255, 255, 255, .55); font-size: 14px; }
.fuss-sitemap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.fuss-spalte h2 { margin: 0 0 14px; font-size: 12.5px; font-weight: 620; letter-spacing: .13em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.fuss-spalte ul { list-style: none; }
.fuss-spalte li { padding: 4px 0; }
.fuss-unten { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; padding-top: 24px; font-size: 13.5px; }
.fuss-hinweis { flex-basis: 100%; margin: 6px 0 0; color: rgba(255, 255, 255, .5); max-width: 62em; }

/* Fehlerseite */
.fehlerseite { padding-bottom: var(--abstand); }

/* Mittlere Bildschirme */
@media (max-width: 1240px) {
  .nav-liste > li > a { padding: 0 10px; font-size: 15.5px; }
  .nav-liste > li > a::after { left: 10px; right: 10px; }
  .kopf .logo { width: 210px; }
  .menue-innen-unternehmen { grid-template-columns: 1fr 1fr; }
  .mm-foto { display: none; }
}
@media (max-width: 1080px) {
  .nav, .entwurf-etikett { display: none; }
  .burger { display: block; margin-left: 0; }
  .kopf-telefon { display: grid; place-items: center; width: 46px; height: 46px; margin-left: auto; color: var(--tinte); }
  .kopf-telefon .i { width: 22px; height: 22px; }
  .servicezeile p { display: none; }
  .servicezeile-innen { justify-content: flex-end; }
}
@media (max-width: 999px) {
  :root { --kopf-h: 72px; }
  .kopf .logo { width: 196px; }
  .einstieg-raster, .gewerke, .sv-raster, .kd-raster, .aktuelles-raster, .zwei-raster, .kopfbereich-raster, .seite, .fuss-oben, .abschnitt-kopf-zwei { grid-template-columns: minmax(0, 1fr); }
  .js .gewerke-liste { display: none; }
  .js .gp-kopf { display: flex; }
  .gewerke-panels { gap: 56px; }
  .eckdaten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .eckdaten > div { padding-bottom: 22px; }
  .unternav { position: static; display: none; }
  .seite { padding-top: 40px; }
  .kopfbereich-raster { align-items: start; }
  .kopfbereich-bild { aspect-ratio: 16 / 10; }
  .ueb-zeile { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .anlage { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .kd-fotos { max-width: 640px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .servicezeile { display: none; }
  .gp-text { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'k' 'h' 'p' 't' 'l'; }
  .gp-themen { margin: 8px 0 22px; }
  .meldungen a { grid-template-columns: 64px minmax(0, 1fr) 18px; grid-template-areas: 'j r i' 'j t i'; gap: 4px 14px; }
  .m-jahr { grid-area: j; }
  .m-rubrik { grid-area: r; }
  .m-titel { grid-area: t; font-size: 17.5px; }
  .meldungen a > .i { grid-area: i; }
  .standort-raster { grid-template-columns: minmax(0, 1fr); }
  .standort-skizze { max-width: 260px; }
  .bildtext, .liste-zwei, .familie, .personen, .querverweise, .formular, .kontakt-raster, .zahlen { grid-template-columns: minmax(0, 1fr); }
  .zahlen { gap: 0; }
  .zahlen > div { padding-bottom: 16px; }
  .chronik > li, .meldung { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .daten div, .partner > div, .sv-daten div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .fuss-sitemap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .zl-reihe, .zl-achse { grid-template-columns: 130px minmax(0, 1fr); }
  .zl-innen { min-width: 760px; }
  .kasten { padding: 20px; }
}
@media (max-width: 420px) {
  .eckdaten { grid-template-columns: minmax(0, 1fr); }
  .fuss-sitemap { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .servicezeile, .kopf, .fuss, .unternav, .mobilmenue { display: none !important; }
  .seite { grid-template-columns: 1fr; }
}
.kopfbereich-bild-echt { aspect-ratio: auto; overflow: visible; background: none; align-self: end; }
.kopfbereich-bild-echt::before { display: none; }

/* Karriere: Laufbahnen */
.laufbahnen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
.laufbahn { border-top: 4px solid var(--tinte); padding-top: 18px; }
.laufbahn h3 { margin: 0 0 14px; }
.laufbahn ol { list-style: none; position: relative; }
.laufbahn ol::before { content: ''; position: absolute; left: 5px; top: 10px; bottom: 14px; width: 1px; background: var(--linie); }
.laufbahn li { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding: 6px 0 12px 26px; }
.laufbahn li::before { content: ''; position: absolute; left: 0; top: 12px; width: 11px; height: 11px; background: #fff; border: 2px solid var(--tinte); }
.laufbahn li:last-child::before { background: var(--tinte); }
.laufbahn b { font-size: 21px; line-height: 1.2; font-weight: 600; font-stretch: 78%; color: var(--tinte); }
.laufbahn span { font-size: 15.5px; line-height: 1.5; }

/* Kontakt: große Zeile im Kopf */
.kontakt-gross { display: flex; flex-wrap: wrap; gap: 6px 36px; margin: 26px 0 0; font-size: clamp(22px, 2.2vw, 32px); font-weight: 540; letter-spacing: -.015em; }
.kontakt-gross a { color: var(--tinte); text-decoration: none; border-bottom: 2px solid var(--linie); }
.kontakt-gross a:hover { border-color: var(--tinte); }
@media (max-width: 720px) { .laufbahnen { grid-template-columns: minmax(0, 1fr); } }

/* Bilder in Rahmen mit festem Seitenverhältnis füllen den Rahmen */
:is(.einstieg-bild, .gp-bild, .kt-bild, .bildtext-bild, .bildbreit, .ueb-bild, .kopfbereich-bild:not(.kopfbereich-bild-echt)) > picture { display: block; height: 100%; }
.echt { max-width: 100%; min-width: 0; }
.zl-hinweis { display: none; }
@media (max-width: 720px) {
  .kd-fotos { grid-template-columns: minmax(0, 1fr); }
  .zl-hinweis { display: inline; }
}
.liste a { color: var(--tinte); text-decoration: none; }
.liste a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.kontakt-raster .standort-skizze { max-width: 300px; justify-self: center; }
.anlage-eigen .anlage-ort { color: var(--g-text); }
