/* RvH Metallbau: „Der Bogen“. Weiß und helles Stahlgrau, Graphit für Text und dunkle Flächen, das Grau des Logos für
   Linien, Rot nur für den Bogen und Markierungen. Hanken Grotesk für alles, Etiketten weit gesperrt wie „Metallbau“ im Logo.
   Kanten gerade, keine abgerundeten Flächen. Keine Inline-Styles (CSP). */

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

:root {
  --schrift: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --papier: #ffffff;
  --stahl: #f2f2f0;
  --stahl-2: #e8e8e5;
  --linie: #dadad6;
  --grau: #666666;
  --grau-text: #5b5e61;
  --tinte: #1d1f21;
  --graphit: #232527;
  --graphit-2: #2e3134;
  --rot: #e10a17;
  --rot-text: #c10712;
  --rot-hell: #ff5a63;
  --glas: rgba(130, 170, 190, 0.2);
  --rand: clamp(20px, 4vw, 56px);
  --kopf-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; font-family: var(--schrift); font-size: 18px; line-height: 1.62; color: var(--tinte); background: var(--papier); font-feature-settings: 'kern', 'tnum' 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, picture { display: block; max-width: 100%; }
picture img { width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--rot-text); }
:focus-visible { outline: 2px solid var(--rot); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.022em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(38px, 4.3vw, 62px); line-height: 1.06; }
h2 { font-size: clamp(30px, 3.1vw, 46px); line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.nur-leser { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--tinte); color: #fff; padding: 10px 16px; }
.sprung:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: calc(1320px + 2 * var(--rand)); margin: 0 auto; padding-inline: var(--rand); }
.wrap-breit { max-width: calc(1600px + 2 * var(--rand)); }
.lead { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.55; color: #36393c; }
.leise { color: var(--grau-text); }
.i { width: 20px; height: 20px; flex: none; }
.bild-fehlt { display: block; background: var(--stahl-2); aspect-ratio: 3 / 2; }

/* Etiketten: weit gesperrt, mit dem Bogen aus dem Logo */
.etikett { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 12.5px; line-height: 1.2; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grau-text); }
.etikett .bogen { width: 28px; height: 9px; color: var(--rot); flex: none; }
.etikett-hell { color: #b9bcbf; }
.etikett-klein { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grau-text); margin-bottom: 8px; }

/* Knöpfe und Pfeil-Links */
.knopf { display: inline-flex; align-items: center; gap: 12px; padding: 15px 22px; background: var(--tinte); color: #fff; font: 600 16px/1.2 var(--schrift); text-decoration: none; border: 1px solid var(--tinte); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.knopf:hover { background: var(--rot); border-color: var(--rot); color: #fff; }
.knopf .i { transition: transform 0.2s; }
.knopf:hover .i { transform: translateX(3px); }
.knopf-linie { background: transparent; color: var(--tinte); }
.knopf-linie:hover { background: var(--tinte); border-color: var(--tinte); }
.knopf-hell { background: #fff; color: var(--tinte); border-color: #fff; }
.knopf-hell:hover { background: var(--rot); border-color: var(--rot); color: #fff; }
.knopf-klein { padding: 9px 14px; font-size: 14px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.pfeil-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--linie); padding-bottom: 3px; transition: border-color 0.2s, color 0.2s; }
.pfeil-link .i { width: 18px; height: 18px; transition: transform 0.2s; }
.pfeil-link:hover { border-color: var(--rot); }
.pfeil-link:hover .i { transform: translateX(3px); }

/* Servicezeile und Kopf */
.servicezeile { background: var(--stahl); border-bottom: 1px solid var(--linie); font-size: 13.5px; color: var(--grau-text); }
.servicezeile-innen { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 24px; }
.servicezeile p { margin: 0; letter-spacing: 0.01em; }
.servicezeile ul { display: flex; gap: 26px; align-items: center; }
.servicezeile a { text-decoration: none; color: #3d4043; }
.servicezeile a:hover, .servicezeile a[aria-current] { color: var(--rot-text); }
.sz-tel { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.sz-tel .i { width: 15px; height: 15px; }

.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid transparent; transition: border-color 0.25s; }
.kopf-gescrollt { border-bottom-color: var(--linie); }
.kopf-innen { display: flex; align-items: center; gap: 28px; height: var(--kopf-h); }
.marke { display: block; flex: none; text-decoration: none; }
.kopf .logo { height: 68px; width: auto; }
.logo-schrift { font-family: var(--schrift); font-weight: 400; }
.nav { margin-left: auto; }
.nav-liste { display: flex; align-items: center; gap: 2px; }
.nav-liste > li { display: flex; align-items: center; }
.nav-liste > li > a { display: block; padding: 10px 12px; font-size: 16.5px; font-weight: 500; text-decoration: none; color: var(--tinte); }
.nav-liste > li > a[aria-current] { box-shadow: inset 0 -2px 0 var(--rot); }
.nav-liste > li > a:hover { color: var(--rot-text); }
.menue-knopf { display: grid; place-items: center; width: 26px; height: 32px; margin-left: -8px; padding: 0; border: 0; background: none; color: var(--grau); cursor: pointer; }
.menue-knopf .i { width: 12px; height: 12px; transition: transform 0.2s; }
.offen > .menue-knopf .i { transform: rotate(180deg); }
.entwurf-etikett { flex: none; padding: 5px 9px; border: 1px solid var(--rot); color: var(--rot-text); font-size: 11.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; }
.kopf-telefon, .burger { display: none; }

/* Mega-Menüs: Flächen über die ganze Breite unter dem Kopf */
.menue { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); box-shadow: 0 24px 40px -28px rgba(20, 22, 24, 0.35); }
.offen > .menue { display: block; animation: menue-auf 0.22s ease-out; }
@keyframes menue-auf { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.menue-innen { display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding-block: 36px 40px; }
.mm-familien { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.mm-kopf { display: block; text-decoration: none; margin-bottom: 12px; }
.mm-bild { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stahl); margin-bottom: 12px; }
.mm-bild picture, .mm-bild img { height: 100%; object-fit: cover; transition: transform 0.5s; }
.mm-kopf:hover .mm-bild img { transform: scale(1.03); }
.mm-kopf strong { font-size: 17px; }
.mm-familie ul li a { display: flex; gap: 10px; padding: 4px 0; font-size: 15px; text-decoration: none; color: #3a3d40; }
.mm-familie ul li a:hover { color: var(--rot-text); }
.mm-familie .nr { width: 20px; flex: none; color: var(--grau); font-size: 12.5px; font-weight: 600; padding-top: 2px; font-variant-numeric: tabular-nums; }
.mm-haus { display: block; text-decoration: none; padding-left: 40px; border-left: 1px solid var(--linie); }
.mm-haus-bild { display: block; margin-bottom: 14px; }
.mm-haus strong { display: block; font-size: 17px; margin-bottom: 4px; }
.mm-haus > span:last-child { display: block; font-size: 14.5px; line-height: 1.45; color: var(--grau-text); }
.menue-innen-klein { display: grid; grid-template-columns: 360px 1fr; gap: 48px; padding: 32px var(--rand) 36px; max-width: calc(1320px + 2 * var(--rand)); margin: 0 auto; }
.mm-text { font-size: 17px; color: #3a3d40; margin: 0; }
.mm-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 0 40px; }
.mm-liste a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linie); text-decoration: none; font-weight: 500; }
.mm-liste .i { width: 16px; height: 16px; color: var(--grau); }

/* Mobilmenü */
.mobilmenue { position: fixed; inset: calc(var(--kopf-h)) 0 0 0; z-index: 49; background: #fff; overflow-y: auto; padding: 16px var(--rand) 40px; border-top: 1px solid var(--linie); }
.mobil-offen { overflow: hidden; }
.mobil-haupt > li { border-bottom: 1px solid var(--linie); }
.mobil-haupt > li > a { display: block; padding: 14px 0; font-size: 19px; font-weight: 600; text-decoration: none; }
.mobil-gruppe { margin: 16px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grau-text); }
.mobil-haupt ul { padding-bottom: 12px; }
.mobil-haupt ul a { display: block; padding: 8px 0; font-size: 17px; text-decoration: none; }
.mobil-fuss { display: grid; gap: 12px; margin-top: 28px; }
.mobil-fuss a { display: flex; gap: 10px; align-items: center; font-weight: 600; text-decoration: none; }

/* Seitenkopf der Unterseiten */
.kopfbereich { padding: 28px 0 72px; }
.krumen ol { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--grau-text); margin-bottom: 40px; }
.krumen li + li::before { content: '/'; margin-right: 10px; color: #b3b5b8; }
.krumen a { text-decoration: none; }
.krumen a:hover { text-decoration: underline; }
.kopfbereich-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; }
.kopfbereich-text { grid-column: 1 / span 6; padding-bottom: 6px; }
.kopfbereich-ohne .kopfbereich-text { grid-column: 1 / span 9; max-width: 900px; }
.kopfbereich-text h1 { margin-bottom: 24px; }
.kopfbereich-rechts { grid-column: 8 / span 5; }
.kopfbereich-bild { aspect-ratio: 4 / 3; overflow: hidden; background: var(--stahl); }
.kopfbereich-bild picture, .kopfbereich-bild img { height: 100%; object-fit: cover; }
.fehlerseite { padding-block: 80px 120px; }

/* Inhaltsseite mit Unternavigation */
.seite { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); padding-bottom: 112px; }
.unternav-innen { position: sticky; top: calc(var(--kopf-h) + 28px); border-top: 2px solid var(--tinte); padding-top: 18px; }
.unternav-titel { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grau-text); }
.unternav-titel a { text-decoration: none; }
.unternav-seiten { margin-bottom: 28px; }
.unternav-seiten a { display: block; padding: 7px 0 7px 14px; margin-left: -14px; border-left: 2px solid transparent; font-size: 15.5px; text-decoration: none; color: #3a3d40; }
.unternav-seiten a[aria-current] { border-left-color: var(--rot); color: var(--tinte); font-weight: 600; }
.unternav-anker a { display: flex; gap: 10px; padding: 5px 0; font-size: 14.5px; text-decoration: none; color: var(--grau-text); }
.unternav-anker a.aktiv, .unternav-anker a:hover { color: var(--tinte); }
.unternav-anker a.aktiv .nr { background: var(--rot); border-color: var(--rot); color: #fff; }
.nr { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border: 1px solid #b9bbbd; border-radius: 11px; font-size: 11.5px; font-weight: 600; line-height: 1; color: var(--grau-text); font-variant-numeric: tabular-nums; flex: none; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.teil + .teil { margin-top: 72px; padding-top: 64px; border-top: 1px solid var(--linie); }
.teil > h2 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 32px; max-width: 820px; }
.teil p, .teil li { max-width: 760px; }
.zwei-spalten { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.zwei-spalten + .datenblatt, .skizze-rahmen + .datenblatt { margin-top: 32px; }

/* Datenblatt */
.datenblatt { margin: 0; border-bottom: 1px solid var(--linie); }
.datenblatt > div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: 20px; padding: 12px 0; border-top: 1px solid var(--linie); }
.datenblatt dt { font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grau-text); padding-top: 3px; }
.datenblatt dd { margin: 0; font-size: 17px; line-height: 1.45; }
.datenblatt .db-titel { border-top: 2px solid var(--tinte); }
.datenblatt .db-titel dt { color: var(--tinte); }
.klaeren { margin: 28px 0 28px; }
.klaeren > div { grid-template-columns: 34px 1fr; }
.klaeren > div.db-titel { grid-template-columns: 1fr; }
.klaeren dt { letter-spacing: 0.05em; }
.dunkel .datenblatt, .dunkel .datenblatt > div { border-color: rgba(255, 255, 255, 0.16); }

/* Abschnitte */
.abschnitt { padding-block: clamp(72px, 9vw, 128px); }
.abschnitt-eng { padding-block: 24px 72px; }
.hell { background: var(--stahl); }
.dunkel { background: var(--graphit); color: #e7e8e9; }
.dunkel a:hover { color: #fff; }
.dunkel .lead { color: #c9cbcd; }
.dunkel .pfeil-link { border-color: rgba(255, 255, 255, 0.3); }
.dunkel .pfeil-link:hover { border-color: var(--rot-hell); }
.abschnitt-kopf { max-width: 820px; margin-bottom: 56px; }
.abschnitt-kopf-breit { max-width: 1000px; }
.abschnitt-kopf h2 + .lead { margin-top: 24px; }

/* Startseite: Einstieg */
.einstieg { padding-top: clamp(40px, 6vw, 80px); }
.einstieg-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; }
.einstieg-text { grid-column: 1 / span 7; }
.einstieg-text h1 { font-size: clamp(40px, 4.3vw, 60px); line-height: 1.07; }
.einstieg .einstieg-raster { align-items: end; }
.einstieg-lead { grid-column: 9 / span 4; font-size: 18.5px; margin: 0; padding-bottom: 8px; }
.eckdaten { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 40px 0 0; border-top: 2px solid var(--tinte); }
.eckdaten > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 18px 20px 0 0; }
.eckdaten > div + div { padding-left: 20px; border-left: 1px solid var(--linie); }
.eckdaten dd { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.eckdaten dt { font-size: 14px; color: var(--grau-text); }
.echt.einstieg-foto { margin: clamp(40px, 4.5vw, 64px) auto 0; }
.echt { margin: 0; }
.echt picture { margin-inline: auto; }
.echt figcaption, figure > figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--grau-text); }
.einstieg-foto figcaption { display: flex; gap: 12px; align-items: baseline; max-width: 1320px; }
.einstieg-foto figcaption::before { content: ''; width: 22px; height: 2px; background: var(--rot); flex: none; transform: translateY(-4px); }

/* Hauszeichnung */
.hz { width: 100%; height: auto; overflow: hidden; }
.hz * { vector-effect: non-scaling-stroke; }
.hz-grund { fill: none; stroke: #b8babc; stroke-width: 1.2; }
.hz-grund .hz-boden { stroke: #6f7275; stroke-width: 1.8; }
.hz-grund .hz-erde { stroke: #d4d5d6; stroke-width: 1; }
.hz-grund .hz-schnitt { stroke: #74777a; stroke-width: 1.2; }
.hz-grund .hz-schnittlinie { stroke: #a3a6a8; stroke-dasharray: 12 4 2 4; }
.hz-schraffur { stroke: #a9abad; stroke-width: 1; fill: none; }
.hz-teil { fill: none; stroke: #2b2e31; stroke-width: 1.5; transition: stroke 0.2s; }
.hz-teil .hz-holm { stroke-width: 2.4; }
.hz-teil .hz-pfosten, .hz-teil .hz-stark { stroke-width: 2.2; }
.hz-teil .hz-glas, .hz-teil .hz-dach { fill: var(--glas); }
.hz-teil circle { fill: #fff; }
.hz-teil.an { stroke: var(--rot); }
.hat-auswahl .hz-teil:not(.an) { stroke: #a6a9ac; }
.hz-marke { cursor: pointer; }
.hz-marke circle { fill: #fff; stroke: var(--rot); stroke-width: 1.6; transition: fill 0.2s; }
.hz-marke text { font: 600 14px var(--schrift); fill: var(--rot-text); }
.hz-marke.an circle, .hz-marke:hover circle, .hz-marke:focus-visible circle { fill: var(--rot); }
.hz-marke.an text, .hz-marke:hover text, .hz-marke:focus-visible text { fill: #fff; }
.hz-marke:focus-visible { outline: none; }
.hz-ausschnitt .hz-teil { stroke: #a9acaf; }
.hz-ausschnitt .hz-teil.fokus { stroke: var(--rot); stroke-width: 1.8; }
.hz-ausschnitt .hz-teil.fokus .hz-glas, .hz-ausschnitt .hz-teil.fokus .hz-dach { fill: rgba(225, 10, 23, 0.07); }

.hx-zeichnung { margin: 0 0 40px; }
.hx-scroll { overflow-x: auto; padding: 8px 0; }
.hx-zeichnung figcaption { max-width: 820px; }
.hx-wisch { display: none; }
.hx-seite { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; border-top: 1px solid var(--linie); padding-top: 32px; }
.hx-vorschau { position: relative; aspect-ratio: 4 / 3; background: var(--stahl); overflow: hidden; }
.hx-bild { position: absolute; inset: 0; animation: bild-auf 0.35s ease-out; }
.hx-bild[hidden] { display: none; }
.hx-bild picture, .hx-bild img { height: 100%; object-fit: cover; }
@keyframes bild-auf { from { opacity: 0.4; } to { opacity: 1; } }
.hx-listen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.hx-familie h3 { font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.hx-familie h3 a { text-decoration: none; color: var(--grau-text); }
.hx-familie h3 a:hover { color: var(--rot-text); }
.hx-familie ol a { display: flex; gap: 10px; align-items: center; padding: 5px 0; font-size: 15.5px; line-height: 1.3; text-decoration: none; }
.hx-familie ol a.an { color: var(--rot-text); }
.hx-familie ol a.an .nr, .hx-familie ol a:hover .nr { background: var(--rot); border-color: var(--rot); color: #fff; }
.hx-seite:has(+ *) { margin-bottom: 0; }
.produkte-ohne-vorschau .hx-seite, .hx:not(:has(.hx-vorschau)) .hx-seite { grid-template-columns: 1fr; }

/* Auftragsweg */
.ablauf { position: relative; }
.ablauf-bogen { width: 100%; height: 90px; overflow: visible; margin-bottom: -6px; }
.ablauf-bogen path { fill: none; stroke: var(--rot); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.bewegt .ablauf-bogen path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s cubic-bezier(0.45, 0, 0.2, 1) 0.2s; }
.bewegt .ablauf.drin .ablauf-bogen path { stroke-dashoffset: 0; }
.ablauf-liste { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.ablauf-liste li { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 22px; }
.ablauf-liste li::before { content: ''; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--graphit); border: 2px solid var(--rot); }
.ablauf-nr { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; color: var(--rot-hell); margin-bottom: 10px; }
.ablauf-liste h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.ablauf-liste p { font-size: 15.5px; line-height: 1.55; color: #c3c6c9; }
.ablauf-beleg { margin-top: 14px; font-size: 12px !important; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #9a9ea2 !important; }
.norm-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(72px, 8vw, 112px); }
.norm-bild { aspect-ratio: 3 / 2; overflow: hidden; }
.norm-bild picture, .norm-bild img { height: 100%; object-fit: cover; }
.norm-zeile { font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rot-hell); margin-bottom: 14px; }
.norm-text h3 { font-size: clamp(28px, 2.6vw, 38px); color: #fff; margin-bottom: 20px; }
.norm-text p { color: #c9cbcd; max-width: 560px; }
.norm-text .pfeil-link { margin-top: 8px; color: #fff; }
.norm-kasten { margin-top: 72px; padding: 28px 32px; background: var(--stahl); border-left: 3px solid var(--rot); max-width: 860px; }
.norm-kasten .norm-zeile { color: var(--rot-text); }
.norm-kasten p { font-size: 17px; }

/* Zuschnitt und Kran */
.maschinen-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); }
.maschine-bild { display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 26px; background: var(--stahl-2); }
.maschine-bild picture, .maschine-bild img { height: 100%; object-fit: cover; transition: transform 0.6s; }
.maschine-bild:hover img { transform: scale(1.025); }
.maschine h3 { font-size: 26px; margin-bottom: 12px; }
.maschine h3 a { text-decoration: none; }
.maschine > p { color: #3a3d40; max-width: 560px; }
.maschine .datenblatt { margin: 22px 0 26px; }

/* Geschichte */
.geschichte-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end; margin-bottom: 40px; }
.geschichte-raster .abschnitt-kopf { grid-column: 1 / span 7; margin-bottom: 0; }
.geschichte-text { grid-column: 8 / span 5; }
.zeitstrahl-rahmen { overflow-x: auto; }
.zeitstrahl { width: 100%; min-width: 680px; height: auto; }
.zs-achse { stroke: #9a9c9e; stroke-width: 1.4; }
.zs-bogen { fill: none; stroke: var(--rot); stroke-width: 3; stroke-linecap: round; }
.bewegt .zs-bogen { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(0.45, 0, 0.2, 1) 0.3s; }
.bewegt .zeitstrahl-rahmen.drin .zs-bogen { stroke-dashoffset: 0; }
.zs-marke circle { fill: #fff; stroke: var(--tinte); stroke-width: 2; }
.zs-heute circle { fill: var(--grau); stroke: none; }
.zeitstrahl text { font-family: var(--schrift); font-size: 15px; fill: var(--grau-text); }
.zeitstrahl .zs-jahr { font-size: 24px; font-weight: 600; fill: var(--tinte); letter-spacing: -0.01em; }
.zeitstrahl .zs-notiz { font-style: italic; font-size: 15px; }
.zeitstrahl .zs-titel { font-weight: 600; fill: var(--tinte); }

/* Karriere und Standort auf der Startseite */
.abschluss-start { border-top: 1px solid var(--linie); }
.abschluss-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); }
.abschluss-raster h2 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 20px; }
.abschluss-raster address { margin-bottom: 20px; }
.kontaktliste { margin: 0 0 24px; }
.kontaktliste li a, .kontaktliste .ohne-link { display: inline-flex; align-items: center; gap: 12px; padding: 5px 0; text-decoration: none; font-weight: 500; }
.kontaktliste .i { color: var(--grau); }
.kontaktliste-gross a, .kontaktliste-gross .ohne-link { font-size: 21px; }

/* Schlussblock */
.schluss { background: var(--graphit); color: #e7e8e9; padding-block: clamp(64px, 8vw, 104px); }
.schluss-raster { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.schluss h2 { color: #fff; margin-bottom: 18px; max-width: 18ch; }
.schluss p { color: #c9cbcd; max-width: 560px; }
.schluss .etikett { color: #b9bcbf; }
.schluss-wege { border-left: 1px solid rgba(255, 255, 255, 0.2); padding-left: 40px; }
.schluss-wege p { margin-bottom: 6px; }
.schluss-wege a { color: #fff; text-decoration: none; }
.schluss-person strong { display: block; color: #fff; font-size: 19px; }
.schluss-person span { font-size: 14px; color: #a7aaad; }
.schluss-person { margin-bottom: 18px !important; }
.schluss-tel { font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.01em; }
.schluss .knopf { margin-top: 22px; }

/* Produktseiten */
.familien .familie { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: 56px; border-top: 1px solid var(--linie); }
.familien .familie:first-child { border-top: 0; padding-top: 0; }
.familie-gedreht .familie-bild { order: 2; }
.familie-bild { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stahl-2); }
.familie-bild picture, .familie-bild img { height: 100%; object-fit: cover; transition: transform 0.6s; }
.familie-bild:hover img { transform: scale(1.025); }
.familie-nr { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; color: var(--rot-text); margin-bottom: 10px; }
.familie-text h2 { font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 18px; }
.familie-text h2 a { text-decoration: none; }
.familie-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; margin: 22px 0 26px; }
.familie-liste a { display: flex; gap: 10px; align-items: center; padding: 5px 0; font-size: 15.5px; text-decoration: none; }
.familie-liste a:hover .nr { background: var(--rot); border-color: var(--rot); color: #fff; }

.produkt + .produkt { margin-top: 72px; padding-top: 64px; border-top: 1px solid var(--linie); }
.produkt-kopf { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; }
.produkt-nr { font-size: 15px; font-weight: 600; letter-spacing: 0.16em; color: var(--rot-text); font-variant-numeric: tabular-nums; }
.produkt-kopf h2 { font-size: clamp(28px, 2.6vw, 38px); }
.produkt-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'text bild' 'zeichnung bild'; gap: 32px clamp(32px, 4vw, 56px); align-items: start; }
.produkt-text { grid-area: text; }
.produkt-bild { grid-area: bild; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stahl-2); }
.produkt-bild picture, .produkt-bild img { height: 100%; object-fit: cover; }
.produkt-zeichnung { grid-area: zeichnung; margin: 0; padding: 18px 20px 14px; border: 1px solid var(--linie); background: #fafaf8; }
.produkt-zeichnung .hz { max-height: 240px; }
.produkt-zeichnung figcaption { margin-top: 10px; font-size: 13.5px; }
.produkt-ohne-bild { grid-template-areas: 'text zeichnung'; }
.produkt-ohne-bild .produkt-zeichnung .hz { max-height: 340px; }

/* Fertigung */
.foto-breit { margin-bottom: 40px; }
.weg-liste li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--linie); }
.weg-liste li:last-child { border-bottom: 1px solid var(--linie); }
.weg-nr { font-size: 15px; font-weight: 600; letter-spacing: 0.16em; color: var(--rot-text); padding-top: 4px; }
.weg-liste h3 { margin-bottom: 6px; }
.unterlagen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; }
.unterlagen > div { padding: 22px 0; border-top: 1px solid var(--linie); }
.unterlagen dt { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.unterlagen dd { margin: 0; font-size: 16.5px; color: #3a3d40; }
.hinweise li { padding: 16px 0; border-top: 1px solid var(--linie); font-size: 17px; }
.hinweise li:last-child { border-bottom: 1px solid var(--linie); }
.weiter { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 40px; }
.punkte li { position: relative; padding: 4px 0 4px 26px; }
.punkte li::before { content: ''; position: absolute; left: 0; top: 0.95em; width: 14px; height: 1.5px; background: var(--rot); }
.bild-klein { aspect-ratio: 3 / 2; overflow: hidden; }
.bild-klein picture, .bild-klein img { height: 100%; object-fit: cover; }
.bauteile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bauteile a { display: block; padding: 22px 20px; border: 1px solid var(--linie); text-decoration: none; font-weight: 600; font-size: 18px; transition: border-color 0.2s; }
.bauteile a:hover { border-color: var(--rot); }

/* Skizzen */
.skizze-rahmen { margin: 0; padding: 28px; border: 1px solid var(--linie); background: #fafaf8; overflow-x: auto; }
.skizze { width: 100%; min-width: 560px; height: auto; }
.skizze text { font-family: var(--schrift); font-size: 15px; fill: var(--grau-text); stroke: none; }
.skizze .sk-zahl { font-size: 19px; font-weight: 600; fill: var(--tinte); }
.sk-linie { fill: none; stroke: #2b2e31; stroke-width: 1.6; stroke-linejoin: round; }
.sk-linie .sk-voll { fill: #2b2e31; }
.sk-linie .sk-voll-hell { fill: #e4e5e6; }
.sk-linie .sk-glas { fill: var(--glas); }
.sk-linie .sk-seil { stroke-width: 1; }
.sk-linie .sk-boden, .format-skizze .sk-boden { stroke: #74777a; stroke-width: 2; }
.sk-linie .sk-tuer { stroke: #8d9093; stroke-dasharray: 7 5; }
.sk-mass { fill: none; stroke: var(--rot); stroke-width: 1.2; }
.sk-tisch { fill: #f1f1ee; stroke: #2b2e31; stroke-width: 1.6; }
.sk-raster { stroke: #d6d7d8; stroke-width: 1; }
.sk-kontur { fill: none; stroke: var(--rot); stroke-width: 1.5; }

/* Unternehmen */
.chronik { margin-top: 40px; }
.chronik li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-top: 1px solid var(--linie); }
.chronik-jahr { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.chronik h3 { margin-bottom: 4px; }
.familien-kurz { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.familien-kurz a { display: block; text-decoration: none; }
.fk-bild { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 12px; background: var(--stahl-2); }
.fk-bild picture, .fk-bild img { height: 100%; object-fit: cover; transition: transform 0.5s; }
.familien-kurz a:hover img { transform: scale(1.03); }
.familien-kurz strong { display: block; font-size: 17px; }
.familien-kurz span:last-child { display: block; font-size: 14.5px; color: var(--grau-text); line-height: 1.45; margin-top: 4px; }
.berufe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.beruf { border-top: 2px solid var(--tinte); padding-top: 18px; }
.beruf h3 { font-size: 19px; margin-bottom: 12px; }
.beruf .punkte li { font-size: 16px; }
.hinweis-klein { margin-top: 32px; font-size: 16px; color: var(--grau-text); }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.person { margin-bottom: 28px; }
.person-name { font-size: 30px; font-weight: 600; letter-spacing: -0.015em; margin: 0; line-height: 1.2; }
.person-rolle { color: var(--grau-text); }
.kontakt-wege address { padding-top: 20px; border-top: 1px solid var(--linie); }
.formular { background: var(--stahl); padding: clamp(24px, 3vw, 40px); }
.formular h2 { font-size: 30px; margin-bottom: 10px; }
.formular-hinweis { font-size: 14.5px; color: var(--grau-text); }
.felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin: 24px 0 18px; }
.felder label { display: grid; gap: 6px; }
.felder label > span { font-size: 14px; font-weight: 600; }
.feld-breit { grid-column: 1 / -1; }
input, select, textarea { width: 100%; padding: 12px 14px; font: 17px/1.4 var(--schrift); color: var(--tinte); background: #fff; border: 1px solid #b4b7b9; border-radius: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--rot); outline-offset: 0; border-color: var(--rot); }
textarea { resize: vertical; }
.formular .knopf { margin-top: 8px; }
.formular-meldung { margin-top: 18px; padding: 16px; background: #fff; border-left: 3px solid var(--rot); font-size: 15.5px; }
.meldung-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.anfahrt-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.anfahrt h2 { margin-bottom: 20px; }
.anfahrt address { margin: 20px 0; font-size: 19px; }
.karten-links { display: flex; flex-wrap: wrap; gap: 24px; }
.karten-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--linie); padding-bottom: 2px; }
.karten-links .i { width: 16px; height: 16px; }

/* Rechtliches */
.recht { max-width: 820px; }
.recht h2 { font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 12px; }
.recht p { font-size: 17px; }
.recht-unter { font-size: 20px !important; color: var(--grau-text); }
.entwurf-kasten { padding: 24px 28px; margin-bottom: 40px; border: 1px solid var(--rot); background: #fff6f6; }
.entwurf-kasten h2 { margin-top: 0; font-size: 18px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--rot-text); }

/* Fuß */
.fuss { background: #1b1d1f; color: #c6c8ca; padding: 80px 0 32px; font-size: 15.5px; }
.fuss a { color: #e4e5e6; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-oben { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; padding-bottom: 56px; }
.fuss .logo { height: 76px; width: auto; margin-bottom: 28px; }
.fuss address { margin-bottom: 16px; line-height: 1.6; }
.fuss-sitemap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.fuss-spalte h2 { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #8d9094; margin-bottom: 16px; }
.fuss-spalte li { padding: 4px 0; }
.fuss-mitte { border-top: 1px solid #33363a; padding: 20px 0; font-size: 14px; color: #a4a7aa; }
.fuss-mitte p { margin: 0; }
.fuss-unten { display: flex; flex-wrap: wrap; gap: 10px 24px; border-top: 1px solid #33363a; padding-top: 20px; font-size: 13.5px; }
.fuss-hinweis { flex-basis: 100%; margin: 8px 0 0; color: #8d9094; }

/* Ruhiges Einblenden */
.rein-bereit [data-rein]:not(.drin) { opacity: 0; transform: translateY(14px); }
.rein-bereit [data-rein].drin { transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1); }
.rein-1 { transition-delay: 0.07s !important; }
.rein-2 { transition-delay: 0.14s !important; }
.rein-3 { transition-delay: 0.21s !important; }
.rein-4 { transition-delay: 0.28s !important; }
.rein-5 { transition-delay: 0.35s !important; }

/* Rechner mittlerer Größe */
@media (max-width: 1240px) {
  .nav-liste > li > a { padding-inline: 9px; font-size: 16px; }
  .servicezeile p { display: none; }
  .servicezeile-innen { justify-content: flex-end; }
  .hx-seite { grid-template-columns: 1fr; }
  .hx-vorschau { display: none; }
}

/* Tablet und kleiner: Burger statt Navigation */
@media (max-width: 1100px) {
  :root { --kopf-h: 72px; }
  .servicezeile { display: none; }
  .nav, .kopf .entwurf-etikett { display: none; }
  .kopf .logo { height: 50px; }
  .kopf-telefon { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; color: var(--tinte); }
  .burger { display: grid; place-content: center; gap: 7px; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
  .burger i { display: block; width: 24px; height: 2px; background: var(--tinte); transition: transform 0.2s; }
  .burger[aria-expanded='true'] i:first-child { transform: translateY(4.5px) rotate(45deg); }
  .burger[aria-expanded='true'] i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .einstieg-text, .einstieg-lead { grid-column: 1 / -1; }
  .einstieg-lead { max-width: 640px; }
  .eckdaten { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .eckdaten > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .kopfbereich-text, .kopfbereich-ohne .kopfbereich-text { grid-column: 1 / -1; }
  .kopfbereich-rechts { grid-column: 1 / -1; }
  .seite { grid-template-columns: minmax(0, 1fr); }
  .unternav { display: none; }
  .ablauf-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .ablauf-bogen { display: none; }
  .ablauf-liste li::before { left: 0; margin-left: 0; }
  .hx-listen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .geschichte-raster .abschnitt-kopf, .geschichte-text { grid-column: 1 / -1; }
  .fuss-oben { grid-template-columns: 1fr; }
  .berufe { grid-template-columns: 1fr; }
  .familien-kurz { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bauteile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Handy */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .lead { font-size: 18.5px; }
  .hx-scroll .hz { min-width: 980px; }
  .hx-wisch { display: inline; }
  .hx-listen { grid-template-columns: 1fr; gap: 24px; }
  .ablauf-liste, .maschinen-raster, .norm-band, .abschluss-raster, .schluss-raster, .zwei-spalten, .kontakt-raster, .anfahrt-raster, .unterlagen { grid-template-columns: 1fr; }
  .familien .familie { grid-template-columns: 1fr; padding-block: 40px; }
  .familie-gedreht .familie-bild { order: 0; }
  .familie-liste { grid-template-columns: 1fr; }
  .produkt-raster, .produkt-ohne-bild { grid-template-columns: 1fr; grid-template-areas: 'text' 'bild' 'zeichnung'; }
  .produkt-bild { aspect-ratio: 4 / 3; }
  .schluss-wege { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 28px; }
  .fuss-sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .felder { grid-template-columns: 1fr; }
  .datenblatt > div { grid-template-columns: 1fr; gap: 2px; }
  .klaeren > div { grid-template-columns: 30px 1fr; gap: 10px; }
  .chronik li, .weg-liste li { grid-template-columns: 1fr; gap: 6px; }
  .eckdaten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eckdaten > div:nth-child(4) { padding-left: 20px; border-left: 1px solid var(--linie); }
  .eckdaten > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .einstieg-foto picture { aspect-ratio: 4 / 3; }
  .einstieg-foto picture img { height: 100%; object-fit: cover; object-position: 62% 50%; }
  .skizze { min-width: 620px; }
  .skizze-rahmen { padding: 16px; }
  .familien-kurz, .bauteile { grid-template-columns: 1fr; }
  .mm-liste { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
