/* Metallbau Dreißigacker – metallbau-dreissigacker.de. Webdesign: IT-Jäger.
   Farben aus dem Logo: Signalrot, Logoblau, Stahlgrau. Ohne Bibliotheken, ohne externe Schriften, ohne Tracking. */

:root {
    --rot: #e2001a;
    --rot-dunkel: #b50015;
    --rot-hell: #ff3348;
    --blau: #003a85;
    --blau-hell: #9cc0ff;
    --stahl-950: #0a0d12;
    --stahl-900: #0f141b;
    --stahl-800: #171e27;
    --stahl-700: #252e3a;
    --stahl-500: #5f6874;
    --stahl-400: #8a929d;
    --stahl-300: #b4bac2;
    --stahl-200: #d7dbe0;
    --stahl-100: #eceef1;
    --stahl-50: #f6f7f9;
    --text: #141a22;
    --text-leise: #525b67;
    --linie: #dfe3e8;
    --schatten: 0 1px 2px rgba(10, 13, 18, .06), 0 12px 32px -12px rgba(10, 13, 18, .22);
    --schatten-gross: 0 30px 70px -25px rgba(10, 13, 18, .45);
    --kurve: cubic-bezier(.2, .8, .2, 1);
    --schrift: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
    --schrift-titel: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
    --kopf-hoehe: 100px;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 17px/1.65 var(--schrift); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blau); }
h1, h2, h3 { font-family: var(--schrift-titel); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--rot); color: #fff; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 6px; }

.breite { width: min(1240px, 100% - 40px); margin-inline: auto; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--rot); color: #fff; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.sprung:focus { top: 12px; }
.rot-text { color: var(--rot); }
.dunkel .rot-text { color: var(--rot-hell); }

/* Lesefortschritt oben */
.fortschritt { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--rot), var(--rot-hell)); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- Knöpfe ---------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.knopf { --bx: 0px; --by: 0px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 2px solid transparent; border-radius: 999px;
    font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
    transform: translate(var(--bx), var(--by)); transition: transform .25s var(--kurve), background .25s, color .25s, border-color .25s, box-shadow .25s; }
.knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--kurve); }
.knopf:hover svg { transform: translateX(3px); }
/* Glanz wie auf gebürstetem Metall, der über den Knopf läuft */
.knopf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--kurve); }
.knopf:hover::after { transform: translateX(120%); }
.knopf.rot { background: var(--rot); color: #fff; box-shadow: 0 10px 26px -10px rgba(226, 0, 26, .7); }
.knopf.rot:hover { background: var(--rot-dunkel); box-shadow: 0 16px 34px -12px rgba(226, 0, 26, .8); }
.knopf.weiss { background: #fff; color: var(--rot); }
.knopf.weiss:hover { background: var(--stahl-50); }
.knopf.glas { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.knopf.glas:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.knopf.linie { color: var(--text); border-color: var(--stahl-200); background: #fff; }
.knopf.linie:hover { border-color: var(--text); }
.knopf.gross { padding: 16px 28px; font-size: 17px; }
.knopf.klein { padding: 10px 18px; font-size: 15px; }

/* ---------- Kopf ---------- */
.kopf { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, backdrop-filter .35s; }
.kopf-innen { display: flex; align-items: center; gap: 22px; height: var(--kopf-hoehe); transition: height .35s var(--kurve); }
.marke { position: relative; display: block; width: 310px; flex: none; margin-right: auto; transition: width .35s var(--kurve); }
.marke img { width: 100%; transition: opacity .35s; }
.marke .marke-farbe { position: absolute; inset: 0; opacity: 0; }
.menue { display: flex; align-items: center; gap: 4px; }
.menue a { position: relative; white-space: nowrap; padding: 8px 12px; color: #fff; font-weight: 600; font-size: 15.5px; text-decoration: none; transition: color .25s; }
.menue a:not(.knopf)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--rot); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--kurve); }
.menue a:not(.knopf):hover::after, .menue a[aria-current]::after { transform: scaleX(1); }
.menue .nur-menue { display: none; }
/* Login zu Prüfmeister (app.metallbau-dreissigacker.de) für Mitarbeiter und Kunden: Schloss vor dem Wort */
.menue-login { display: inline-flex; align-items: center; gap: 6px; }
.menue-login svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kopf-tel { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .25s; }
.kopf-tel svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--rot); fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.menue-knopf { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); cursor: pointer; }
.menue-knopf span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--kurve), opacity .2s, top .3s var(--kurve), background .3s; }
.menue-knopf span:nth-child(1) { top: 16px; }
.menue-knopf span:nth-child(2) { top: 22px; }
.menue-knopf span:nth-child(3) { top: 28px; }
.menue-knopf[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menue-knopf[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menue-knopf[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.kopf.gescrollt { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 var(--linie), 0 10px 30px -18px rgba(10, 13, 18, .35); }
.kopf.gescrollt .kopf-innen { height: 80px; }
.kopf.gescrollt .marke { width: 260px; }
.kopf.gescrollt .marke-hell { opacity: 0; }
.kopf.gescrollt .marke-farbe { opacity: 1; }
.kopf.gescrollt .menue a:not(.knopf), .kopf.gescrollt .kopf-tel { color: var(--text); }
.kopf.gescrollt .menue-knopf { background: var(--stahl-100); }
.kopf.gescrollt .menue-knopf span { background: var(--text); }
/* Unterseiten ohne dunklen Start: Kopf immer hell */
.kopf.fest { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linie); }

/* ---------- Start ---------- */
.held { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; background: var(--stahl-950); color: #fff; isolation: isolate; }
.held-bild { position: absolute; inset: -8% 0 0; z-index: -3; will-change: transform; }
.held-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: heranfahren 18s var(--kurve) both; }
.held::before { content: ""; position: absolute; inset: 0; z-index: -2;
    background: linear-gradient(100deg, rgba(10, 13, 18, .94) 0%, rgba(10, 13, 18, .82) 38%, rgba(10, 13, 18, .35) 75%, rgba(10, 13, 18, .55) 100%),
                linear-gradient(0deg, rgba(10, 13, 18, .9) 0%, transparent 35%); }
.held-raster { position: absolute; inset: 0; z-index: -1; opacity: .18; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .25) 1px, transparent 1px);
    background-size: 64px 64px; mask-image: radial-gradient(ellipse at 20% 50%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 20% 50%, #000 0%, transparent 65%); }
.funken { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.held-inhalt { padding: calc(var(--kopf-hoehe) + 50px) 0 120px; max-width: 1240px; }
.held-inhalt > * { max-width: 780px; }
.held-ueber { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 16px 7px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(6px); font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--stahl-200); animation: aufsteigen .9s .1s var(--kurve) both; }
.punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--rot); box-shadow: 0 0 0 0 rgba(226, 0, 26, .7); animation: pulsieren 2s infinite; }
.held-titel { font-size: clamp(38px, 6.2vw, 78px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; }
.held-titel em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--rot-hell), var(--rot) 60%, #ff6a3d); -webkit-background-clip: text; background-clip: text; }
.held-titel em .wort { background: linear-gradient(100deg, var(--rot-hell), var(--rot) 70%, #ff6a3d); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.held-titel .wort { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); animation: wort .9s var(--kurve) forwards; animation-delay: calc(.25s + var(--i) * .06s); }
.held-text { margin-top: 26px; font-size: clamp(17px, 1.6vw, 20px); color: var(--stahl-200); max-width: 640px; animation: aufsteigen .9s .7s var(--kurve) both; }
.held .knoepfe { animation: aufsteigen .9s .85s var(--kurve) both; }
.held-vorteile { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: var(--stahl-200); animation: aufsteigen .9s 1s var(--kurve) both; }
.held-vorteile li { display: flex; align-items: center; gap: 8px; }
.held-vorteile svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(226, 0, 26, .9); fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.held-weiter { position: absolute; left: 50%; bottom: 28px; width: 28px; height: 46px; margin-left: -14px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 16px; }
.held-weiter span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: mausrad 1.8s infinite; }

/* ---------- Laufband ---------- */
.laufband { position: relative; overflow: hidden; padding: 20px 0; background: var(--rot); color: #fff; transform: skewY(-1.2deg); margin: -14px 0 -10px; z-index: 2; box-shadow: 0 20px 40px -20px rgba(226, 0, 26, .6); }
.laufband-spur { display: flex; width: max-content; animation: laufen 40s linear infinite; }
.laufband span { display: flex; align-items: center; gap: 28px; padding-right: 28px; font: 800 clamp(20px, 2.4vw, 28px)/1 var(--schrift-titel); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.laufband span::after { content: ""; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); opacity: .8; }
.laufband:hover .laufband-spur { animation-play-state: paused; }

/* ---------- Abschnitte ---------- */
.abschnitt { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.abschnitt.hell { background: var(--stahl-50); }
.abschnitt.dunkel { background: var(--stahl-900); color: #fff; overflow: hidden; isolation: isolate; }
.ueber { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; color: var(--rot); font-size: 14px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ueber span { display: grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px; border-radius: 6px; background: var(--text); color: #fff; font-size: 12.5px; letter-spacing: .05em; }
.dunkel .ueber { color: var(--rot-hell); }
.dunkel .ueber span { background: #fff; color: var(--text); }
.titel { font-size: clamp(30px, 4.3vw, 52px); font-weight: 800; max-width: 920px; text-wrap: balance; }
.titel .rot-text { display: block; }
.unter { max-width: 760px; margin-top: 22px; font-size: 18.5px; color: var(--text-leise); }
.dunkel .unter { color: var(--stahl-300); }

/* Erscheinen beim Scrollen */
.js .enthuellen { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--kurve), transform .9s var(--kurve); transition-delay: var(--verz, 0s); }
.js .enthuellen.sichtbar { opacity: 1; transform: none; }

/* ---------- Leistungen ---------- */
.leistungen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 60px; }
.leistung { --x: 50%; --y: 50%; --rx: 0deg; --ry: 0deg; position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--linie);
    box-shadow: var(--schatten); transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--kurve), box-shadow .4s; }
.js .leistung.enthuellen.sichtbar { transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); }
.leistung:hover { box-shadow: var(--schatten-gross); }
.leistung::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(420px circle at var(--x) var(--y), rgba(226, 0, 26, .1), transparent 60%); }
.leistung:hover::after { opacity: 1; }
.leistung-bild { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--stahl-100); }
.leistung-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--kurve); }
.leistung-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 13, 18, .45), transparent 55%); }
.leistung:hover .leistung-bild img { transform: scale(1.07); }
.leistung-text { position: relative; padding: 30px 32px 32px; }
.leistung-nr { position: absolute; right: 26px; top: -34px; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--rot); color: #fff;
    font: 800 22px/1 var(--schrift-titel); box-shadow: 0 14px 30px -12px rgba(226, 0, 26, .8); transition: transform .5s var(--kurve); }
.leistung:hover .leistung-nr { transform: rotate(-8deg) scale(1.06); }
.leistung h3 { font-size: 25px; font-weight: 800; margin-bottom: 10px; }
.leistung p { color: var(--text-leise); }
.marken { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 20px; padding: 0; list-style: none; }
.marken li { padding: 5px 12px; border-radius: 999px; background: var(--stahl-100); color: var(--blau); font-size: 13.5px; font-weight: 700; }
.pfeil-link { display: inline-flex; align-items: center; gap: 8px; color: var(--rot); font-weight: 800; text-decoration: none; }
.pfeil-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--kurve); }
.pfeil-link:hover svg { transform: translateX(5px); }

.dienste { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.dienst { position: relative; padding: 28px 24px; border-radius: 20px; background: var(--stahl-50); border: 1px solid var(--linie); overflow: hidden; transition: background .35s, transform .35s var(--kurve), border-color .35s; }
.dienst::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--rot); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .4s var(--kurve); }
.dienst:hover { background: #fff; transform: translateY(-4px); border-color: var(--stahl-200); }
.dienst:hover::before { transform: scaleY(1); }
.dienst svg { width: 46px; height: 46px; margin-bottom: 16px; fill: none; stroke: var(--blau); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, transform .5s var(--kurve); }
.dienst:hover svg { stroke: var(--rot); transform: rotate(-10deg); }
.dienst h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.dienst p { margin: 0; font-size: 15.5px; color: var(--text-leise); }

/* ---------- Warum wir (dunkel) ---------- */
.stahl-glanz { position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 5px),
                radial-gradient(900px 500px at 85% 0%, rgba(0, 58, 133, .45), transparent 60%),
                radial-gradient(700px 500px at 0% 100%, rgba(226, 0, 26, .2), transparent 60%); }
.gruende { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 60px; }
.grund, .werkstoff { --x: 50%; --y: 50%; position: relative; padding: 32px 26px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); overflow: hidden; transition: border-color .35s, transform .35s var(--kurve); }
.grund::before, .werkstoff::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(340px circle at var(--x) var(--y), rgba(255, 255, 255, .1), transparent 60%); }
.grund:hover, .werkstoff:hover { border-color: rgba(255, 255, 255, .28); transform: translateY(-4px); }
.grund:hover::before, .werkstoff:hover::before { opacity: 1; }
.grund-zahl { display: block; margin-bottom: 18px; font: 800 56px/1 var(--schrift-titel); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .45); transition: color .4s, -webkit-text-stroke-color .4s; }
.grund:hover .grund-zahl { color: var(--rot); -webkit-text-stroke-color: var(--rot); }
.grund h3, .werkstoff h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.grund p, .werkstoff p { margin: 0; color: var(--stahl-300); font-size: 15.5px; }
.werkstoffe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.werkstoff { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
.werkstoff h3, .werkstoff p { grid-column: 2; }
.werkstoff-kurz { grid-row: span 2; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 14px; color: var(--stahl-900); font: 800 26px/1 var(--schrift-titel);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 24px -10px rgba(0, 0, 0, .7); position: relative; overflow: hidden; }
.werkstoff-kurz::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s var(--kurve); }
.werkstoff:hover .werkstoff-kurz::after { transform: translateX(120%); }
.stahl .werkstoff-kurz { background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .05) 0 1px, transparent 1px 3px), linear-gradient(145deg, #9aa2ad, #5c6470); color: #fff; }
.edelstahl .werkstoff-kurz { background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .04) 0 1px, transparent 1px 3px), linear-gradient(145deg, #f4f6f8, #b5bcc5 60%, #e5e9ed); }
.alu .werkstoff-kurz { background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .04) 0 1px, transparent 1px 3px), linear-gradient(145deg, #e3e8ee, #c5ced8); }

/* ---------- Ablauf ---------- */
.ablauf { --fortschritt: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin: 70px 0 0; padding: 0; list-style: none; counter-reset: schritt; }
.ablauf::before, .ablauf::after { content: ""; position: absolute; left: 32px; right: 32px; top: 31px; height: 3px; border-radius: 3px; background: var(--stahl-100); }
.ablauf::after { background: linear-gradient(90deg, var(--rot), var(--rot-hell)); transform: scaleX(var(--fortschritt)); transform-origin: 0 50%; transition: transform .2s linear; }
.schritt { position: relative; z-index: 1; }
.schritt-punkt { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--stahl-200); color: var(--text);
    font: 800 24px/1 var(--schrift-titel); transition: background .5s, border-color .5s, color .5s, box-shadow .5s, transform .5s var(--kurve); }
.schritt.erreicht .schritt-punkt { background: var(--rot); border-color: var(--rot); color: #fff; box-shadow: 0 0 0 8px rgba(226, 0, 26, .12); transform: scale(1.05); }
.schritt h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.schritt p { margin: 0; color: var(--text-leise); font-size: 16px; }

/* ---------- Galerie (Konzept wie it-jaeger.support) ---------- */
.galerie { columns: 4 240px; column-gap: 16px; margin-top: 54px; }
.foto { position: relative; break-inside: avoid; margin: 0 0 16px; border-radius: 16px; overflow: hidden; background: var(--stahl-200); box-shadow: var(--schatten); }
.foto button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.foto img { width: 100%; height: auto; transition: transform .8s var(--kurve), filter .4s; }
.foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 40px 16px 14px; color: #fff; pointer-events: none;
    background: linear-gradient(0deg, rgba(10, 13, 18, .88), transparent); transform: translateY(14px); opacity: 0; transition: transform .4s var(--kurve), opacity .4s; }
.foto figcaption b { font-size: 15.5px; line-height: 1.3; }
.foto figcaption span { font-size: 13px; color: #ffb0b8; font-weight: 700; }
.foto::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--rot); pointer-events: none; transition: box-shadow .3s; }
.foto:hover img, .foto:focus-within img { transform: scale(1.06); }
.foto:hover figcaption, .foto:focus-within figcaption { transform: none; opacity: 1; }
.foto:hover::after, .foto:focus-within::after { box-shadow: inset 0 0 0 3px var(--rot); }
@media (hover: none) { .foto figcaption { transform: none; opacity: 1; padding-top: 28px; } }
.galerie-mehr { display: flex; justify-content: center; margin-top: 40px; }
.galerie-seite { margin-top: 26px; }
.galerie-seite .foto[hidden] { display: none; }

.filter { position: sticky; top: 86px; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 10px; margin: 0 -10px; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.filter button { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--linie); border-radius: 999px; background: #fff; font-weight: 700; font-size: 15px; cursor: pointer;
    box-shadow: 0 4px 14px -8px rgba(10, 13, 18, .3); transition: background .25s, color .25s, border-color .25s; }
.filter button span { display: grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--stahl-100); font-size: 12.5px; }
.filter button:hover { border-color: var(--text); }
.filter button[aria-pressed="true"] { background: var(--text); color: #fff; border-color: var(--text); }
.filter button[aria-pressed="true"] span { background: var(--rot); color: #fff; }

/* Großansicht */
.lichtbild { max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: rgba(6, 8, 12, .95); color: #fff; }
.lichtbild::backdrop { background: transparent; }
.lichtbild[open] { display: grid; place-items: center; animation: einblenden .3s var(--kurve); }
.lichtbild figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(92vw, 1300px); }
.lichtbild img { max-width: 100%; max-height: 82vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: bildrein .45s var(--kurve); }
.lichtbild figcaption { font-size: 16px; text-align: center; color: var(--stahl-200); }
.lb-zu, .lb-pfeil { position: fixed; z-index: 2; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.lb-zu:hover, .lb-pfeil:hover { background: var(--rot); }
.lb-zu { right: 18px; top: 18px; width: 50px; height: 50px; font-size: 32px; line-height: 1; }
.lb-pfeil { top: 50%; width: 56px; height: 56px; margin-top: -28px; font-size: 36px; line-height: 1; }
.lb-pfeil.links { left: 18px; }
.lb-pfeil.rechts { right: 18px; }

/* ---------- Über uns ---------- */
.ueber-uns { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.ueber-bild { position: relative; }
.ueber-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; box-shadow: var(--schatten-gross); }
.ueber-bild::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1; border-radius: 26px; border: 3px solid var(--rot); }
.ueber-marke { position: absolute; left: -22px; bottom: 34px; padding: 18px 24px; border-radius: 18px; background: var(--rot); color: #fff; box-shadow: 0 20px 40px -16px rgba(226, 0, 26, .8); }
.ueber-marke b { display: block; font: 800 24px/1.1 var(--schrift-titel); }
.ueber-marke span { font-size: 14px; opacity: .9; }
.ueber-text > p:not(.ueber) { color: var(--text-leise); font-size: 17.5px; }
.ueber-text .titel { margin-bottom: 24px; }
.haken-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-weight: 700; }
.haken-liste li { display: flex; align-items: flex-start; gap: 10px; }
.haken-liste li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
    background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- Handlungsaufruf ---------- */
.aufruf { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 110px) 0; background: linear-gradient(120deg, var(--rot-dunkel), var(--rot) 55%, #f0283c); color: #fff; isolation: isolate; text-align: center; }
.aufruf::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
    background: repeating-linear-gradient(-45deg, #fff 0 2px, transparent 2px 22px); mask-image: radial-gradient(ellipse at 50% 50%, transparent 30%, #000 80%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, transparent 30%, #000 80%); }
.aufruf h2 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 800; text-wrap: balance; }
.aufruf h2 span { display: block; color: rgba(255, 255, 255, .78); }
.aufruf p { max-width: 620px; margin: 20px auto 0; font-size: 18.5px; color: rgba(255, 255, 255, .9); }
.aufruf .knoepfe { justify-content: center; }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.kontakt-info > p:not(.ueber) { margin-top: 22px; color: var(--text-leise); font-size: 17.5px; }
.kontakt-liste { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.kontakt-liste a, .kontakt-liste div { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--linie); background: #fff; color: var(--text); text-decoration: none;
    transition: border-color .25s, transform .3s var(--kurve), box-shadow .3s; }
.kontakt-liste a:hover { border-color: var(--rot); transform: translateX(6px); box-shadow: var(--schatten); }
.kontakt-liste small { display: block; color: var(--text-leise); font-size: 13.5px; font-weight: 600; }
.kontakt-liste b { font-size: 16.5px; overflow-wrap: anywhere; }
.symbol { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--stahl-100); }
.symbol svg { width: 24px; height: 24px; fill: none; stroke: var(--rot); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.anfrage { position: relative; padding: clamp(26px, 4vw, 42px); border-radius: 26px; background: var(--stahl-900); color: #fff; box-shadow: var(--schatten-gross); overflow: hidden; isolation: isolate; }
.anfrage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 100% 0%, rgba(0, 58, 133, .5), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(226, 0, 26, .22), transparent 60%); }
.anfrage h3 { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.themen { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; border: 0; }
.themen legend { width: 100%; margin-bottom: 10px; padding: 0; font-weight: 700; color: var(--stahl-300); font-size: 15px; }
.themen label { position: relative; cursor: pointer; }
.themen input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.themen span { display: block; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 14.5px; font-weight: 600; transition: background .2s, border-color .2s; }
.themen label:hover span { border-color: rgba(255, 255, 255, .6); }
.themen input:checked + span { background: var(--rot); border-color: var(--rot); }
.themen input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld.breit { grid-column: 1 / -1; }
.feld label { font-size: 14.5px; font-weight: 700; color: var(--stahl-300); }
.feld input, .feld textarea { width: 100%; padding: 13px 15px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.feld textarea { resize: vertical; min-height: 130px; }
.feld input::placeholder, .feld textarea::placeholder { color: var(--stahl-400); }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--rot-hell); background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 4px rgba(226, 0, 26, .25); }
.feld.fehlt input, .feld.fehlt textarea { border-color: var(--rot-hell); }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.einwilligung { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; font-size: 14.5px; color: var(--stahl-300); cursor: pointer; }
.einwilligung input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rot); }
.einwilligung a { color: #fff; }
.einwilligung.fehlt span { color: var(--rot-hell); }
.fehler { padding: 12px 14px; border-radius: 12px; background: rgba(226, 0, 26, .18); border: 1px solid rgba(255, 51, 72, .5); font-size: 15px; }
.anfrage .knopf { width: 100%; }
.danke { text-align: center; padding: 30px 0 10px; outline: none; }
.danke svg { width: 80px; height: 80px; margin: 0 auto 18px; fill: none; stroke: var(--rot-hell); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 140; stroke-dashoffset: 140; animation: zeichnen 1s .1s var(--kurve) forwards; }
.danke p { color: var(--stahl-300); }

/* ---------- Fuß ---------- */
.fuss { background: var(--stahl-950); color: var(--stahl-300); padding: 80px 0 0; font-size: 15.5px; }
.fuss-innen { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.fuss-logo { display: block; width: 250px; margin-bottom: 18px; }
.fuss-marke p { max-width: 380px; }
.fuss-spalte { display: flex; flex-direction: column; gap: 8px; }
.fuss-spalte h3 { margin-bottom: 8px; color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fuss a { color: var(--stahl-200); text-decoration: none; transition: color .2s; }
.fuss a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--rot); text-underline-offset: 4px; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.fuss-links { display: flex; gap: 20px; }

/* Handy-Leiste */
.schnellleiste { display: none; }

/* ---------- Unterseiten ---------- */
.seitenkopf { position: relative; padding: calc(var(--kopf-hoehe) + 70px) 0 70px; background: var(--stahl-900); color: #fff; overflow: hidden; isolation: isolate; }
.seitenkopf .titel { font-size: clamp(34px, 5vw, 60px); }
.seitenkopf .unter { color: var(--stahl-300); }
.seitenkopf .rot-text { color: var(--rot-hell); }
.brotkrumen { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: 14.5px; color: var(--stahl-400); }
.brotkrumen a { color: var(--stahl-200); }
.brotkrumen li + li::before { content: "›"; margin-right: 8px; }
.rechtstext > * { max-width: 820px; }
.rechtstext > h2:first-child { margin-top: 0; }
.rechtstext h2 { margin: 44px 0 14px; font-size: 26px; font-weight: 800; }
.rechtstext h3 { margin: 28px 0 10px; font-size: 19px; font-weight: 800; }
.rechtstext p, .rechtstext li { color: var(--text-leise); }
.rechtstext ul { padding-left: 22px; }
.rechtstext address { font-style: normal; color: var(--text); line-height: 1.7; }
.fehlerseite { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--stahl-900); color: #fff; padding: 120px 20px 60px; }
.fehlerseite b { display: block; font: 800 clamp(90px, 18vw, 180px)/1 var(--schrift-titel); color: transparent; -webkit-text-stroke: 2px var(--rot-hell); }
.fehlerseite .knoepfe { justify-content: center; }

/* ---------- Animationen ---------- */
@keyframes heranfahren { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes aufsteigen { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes wort { to { opacity: 1; transform: none; filter: none; } }
@keyframes pulsieren { 0% { box-shadow: 0 0 0 0 rgba(226, 0, 26, .7); } 70% { box-shadow: 0 0 0 10px rgba(226, 0, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 0, 26, 0); } }
@keyframes mausrad { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes laufen { to { transform: translateX(-50%); } }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }
@keyframes bildrein { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }

/* ---------- Bildschirmgrößen ---------- */
.kopf-cta, .kopf-tel { flex: none; white-space: nowrap; }
@media (max-width: 1340px) {
    .kopf-tel span { display: none; }
}
@media (max-width: 1120px) and (min-width: 1001px) {
    .marke, .kopf.gescrollt .marke { width: 225px; }
    .kopf-innen { gap: 16px; }
    .menue a { padding-inline: 8px; }
}
@media (max-width: 1180px) {
    /* Mit dem Login-Link wird es eng: Menü etwas dichter und ohne Zeilenumbruch */
    .menue a { padding-inline: 8px; white-space: nowrap; }
    .menue a:not(.knopf)::after { left: 8px; right: 8px; }
    .kopf-cta { white-space: nowrap; }
    .gruende { grid-template-columns: repeat(2, 1fr); }
    .dienste { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
    :root { --kopf-hoehe: 84px; }
    .menue-knopf { display: block; }
    .kopf-cta { display: none; }
    .marke { width: 240px; }
    .kopf.gescrollt .marke { width: 215px; }
    .menue { position: fixed; inset: 0 0 auto; top: 0; z-index: -1; flex-direction: column; align-items: stretch; gap: 0; padding: calc(var(--kopf-hoehe) + 10px) 20px 26px; background: #fff;
        box-shadow: 0 30px 50px -20px rgba(10, 13, 18, .4); transform: translateY(-105%); transition: transform .45s var(--kurve); }
    .menue.offen { transform: none; }
    .menue a, .kopf.gescrollt .menue a:not(.knopf) { color: var(--text); padding: 14px 4px; border-bottom: 1px solid var(--linie); font-size: 18px; }
    .menue a:not(.knopf)::after { display: none; }
    .menue .nur-menue { display: flex; margin-top: 18px; border: 0; color: #fff; }
    .leistungen { grid-template-columns: 1fr; }
    .werkstoffe { grid-template-columns: 1fr; }
    .ablauf { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .ablauf::before, .ablauf::after { display: none; }
    .ueber-uns, .kontakt { grid-template-columns: 1fr; }
    .ueber-bild { max-width: 520px; }
    .fuss-innen { grid-template-columns: 1fr 1fr; }
    .fuss-marke { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    body { font-size: 16px; padding-bottom: 66px; }
    .breite { width: calc(100% - 32px); }
    .kopf-tel { display: none; }
    .held-inhalt { padding-bottom: 100px; }
    .held-vorteile { flex-direction: column; gap: 10px; }
    .held .knoepfe .knopf { width: 100%; }
    .held-weiter { display: none; }
    .gruende, .dienste, .ablauf { grid-template-columns: 1fr; }
    .leistung-text { padding: 26px 22px 26px; }
    .leistung h3 { font-size: 22px; }
    .felder, .haken-liste { grid-template-columns: 1fr; }
    .galerie { columns: 2; column-gap: 10px; }
    .foto { margin-bottom: 10px; border-radius: 12px; }
    .foto figcaption { padding: 22px 10px 8px; }
    .foto figcaption b { font-size: 12.5px; }
    .foto figcaption span { display: none; }
    .ueber-marke { left: 12px; }
    .ueber-bild::before { inset: 14px -10px -14px 14px; }
    .fuss-innen { grid-template-columns: 1fr; }
    .fuss-unten { flex-direction: column; }
    .filter { top: 66px; }
    .schnellleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); box-shadow: 0 -8px 24px -10px rgba(10, 13, 18, .3); transform: translateY(110%); transition: transform .4s var(--kurve); }
    .schnellleiste.zeigen { transform: none; }
    .schnellleiste a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; background: var(--stahl-100); color: var(--text); font-weight: 800; text-decoration: none; }
    .schnellleiste a.rot { background: var(--rot); color: #fff; }
    .schnellleiste svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
    .lb-pfeil { top: auto; bottom: 20px; margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .held-titel .wort { opacity: 1; transform: none; filter: none; }
    .laufband-spur { animation: none; }
    .js .enthuellen { opacity: 1; transform: none; }
}
@media print {
    .kopf, .schnellleiste, .funken, .laufband, .held-weiter, .fortschritt { display: none !important; }
    .held { min-height: 0; color: #000; background: none; }
    .js .enthuellen { opacity: 1; transform: none; }
}
