/* Hoffner Elektrotechnik. Rot aus dem Logo, Graphit, warmes Papier. Mona Sans für alles, B612 Mono für technische Angaben. */

@font-face { font-family: 'Mona Sans'; src: url('/fonts/mona-sans.woff2') format('woff2'); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: 'B612 Mono'; src: url('/fonts/b612-mono.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'B612 Mono'; src: url('/fonts/b612-mono-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --rot: #c32026;
  --rot-dunkel: #a3171d;
  --rot-hell: #ef4148;
  --nacht: #0e0f11;
  --graphit: #16181b;
  --graphit-2: #1e2125;
  --papier: #f2efe9;
  --weiss: #fbfaf8;
  --tinte: #121316;
  --grau: #50555d;
  --grau-hell: #a3a9b1;
  --linie: rgba(18, 19, 22, .12);
  --linie-hell: rgba(255, 255, 255, .12);
  --licht: #ffc67a;
  --schrift: 'Mona Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'B612 Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --rand: clamp(20px, 4vw, 56px);
  --breit: 1360px;
  --kopf: 84px;
  --radius: 14px;
  --weich: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 100px; scroll-padding-bottom: 80px; }
main:focus { outline: none; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: clamp(1rem, .94rem + .22vw, 1.125rem);
  line-height: 1.6;
  font-weight: 420;
  color: var(--tinte);
  background: var(--nacht);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 620; font-stretch: 108%; letter-spacing: -.024em; line-height: 1.04; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
h1 { font-size: clamp(2.5rem, 1.15rem + 3.9vw, 4.5rem); }
h2 { font-size: clamp(2rem, 1.15rem + 2.55vw, 3.45rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -.016em; line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
em { font-style: normal; }
::selection { background: var(--rot); color: #fff; }
:focus-visible { outline: 2px solid var(--rot-hell); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--rand), var(--breit)); margin-inline: auto; }
.nur-leser { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--rot); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.sprung:focus { top: 16px; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.klein { font-size: .85rem; color: var(--grau); line-height: 1.5; }

/* ---------- Etikett und Knöpfe ---------- */
.etikett { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grau); }
.dunkel .etikett, .etikett-hell, .seitenkopf .etikett, .schluss .etikett { color: var(--grau-hell); }
.etikett-nr { color: var(--rot); font-weight: 700; display: inline-flex; align-items: center; gap: 12px; }
.dunkel .etikett-nr, .seitenkopf .etikett-nr, .schluss .etikett-nr { color: var(--rot-hell); }
.etikett-nr::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.etikett-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--rot); box-shadow: 0 0 0 4px rgba(195, 32, 38, .18), 0 0 14px rgba(239, 65, 72, .7); }

.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.knopf {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: .97rem; font-weight: 600; letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  transition: background-color .35s var(--weich), color .35s, border-color .35s, box-shadow .45s var(--weich);
  isolation: isolate;
}
.knopf .i { transition: transform .45s var(--weich); }
.knopf:hover .i:last-child { transform: translateX(4px); }
.knopf-klein { --h: 44px; padding: 0 18px; font-size: .9rem; }
.knopf-rot { background: var(--rot); color: #fff; box-shadow: 0 10px 30px -12px rgba(195, 32, 38, .7); }
.knopf-rot:hover { background: var(--rot-dunkel); box-shadow: 0 0 0 6px rgba(195, 32, 38, .18), 0 16px 40px -14px rgba(239, 65, 72, .8); }
.knopf-glas { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.knopf-glas:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.knopf-linie { background: transparent; border-color: rgba(18, 19, 22, .22); color: var(--tinte); }
.knopf-linie:hover { border-color: var(--tinte); background: var(--tinte); color: #fff; }
.dunkel .knopf-linie { border-color: rgba(255, 255, 255, .25); color: #fff; }
.dunkel .knopf-linie:hover { background: #fff; color: var(--tinte); }
.knopf-dunkel { background: var(--tinte); color: #fff; }
.knopf-dunkel:hover { background: var(--rot); }

.mehr { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; background: linear-gradient(var(--rot), var(--rot)) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--weich); }
.mehr:hover, a:hover > .mehr { background-size: 100% 2px; }
.mehr .i { transition: transform .4s var(--weich); }
.mehr:hover .i, a:hover > .mehr .i { transform: translateX(4px); }

/* ---------- Kopf ---------- */
.kopf { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--kopf); color: #fff; transition: transform .5s var(--weich), background-color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.kopf.fest { background: rgba(14, 15, 17, .84); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--linie-hell); }
.kopf.kopf-weg { transform: translateY(-100%); }
.strom { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.strom i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--rot), var(--rot-hell)); transform-origin: 0 50%; transform: scaleX(var(--strom, 0)); box-shadow: 0 0 10px rgba(239, 65, 72, .8); }
.kopf-innen { height: 100%; display: flex; align-items: center; gap: 28px; }
.marke { display: block; flex: none; color: #fff; --marke-wort: #df2a31; }
.marke .logo { width: 158px; height: auto; }
.nav { margin-left: auto; }
.nav-liste { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-liste > li > a { position: relative; display: block; padding: 10px 14px; font-size: .94rem; font-weight: 540; text-decoration: none; color: rgba(255, 255, 255, .82); transition: color .3s; }
.nav-liste > li > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--rot); transform: scaleX(0); transition: transform .45s var(--weich); }
.nav-liste > li > a:hover, .nav-liste > li > a[aria-current] { color: #fff; }
.nav-liste > li > a:hover::after, .nav-liste > li > a[aria-current]::after { transform: scaleX(1); }
.hat-menue { position: relative; display: flex; align-items: center; }
.hat-menue > a { padding-right: 4px !important; }
.hat-menue > a::after { right: 4px !important; }
.menue-knopf { width: 26px; height: 32px; display: grid; place-items: center; background: none; border: 0; color: rgba(255, 255, 255, .7); padding: 0; }
.menue-knopf svg { width: 12px; transition: transform .35s var(--weich); }
.hat-menue.offen .menue-knopf svg { transform: rotate(180deg); }
.menue { position: absolute; top: calc(100% + 18px); left: -24px; width: min(760px, 80vw); padding: 14px; background: rgba(22, 24, 27, .97); border: 1px solid var(--linie-hell); border-radius: 20px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--weich), visibility 0s .4s; }
.menue::before { content: ''; position: absolute; inset: -20px 0 auto; height: 20px; }
.hat-menue.offen .menue { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--weich); }
.menue ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 0; list-style: none; }
.menue li a { display: flex; gap: 16px; align-items: center; padding: 10px; border-radius: 14px; text-decoration: none; transition: background-color .25s; }
.menue li a:hover, .menue li a[aria-current] { background: rgba(255, 255, 255, .06); }
.menue-bild { width: 92px; aspect-ratio: 4 / 3; flex: none; border-radius: 10px; overflow: hidden; background: var(--graphit-2); }
.menue-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--weich); }
.menue li a:hover .menue-bild img { transform: scale(1.08); }
.menue-text { display: grid; gap: 2px; }
.menue-nr { font-family: var(--mono); font-size: .7rem; color: var(--rot-hell); letter-spacing: .1em; }
.menue-text strong { font-size: 1rem; font-weight: 620; }
.menue-text small { font-size: .84rem; color: var(--grau-hell); line-height: 1.35; }
.menue-fuss { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; padding: 14px 12px 4px; border-top: 1px solid var(--linie-hell); font-size: .86rem; color: var(--grau-hell); }
.menue-fuss a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; }
.kopf-tel { display: inline-flex; align-items: center; gap: 10px; font-size: .94rem; font-weight: 600; text-decoration: none; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kopf-tel .i { color: var(--rot-hell); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--linie-hell); background: rgba(255, 255, 255, .06); position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; transition: transform .4s var(--weich), top .4s var(--weich); }
.burger i:first-of-type { top: 18px; }
.burger i:last-of-type { top: 26px; }
.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: 0; z-index: 90; padding: calc(var(--kopf) + 24px) var(--rand) 32px; background: var(--nacht); color: #fff; overflow-y: auto; display: flex; flex-direction: column; justify-content: space-between; }
.mobilmenue[hidden] { display: none; }
.mobilmenue ul { list-style: none; margin: 0; padding: 0; }
.mobilmenue > nav > ul > li { border-bottom: 1px solid var(--linie-hell); }
.mobilmenue > nav > ul > li > a { display: block; padding: 16px 0; font-size: 1.75rem; font-weight: 600; font-stretch: 108%; text-decoration: none; letter-spacing: -.02em; }
.mobilmenue li ul { padding: 0 0 16px; }
.mobilmenue li ul a { display: flex; gap: 14px; padding: 7px 0; font-size: 1.05rem; color: rgba(255, 255, 255, .78); text-decoration: none; }
.mobilmenue li ul a span { font-family: var(--mono); font-size: .75rem; color: var(--rot-hell); padding-top: 4px; }
.mobil-kontakt { display: grid; gap: 14px; margin-top: 32px; }
.mobil-kontakt > a:not(.knopf) { display: inline-flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, .78); text-decoration: none; }
body.menue-auf { overflow: hidden; }

/* ---------- Held: Haus mit Lichtschalter ---------- */
.held { position: relative; min-height: 100svh; min-height: max(100svh, 640px); color: #fff; background: #060912; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.held-bild { position: absolute; inset: 0; z-index: -2; }
.held-ebene { position: absolute; inset: 0; }
.held-ebene picture, .held-ebene img { width: 100%; height: 100%; object-fit: cover; }
.held-ebene img { object-position: 50% 62%; }
.held-an { transition: opacity 1.1s var(--weich); }
.held[data-licht="aus"] .held-an { opacity: 0; transition-duration: .35s; }
.held-schein { position: absolute; inset: 0; background: radial-gradient(60% 40% at 50% 64%, rgba(255, 186, 104, .22), transparent 70%); mix-blend-mode: screen; transition: opacity 1.1s; pointer-events: none; }
.held[data-licht="aus"] .held-schein { opacity: 0; transition-duration: .3s; }
.held.flackern .held-an, .held.flackern .held-schein { animation: flackern 1.25s linear both; }
/* Sanftes Anflackern: ein kurzes Zucken, dann Licht. Bleibt deutlich unter drei Blitzen je Sekunde. */
@keyframes flackern { 0% { opacity: 0; } 12% { opacity: .7; } 22% { opacity: .2; } 40% { opacity: 1; } 100% { opacity: 1; } }
.erstbesuch.bewegt .held-an, .erstbesuch.bewegt .held-schein { opacity: 0; }
.ohne-gsap.erstbesuch .held-an, .ohne-gsap.erstbesuch .held-schein { opacity: 1; }
.held-verlauf { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  radial-gradient(52% 46% at 0% 100%, rgba(4, 7, 16, .72), rgba(4, 7, 16, 0) 100%),
  linear-gradient(180deg, rgba(4, 7, 16, .62) 0%, rgba(4, 7, 16, .18) 22%, rgba(4, 7, 16, 0) 40%, rgba(4, 7, 16, 0) 58%, rgba(4, 7, 16, .78) 86%, rgba(4, 7, 16, .92) 100%); }
.held-innen { flex: 1; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; padding-top: calc(var(--kopf) + clamp(24px, 6vh, 72px)); padding-bottom: 36px; column-gap: 48px; }
.held-text { display: contents; }
.held .etikett { grid-column: 1 / -1; justify-content: center; margin-bottom: 18px; color: rgba(255, 255, 255, .78); }
/* Schatten und Leuchten über filter statt text-shadow: Die Wortmasken würden einen Textschatten kastenförmig abschneiden. */
.held h1 { grid-column: 1 / -1; text-align: center; font-size: clamp(2.5rem, .9rem + 3.6vw, 4.25rem); font-weight: 640; line-height: 1.02; filter: drop-shadow(0 2px 22px rgba(4, 7, 16, .5)); }
.held h1 em { display: inline-block; color: #fff; transition: color .6s, filter .6s; }
.held[data-licht="an"] h1 em { color: var(--licht); filter: drop-shadow(0 0 16px rgba(255, 170, 80, .6)) drop-shadow(0 0 2px rgba(255, 210, 150, .5)); }
.held[data-licht="aus"] h1 em { color: rgba(255, 255, 255, .5); }
@media (min-width: 1100px) { .held h1 .umbruch-schmal { display: none; } }
.held .lead { grid-column: 1; grid-row: 3; align-self: end; max-width: 34rem; margin: 0; font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); color: rgba(255, 255, 255, .86); }
.held .knoepfe { grid-column: 1; grid-row: 4; margin-top: 26px; }
.schalter-feld { grid-column: 2; grid-row: 3 / span 2; align-self: end; display: flex; align-items: center; gap: 20px; padding: 16px 22px 16px 16px; border-radius: 22px; background: rgba(10, 13, 22, .42); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.lichtschalter { padding: 0; border: 0; background: none; border-radius: 16px; perspective: 400px; }
.rahmen-schalter { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 14px; background: linear-gradient(145deg, #fbfbf9, #e4e2dd); box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0, 0, 0, .06), 0 16px 30px -12px rgba(0, 0, 0, .65); transition: filter .5s; }
.wippe { position: relative; width: 60px; height: 60px; border-radius: 9px; background: linear-gradient(180deg, #ffffff 0%, #f1efeb 48%, #e3e0da 100%); box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 -1px 0 rgba(0, 0, 0, .06) inset, 0 3px 6px rgba(0, 0, 0, .18); transform-origin: 50% 50%; transition: transform .22s cubic-bezier(.3, 1.6, .5, 1), background .3s; }
.lichtschalter[aria-pressed="true"] .wippe { transform: rotateX(9deg); background: linear-gradient(0deg, #ffffff 0%, #f1efeb 52%, #e0ddd6 100%); }
.lichtschalter[aria-pressed="false"] .wippe { transform: rotateX(-9deg); }
.wippe-led { position: absolute; left: 50%; bottom: 9px; width: 10px; height: 3px; margin-left: -5px; border-radius: 2px; background: #cfcac2; transition: background-color .3s, box-shadow .3s; }
/* Orientierungslicht wie bei echten Schaltern: leuchtet, wenn das Licht aus ist. */
.lichtschalter[aria-pressed="false"] .wippe-led { background: #ff8a3d; box-shadow: 0 0 8px 2px rgba(255, 138, 61, .85); }
.held[data-licht="aus"] .rahmen-schalter { filter: brightness(.55); }
.lichtschalter:hover .rahmen-schalter { box-shadow: inset 0 1px 0 #fff, 0 0 0 6px rgba(255, 255, 255, .1), 0 16px 30px -12px rgba(0, 0, 0, .65); }
.schalter-text { display: grid; line-height: 1.2; min-width: 120px; }
.schalter-titel { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.schalter-text strong { font-size: 1.7rem; font-weight: 640; font-stretch: 110%; letter-spacing: -.02em; }
.schalter-text small { font-size: .82rem; color: rgba(255, 255, 255, .62); }
.held-leiste { position: relative; border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(6, 9, 18, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.held-leiste-innen { display: grid; grid-template-columns: repeat(4, 1fr); }
.held-leiste a { display: flex; align-items: center; gap: 14px; padding: 22px 20px 22px 0; text-decoration: none; font-weight: 560; font-size: .98rem; color: rgba(255, 255, 255, .86); border-right: 1px solid rgba(255, 255, 255, .1); transition: color .3s; }
.held-leiste a + a { padding-left: 22px; }
.held-leiste a:last-child { border-right: 0; }
.held-leiste a .i { margin-left: auto; opacity: .4; transition: transform .4s var(--weich), opacity .3s; }
.held-leiste a:hover { color: #fff; }
.held-leiste a:hover .i { opacity: 1; transform: translateX(4px); color: var(--rot-hell); }
.held-leiste-nr { font-family: var(--mono); font-size: .72rem; color: var(--rot-hell); }


/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(84px, 10vw, 156px); }
.papier { background: var(--papier); color: var(--tinte); }
.weiss { background: var(--weiss); color: var(--tinte); }
.dunkel { background: var(--nacht); color: #fff; }
.abschnitt-kopf { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px 80px; align-items: end; margin-bottom: clamp(48px, 6vw, 84px); }
.abschnitt-kopf > p { color: var(--grau); max-width: 30rem; }
.dunkel .abschnitt-kopf > p { color: var(--grau-hell); }

/* Betrieb und Typenschild */
.betrieb-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px clamp(48px, 7vw, 120px); align-items: start; }
.betrieb-text h2 { margin-bottom: 30px; max-width: 16ch; }
.betrieb-text > p { color: var(--grau); max-width: 36rem; }
.typenschild { position: relative; margin-top: 12px; padding: 30px 32px 22px; border-radius: 12px; font-family: var(--mono); color: #2a2c30;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, rgba(0, 0, 0, .025) 1px 3px),
    linear-gradient(135deg, #eeece8 0%, #d8d5cf 38%, #efeeeb 58%, #cdc9c2 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(0, 0, 0, .12), 0 40px 70px -40px rgba(0, 0, 0, .45), 0 2px 4px rgba(0, 0, 0, .08);
  transform-style: preserve-3d; will-change: transform; }
.schraube { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fafafa, #b6b2ab 60%, #8f8b84); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.schraube::after { content: ''; position: absolute; left: 2px; right: 2px; top: 5px; height: 2px; background: rgba(0, 0, 0, .35); transform: rotate(-35deg); }
.schraube:nth-of-type(1) { top: 10px; left: 10px; }
.schraube:nth-of-type(2) { top: 10px; right: 10px; }
.schraube:nth-of-type(3) { bottom: 10px; left: 10px; }
.schraube:nth-of-type(4) { bottom: 10px; right: 10px; }
.typenschild-kopf { display: flex; justify-content: space-between; align-items: center; padding: 0 0 14px; margin-bottom: 6px; border-bottom: 2px solid #2a2c30; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; }
.typenschild-zeichen { width: 30px; color: var(--rot); }
.typenschild dl { margin: 0; }
.typenschild dl > div { display: grid; grid-template-columns: 6.6em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed rgba(42, 44, 48, .3); }
.typenschild dt { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #4f5256; padding-top: 2px; }
.typenschild dd { margin: 0; font-size: .86rem; line-height: 1.45; }
.typenschild dd a { text-decoration: none; font-weight: 700; }
.typenschild-fuss { display: flex; justify-content: space-between; padding-top: 14px; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #4f5256; }

.bildpaar { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(64px, 8vw, 120px); align-items: start; }
.bildpaar figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #ddd8d0; }
.bildpaar-gross { aspect-ratio: 3 / 2; }
.bildpaar-klein { aspect-ratio: 2 / 3; margin-top: clamp(60px, 12vw, 180px) !important; }
.bildpaar img, .bildpaar picture { width: 100%; height: 100%; object-fit: cover; }

.werte { list-style: none; margin: clamp(56px, 7vw, 100px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.werte li { border-top: 1px solid var(--linie); padding-top: 24px; }
.werte-nr { display: block; font-family: var(--mono); font-size: .74rem; color: var(--rot); margin-bottom: 18px; }
.werte h3 { font-size: 1.22rem; margin-bottom: 10px; }
.werte p { font-size: .97rem; color: var(--grau); }
.werte-dunkel { margin-top: 0; }
.werte-dunkel li { border-top-color: var(--linie-hell); }
.werte-dunkel p { color: var(--grau-hell); }
.werte-dunkel .werte-nr { color: var(--rot-hell); }

/* ---------- Leistungen mit Stromleitung ---------- */
.leistungen { overflow: clip; }
.ls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.ls-bilder { position: sticky; top: calc(var(--kopf) + 24px); height: calc(100vh - var(--kopf) - 48px); max-height: 760px; }
.ls-rahmen { position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--graphit); }
.ls-bild { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s var(--weich), transform 1.4s var(--weich); }
.ls-bild.an { opacity: 1; transform: none; }
.ls-bild picture, .ls-bild img { width: 100%; height: 100%; object-fit: cover; }
.ls-rahmen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .55)); pointer-events: none; }
.ls-anzeige { position: absolute; z-index: 2; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-radius: 999px; background: rgba(14, 15, 17, .6); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--rot-hell); box-shadow: 0 0 10px var(--rot-hell); animation: led 2.4s ease-in-out infinite; flex: none; }
@keyframes led { 50% { opacity: .35; box-shadow: 0 0 2px var(--rot-hell); } }
.js .led:not(.sichtbar), .js .karte:not(.sichtbar) .puls { animation-play-state: paused; }
.ls-liste { position: relative; padding-left: 64px; }
.ls-leitung { position: absolute; left: 14px; top: 0; bottom: 0; width: 2px; background: var(--linie-hell); }
.ls-leitung i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--rot), var(--rot-hell)); transform-origin: 50% 0; transform: scaleY(var(--fluss, 0)); box-shadow: 0 0 12px rgba(239, 65, 72, .8); }
.ls-eintrag { position: relative; min-height: 58vh; display: flex; flex-direction: column; justify-content: center; padding-block: 48px; opacity: .72; transition: opacity .6s; }
.ls-eintrag:first-of-type { min-height: 46vh; justify-content: flex-start; padding-top: 8px; }
.ls-eintrag.an, .ls-eintrag:focus-within { opacity: 1; }
.ls-knoten { position: absolute; left: -58px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--nacht); border: 2px solid rgba(255, 255, 255, .28); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.ls-eintrag:first-of-type .ls-knoten { top: 22px; }
.ls-eintrag.erreicht .ls-knoten, .ls-eintrag.an .ls-knoten { background: var(--rot); border-color: var(--rot-hell); box-shadow: 0 0 0 6px rgba(195, 32, 38, .22), 0 0 22px rgba(239, 65, 72, .9); }
.ls-mobilbild { display: none; }
.ls-nr { font-family: var(--mono); font-size: .8rem; color: var(--rot-hell); letter-spacing: .1em; margin-bottom: 18px; }
.ls-eintrag h3 { font-size: clamp(2rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 620; margin-bottom: 20px; }
.ls-eintrag > p { color: var(--grau-hell); font-size: 1.08rem; max-width: 30rem; }
.marken { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 30px; padding: 0; }
.marken li { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; font-size: .84rem; color: rgba(255, 255, 255, .8); }
.ls .mehr { align-self: flex-start; color: #fff; }

/* ---------- Privat und Gewerbe ---------- */
.pg-raster { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.pg-text h2 { margin-bottom: 36px; }
.pg-schalter { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; width: min(340px, 100%); height: 66px; padding: 6px; border-radius: 999px; background: #e7e3dc; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .08); margin-bottom: 36px; }
.pg-schalter button { position: relative; z-index: 2; border: 0; background: none; font-size: 1.02rem; font-weight: 620; color: var(--grau); border-radius: 999px; transition: color .4s; }
.pg-schalter button[aria-selected="true"] { color: #fff; }
.pg-knopf { position: absolute; z-index: 1; top: 6px; left: 6px; width: calc(50% - 6px); height: calc(100% - 12px); border-radius: 999px; background: var(--tinte); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); transition: transform .55s cubic-bezier(.5, 1.5, .5, 1); }
.pg-knopf::after { content: ''; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--rot-hell); box-shadow: 0 0 10px var(--rot-hell); }
[data-pg-aktiv="gewerbe"] .pg-knopf { transform: translateX(100%); }
.pg-panels { min-height: 290px; }
.pg-panel h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 14px; }
.pg-panel > p { color: var(--grau); max-width: 32rem; }
.pg-panel.an { animation: rein .6s var(--weich) both; }
@keyframes rein { from { opacity: 0; transform: translateY(14px); } }
.hakenliste { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.hakenliste li { display: flex; gap: 12px; align-items: flex-start; font-weight: 520; }
.hakenliste .i { color: var(--rot); margin-top: .22em; }
.dunkel .hakenliste .i, .seitenkopf .hakenliste .i { color: var(--rot-hell); }
.pg-bilder { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden; background: #ddd8d0; }
.pg-bild { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1s var(--weich); }
.pg-bild.an { clip-path: inset(0 0 0 0); z-index: 1; }
.pg-bild picture, .pg-bild img { width: 100%; height: 100%; object-fit: cover; }
.pg-marke { position: absolute; z-index: 3; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 999px; background: rgba(14, 15, 17, .62); color: #fff; font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- Ordnung: waagerechte Galerie ---------- */
.ordnung { position: relative; overflow: clip; }
.ordnung-buehne { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: clamp(36px, 5vh, 64px); padding-block: clamp(96px, 12vh, 140px) 48px; }
.ordnung-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 80px; align-items: end; }
.ordnung-kopf > p { color: var(--grau-hell); max-width: 30rem; justify-self: end; }
.ordnung-spur { --hoehe: clamp(300px, 50vh, 520px); display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: max(var(--rand), (100vw - var(--breit)) / 2); width: max-content; will-change: transform; }
.ordnung-karte { margin: 0; flex: none; }
.ordnung-bild { height: var(--hoehe); border-radius: var(--radius); overflow: hidden; background: var(--graphit); }
.ordnung-karte.quer .ordnung-bild { aspect-ratio: 3 / 2; }
.ordnung-karte.hoch .ordnung-bild { aspect-ratio: 2 / 3; }
.ordnung-bild picture, .ordnung-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--weich); }
.ordnung-karte:hover .ordnung-bild img { transform: scale(1.05); }
.ordnung-karte figcaption { display: flex; align-items: baseline; gap: 14px; padding-top: 16px; }
.ordnung-karte figcaption span { font-family: var(--mono); font-size: .72rem; color: var(--rot-hell); }
.ordnung-karte figcaption strong { font-weight: 620; font-size: 1.05rem; }
.ordnung-karte figcaption em { color: var(--grau-hell); font-size: .92rem; }
.ordnung-ende { flex: none; width: clamp(280px, 26vw, 400px); height: var(--hoehe); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 26px; padding: 40px; border-radius: var(--radius); border: 1px solid var(--linie-hell); background: radial-gradient(120% 80% at 0% 100%, rgba(195, 32, 38, .28), transparent 60%), var(--graphit); }
.ordnung-ende p { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 620; font-stretch: 108%; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.ordnung-fuss { display: flex; align-items: center; gap: 24px; }
.ordnung-fortschritt { position: relative; flex: 1; height: 2px; background: var(--linie-hell); max-width: 360px; }
.ordnung-fortschritt i { position: absolute; inset: 0; background: var(--rot-hell); transform-origin: 0 50%; transform: scaleX(var(--galerie, 0)); }
.ordnung-hinweis { margin-left: auto; font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
@media (min-width: 901px) { .ordnung-buehne { position: sticky; top: 0; } }
/* Ohne GSAP oder bei reduzierter Bewegung: seitlich wischen statt fahren. */
.ohne-gsap .ordnung-spur, html:not(.bewegt) .ordnung-spur { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }

/* ---------- Ablauf ---------- */
.schritte { position: relative; }
.schritte ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.schritte-spur { position: absolute; left: 23px; right: 23px; top: 23px; height: 2px; background: var(--linie); }
.schritte-spur i { position: absolute; inset: 0; background: var(--rot); transform-origin: 0 50%; transform: scaleX(var(--ablauf, 0)); box-shadow: 0 0 10px rgba(239, 65, 72, .6); }
.schritt { position: relative; }
.schritt-knoten { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--papier); border: 2px solid rgba(18, 19, 22, .2); color: rgba(18, 19, 22, .35); margin-bottom: 28px; transition: background-color .5s, border-color .5s, color .5s, box-shadow .5s; }
.schritt.an .schritt-knoten { background: var(--rot); border-color: var(--rot); color: #fff; box-shadow: 0 0 0 7px rgba(195, 32, 38, .14); }
.schritt-nr { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grau); margin-bottom: 10px; }
.schritt h3 { font-size: 1.3rem; margin-bottom: 10px; }
.schritt p { color: var(--grau); font-size: .98rem; }

/* ---------- Region und Karte ---------- */
.region-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.region-text h2 { margin-bottom: 26px; }
.region-text > p { color: var(--grau); }
.entfernungen { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 2px; max-width: 30rem; }
.entfernungen li { display: flex; align-items: baseline; gap: 12px; padding: 7px 0; font-size: .97rem; }
.entfernungen .linie { flex: 1; border-bottom: 1px dotted rgba(18, 19, 22, .3); transform: translateY(-4px); }
.entfernungen b { font-variant-numeric: tabular-nums; font-size: .95rem; font-weight: 560; }
.karte { margin: 0; padding: clamp(10px, 1.4vw, 18px); border-radius: 20px; background: #f6f4f0; border: 1px solid var(--linie); }
.papier .karte { background: var(--weiss); }
.karte svg { width: 100%; height: auto; font-family: var(--schrift); }
.karte .raster { stroke: rgba(18, 19, 22, .055); stroke-width: 1; }
.karte .rhein { fill: none; stroke: #a9c0d3; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.karte .rhein-text { fill: #4f6a82; font-size: 13px; font-style: italic; letter-spacing: .3em; }
.karte .ring { fill: none; stroke: rgba(195, 32, 38, .3); stroke-width: 1.2; stroke-dasharray: 3 6; }
.karte .ring-text { fill: var(--rot); font-family: var(--mono); font-size: 11px; }
.karte .ort circle { fill: var(--tinte); }
.karte .ort text { fill: var(--tinte); font-size: 13.5px; font-weight: 540; paint-order: stroke; stroke: #f6f4f0; stroke-width: 4px; stroke-linejoin: round; }
.papier .karte .ort text { stroke: var(--weiss); }
.karte .ort-teil circle { fill: #8a8f96; }
.karte .ort-teil text { fill: var(--grau); font-size: 12px; }
.karte .kern { fill: var(--rot); }
.karte .kern-zeichen { color: #fff; }
.karte .puls { fill: var(--rot); opacity: 0; transform-box: fill-box; transform-origin: center; animation: puls 2.8s var(--weich) infinite; }
.karte .puls-2 { animation-delay: 1.4s; }
@keyframes puls { 0% { opacity: .45; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
.karte .standort-text { fill: var(--tinte); font-weight: 680; font-size: 15px; paint-order: stroke; stroke: #f6f4f0; stroke-width: 5px; }
.papier .karte .standort-text, .papier .karte .standort-sub { stroke: var(--weiss); }
.karte .standort-sub { fill: var(--grau); font-family: var(--mono); font-size: 11.5px; paint-order: stroke; stroke: #f6f4f0; stroke-width: 4px; }
.karte figcaption { padding: 10px 8px 2px; font-size: .78rem; color: var(--grau); }

/* ---------- Fragen ---------- */
.fragen { background: var(--papier); }
.fragen-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.fragen-kopf { position: sticky; top: calc(var(--kopf) + 32px); }
.fragen-kopf h2 { margin-bottom: 22px; }
.fragen-kopf > p { color: var(--grau); }
.fragen-kopf .knopf { margin-top: 26px; }
.frage { border-bottom: 1px solid var(--linie); }
.frage:first-child { border-top: 1px solid var(--linie); }
.frage summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; list-style: none; font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); font-weight: 600; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary .i { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--linie); transition: transform .45s var(--weich), background-color .3s, color .3s; }
.frage[open] summary .i { transform: rotate(45deg); background: var(--rot); color: #fff; border-color: var(--rot); }
.frage summary:hover .i { border-color: var(--tinte); }
.frage-antwort { padding: 0 64px 28px 0; color: var(--grau); }

/* ---------- Schluss ---------- */
.schluss { position: relative; overflow: hidden; background: #0a0b0d; color: #fff; padding-block: clamp(100px, 12vw, 170px); isolation: isolate; }
.schluss-licht { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(600px 420px at var(--mx, 78%) var(--my, 50%), rgba(195, 32, 38, .42), transparent 70%),
  radial-gradient(900px 600px at 10% 120%, rgba(255, 170, 90, .08), transparent 70%); transition: background-position .2s; }
.schluss-innen { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.schluss h2 { font-size: clamp(2.3rem, 1.2rem + 3.3vw, 4.4rem); margin-bottom: 24px; }
.schluss-text > p { color: var(--grau-hell); max-width: 32rem; }
.schluss-tel { position: relative; display: grid; gap: 12px; padding: clamp(28px, 3vw, 44px); border-radius: 24px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); text-decoration: none; overflow: hidden; transition: border-color .4s, transform .6s var(--weich); }
.schluss-tel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--rot); transform: translateY(101%); transition: transform .7s var(--weich); }
.schluss-tel:hover { border-color: var(--rot); }
.schluss-tel:hover::before { transform: none; }
.schluss-tel-kopf { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.schluss-tel strong { font-size: clamp(2.1rem, 1.1rem + 3vw, 3.9rem); font-weight: 640; font-stretch: 106%; letter-spacing: -.025em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.schluss-tel-fuss { color: rgba(255, 255, 255, .62); font-size: .95rem; }
.schluss-tel-pfeil { position: absolute; top: 26px; right: 26px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); transition: transform .6s var(--weich), background-color .4s; }
.schluss-tel:hover .schluss-tel-pfeil { transform: rotate(45deg); background: #fff; color: var(--rot); }
.schluss-tel:hover .led { background: #fff; box-shadow: 0 0 10px #fff; }

/* ---------- Fuß ---------- */
.fuss { background: #08090a; color: rgba(255, 255, 255, .72); padding: clamp(64px, 7vw, 96px) 0 28px; font-size: .95rem; }
.fuss-oben { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.fuss .marke .logo { width: 190px; }
.fuss-marke p { margin-top: 24px; max-width: 24rem; color: rgba(255, 255, 255, .58); }
.fuss h2 { font-family: var(--mono); font-size: .72rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 18px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fuss a { text-decoration: none; transition: color .25s; }
.fuss a:hover { color: #fff; }
.fuss-kontakt a, .fuss-kontakt span { display: inline-flex; gap: 10px; align-items: flex-start; }
.fuss-kontakt .i { color: var(--rot-hell); margin-top: .2em; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--linie-hell); font-size: .84rem; color: rgba(255, 255, 255, .45); }
.fuss-unten p { margin: 0; }
.fuss-unten ul { display: flex; flex-wrap: wrap; gap: 22px; }

/* ---------- Unterseiten ---------- */
.seitenkopf { position: relative; background: var(--nacht); color: #fff; padding: calc(var(--kopf) + clamp(40px, 6vw, 88px)) 0 clamp(64px, 7vw, 110px); overflow: hidden; }
.seitenkopf::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 400px at 0% 0%, rgba(195, 32, 38, .18), transparent 70%); pointer-events: none; }
.seitenkopf-raster { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px clamp(40px, 6vw, 96px); align-items: end; }
.seitenkopf h1 { margin-bottom: 26px; max-width: 14ch; }
.seitenkopf .lead { color: rgba(255, 255, 255, .78); font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); max-width: 36rem; }
.seitenkopf-bild { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--graphit); }
.seitenkopf-bild picture, .seitenkopf-bild img { width: 100%; height: 100%; object-fit: cover; }
.seitenkopf.schlicht { padding-bottom: clamp(56px, 6vw, 88px); }
.seitenkopf.schlicht h1 { max-width: none; margin-bottom: 0; }
.fehlerseite { min-height: 80vh; display: flex; align-items: center; }
.fehlerseite h1 { margin-bottom: 24px !important; }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 34px; padding: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.brotkrumen li + li::before { content: '/'; margin-right: 6px; opacity: .5; }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { color: #fff; }
.brotkrumen [aria-current] { color: rgba(255, 255, 255, .85); }

.karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.karte-leistung a { display: block; text-decoration: none; }
.karte-bild { aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: #ddd8d0; }
.karte-bild picture, .karte-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--weich); }
.karte-leistung a:hover .karte-bild img { transform: scale(1.05); }
.karte-text { padding: 26px 4px 0; }
.karte-nr { display: block; font-family: var(--mono); font-size: .74rem; color: var(--rot); margin-bottom: 12px; }
.karte-text h2 { font-size: clamp(1.7rem, 1.3rem + 1.1vw, 2.3rem); margin-bottom: 12px; }
.karte-text p { color: var(--grau); max-width: 34rem; }

.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.zwei-bild { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; background: #ddd8d0; }
.zwei-bild picture, .zwei-bild img { width: 100%; height: 100%; object-fit: cover; }
.zwei-karte h3 { font-size: 1.7rem; margin-bottom: 12px; }
.zwei-karte > p { color: var(--grau); }

.bausteine { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.bausteine.spalten-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bausteine li { border-top: 2px solid var(--tinte); padding-top: 24px; }
.baustein-nr { display: block; font-size: .82rem; font-weight: 640; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: var(--rot); margin-bottom: 18px; }
.bausteine h3 { font-size: 1.32rem; margin-bottom: 10px; }
.bausteine p { color: var(--grau); }

.bildband { background: var(--papier); padding-bottom: clamp(56px, 7vw, 100px); }
.bildband-innen { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bildband-zwei .bildband-innen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bildband-zwei { background: var(--papier); }
.bildband-bild { height: clamp(240px, 30vw, 460px); border-radius: var(--radius); overflow: hidden; background: #ddd8d0; }
.bild-decke { object-position: 50% 12%; }
.bildband-bild picture, .bildband-bild img { width: 100%; height: 100%; object-fit: cover; }

.mini-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mini-karten.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-karten a { display: block; text-decoration: none; }
.mini-bild { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; margin-bottom: 20px; background: #ddd8d0; }
.mini-bild picture, .mini-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--weich); }
.mini-karten a:hover .mini-bild img { transform: scale(1.06); }
.mini-karten strong { display: block; font-size: 1.3rem; font-weight: 620; font-stretch: 106%; letter-spacing: -.015em; margin-bottom: 8px; }
.mini-karten .mehr { display: inline; font-weight: 500; font-size: .92rem; color: var(--grau); }
.mini-karten .mehr .i { display: inline-block; vertical-align: -.2em; margin-left: 8px; }

/* ---------- Kontakt ---------- */
.kontaktkopf h1 { max-width: none; }
.kontakt-wege { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.kontaktkopf .seitenkopf-raster { align-items: center; }
.weg { position: relative; display: grid; gap: 14px; align-content: start; padding: 26px 28px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .03); text-decoration: none; transition: border-color .3s, background-color .3s, transform .5s var(--weich); }
.weg:hover { border-color: rgba(255, 255, 255, .4); transform: translateY(-3px); }
.weg-kopf { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
.weg strong { font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); font-weight: 620; letter-spacing: -.015em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.weg-pfeil { position: absolute; right: 20px; top: 20px; opacity: .5; transition: transform .4s var(--weich), opacity .3s; }
.weg:hover .weg-pfeil { opacity: 1; transform: rotate(45deg); }
.weg-tel { background: var(--rot); border-color: var(--rot); }
.weg-tel:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); }
.weg-tel .weg-kopf { color: rgba(255, 255, 255, .85); }
.weg-tel .led { background: #fff; box-shadow: 0 0 8px #fff; }
.formular-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.formular-text h2 { margin-bottom: 22px; }
.formular-text > p { color: var(--grau); }
.formular { padding: clamp(24px, 3vw, 44px); border-radius: 22px; background: var(--weiss); border: 1px solid var(--linie); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .3); }
.feld-gruppe { border: 0; margin: 0 0 26px; padding: 0; }
.feld-gruppe legend { font-size: .86rem; font-weight: 640; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input, .segment input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid #8a8d92; font-size: .92rem; font-weight: 540; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.chip span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(18, 19, 22, .2); transition: background-color .25s, box-shadow .25s; }
.chip input:checked + span { background: var(--tinte); color: #fff; border-color: var(--tinte); }
.chip input:checked + span::before { background: var(--rot-hell); box-shadow: 0 0 8px var(--rot-hell); }
.chip input:focus-visible + span, .segment input:focus-visible + span { outline: 2px solid var(--rot); outline-offset: 2px; }
.segment { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: #ece8e1; }
.segment span { display: block; padding: 10px 26px; border-radius: 999px; font-weight: 600; font-size: .94rem; cursor: pointer; color: var(--grau); transition: background-color .3s, color .3s; }
.segment input:checked + span { background: var(--tinte); color: #fff; }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld { display: grid; gap: 8px; }
.feld-breit { grid-column: 1 / -1; }
.feld > span { font-size: .86rem; font-weight: 640; }
.feld input, .feld textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--tinte); padding: 14px 16px; border-radius: 12px; border: 1px solid #8a8d92; background: #fff; transition: border-color .2s, box-shadow .2s; }
.feld textarea { resize: vertical; min-height: 140px; }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 2px solid var(--rot); outline-offset: 2px; border-color: var(--tinte); }
.feld > span small { font-weight: 420; color: var(--grau); font-size: .8rem; }
.formular-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; }
.formular-fuss .klein { max-width: 26rem; margin: 0; }
.formular-meldung { margin-top: 20px; padding: 16px 18px; border-radius: 12px; background: var(--papier); font-size: .95rem; }
.meldung-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- Recht ---------- */
.recht { max-width: 46rem; }
.recht h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.recht h2:first-child { margin-top: 0; }
.recht p { color: #34373c; }

/* ---------- Handy-Leiste und Entwurf ---------- */
.dock { display: none; }

/* ---------- Hinweise: KI-Symbolbilder und Entwurf ---------- */
.symbolbild { position: absolute; z-index: 3; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(10, 11, 13, .62); color: rgba(255, 255, 255, .92); font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; pointer-events: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.held > .symbolbild { top: calc(var(--kopf) + 14px); bottom: auto; right: var(--rand); }
.seitenkopf-bild, .bildpaar-gross, .bildpaar figure { position: relative; }
.bildband-innen > .symbolbild { right: 12px; bottom: 12px; }
.entwurf-etikett { flex: none; align-self: center; margin-left: -12px; padding: 4px 9px; border: 1px solid rgba(239, 65, 72, .7); border-radius: 6px; color: #ffb3b6; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background-color .3s, color .3s; }
.entwurf-etikett:hover { background: var(--rot); color: #fff; }
.fuss-hinweis { max-width: 52rem; margin: 0 0 22px; font-size: .82rem; line-height: 1.55; color: rgba(255, 255, 255, .55); }
.fuss-hinweis a { color: rgba(255, 255, 255, .8); }
.entwurf-kasten { margin-bottom: 40px; padding: 22px 26px; border-radius: 14px; border: 1px solid rgba(195, 32, 38, .35); background: #fbeeee; }
.entwurf-kasten h2 { margin: 0 0 8px !important; font-size: 1.1rem; color: var(--rot-dunkel); }
.entwurf-kasten p { color: #3a2a2b !important; }

/* ---------- Über uns: Visitenkarte und Leistungsliste ---------- */
.visitenkarte { position: relative; margin-top: 12px; padding: 34px 34px 30px; border-radius: 16px; background: #fff; border-top: 6px solid var(--rot); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .4), 0 2px 6px rgba(0, 0, 0, .06); color: var(--tinte); will-change: transform; }
.visitenkarte-logo .logo { width: 170px; height: auto; color: var(--tinte); }
.visitenkarte-person { display: grid; gap: 2px; margin: 34px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--linie); }
.visitenkarte-rolle { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grau); margin-bottom: 6px; }
.visitenkarte-person strong { font-size: 1.7rem; font-weight: 640; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.1; }
.visitenkarte-person > span:last-child { color: var(--grau); }
.visitenkarte-wege { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.visitenkarte-wege a, .visitenkarte-wege span { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 540; }
.visitenkarte-wege a:hover { color: var(--rot); }
.visitenkarte-wege .i { color: var(--rot); }
.leistungsliste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); }
.leistungsliste li { border-bottom: 1px solid var(--linie); }
.leistungsliste a { display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.2fr) auto; align-items: center; gap: 24px; padding: 26px 4px; text-decoration: none; transition: background-color .3s, padding .4s var(--weich); }
.leistungsliste a:hover { background: var(--papier); padding-left: 16px; }
.leistungsliste .karte-nr { margin: 0; }
.leistungsliste strong { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.9rem); font-weight: 620; font-stretch: 108%; letter-spacing: -.02em; }
.leistungsliste-text { color: var(--grau); }
.leistungsliste .i { color: var(--rot); transition: transform .4s var(--weich); }
.leistungsliste a:hover .i { transform: translateX(6px); }

/* ---------- Bewegung ---------- */
.bild-fehlt { display: block; width: 100%; height: 100%; min-height: 200px; background: linear-gradient(135deg, #2a2d31, #1a1c1f); }
.geteilt .wort { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.geteilt .wort > span { display: inline-block; will-change: transform; }
.bewegt [data-rein] { opacity: 0; transform: translateY(26px); }
.bewegt [data-bild]:not(.gezeigt) { clip-path: inset(100% 0 0 0); }
.ohne-gsap [data-rein] { opacity: 1 !important; transform: none !important; }
.ohne-gsap [data-bild] { clip-path: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Anpassungen ---------- */
@media (max-width: 1240px) {
  .kopf-tel span { display: none; }
  .kopf-tel { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid var(--linie-hell); }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .kopf-tel { margin-left: auto; }
  .kopf-innen { gap: 12px; }
  .werte { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .fuss-oben { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss-marke { grid-column: 1 / -1; }
  .mini-karten.vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .abschnitt-kopf, .betrieb-raster, .pg-raster, .region-raster, .fragen-raster, .schluss-innen, .seitenkopf-raster, .formular-raster, .ordnung-kopf { grid-template-columns: minmax(0, 1fr); }
  .ordnung-kopf > p { justify-self: start; }
  .ls { grid-template-columns: minmax(0, 1fr); }
  .ls-bilder { display: none; }
  .ls-liste { padding-left: 40px; }
  .ls-leitung { left: 6px; }
  .ls-knoten { left: -42px; top: 12px; margin-top: 0; }
  .ls-eintrag, .ls-eintrag:first-of-type { min-height: 0; padding-block: 0 64px; opacity: 1; justify-content: flex-start; }
  .ls-eintrag:first-of-type .ls-knoten { top: 12px; }
  .ls-mobilbild { display: block; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; margin-bottom: 26px; }
  .ls-mobilbild picture, .ls-mobilbild img { width: 100%; height: 100%; object-fit: cover; }
  .fragen-kopf { position: static; }
  .schritte ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .schritte-spur { display: none; }
  .pg-bilder { aspect-ratio: 4 / 3; order: -1; }
  .pg-panels { min-height: 0; }
  .karten, .zwei { grid-template-columns: minmax(0, 1fr); }
  .mini-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kontakt-wege { grid-template-columns: minmax(0, 1fr); }
  .seitenkopf h1 { max-width: 18ch; }
}
@media (max-width: 900px) {
  .held-innen { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr auto auto auto; }
  .held .lead { grid-row: 4; }
  .held .knoepfe { grid-row: 5; }
  .schalter-feld { grid-column: 1; grid-row: 6; justify-self: start; margin-top: 22px; }
  .held-leiste-innen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .held-leiste a { padding: 16px 14px 16px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
  .held-leiste a + a { padding-left: 0; }
  .held-leiste a:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .08); }
  .bildpaar { grid-template-columns: minmax(0, 1fr) minmax(0, .55fr); }
  .ordnung-buehne { min-height: 0; }
  .ordnung-spur { --hoehe: 340px; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; transform: none !important; }
  .ordnung-spur::-webkit-scrollbar { display: none; }
  .ordnung-karte, .ordnung-ende { scroll-snap-align: start; scroll-margin-left: var(--rand); }
}
@media (max-width: 760px) {
  :root { --kopf: 68px; --radius: 12px; }
  .marke .logo { width: 128px; }
  .kopf-cta { display: none; }
  .held { min-height: max(100svh, 640px); }
  .held-innen { padding-bottom: 22px; }
  .held .etikett { margin-bottom: 14px; }
  .held h1 { font-size: clamp(2.35rem, 1.2rem + 5.4vw, 3rem); }
  /* Am Handy bleibt das Haus frei: Der Einleitungstext steht gleich darunter im Abschnitt „Betrieb“. */
  .held .lead { display: none; }
  .held-leiste { display: none; }
  .held-innen { grid-template-rows: auto auto 1fr auto auto; }
  .held .knoepfe { grid-row: 4; gap: 10px; margin-top: 0; }
  .held .knoepfe .knopf { flex: 1 1 auto; --h: 52px; }
  .schalter-feld { grid-row: 5; justify-self: stretch; margin-top: 12px; padding: 10px 16px 10px 10px; gap: 14px; }
  .rahmen-schalter { width: 70px; height: 70px; }
  .wippe { width: 48px; height: 48px; }
  .schalter-text strong { font-size: 1.35rem; }
  .werte { grid-template-columns: minmax(0, 1fr); }
  .bildpaar { grid-template-columns: minmax(0, 1fr); }
  .bildpaar-klein { display: none; }
  .schritte ol { grid-template-columns: minmax(0, 1fr); }
  .mini-karten, .mini-karten.vier { grid-template-columns: minmax(0, 1fr); }
  .bildband { grid-template-columns: minmax(0, 1fr); }
  .bildband-bild:not(.mitte) { display: none; }
  .felder { grid-template-columns: minmax(0, 1fr); }
  .frage-antwort { padding-right: 0; }
  .fuss-oben { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fuss-oben > :last-child { grid-column: 1 / -1; }
  .typenschild { padding: 26px 22px 20px; }
  .typenschild dl > div { grid-template-columns: 5.6em 1fr; }
  .schluss-tel-pfeil { width: 42px; height: 42px; top: 18px; right: 18px; }
  .dock { position: fixed; z-index: 85; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 7px; border-radius: 18px; background: rgba(14, 15, 17, .9); border: 1px solid var(--linie-hell); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateY(140%); transition: transform .5s var(--weich); }
  .dock.zeigen { transform: none; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; background: rgba(255, 255, 255, .08); }
  .dock .dock-rot { background: var(--rot); }
  .fuss { padding-bottom: 110px; }
  body.menue-auf .dock { display: none; }
}
@media (max-width: 420px) {
  .held .knoepfe .knopf { width: 100%; }
}

/* ---------- Nachträge aus der Prüfung: kleine Bildschirme, Text über dem Haus, Druck ---------- */
@media (max-width: 1100px) {
  /* Unter 1100 px liegt Text über der hellen Fassade: dort kräftiger abdunkeln, der Himmel oben bleibt. */
  .held-verlauf { background:
    radial-gradient(52% 46% at 0% 100%, rgba(4, 7, 16, .72), rgba(4, 7, 16, 0) 100%),
    linear-gradient(180deg, rgba(4, 7, 16, .62) 0%, rgba(4, 7, 16, .18) 22%, rgba(4, 7, 16, .12) 36%, rgba(4, 7, 16, .6) 52%, rgba(4, 7, 16, .85) 72%, rgba(4, 7, 16, .92) 100%); }
  .held .knopf-glas { background: rgba(10, 13, 22, .5); }
  .entwurf-etikett { margin-left: 0; }
  .leistungsliste a { grid-template-columns: 3rem minmax(0, 1fr) auto; }
  .leistungsliste-text { display: none; }
}
@media (max-width: 1000px) {
  .bausteine, .bausteine.spalten-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bildband-innen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bildband-innen .bildband-bild:nth-child(3) { display: none; }
  .kontakt-wege { margin-top: 8px; }
}
@media (max-width: 760px) {
  html { scroll-padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
  .dock { visibility: hidden; transition: transform .5s var(--weich), visibility 0s .5s; }
  .dock.zeigen { visibility: visible; transition: transform .5s var(--weich); }
  .karte .ort text { font-size: 24px; }
  .karte .ort-teil text, .karte .ring-text, .karte .standort-sub { display: none; }
  .karte .standort-text { font-size: 24px; }
  .bausteine, .bausteine.spalten-4, .bildband-innen, .bildband-zwei .bildband-innen { grid-template-columns: minmax(0, 1fr); }
  .bildband-innen .bildband-bild:nth-child(n + 2) { display: none; }
  .entwurf-etikett { font-size: .58rem; padding: 3px 6px; }
  .visitenkarte { padding: 26px 22px 24px; }
}
@media (max-width: 420px) {
  .seitenkopf h1 { font-size: clamp(1.9rem, 9.6vw, 2.5rem); }
  .schluss h2 { font-size: clamp(1.9rem, 9.6vw, 2.3rem); }
  .schluss-tel strong { font-size: clamp(1.7rem, 8.6vw, 2.2rem); }
  .entwurf-etikett { display: none; }
}
@media print {
  [data-rein] { opacity: 1 !important; transform: none !important; }
  [data-bild] { clip-path: none !important; }
  .kopf, .dock, .mobilmenue, .held-leiste, .schalter-feld { display: none !important; }
  .held, .seitenkopf, .schluss, .dunkel { background: #fff !important; color: #000 !important; }
}
