/* Metallbau — „Stahl & Funken"
   Geschliffenes Blech als Grund, Graphit für Schrift, Glut als einzige warme Farbe, Anlassblau als Zweitton.
   Formen wie gelasert: abgeschrägte Ecken, Teilenummern, Lochblech. Überschrift läuft durch die Anlassfarben. */
@property --winkel { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
:root {
  --blech: #d3d7db; --blech-2: #c3c8cd; --blech-hell: #e6e9ec; --graphit: #22282d; --graphit-2: #555e66; --dunkel: #1b1f23;
  --glut: #ff6a13; --glut-dunkel: #c24a06; --anlass: #3b5ba9;
  --gut: #1f7a4d; --warnung: #a86400; --schlecht: #b3261e;
  --fokus: var(--glut);
  --rand: clamp(1.1rem, 4.5vw, 4rem);
  --ecke: 16px;
  --spur: rgb(34 40 45 / .18); --fuell: var(--graphit); --knopf: var(--blech-hell); --knopf-rand: 2px solid var(--graphit);
  --knopf-g: 22px; --spur-h: 4px; --knopf-r: 2px; --knopf-schatten: 0 1px 0 #fff inset, 0 2px 4px rgb(0 0 0 / .25);
  --seg-r: 2px; --seg-an: var(--graphit); --seg-an-text: #fff;
}
:root {
  /* Bausteine aus gemeinsam/rahmen.css */
  --b-akzent: var(--glut); --b-akzent-text: #fff; --b-radius: 2px;
  --b-titel: "Geist", sans-serif; --b-zitat: "Geist", sans-serif;
  --b-linie: rgb(34 40 45 / .16); --b-karte: var(--blech-hell); --b-fehler: var(--schlecht); --b-gut: var(--gut);
  --kopf-fest-grund: rgb(27 31 35 / .9); --kopf-fest-text: #e6e9ec; --kopf-fest-rand: rgb(255 106 19 / .35);
  --menue-grund: var(--dunkel); --menue-text: #e6e9ec; --menue-akzent: var(--glut); --menue-linie: rgb(255 255 255 / .1);
  --menue-schrift: "Geist", sans-serif; --menue-gewicht: 800; --menue-knopf-r: 2px;
}
body {
  background: var(--blech); color: var(--graphit);
  background-image: repeating-linear-gradient(0deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 3px), linear-gradient(180deg, #d9dde1, #c9ced3);
  font: 400 1.04rem/1.6 "Geist", system-ui, sans-serif;
}
h1, h2, h3 { font-family: "Geist", sans-serif; font-weight: 800; letter-spacing: -.045em; line-height: .95; }
h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); max-width: 16ch; }
.mono, .teil, .bemassung { font-family: "Geist Mono", ui-monospace, monospace; }
.rahmen { width: min(100% - 2 * var(--rand), 1280px); margin-inline: auto; }

/* ---------- Kopf ---------- */
.kopf { position: absolute; inset: 0 0 auto; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 1.2rem var(--rand); color: #e6e9ec; }
.marke { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; letter-spacing: -.03em; font-size: 1.1rem; }
.marke svg { width: 1.8rem; fill: #8b939b; }
.kopf nav { display: flex; gap: clamp(1rem, 3vw, 2.2rem); font-weight: 500; font-size: .95rem; }
.kopf nav a { text-decoration: none; opacity: .85; }
.kopf nav a:hover, .kopf nav a.ist-aktiv { opacity: 1; color: var(--glut); }
@media (max-width: 700px) { .kopf nav { display: none; } }

/* ---------- Knöpfe (gelaserte Ecken) ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.4rem; text-decoration: none; font-weight: 700; border: 0;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); transition: background-color .2s, color .2s; }
.knopf-glut { background: var(--glut); color: #1b1f23; }
.knopf-glut:hover { background: #ff8a45; }
.knopf-kante { background: rgb(255 255 255 / .1); color: #e6e9ec; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .35); }
.knopf-kante:hover { background: rgb(255 255 255 / .18); }

/* ---------- Held ---------- */
.held { height: 100svh; min-height: 640px; max-height: 1080px; overflow: hidden; background: var(--dunkel); color: #e6e9ec; }
.held-ersatz { background: radial-gradient(40% 40% at 70% 50%, #5a3a22, var(--dunkel)); }
.held-text { position: absolute; z-index: 2; left: var(--rand); top: 50%; translate: 0 -48%; max-width: 38rem; }
.held h1 { font-size: clamp(3.6rem, 9vw, 8.6rem); letter-spacing: -.06em; }
.anlauf {
  background: linear-gradient(100deg, #c9ced3 0 38%, #7b93c9 42%, #6f5bb8 45%, #9c6440 48%, #e5b25e 51%, #fff1c4 54%, #ffffff 56%, #c9ced3 62% 100%);
  background-size: 320% 100%; background-position: 0% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: anlaufen 2.8s cubic-bezier(.3,.1,.2,1) .2s both;
}
@keyframes anlaufen { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.held-text p { margin-top: 1.4rem; max-width: 30rem; color: #b9c1c8; font-size: 1.1rem; }
.held-aktionen { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.bemassung { position: absolute; z-index: 2; right: var(--rand); bottom: 2rem; display: flex; gap: 1.4rem; font-size: .8rem; color: #8b939b; }
.bemassung span { border-top: 1px solid #555e66; padding-top: .35rem; }
@media (max-width: 800px) {
  .held-text { top: auto; bottom: 4.5rem; translate: none; right: var(--rand); }
  .bemassung { left: var(--rand); right: auto; bottom: 1.4rem; gap: .8rem; font-size: .7rem; }
}

/* ---------- Leistungen als Blechteile ---------- */
.leistungen { padding: clamp(5rem, 10vw, 8rem) 0; }
.bleche { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 3rem; }
.blech {
  position: relative; padding: 1.6rem 1.5rem 1.8rem; isolation: isolate;
  clip-path: polygon(var(--ecke) 0, 100% 0, 100% calc(100% - var(--ecke)), calc(100% - var(--ecke)) 100%, 0 100%, 0 var(--ecke));
  background: repeating-linear-gradient(90deg, rgb(255 255 255 / .12) 0 1px, transparent 1px 3px), linear-gradient(160deg, #eef0f2, #c1c7cd);
}
.blech::before { /* Laserlinie, die beim Überfahren einmal rundläuft */
  content: ""; position: absolute; inset: 0; z-index: -1; padding: 2px;
  background: conic-gradient(from var(--winkel), transparent 0 80%, var(--glut) 92%, #fff4d0 96%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0;
}
.blech:hover::before { opacity: 1; animation: laser 1.1s linear; }
@keyframes laser { to { --winkel: 360deg; } }
.blech::after { /* zwei Bohrungen */
  content: ""; position: absolute; right: 1.1rem; top: 1.1rem; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #7d858d, #3a4046); box-shadow: 0 1px 0 #fff, -22px 0 0 -0px #555e66;
}
.teil { font-size: .8rem; color: var(--graphit-2); }
.blech h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: .8rem 0 .6rem; }
.blech p { color: var(--graphit-2); }
@media (max-width: 960px) { .bleche { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bleche { grid-template-columns: 1fr; } }

/* ---------- Konfigurator ---------- */
.konfigurator { padding: clamp(5rem, 10vw, 8rem) 0; background: #d9dde1; border-block: 1px solid rgb(0 0 0 / .08); }
.konf { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "kopf kopf" "modell ein" "aus aus"; gap: 2rem clamp(1.5rem, 4vw, 3.5rem); }
.konf-kopf { grid-area: kopf; display: grid; grid-template-columns: auto minmax(0, 28rem); justify-content: space-between; align-items: end; gap: 1rem 3rem; }
.konf-kopf p { color: var(--graphit-2); }
.modell { grid-area: modell; aspect-ratio: 16 / 10; width: 100%; }
.modell-ersatz { background: linear-gradient(#e6e9ec, #c9ced3); }
.modell-tipp { position: absolute; left: 0; bottom: .2rem; font-size: .8rem; color: var(--graphit-2); pointer-events: none; }
.eingaben { grid-area: ein; display: grid; gap: 1.3rem; align-content: start; }
.feld { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
.feld legend, .eingaben label { font-size: .92rem; color: var(--graphit-2); }
.eingaben output { font-weight: 800; letter-spacing: -.03em; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.segmente > button { border-color: rgb(34 40 45 / .3); font-size: .92rem; }
#abstand-feld[hidden] { display: none; }
.auswertung { grid-area: aus; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.werte { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); border-top: 2px solid var(--graphit); }
.werte > div { padding: 1rem 1rem 0 0; }
.werte dt { font-size: .88rem; color: var(--graphit-2); }
.werte dd { font-weight: 800; letter-spacing: -.04em; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; margin-top: .25rem; }
.werte .gross dd { font-size: clamp(3rem, 6.5vw, 5.4rem); }
.werte small { font-size: .4em; color: var(--graphit-2); letter-spacing: 0; }
.pruefung { display: grid; gap: .6rem; padding-top: 1rem; }
.pruefung li { display: grid; grid-template-columns: 1.8rem 1fr; gap: .6rem; align-items: start; padding: .7rem .8rem; background: var(--blech-hell); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.pruefung .symbol { width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; font-size: .95rem; }
.pruefung .gut .symbol { background: var(--gut); } .pruefung .warn .symbol { background: var(--warnung); } .pruefung .schlecht .symbol { background: var(--schlecht); }
.pruefung b { display: block; }
.pruefung span.text { font-size: .9rem; color: var(--graphit-2); }
.hinweis { grid-column: 1 / -1; font-size: .85rem; color: var(--graphit-2); }
@media (max-width: 960px) {
  .konf { grid-template-columns: 1fr; grid-template-areas: "kopf" "modell" "ein" "aus"; }
  .konf-kopf { grid-template-columns: 1fr; }
  .auswertung { grid-template-columns: 1fr; }
  .werte { grid-template-columns: repeat(3, 1fr); }
  .werte .gross { grid-column: 1 / -1; }
}

/* ---------- Zahlen, glühend ---------- */
.zahlen { background: var(--dunkel); color: #e6e9ec; padding: clamp(4.5rem, 9vw, 7rem) 0; }
.glutzahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.glutzahlen > div { border-top: 1px solid #3a4046; padding-top: 1rem; }
.glutzahlen b { display: block; font-weight: 800; letter-spacing: -.06em; font-size: clamp(3.4rem, 8vw, 7rem); line-height: 1;
  background: linear-gradient(180deg, #fff4d0 0%, var(--glut) 45%, #7a2a05 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgb(255 106 19 / .35)); }
.glutzahlen dt { color: #9aa3ab; margin-top: .4rem; }
.zahlen .musterhinweis { margin-top: 2rem; color: #9aa3ab; }
@media (max-width: 700px) { .glutzahlen { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.kontakt-bereich { padding: clamp(5rem, 10vw, 8rem) 0; }
.kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
.kontakt p { margin-top: 1rem; color: var(--graphit-2); }
.kontakt-ruf a { font-weight: 800; letter-spacing: -.05em; font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--graphit); text-decoration: none; }
.anfrage { display: grid; gap: 1rem; padding: 1.8rem; background: var(--blech-hell); clip-path: polygon(var(--ecke) 0, 100% 0, 100% calc(100% - var(--ecke)), calc(100% - var(--ecke)) 100%, 0 100%, 0 var(--ecke)); }
.anfrage label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.anfrage input, .anfrage select, .anfrage textarea { padding: .75rem .85rem; border: 1.5px solid #9aa3ab; border-radius: 2px; background: #fff; color: var(--graphit); }
.anfrage input:focus-visible, .anfrage select:focus-visible, .anfrage textarea:focus-visible { outline: 2px solid var(--glut); outline-offset: 0; }
.anfrage .knopf { justify-self: start; }
.anfrage-antwort { min-height: 1.4em; font-weight: 700; color: var(--gut); }
@media (max-width: 800px) { .kontakt { grid-template-columns: 1fr; } }

/* ---------- Fuß ---------- */
.fuss { background: var(--dunkel); color: #9aa3ab; padding: 0 0 5.5rem; font-size: .95rem; }

/* ---------- Neue Abschnitte ---------- */
.abschnitt { border-top: 1px solid rgb(0 0 0 / .08); }
.ton-hell { background: var(--blech-hell); }
.ton-dunkel { background: var(--dunkel); color: #e6e9ec; --b-linie: rgb(255 255 255 / .12); --b-text-2: #9aa3ab; }
.menue-nav a { letter-spacing: -.05em; }
.menue-nr, .projekt-ort, .projekt-daten dt, .ablauf-schritte li::before, .team-bild, .fuss .fuss-titel { font-family: "Geist Mono", monospace; }
.projekt-bild { border-radius: 0; clip-path: polygon(var(--ecke) 0, 100% 0, 100% calc(100% - var(--ecke)), calc(100% - var(--ecke)) 100%, 0 100%, 0 var(--ecke)); }
.projekt h3 { letter-spacing: -.045em; }
.projekt-daten dd { font-weight: 800; letter-spacing: -.03em; font-size: 1.2rem; }
.projekte-hinweis, .stimmen-hinweis { margin-top: 2.5rem; }
.betrieb-lead { font-weight: 600; letter-spacing: -.02em; }
.siegel li { border: 0; border-radius: 0; background: linear-gradient(#f7f8f9, #e4e7ea); clip-path: polygon(var(--ecke) 0, 100% 0, 100% calc(100% - var(--ecke)), calc(100% - var(--ecke)) 100%, 0 100%, 0 var(--ecke)); }
.siegel svg { stroke: var(--glut-dunkel); }
.grundsaetze li { border-top: 2px solid var(--graphit); }
.grundsaetze h3 { letter-spacing: -.04em; }
.team-bild { border-radius: 2px; background: var(--graphit); color: var(--glut); font-size: 1rem; }
.ton-dunkel .ablauf-schritte li::after { background: var(--glut); box-shadow: 0 0 14px var(--glut); height: 3px; top: -2px; }
.ton-dunkel .ablauf-schritte li::before { color: var(--glut); }
.stimme { border: 0; border-radius: 0; background: linear-gradient(#eef0f2, #dde1e5); clip-path: polygon(var(--ecke) 0, 100% 0, 100% calc(100% - var(--ecke)), calc(100% - var(--ecke)) 100%, 0 100%, 0 var(--ecke)); }
.stimme blockquote { letter-spacing: -.01em; }
.fragen-liste details[open] > summary::after { background-color: var(--glut); border-color: var(--glut); }
.fragen-kopf a { color: var(--graphit); text-decoration-color: var(--glut); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.kontakt-mail a, .zeiten, .gebiet { color: var(--graphit); }
.fuss-raster { --fuss-linie: rgb(255 255 255 / .1); }
.fuss .marke, .fuss a { color: #e6e9ec; }
.fuss .fuss-titel { color: var(--glut); opacity: 1; letter-spacing: .08em; }
