/* Menikheim – Entwurf 2. Farben 1:1 von menikheim-jms.de, Bildsprache „Bauplan“. */
@font-face { font-family: "Menikheim"; src: url(../fonts/menikheim-bold.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Rokkitt"; src: url(../fonts/rokkitt-regular.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 400; src: url(../fonts/barlow-400.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: italic; src: url(../fonts/barlow-400-italic.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 500; src: url(../fonts/barlow-500.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 600; src: url(../fonts/barlow-600.woff2) format("woff2"); font-display: swap; }

:root {
  --rot: #DC3D05;
  --anthrazit: #333333;
  --hellgrau: #CCCCCC;
  --weiss: #FFFFFF;
  --flaeche: #F2F2F2;
  --linie: rgba(51,51,51,.13);
  --linie-hell: rgba(255,255,255,.1);
  --text: var(--anthrazit);
  --leise: rgba(51,51,51,.7);
  --strich: rgba(204,204,204,.62);
  --radius: 3px;
  --breite: 1240px;
  --kopf: 76px;
  --raster-klein: 24px;
  --raster-gross: 120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 24px); }
body { margin: 0; background: var(--weiss); color: var(--text); font: 400 17px/1.65 "Barlow", system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Menikheim", "Barlow", sans-serif; font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 1em; }
.m-rot { color: var(--rot); }
.nowrap { white-space: nowrap; }
.fuss .m-rot { color: inherit; }
::selection { background: var(--rot); color: var(--weiss); }
.inhalt { width: min(var(--breite), 100% - 40px); margin-inline: auto; }
.abschnitt { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.abschnitt--flaeche { background: var(--flaeche); }
.dunkel { background-color: var(--anthrazit); color: var(--hellgrau); }
.dunkel h2, .dunkel h3 { color: var(--weiss); }
.raster {
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: var(--raster-gross) var(--raster-gross), var(--raster-gross) var(--raster-gross), var(--raster-klein) var(--raster-klein), var(--raster-klein) var(--raster-klein);
  background-position: -1px -1px;
}
.raster-hell {
  background-image: linear-gradient(rgba(51,51,51,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(51,51,51,.05) 1px, transparent 1px);
  background-size: var(--raster-klein) var(--raster-klein);
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--rot); color: var(--weiss); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* Kapitel-Kennung */
.kapitel { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font: 600 1.05rem/1.2 "Barlow", sans-serif; color: var(--rot); }
.kopfzeile { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.kopfzeile--breit { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.kopfzeile p { color: var(--leise); font-size: 1.08rem; }
.dunkel .kopfzeile p { color: var(--hellgrau); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; border-radius: var(--radius); font: 600 1rem/1 "Barlow", sans-serif; letter-spacing: .01em; text-decoration: none; border: 1.5px solid var(--rot); background: var(--rot); color: var(--weiss); transition: background .25s, color .25s, border-color .25s; cursor: pointer; }
.knopf svg { transition: transform .25s; }
.knopf:hover svg { transform: translateX(4px); }
.knopf:hover { background: #c23604; border-color: #c23604; }
.knopf--rahmen { background: transparent; border-color: rgba(255,255,255,.45); }
.knopf--rahmen:hover { background: rgba(255,255,255,.08); border-color: var(--weiss); }
.knopf--dunkel { background: var(--anthrazit); border-color: var(--anthrazit); }
.knopf--dunkel:hover { background: #222; border-color: #222; }
.pfeil-link { display: inline-flex; align-items: center; gap: 10px; color: var(--rot); font-weight: 600; text-decoration: none; }
.pfeil-link svg { transition: transform .25s; }
.pfeil-link:hover svg { transform: translateX(4px); }
:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 60; background: rgba(51,51,51,.97); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); transition: box-shadow .3s; }
.kopf::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: var(--fortschritt, 0%); background: var(--rot); transition: width .1s linear; }
.kopf.gescrollt { box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.kopf .inhalt { height: var(--kopf); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; width: 164px; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; color: var(--hellgrau); text-decoration: none; font-weight: 500; font-size: 1rem; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--weiss); }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.nav-kontakt { margin-left: 12px; background: var(--rot); color: var(--weiss); padding: 11px 20px; border-radius: var(--radius); }
.nav a.nav-kontakt::after { display: none; }
.nav a.nav-kontakt:hover { background: #c23604; }
.menue-knopf { display: none; background: none; border: 0; color: var(--weiss); width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.menue-knopf span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .2s; }
.menue-offen .menue-knopf span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menue-offen .menue-knopf span:nth-child(2) { opacity: 0; }
.menue-offen .menue-knopf span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Zeichnungen */
.zeichnung { display: block; width: 100%; height: auto; overflow: visible; }
.zeichnung .z { fill: none; stroke: var(--strich); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.zeichnung .z-fein { stroke-width: .8; opacity: .7; }
.zeichnung .z-mass { stroke: var(--rot); stroke-width: 1.1; }
.zeichnung .z-text { font: 500 11px/1 "Barlow", sans-serif; letter-spacing: .06em; fill: var(--hellgrau); }
.zeichnung .z-text--rot { fill: var(--rot); }
.hell .zeichnung .z { stroke: rgba(51,51,51,.55); }
.hell .zeichnung .z-text { fill: var(--leise); }
.hell .zeichnung .z-mass { stroke: var(--rot); }
.js .zeichnung .z-text { opacity: 0; transition: opacity .6s ease; }
.js .zeichnung.gezeichnet .z-text { opacity: 1; }

/* Hero Start */
.hero { position: relative; overflow: hidden; color: var(--weiss); isolation: isolate; }
.hero-bilder, .hero-bilder img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bilder { z-index: -3; }
.hero-bilder img { object-fit: cover; opacity: 0; transition: opacity 1.8s ease; }
.hero-bilder img.aktiv { opacity: 1; animation: ruhe 12s ease-out forwards; }
@keyframes ruhe { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(95deg, rgba(51,51,51,.92) 0%, rgba(51,51,51,.78) 40%, rgba(51,51,51,.3) 75%, rgba(51,51,51,.15) 100%); }
.hero.raster::after { content: ""; position: absolute; inset: 0; z-index: -1; background: inherit; background-color: transparent; pointer-events: none; }
.hero--start > .inhalt { position: relative; min-height: min(calc(100vh - var(--kopf) - 120px), 720px); display: flex; align-items: center; }
.hero-text { align-self: center; padding: 72px 0 64px; max-width: 820px; position: relative; z-index: 2; }
.hero-zitat { font-family: "Menikheim", sans-serif; font-size: clamp(2.1rem, 3.4vw, 3rem); line-height: 1.1; margin: 0 0 26px; }
.hero-zitat .rot { color: var(--rot); }
.hero-zitat .zeile-z { display: block; }
.hero-name { display: flex; align-items: center; gap: 14px; font: 400 1.12rem/1 "Rokkitt", serif; color: var(--hellgrau); margin-bottom: 40px; letter-spacing: .04em; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-person { position: relative; z-index: 2; align-self: end; justify-self: end; width: clamp(260px, 27vw, 400px); height: auto; margin-bottom: -1px; filter: drop-shadow(0 24px 40px rgba(0,0,0,.4)); }
.hero-zeichnung { position: absolute; right: max(0px, calc((100vw - var(--breite)) / 2 - 60px)); top: 28px; width: min(860px, 64%); z-index: 1; pointer-events: none; opacity: .8; }
.hero-punkte { position: absolute; left: 0; bottom: 18px; display: flex; gap: 8px; z-index: 3; }
.hero-punkte button { width: 26px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.3); cursor: pointer; }
.hero-punkte button[aria-current="true"] { background: var(--rot); }
.kennzahlen-leiste { position: relative; z-index: 2; border-top: 1px solid var(--linie-hell); background: rgba(40,40,40,.72); backdrop-filter: blur(4px); }
.kennzahlen { display: grid; grid-template-columns: repeat(4, 1fr); }
.kennzahl { padding: 26px 28px 24px; border-left: 1px solid var(--linie-hell); }
.kennzahl:first-child { border-left: 0; padding-left: 0; }
.kennzahl strong { display: block; font: 400 clamp(1.8rem, 3vw, 2.5rem)/1 "Menikheim", sans-serif; color: var(--weiss); font-variant-numeric: tabular-nums; }
.kennzahl strong small { font-size: .55em; color: var(--rot); margin-left: 4px; }
.kennzahl > span { display: block; margin-top: 8px; color: var(--hellgrau); font-size: .95rem; line-height: 1.4; }

/* Seiten-Hero */
.hero--seite { background-color: var(--anthrazit); }
.hero--seite::before { background: linear-gradient(95deg, rgba(51,51,51,.92) 0%, rgba(51,51,51,.75) 50%, rgba(51,51,51,.35) 100%); }
.hero--seite .hero-bilder img { opacity: 1; }
.hero--seite .hero-bilder img[src*="bg-3"] { object-position: center top; }
.hero--seite > .inhalt { min-height: 340px; display: flex; align-items: flex-end; padding: 80px 0 56px; }
.hero--seite h1 { margin: 0; }
.hero-unter { color: var(--hellgrau); font: 400 1.08rem/1.5 "Rokkitt", serif; margin: 14px 0 0; max-width: 620px; }
.brotkrumen { display: flex; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--hellgrau); margin-bottom: 18px; }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { color: var(--weiss); }
.brotkrumen span[aria-hidden] { color: var(--rot); }
.seiten-zeichnung { align-self: center; opacity: .95; }

/* Intro */
.intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.intro p { font-size: 1.08rem; color: var(--leise); }
.bild-plan { position: relative; }
.bild-plan img { position: relative; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.bild-plan::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 42%; height: 46%; border-right: 3px solid var(--rot); border-bottom: 3px solid var(--rot); pointer-events: none; }
.bild-plan .mass { display: none; }
.bild-plan .mass::before, .bild-plan .mass::after { content: ""; flex: 1; height: 1px; background: var(--linie); }

/* Bereiche (Start) */
.bereiche { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--linie-hell); border-left: 1px solid var(--linie-hell); }
.bereich { position: relative; display: flex; flex-direction: column; padding: 28px 24px 26px; border-right: 1px solid var(--linie-hell); border-bottom: 1px solid var(--linie-hell); text-decoration: none; color: var(--hellgrau); transition: background .3s; min-height: 420px; }
.bereich::before { content: ""; position: absolute; left: -1px; top: -1px; width: calc(100% + 2px); height: 3px; background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.bereich:hover { background: rgba(255,255,255,.035); }
.bereich:hover::before { transform: scaleX(1); }
.bereich-nr { font: 400 .95rem/1 "Rokkitt", serif; color: var(--rot); margin-bottom: 18px; }
.bereich .zeichnung { margin: 0 0 22px; height: 120px; }
.bereich .zeichnung .z-text { display: none; }
.bereich h3 { color: var(--weiss); font-size: 1.3rem; margin-bottom: 14px; }
.bereich ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: .94rem; }
.bereich li { padding: 6px 0; border-top: 1px solid var(--linie-hell); }
.bereich .pfeil-link { margin-top: auto; font-size: .95rem; }

/* Ablauf */
.ablauf { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ablauf-spur { position: absolute; top: 27px; left: 28px; right: calc((100% - 96px) / 4 - 28px); height: 2px; background: var(--linie); }
.ablauf-spur span { position: absolute; inset: 0; background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform 2s cubic-bezier(.45,.05,.25,1) .2s; }
.js .ablauf.einblenden { opacity: 1; transform: none; }
.ablauf.sichtbar .ablauf-spur span, .no-js .ablauf-spur span { transform: scaleX(1); }
.schritt { position: relative; }
.knoten { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 26px; border-radius: 50%; background: var(--weiss); border: 2px solid var(--linie); color: var(--anthrazit); transition: background .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease; transition-delay: calc(.25s + var(--i) * .6s); }
.ablauf.sichtbar .knoten, .no-js .knoten { background: var(--rot); border-color: var(--rot); color: var(--weiss); box-shadow: 0 0 0 6px rgba(220,61,5,.12); }
.schritt h3 { font-size: 1.35rem; margin-bottom: 12px; }
.schritt .liste { font-size: .98rem; }

/* Referenzen (Start + Seite) */
.ref-mosaik { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
.ref-mosaik .ref:first-child { grid-row: span 2; }
.ref-mosaik .ref:nth-child(2) { grid-column: span 2; }
.ref { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--anthrazit); color: var(--weiss); text-decoration: none; isolation: isolate; min-height: 260px; }
.ref img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s; z-index: -2; }
.ref::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(40,40,40,.95) 0%, rgba(40,40,40,.5) 42%, rgba(40,40,40,0) 72%); }
.ref:hover img { transform: scale(1.05); }
.ref-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 24px 22px; }
.ref-kat { font: 600 .92rem/1.2 "Barlow", sans-serif; color: var(--rot); margin-bottom: 8px; }
.ref h3 { font-size: 1.3rem; margin: 0 0 6px; color: var(--weiss); }
.ref p { font-size: .94rem; line-height: 1.45; margin: 0; color: var(--hellgrau); max-width: 520px; }
.ref-ecke { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-top: 2px solid var(--rot); border-right: 2px solid var(--rot); opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s, transform .3s; }
.ref:hover .ref-ecke { opacity: 1; transform: none; }
.ref-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ref-raster .ref { aspect-ratio: 4/3; }
.ref-gruppe + .ref-gruppe { margin-top: 80px; }
.ref-gruppe[hidden] { display: none; }

/* Einblicke */
.einblicke { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.einblicke--vier { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.karte:hover { border-color: rgba(51,51,51,.35); transform: translateY(-3px); }
.karte-bild { aspect-ratio: 16/10; overflow: hidden; background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.karte-bild--logo { display: grid; place-items: center; background: var(--weiss); }
.karte-bild--logo img { width: auto; height: auto; max-width: 64%; max-height: 64%; object-fit: contain; }
.karte-text { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.karte-text h3 { font-size: 1.25rem; }
.karte-text p { color: var(--leise); font-size: .97rem; }
.karte-text .pfeil-link, .karte-text button.pfeil-link { margin-top: auto; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }

/* Einblicke */
.einblicke-kopf { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(8px, 2vw, 16px); border-bottom: 1px solid var(--linie); }
.einblicke-kopf h2 { margin: 0; }
.einblicke-kopf p { margin: 0; color: var(--leise); font-size: 1.08rem; line-height: 1.75; }
.einblicke-kopf p::first-line { color: var(--anthrazit); }
.einblick-liste { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 72px); }
.einblick { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--linie); }
.einblick-bild { position: relative; aspect-ratio: 26 / 15; border-radius: var(--radius); overflow: hidden; background: var(--flaeche); }
.einblick-bild img { width: 100%; height: 100%; object-fit: cover; }
.einblick-bild::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--rot); }
.einblick-bild--logo { background: var(--weiss); border: 1px solid var(--linie); }
.einblick-bild--logo img { object-fit: contain; padding: 18px; }
.einblick h3 { font-size: 1.25rem; margin-bottom: 10px; }
.einblick p { margin: 0; color: var(--leise); font-size: .97rem; }

/* Band */
.band { position: relative; overflow: hidden; }
.band .inhalt { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.band h2 { margin-bottom: 12px; }
.band p { max-width: 720px; margin: 0; }
.band.dunkel p { color: var(--hellgrau); }
.band--rot { background-color: var(--rot); color: var(--weiss); }
.band--rot.raster { background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px); background-size: var(--raster-klein) var(--raster-klein); }
.band--rot h2 { color: var(--weiss); }
.band--rot .knopf { background: var(--weiss); border-color: var(--weiss); color: var(--anthrazit); }
.band--rot .knopf:hover { background: var(--anthrazit); border-color: var(--anthrazit); color: var(--weiss); }

/* Leistungen Seite */
.unternav { position: sticky; top: var(--kopf); z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.unternav .inhalt { display: flex; gap: 6px; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--linie); background: var(--weiss); color: var(--anthrazit); font: 500 .95rem/1 "Barlow", sans-serif; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip b { font: 400 .9rem/1 "Rokkitt", serif; color: var(--rot); }
.chip:hover { border-color: var(--anthrazit); }
.chip.aktiv, .chip[aria-pressed="true"] { background: var(--anthrazit); border-color: var(--anthrazit); color: var(--weiss); }
.leistungsbereich { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.leistungsbereich + .leistungsbereich { margin-top: clamp(80px, 10vw, 140px); }
.detailblatt { position: sticky; top: calc(var(--kopf) + 80px); border-radius: var(--radius); padding: 28px 28px 0; overflow: hidden; }
.detailblatt .zeichnung { margin: 8px 0 24px; }
.schriftfeld { display: grid; grid-template-columns: 1fr auto; margin: 0 -28px; border-top: 1px solid var(--linie-hell); font-size: .82rem; }
.schriftfeld div { padding: 12px 16px; border-right: 1px solid var(--linie-hell); }
.schriftfeld div:last-child { border-right: 0; }
.schriftfeld small { display: block; font-size: .8rem; color: rgba(204,204,204,.7); margin-bottom: 2px; }
.schriftfeld strong { color: var(--weiss); font-weight: 500; }
.bereich-kopf { margin-bottom: 32px; }
.bereich-kopf h2 { margin-bottom: 0; }
.posten { border-top: 1px solid var(--linie); padding: 28px 0; display: grid; grid-template-columns: 160px 1fr; gap: 28px; }
.posten:last-child { border-bottom: 1px solid var(--linie); }
.posten-bild { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: var(--flaeche); }
.posten-bild img { width: 100%; height: 100%; object-fit: cover; }
.posten h3 { font-size: 1.3rem; margin-bottom: 8px; }
.posten p { color: var(--leise); margin-bottom: 12px; }
.posten h4 { font: 600 1rem/1.3 "Barlow", sans-serif; color: var(--anthrazit); margin: 18px 0 8px; }
.liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.liste li { position: relative; padding-left: 22px; color: var(--leise); }
.liste li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1.5px; background: var(--rot); }
.liste--haken li::before { content: ""; top: .36em; width: 10px; height: 5px; background: none; border-left: 2px solid var(--rot); border-bottom: 2px solid var(--rot); transform: rotate(-45deg); }
.vorteil { margin-top: 16px; padding: 14px 18px; background: var(--flaeche); border-left: 3px solid var(--rot); font-size: .98rem; }
.vorteil b { color: var(--rot); font-weight: 600; }
.marken { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.marken span { padding: 6px 12px; border: 1px solid var(--linie); border-radius: 999px; font-size: .9rem; color: var(--leise); }

/* Firma */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.text-block + .text-block { margin-top: 40px; }
.text-block p { color: var(--leise); }
.chronik { position: relative; display: grid; gap: 72px; padding: 8px 0; }
.chronik-linie { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--linie); transform: translateX(-1px); }
.chronik-linie::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: var(--fortschritt, 0%); background: var(--rot); }
.station { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; position: relative; }
.station::before { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; background: var(--flaeche); border: 2px solid var(--rot); transform: translate(-50%, -50%) rotate(45deg); }
.station:nth-child(odd) .station-bild { order: 2; }
.station-bild img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); }
.station .station-jahr { font: 400 3rem/1 "Rokkitt", serif; color: var(--rot); margin-bottom: 6px; }
.station h3 { font-size: 1.45rem; }
.station p { color: var(--leise); }

/* Projektseite */
.projekt-kopf { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.steckbrief { border: 1px solid var(--linie); border-radius: var(--radius); }
.steckbrief > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--linie); }
.steckbrief > div:last-child { border-bottom: 0; }
.steckbrief dt { font: 600 .98rem/1.5 "Barlow", sans-serif; color: var(--anthrazit); }
.steckbrief dd { margin: 0; }
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.galerie button { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; background: var(--flaeche); }
.galerie button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.galerie button:hover img { transform: scale(1.04); }
.projekt-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pn { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; gap: 18px; min-height: 230px; padding: 28px; border-radius: var(--radius); text-decoration: none; color: var(--weiss); background: var(--anthrazit); }
.pn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.pn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(40,40,40,.92) 0%, rgba(40,40,40,.55) 55%, rgba(40,40,40,.25) 100%); transition: background .4s; }
.pn:hover img { transform: scale(1.06); }
.pn:hover::after { background: linear-gradient(0deg, rgba(40,40,40,.95) 0%, rgba(40,40,40,.45) 60%, rgba(220,61,5,.18) 100%); }
.pn--nach { justify-content: flex-end; text-align: right; }
.pn-text { display: grid; gap: 6px; }
.pn-text small { font: 500 .95rem/1.2 "Barlow", sans-serif; color: var(--hellgrau); }
.pn-text strong { font: 400 1.5rem/1.15 "Menikheim", sans-serif; }
.pn-pfeil { flex-shrink: 0; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--rot); color: var(--weiss); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.pn--vor:hover .pn-pfeil { transform: translateX(-6px); }
.pn--nach:hover .pn-pfeil { transform: translateX(6px); }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.firmenkarte { border-radius: var(--radius); padding: 36px; position: sticky; top: calc(var(--kopf) + 28px); }
.firmenkarte h2 { font-size: 1.65rem; }
.firmenkarte h3 { font: 600 .98rem/1.2 "Barlow", sans-serif; color: var(--rot); margin: 24px 0 8px; }
.firmenkarte p { margin: 0; }
.firmenkarte a { color: var(--weiss); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.firmenkarte a:hover { border-color: var(--rot); }
.personen { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person { border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px; background: var(--weiss); }
.person-bild { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; margin-bottom: 18px; background: var(--anthrazit); color: var(--weiss); display: grid; place-items: center; font: 400 1.4rem/1 "Menikheim", sans-serif; box-shadow: 0 0 0 3px var(--weiss), 0 0 0 4px var(--rot); }
.person-bild img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { font-size: 1.2rem; margin-bottom: 2px; }
.person .rolle { font-style: italic; color: var(--leise); margin: 0 0 8px; }
.person .zeiten { font-size: .94rem; color: var(--leise); margin: 12px 0; }
.wege { display: grid; gap: 6px; margin: 0; }
.wege a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }
.wege a:hover { color: var(--rot); }
.wege svg { color: var(--rot); flex-shrink: 0; }

/* Rechtstexte */
.rechtstext { max-width: 820px; }
.rechtstext h2 { font-size: 1.6rem; margin-top: 1.6em; }
.rechtstext h3 { font-size: 1.2rem; margin-top: 1.4em; }
.rechtstext p { color: var(--leise); }
.platzhalter { padding: 22px 24px; border: 1px dashed var(--rot); border-radius: var(--radius); color: var(--anthrazit); background: rgba(220,61,5,.04); }

/* Fuß */
.fuss { background: var(--rot); color: var(--weiss); }
.fuss-raster { display: grid; grid-template-columns: 1.1fr 1.5fr 1fr; gap: 48px; padding: 72px 0 56px; }
.fuss h2 { font-size: 1.35rem; margin-bottom: 18px; }
.fuss p { margin: 0 0 10px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss a { color: var(--weiss); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.fuss a:hover { border-color: var(--weiss); }
.fuss-schriftfeld { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; border: 1px solid rgba(255,255,255,.4); font-size: .9rem; }
.fuss-schriftfeld div { padding: 12px 16px; border-right: 1px solid rgba(255,255,255,.4); }
.fuss-schriftfeld div:last-child { border-right: 0; }
.fuss-schriftfeld small { display: block; font-size: .8rem; opacity: .8; margin-bottom: 2px; }
.fuss-schriftfeld a { border: 0; display: inline-flex; align-items: center; gap: 8px; }
.fuss-unten { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0 28px; font-size: .92rem; flex-wrap: wrap; }
.fuss-unten nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: #262626; color: var(--weiss); display: none; grid-template-rows: auto 1fr auto; }
.lightbox.offen { display: grid; }
.lb-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 20px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--linie-hell); }
.lb-kopf h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 0; }
.lb-zu { background: none; border: 1px solid rgba(255,255,255,.3); color: var(--weiss); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; flex-shrink: 0; display: grid; place-items: center; }
.lb-zu:hover { border-color: var(--rot); background: var(--rot); }
.lb-buehne { position: relative; display: grid; place-items: center; padding: 20px 76px; min-height: 0; }
.lb-buehne img { max-width: 100%; max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; }
.lb-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: var(--weiss); cursor: pointer; display: grid; place-items: center; }
.lb-pfeil:hover { background: var(--rot); }
.lb-pfeil--zurueck { left: 14px; }
.lb-pfeil--vor { right: 14px; }
.lb-fuss { display: flex; justify-content: center; padding: 14px 0 22px; font: 400 1rem/1 "Rokkitt", serif; color: var(--hellgrau); }

/* Einblenden */
.js .einblenden { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .einblenden.sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .einblenden { opacity: 1; transform: none; }
  .js .zeichnung .z-text { opacity: 1; }
}

/* Responsiv */
@media (max-width: 1180px) {
  .bereiche { grid-template-columns: repeat(3, 1fr); }
  .bereich { min-height: 0; }
  .ref-raster, .einblicke, .einblicke--vier { grid-template-columns: repeat(2, 1fr); }
  .hero-zeichnung { width: 70%; right: -120px; opacity: .55; }
}
@media (max-width: 900px) {
  :root { --kopf: 66px; }
  .logo { width: 138px; }
  .kopf { backdrop-filter: none; background: var(--anthrazit); }
  .menue-knopf { display: block; }
  .nav { position: fixed; top: var(--kopf); left: 0; right: 0; bottom: 0; background: var(--anthrazit); flex-direction: column; align-items: stretch; padding: 16px 20px; gap: 0; opacity: 0; transform: translateY(-12px); visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; overflow-y: auto; }
  .menue-offen .nav { opacity: 1; transform: none; visibility: visible; transition: opacity .25s ease, transform .25s ease; }
  .nav a { font-size: 1.25rem; padding: 18px 4px; border-bottom: 1px solid var(--linie-hell); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--rot); }
  .nav a.nav-kontakt { margin: 20px 0 0; text-align: center; border-bottom: 0; }
  .hero--start > .inhalt { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 56px 0 16px; }
  .hero-person { justify-self: center; width: min(74%, 340px); }
  .hero-zeichnung { width: 120%; right: -30%; bottom: 0; opacity: .35; }
  .hero::before { background: linear-gradient(180deg, rgba(51,51,51,.94) 0%, rgba(51,51,51,.8) 60%, rgba(51,51,51,.7) 100%); }
  .hero-punkte { left: auto; right: 0; }
  .kennzahlen { grid-template-columns: 1fr 1fr; }
  .kennzahl { padding: 20px 16px; border-top: 1px solid var(--linie-hell); }
  .kennzahl:nth-child(odd) { border-left: 0; padding-left: 0; }
  .kennzahl:nth-child(-n+2) { border-top: 0; }
  .hero--seite > .inhalt { grid-template-columns: 1fr; min-height: 0; padding: 56px 0 44px; }
  .seiten-zeichnung { display: none; }
  .intro, .zweispaltig, .kontakt-raster, .leistungsbereich, .projekt-kopf, .einblicke-kopf, .einblick-liste { grid-template-columns: 1fr; }
  .bild-plan { margin: 18px 14px 40px 18px; }
  .detailblatt { position: relative; top: 0; }
  .ablauf { grid-template-columns: 1fr; gap: 36px; }
  .ablauf-spur { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .ablauf-spur span { transform: scaleY(0); transform-origin: top; }
  .ablauf.sichtbar .ablauf-spur span { transform: scaleY(1); }
  .schritt { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
  .knoten { grid-row: span 2; margin: 0; }
  .schritt h3 { align-self: center; margin: 14px 0 8px; }
  .schritt .liste { grid-column: 2; }
  .ref-mosaik { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ref-mosaik .ref { aspect-ratio: 4/3; }
  .ref-mosaik .ref:first-child { grid-row: auto; grid-column: span 2; }
  .ref-mosaik .ref:nth-child(2) { grid-column: auto; }
  .chronik-linie { left: 7px; }
  .station { grid-template-columns: 1fr; gap: 18px; padding-left: 40px; }
  .station::before { left: 8px; top: 14px; transform: translate(-50%, 0) rotate(45deg); }
  .station:nth-child(odd) .station-bild { order: 0; }
  .firmenkarte { position: static; }
  .band .inhalt { grid-template-columns: 1fr; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-raster > div:first-child { grid-column: span 2; }
  .fuss-schriftfeld { grid-template-columns: 1fr 1fr; }
  .fuss-schriftfeld div { border-bottom: 1px solid rgba(255,255,255,.4); }
  .fuss-schriftfeld div:first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .inhalt { width: calc(100% - 32px); }
  .bereiche { grid-template-columns: 1fr; }
  .ref-raster, .einblicke, .einblicke--vier, .personen, .ref-mosaik, .galerie { grid-template-columns: 1fr; }
  .ref-mosaik .ref:first-child { grid-column: auto; }
  .galerie button:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4/3; }
  .posten { grid-template-columns: 1fr; gap: 16px; }
  .einblick { grid-template-columns: 1fr; gap: 16px; }
  .einblick-bild { max-width: 320px; }
  .posten-bild { aspect-ratio: 16/9; }
  .fuss-raster { grid-template-columns: 1fr; }
  .fuss-raster > div:first-child { grid-column: auto; }
  .steckbrief > div { grid-template-columns: 1fr; gap: 4px; }
  .projekt-nav { grid-template-columns: 1fr; }
  .pn { min-height: 180px; padding: 22px; }
  .lb-buehne { padding: 12px 8px 70px; }
  .lb-buehne img { max-height: calc(100dvh - 250px); }
  .lb-pfeil { top: auto; bottom: 10px; transform: none; }
  .lb-pfeil--zurueck { left: calc(50% - 60px); }
  .lb-pfeil--vor { right: calc(50% - 60px); }
  .kennzahl > span { font-size: .85rem; }
}
