/* j-krieger.de: Firmenseite der J. Krieger UG (haftungsbeschraenkt)
 * Alles liegt lokal: keine fremden Schriften, Skripte, Bilder, keine Cookies.
 * Schrift: Space Grotesk (SIL Open Font License 1.1, Lizenz in schrift/OFL.txt).
 * Farbschema: dunkel ist Standard, hell ueber html[data-schema="hell"]. */

@font-face {
  font-family: "Space Grotesk";
  src: url("schrift/SpaceGrotesk-Variable.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0d10;
  --bg-2: #0f1216;
  --flaeche: #13171c;
  --flaeche-2: #181d23;
  --linie: rgba(255, 255, 255, .08);
  --linie-2: rgba(255, 255, 255, .16);
  --text: #eef1f4;
  --text-2: #aab3bd;
  --text-3: #727b86;
  --akzent: #ff6a3d;
  --akzent-text: #ff8a63;
  --akzent-weich: rgba(255, 106, 61, .13);
  --auf-akzent: #1a0c06;
  --mess: #4cc4ff;
  --mess-weich: rgba(76, 196, 255, .13);
  --gut: #3ddc97;
  --raster: rgba(255, 255, 255, .045);
  --raster-gross: rgba(255, 255, 255, .075);
  --seite-l: #0e1115;
  --seite-r: #080a0d;
  --kopf-bg: rgba(11, 13, 16, .78);
  --schatten: 0 24px 60px -24px rgba(0, 0, 0, .7);

  --schrift-titel: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --schrift-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --schrift-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", Menlo, monospace;

  --breite: 1160px;
  --rand: 24px;
  --radius: 14px;
  color-scheme: dark;
}

html[data-schema="hell"] {
  --bg: #f4f2ec;
  --bg-2: #ebe8e0;
  --flaeche: #ffffff;
  --flaeche-2: #f8f6f1;
  --linie: rgba(20, 24, 29, .10);
  --linie-2: rgba(20, 24, 29, .20);
  --text: #14181d;
  --text-2: #47505b;
  --text-3: #79818b;
  --akzent: #e8572a;
  --akzent-text: #b5410f;
  --akzent-weich: rgba(232, 87, 42, .11);
  --auf-akzent: #1a0c06;
  --mess: #0a78b0;
  --mess-weich: rgba(10, 120, 176, .10);
  --gut: #12895a;
  --raster: rgba(20, 24, 29, .05);
  --raster-gross: rgba(20, 24, 29, .085);
  --seite-l: #e3dfd5;
  --seite-r: #d3cdc0;
  --kopf-bg: rgba(244, 242, 236, .82);
  --schatten: 0 24px 60px -28px rgba(30, 30, 20, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--akzent); color: var(--auf-akzent); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }

.rahmen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

.sprung {
  position: absolute; left: -9999px; top: 12px;
  background: var(--akzent); color: var(--auf-akzent);
  padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 600;
}
.sprung:focus { left: 12px; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: var(--kopf-bg);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen { display: flex; align-items: center; gap: 28px; height: 68px; }

.marke {
  display: inline-flex; align-items: center;
  font-family: var(--schrift-titel); font-weight: 600; font-size: 19px;
  letter-spacing: .07em; text-decoration: none; color: var(--text); white-space: nowrap;
}
.marke-punkt { color: var(--akzent); }
.marke-ug {
  margin-left: 9px; padding: 2px 6px 1px;
  font-family: var(--schrift-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em;
  color: var(--text-2); border: 1px solid var(--linie-2); border-radius: 5px;
}

.navi { display: flex; gap: 4px; margin-left: auto; }
.navi a {
  font-family: var(--schrift-titel); font-size: 15px; font-weight: 500;
  color: var(--text-2); text-decoration: none;
  padding: 7px 12px; border-radius: 8px; transition: color .2s, background .2s;
}
.navi a:hover { color: var(--text); background: var(--flaeche-2); }
.navi a.aktiv { color: var(--text); }
.navi a.nur-schmal { display: none; }

.kopf-rechts { display: flex; align-items: center; gap: 10px; }

.schema-knopf, .menue-knopf {
  width: 38px; height: 38px; display: inline-grid; place-items: center;
  background: transparent; color: var(--text-2);
  border: 1px solid var(--linie-2); border-radius: 10px; cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.schema-knopf:hover, .menue-knopf:hover { color: var(--text); border-color: var(--text-3); }
.schema-knopf .sonne { display: none; }
html[data-schema="hell"] .schema-knopf .sonne { display: block; }
html[data-schema="hell"] .schema-knopf .mond { display: none; }
.menue-knopf { display: none; }

/* ---------- Knoepfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--schrift-titel); font-size: 16px; font-weight: 600; letter-spacing: .01em;
  padding: 13px 22px; border-radius: 11px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.knopf svg { transition: transform .2s; }
.knopf:hover svg { transform: translateX(3px); }
.knopf-haupt { background: var(--akzent); color: var(--auf-akzent); box-shadow: 0 10px 30px -12px var(--akzent); }
.knopf-haupt:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -12px var(--akzent); }
.knopf-zweit { background: transparent; color: var(--text); border-color: var(--linie-2); }
.knopf-zweit:hover { border-color: var(--text-3); background: var(--flaeche-2); }
.knopf-klein { padding: 8px 14px; font-size: 14.5px; border-radius: 9px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 112px 0; border-top: 1px solid var(--linie); position: relative; }
.abschnitt-kopf { max-width: 760px; margin-bottom: 56px; }
.abschnitt-marke {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--schrift-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--akzent-text); margin-bottom: 18px;
}
.abschnitt-marke::before { content: ""; width: 26px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 20px; }
h3 { font-size: 22px; letter-spacing: -.01em; line-height: 1.25; }
.abschnitt-text { color: var(--text-2); font-size: 18.5px; max-width: 680px; }

/* ---------- Held (Einstieg) ---------- */
.held { position: relative; overflow: hidden; padding: 84px 0 72px; }
.held::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--raster) 1px, transparent 1px),
    linear-gradient(90deg, var(--raster) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.held::after {
  content: ""; position: absolute; pointer-events: none;
  width: 720px; height: 720px; right: -160px; top: -220px;
  background: radial-gradient(circle, var(--akzent-weich), transparent 62%);
}
.held-gitter {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.kennung {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--schrift-mono); font-size: 13px; letter-spacing: .06em;
  color: var(--text-2); padding: 7px 12px 7px 10px;
  border: 1px solid var(--linie-2); border-radius: 999px; background: var(--flaeche);
  margin-bottom: 30px;
}
.kennung-punkt {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gut);
  box-shadow: 0 0 0 0 var(--gut); animation: puls 2.6s ease-out infinite;
}
@keyframes puls {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); }
  70% { box-shadow: 0 0 0 9px rgba(61, 220, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}
.held h1 { font-size: clamp(38px, 4.3vw, 50px); letter-spacing: -.025em; margin-bottom: 28px; }
.held h1 .hervor {
  display: block;
  background: linear-gradient(92deg, var(--akzent) 0%, #ffb08f 55%, var(--mess) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[data-schema="hell"] .held h1 .hervor {
  background: linear-gradient(92deg, #d4481b 0%, #e8572a 45%, var(--mess) 110%);
  -webkit-background-clip: text; background-clip: text;
}
.einleitung { font-size: 19.5px; color: var(--text-2); max-width: 590px; margin-bottom: 38px; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }

.held-bild { position: relative; }
.aufbau {
  position: relative;
  border: 1px solid var(--linie-2); border-radius: 20px;
  background: linear-gradient(180deg, var(--flaeche), var(--bg-2));
  box-shadow: var(--schatten);
  overflow: hidden;
}
.aufbau-kopf {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--linie);
  font-family: var(--schrift-mono); font-size: 12px; color: var(--text-3); letter-spacing: .05em;
}
.aufbau-kopf .punkte { display: inline-flex; gap: 6px; }
.aufbau-kopf .punkte i { width: 9px; height: 9px; border-radius: 50%; background: var(--linie-2); }
.aufbau svg { display: block; width: 100%; height: auto; }

/* Farben der Explosionsansicht */
.a-raster { stroke: var(--raster); }
.a-deckel { fill: var(--flaeche); stroke: var(--linie-2); stroke-width: 1; }
.a-deckel-oben { stroke: var(--akzent); stroke-opacity: .7; }
.a-seite-l { fill: var(--seite-l); }
.a-seite-r { fill: var(--seite-r); }
.a-tisch { fill: var(--flaeche-2); stroke: var(--text-3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.a-nut { stroke: var(--linie-2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.a-teil { fill: var(--mess-weich); stroke: var(--mess); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.a-werkzeugbahn { fill: none; stroke: var(--akzent); stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-dasharray: 5 4; animation: fliessen 1.2s linear infinite; }
.a-spindel { fill: var(--akzent-weich); stroke: var(--akzent); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.a-spindel-kern { fill: var(--akzent); }
.a-platine { fill: var(--mess-weich); stroke: var(--mess); stroke-width: 1; stroke-opacity: .5; vector-effect: non-scaling-stroke; }
.a-bahn { fill: none; stroke: var(--mess); stroke-width: 1.3; vector-effect: non-scaling-stroke; opacity: .85; }
.a-pad { fill: var(--flaeche); stroke: var(--mess); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.a-pin { stroke: var(--text-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.a-chip { fill: var(--bg); stroke: var(--text-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.a-bauteil { fill: var(--text-3); }
.a-einschub { fill: var(--flaeche-2); stroke: var(--mess); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.a-schlitz { stroke: var(--text-3); stroke-width: 1.2; vector-effect: non-scaling-stroke; fill: none; }
.a-led { fill: var(--gut); }
.a-led-akzent { fill: var(--akzent); animation: blinken 1.6s steps(2, jump-none) infinite; }
.a-fenster { fill: var(--bg-2); stroke: var(--mess); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.a-seitenleiste { fill: var(--mess-weich); }
.a-balken { fill: var(--mess); opacity: .55; }
.a-balken-akzent { fill: var(--akzent); opacity: .95; }
.a-strahl { stroke: var(--akzent); stroke-width: 1.4; stroke-dasharray: 2 7; opacity: .7; animation: fliessen 1.2s linear infinite; }
.paket { fill: var(--akzent); filter: drop-shadow(0 0 5px var(--akzent)); opacity: 0; animation: aufsteigen 3.6s cubic-bezier(.45, 0, .55, 1) infinite; animation-delay: var(--v, 0s); }
.a-zeiger { stroke: var(--linie-2); stroke-width: 1; }
.a-zeiger-punkt { fill: var(--akzent); }
.a-nr { fill: var(--akzent-text); font-family: var(--schrift-mono); font-size: 12px; font-weight: 600; }
.a-titel { fill: var(--text); font-family: var(--schrift-titel); font-size: 16px; font-weight: 600; }
.a-unter { fill: var(--text-3); font-family: var(--schrift-mono); font-size: 11px; }

.ebene { animation: schweben 6s ease-in-out infinite; animation-delay: var(--v, 0s); }
@keyframes schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes fliessen { to { stroke-dashoffset: 18; } }
@keyframes aufsteigen {
  0% { transform: translateY(0); opacity: 0; }
  12% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(-285px); opacity: 0; }
}
@keyframes blinken { 50% { opacity: .25; } }

.plakette {
  position: absolute; z-index: 2;
  background: var(--flaeche); border: 1px solid var(--linie-2); border-radius: 12px;
  box-shadow: var(--schatten);
  font-family: var(--schrift-mono); font-size: 12.5px; line-height: 1.6; color: var(--text-2);
}
.plakette-stand { right: -20px; bottom: 58px; width: 206px; padding: 12px 14px; }
.plakette-stand .kopfzeile {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3);
  padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px dashed var(--linie-2);
}
.laeuft {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gut); font-weight: 700; letter-spacing: .04em; text-transform: none;
}
.laeuft::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gut); animation: puls 2.6s ease-out infinite; }
.plakette-stand ul { list-style: none; }
.plakette-stand li { display: flex; gap: 8px; color: var(--text); }
.plakette-stand li em { margin-left: auto; font-style: normal; color: var(--text-3); }
.aufbau-fuss {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
  padding: 11px 16px; border-top: 1px solid var(--linie);
  font-family: var(--schrift-mono); font-size: 12.5px; color: var(--text-2);
}
.aufbau-fuss .eingabe { color: var(--text); }
.aufbau-fuss .eingabe b { color: var(--akzent-text); font-weight: 600; }
.gut { color: var(--gut); }

/* Eckdaten */
.eckdaten {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 88px; border: 1px solid var(--linie); border-radius: var(--radius);
  background: var(--flaeche); overflow: hidden;
}
.eckdatum { padding: 22px 24px; border-left: 1px solid var(--linie); }
.eckdatum:first-child { border-left: 0; }
.eckdatum strong {
  display: block; font-family: var(--schrift-titel); font-size: 34px; font-weight: 600;
  letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px;
}
.eckdatum strong em { font-style: normal; color: var(--akzent-text); }
.eckdatum span { font-size: 14.5px; color: var(--text-2); line-height: 1.45; display: block; }

/* ---------- Leistungen ---------- */
.leistungen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.leistung {
  position: relative; padding: 34px 32px 30px;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius);
  transition: border-color .25s, transform .25s, background .25s;
}
.leistung::before, .leistung::after {
  content: ""; position: absolute; width: 14px; height: 14px; opacity: 0;
  border-color: var(--akzent); border-style: solid; transition: opacity .25s;
}
.leistung::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: var(--radius); }
.leistung::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: var(--radius); }
.leistung:hover { border-color: var(--linie-2); transform: translateY(-3px); }
.leistung:hover::before, .leistung:hover::after { opacity: 1; }
.leistung-oben { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.symbol {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 13px; color: var(--akzent-text);
  background: var(--akzent-weich); border: 1px solid var(--linie);
}
.nummer { font-family: var(--schrift-mono); font-size: 13px; color: var(--text-3); letter-spacing: .1em; }
.leistung h3 { margin-bottom: 12px; font-size: 24px; }
.leistung p { color: var(--text-2); margin-bottom: 22px; }
.schlagworte { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.schlagworte li {
  font-family: var(--schrift-mono); font-size: 12.5px; color: var(--text-2);
  padding: 4px 10px; border-radius: 7px; background: var(--flaeche-2); border: 1px solid var(--linie);
}

/* ---------- Maschinen und KI ---------- */
.abschnitt-band { background: var(--bg-2); }
.maschinen { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.maschinen h2 { max-width: 600px; }
.maschinen .abschnitt-text { margin-bottom: 34px; }
.belege { list-style: none; display: grid; gap: 14px; }
.belege li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 18px; border-radius: 12px;
  background: var(--flaeche); border: 1px solid var(--linie);
  color: var(--text-2); font-size: 16px; line-height: 1.55;
}
.belege strong { color: var(--text); font-weight: 600; }
.beleg-symbol {
  flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--akzent-weich); color: var(--akzent-text);
}
.kreislauf svg { display: block; width: 100%; max-width: 500px; height: auto; margin: 0 auto; }
.k-ring { fill: none; stroke: var(--linie-2); stroke-width: 1.4; stroke-dasharray: 3 7; }
.k-bogen { fill: none; stroke: var(--akzent); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 120 823; }
.k-dreher { transform-origin: 230px 230px; animation: kreisen-bogen 9s linear infinite; }
.k-laeufer { transform-origin: 230px 230px; animation: kreisen 9s linear infinite; }
@keyframes kreisen { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes kreisen-bogen { from { transform: rotate(-135.8deg); } to { transform: rotate(224.2deg); } }
.k-punkt { fill: var(--akzent); filter: drop-shadow(0 0 6px var(--akzent)); }
.k-pfeil { fill: none; stroke: var(--text-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.k-knoten { fill: var(--flaeche); stroke: var(--linie-2); stroke-width: 1.2; }
.k-knoten-akzent { stroke: var(--akzent); }
.k-symbol { fill: none; stroke: var(--mess); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.k-titel { fill: var(--text); font-family: var(--schrift-titel); font-size: 15px; font-weight: 600; }
.k-mitte-klein { fill: var(--text-3); font-family: var(--schrift-mono); font-size: 11px; letter-spacing: .16em; }
.k-mitte { fill: var(--text); font-family: var(--schrift-titel); font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.k-weg { fill: var(--text-2); font-family: var(--schrift-mono); font-size: 12px; }


/* ---------- Arbeiten (Kacheln) ---------- */
.kacheln { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.kachel {
  position: relative; display: flex; flex-direction: column;
  grid-column: span 2; min-height: 260px; padding: 28px;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius);
  overflow: hidden; transition: border-color .25s;
}
.kachel:hover { border-color: var(--linie-2); }
.kachel-gross { grid-column: span 4; grid-row: span 2; padding: 0; }
.kachel-breit { grid-column: span 3; }
.kachel h3 { margin-bottom: 10px; }
.kachel p { color: var(--text-2); font-size: 16px; }
.kachel .mehr {
  margin-top: auto; padding-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--schrift-titel); font-weight: 600; font-size: 15px;
  color: var(--akzent-text); text-decoration: none;
}
.kachel .mehr:hover { text-decoration: underline; text-underline-offset: 4px; }
.zustand {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px;
  font-family: var(--schrift-mono); font-size: 12px; letter-spacing: .04em;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--linie-2); color: var(--text-2);
}
.zustand i { width: 7px; height: 7px; border-radius: 50%; background: var(--gut); }
.zustand.bau i { background: var(--akzent); }
.zustand.marke i { background: var(--mess); }
.kachel-grafik { margin: -4px 0 18px; color: var(--mess); height: 64px; }
.kachel-grafik svg { height: 100%; width: auto; }

.kachel-gross .kachel-text { padding: 32px 32px 28px; display: flex; flex-direction: column; flex: 1; }
.kachel-gross h3 { font-size: 30px; }
.kachel-gross p { font-size: 17px; max-width: 520px; }
.bildschirm {
  margin: 0 28px; border: 1px solid var(--linie-2); border-bottom: 0;
  border-radius: 12px 12px 0 0; overflow: hidden; background: var(--bg-2);
}
.bildschirm-leiste {
  display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--linie);
}
.bildschirm-leiste i { width: 8px; height: 8px; border-radius: 50%; background: var(--linie-2); }
.bildschirm img { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; object-position: center top; }
.kcad { font-family: var(--schrift-titel); }
.kcad .k { font-weight: 300; }
.kcad .c { font-weight: 700; color: var(--mess); }

.kachel-foto { padding: 0; }
.kachel-foto img { width: 100%; height: 170px; object-fit: cover; }
.kachel-foto .kachel-text { padding: 22px 26px 26px; display: flex; flex-direction: column; flex: 1; }

html[data-schema="hell"] .nur-dunkel { display: none; }
html:not([data-schema="hell"]) .nur-hell { display: none; }

/* ---------- Geschichte ---------- */
.kernsatz {
  font-family: var(--schrift-titel); font-weight: 500;
  font-size: clamp(22px, 2.8vw, 32px); line-height: 1.35; letter-spacing: -.01em;
  max-width: 900px; margin: -8px 0 64px; padding-left: 22px; border-left: 3px solid var(--akzent);
}
.kernsatz span { color: var(--text-2); }

.zeitlinie { list-style: none; position: relative; }
.zeitlinie::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; left: 122px; width: 1px;
  background: linear-gradient(180deg, transparent, var(--linie-2) 4%, var(--linie-2) 96%, transparent);
}
.station { display: grid; grid-template-columns: 96px 52px 1fr; align-items: start; padding-bottom: 28px; }
.station-jahr {
  font-family: var(--schrift-mono); font-size: 20px; font-weight: 600; color: var(--text);
  text-align: right; padding-top: 22px; letter-spacing: .02em;
}
.station-punkt {
  position: relative; justify-self: center; margin-top: 26px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--akzent);
}
.station-punkt::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--akzent);
  transform: scale(0); transition: transform .35s;
}
.station:hover .station-punkt::after, .station.sichtbar .station-punkt::after { transform: scale(1); }
.station-karte {
  display: grid; grid-template-columns: 1fr 260px; gap: 26px; align-items: start;
  padding: 22px 22px 22px 26px;
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius);
  transition: border-color .25s;
}
.station-karte.ohne-bild { grid-template-columns: 1fr; }
.station:hover .station-karte { border-color: var(--linie-2); }
.station-marke {
  font-family: var(--schrift-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--akzent-text); margin-bottom: 8px;
}
.station h3 { margin-bottom: 10px; }
.station p { color: var(--text-2); font-size: 16.5px; }
.station details { margin-top: 12px; }
.station summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-family: var(--schrift-titel); font-size: 14.5px; font-weight: 600; color: var(--text);
  padding: 5px 12px; border-radius: 8px; border: 1px solid var(--linie-2);
  transition: border-color .2s, background .2s;
}
.station summary::-webkit-details-marker { display: none; }
.station summary:hover { background: var(--flaeche-2); border-color: var(--text-3); }
.station summary svg { transition: transform .25s; }
.station details[open] summary svg { transform: rotate(45deg); }
.station details p { margin-top: 12px; }
.station figure { margin: 0; }
.station figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--linie);
}
.station figure.breit img { aspect-ratio: 5 / 2; }
.station figcaption { font-size: 12.5px; color: var(--text-3); margin-top: 8px; line-height: 1.45; }
.station-heute .station-punkt { border-color: var(--gut); }
.station-heute .station-punkt::after { background: var(--gut); transform: scale(1); }

/* ---------- Arbeitsweise ---------- */
.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: schritt; }
.schritte::before {
  content: ""; position: absolute; left: 30px; right: 30px; top: 30px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--linie-2) 0 8px, transparent 8px 14px);
}
.schritt { position: relative; }
.schritt-marke {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--bg); border: 1px solid var(--linie-2);
  font-family: var(--schrift-mono); font-size: 15px; font-weight: 600; color: var(--akzent-text);
}
.schritt-marke::before, .schritt-marke::after { content: ""; position: absolute; background: var(--akzent); opacity: .55; }
.schritt-marke::before { width: 1px; height: 76px; }
.schritt-marke::after { width: 76px; height: 1px; }
.schritt-marke span { position: relative; z-index: 1; background: var(--bg); padding: 0 3px; }
.schritt h3 { margin-bottom: 10px; }
.schritt p { color: var(--text-2); font-size: 16.5px; }
.grundsaetze { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; list-style: none; }
.grundsaetze li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px; border-radius: 999px;
  background: var(--flaeche); border: 1px solid var(--linie);
  font-family: var(--schrift-titel); font-size: 15px; font-weight: 500;
}
.grundsaetze li svg { color: var(--gut); flex: none; }

/* ---------- Unternehmen ---------- */
.unternehmen { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.unternehmen p { color: var(--text-2); margin-bottom: 18px; font-size: 18px; }
.unternehmen p strong { color: var(--text); font-weight: 600; }
.steckbrief {
  background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: 8px 26px;
}
.steckbrief div { display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-top: 1px solid var(--linie); }
.steckbrief div:first-child { border-top: 0; }
.steckbrief dt { font-family: var(--schrift-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.steckbrief dd { text-align: right; font-weight: 500; }

/* ---------- Kontakt ---------- */
.kontakt-feld {
  position: relative; overflow: hidden;
  padding: 64px 56px; border-radius: 24px;
  background: var(--flaeche); border: 1px solid var(--linie-2);
}
.kontakt-feld::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--raster) 1px, transparent 1px),
    linear-gradient(90deg, var(--raster) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.kontakt-feld::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; bottom: -260px;
  background: radial-gradient(circle, var(--akzent-weich), transparent 65%); pointer-events: none;
}
.kontakt-gitter { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.kontakt-feld h2 { margin-bottom: 18px; }
.kontakt-feld .abschnitt-text { margin-bottom: 30px; }
.wege { display: grid; gap: 12px; }
.weg {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: var(--bg-2); border: 1px solid var(--linie); border-radius: 12px;
  text-decoration: none; transition: border-color .2s, transform .2s;
}
a.weg:hover { border-color: var(--akzent); transform: translateX(3px); }
.weg-symbol { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--akzent-weich); color: var(--akzent-text); flex: none; }
.weg small { display: block; font-family: var(--schrift-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.weg span { font-weight: 500; line-height: 1.4; }

/* ---------- Fusszeile ---------- */
.fuss { border-top: 1px solid var(--linie); padding: 48px 0 40px; color: var(--text-2); font-size: 15px; }
.fuss-gitter { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.fuss p { margin-top: 12px; max-width: 360px; }
.fuss h4 { font-family: var(--schrift-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; font-weight: 500; }
.fuss ul { list-style: none; display: grid; gap: 8px; }
.fuss a { text-decoration: none; color: var(--text-2); }
.fuss a:hover { color: var(--text); }
.fuss-boden {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--linie);
  font-size: 13.5px; color: var(--text-3);
}
.fuss-boden .still { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Rechtstexte ---------- */
.recht { padding: 72px 0 104px; }
.recht .rahmen { max-width: 800px; }
.recht h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 40px; }
.recht h2 {
  font-family: var(--schrift-mono); font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--akzent-text); margin: 40px 0 12px;
}
.recht p, .recht li { color: var(--text-2); margin-bottom: 10px; }
.recht strong { color: var(--text); font-weight: 600; }
.recht ul { padding-left: 22px; margin-bottom: 10px; }
.recht a { color: var(--text); text-underline-offset: 3px; }
.recht .leise { color: var(--text-3); }
.zurueck {
  display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
  font-family: var(--schrift-titel); font-size: 15px; font-weight: 500; color: var(--text-2); text-decoration: none;
}
.zurueck:hover { color: var(--text); }

/* ---------- Einblenden beim Scrollen ---------- */
html.js .zeigen { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .zeigen.sichtbar { opacity: 1; transform: none; }

/* ---------- Schmaler ---------- */
@media (max-width: 1080px) {
  .held-gitter { grid-template-columns: 1fr; gap: 64px; }
  .held h1 { font-size: clamp(38px, 7vw, 64px); }
  .held-bild { max-width: 620px; margin: 0 auto; width: 100%; }
  .plakette-stand { right: 12px; }
  .kachel-gross { grid-column: span 6; grid-row: auto; }
  .kachel { grid-column: span 3; }
  .kachel-breit { grid-column: span 3; }
}
@media (max-width: 900px) {
  .navi {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; gap: 0; padding: 10px var(--rand) 18px;
    background: var(--bg); border-bottom: 1px solid var(--linie);
  }
  .navi.offen { display: flex; }
  .navi a.nur-schmal { display: block; color: var(--akzent-text); }
  .navi a { padding: 13px 4px; font-size: 18px; border-bottom: 1px solid var(--linie); border-radius: 0; }
  .menue-knopf { display: inline-grid; }
  .kopf-rechts { margin-left: auto; }
  .kopf-rechts .knopf-klein { display: none; }
  .leistungen { grid-template-columns: 1fr; }
  .eckdaten { grid-template-columns: repeat(2, 1fr); }
  .eckdatum:nth-child(3) { border-left: 0; }
  .eckdatum:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .schritte { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .schritte::before { display: none; }
  .unternehmen { grid-template-columns: 1fr; gap: 36px; }
  .maschinen { grid-template-columns: 1fr; gap: 48px; }
  .kreislauf svg { max-width: 440px; }
  .kontakt-gitter { grid-template-columns: 1fr; gap: 36px; }
  .kontakt-feld { padding: 44px 32px; }
  .fuss-gitter { grid-template-columns: 1fr 1fr; }
  .fuss-gitter > div:first-child { grid-column: 1 / -1; }
  .station-karte { grid-template-columns: 1fr; }
  .station figure { order: -1; }
}
@media (max-width: 640px) {
  :root { --rand: 16px; }
  body { font-size: 16.5px; }
  .abschnitt { padding: 80px 0; }
  .abschnitt-kopf { margin-bottom: 40px; }
  .held { padding: 48px 0 56px; }
  .kennung .nur-breit { display: none; }
  .a-unter { display: none; }
  .a-titel { font-size: 19px; }
  .a-nr { font-size: 14px; }
  .einleitung { font-size: 17.5px; }
  .knoepfe .knopf { flex: 1 1 100%; justify-content: center; }
  .plakette-stand { position: relative; right: auto; bottom: auto; width: auto; margin: -12px 14px 0; }
  .aufbau-fuss .nur-breit { display: none; }
  .eckdaten { margin-top: 56px; }
  .eckdatum { padding: 18px 16px; }
  .eckdatum strong { font-size: 22px; }
  .eckdatum span { font-size: 13.5px; }
  .kacheln { grid-template-columns: 1fr; }
  .kachel, .kachel-gross, .kachel-breit { grid-column: auto; }
  .kachel { min-height: 0; padding: 24px; }
  .bildschirm { margin: 0 16px; }
  .kachel-gross .kachel-text { padding: 26px 22px 24px; }
  .leistung { padding: 28px 22px 24px; }
  .zeitlinie::before { left: 8px; }
  .station { grid-template-columns: 17px 1fr; column-gap: 16px; }
  .station-jahr { grid-column: 2; text-align: left; padding: 0 0 8px; font-size: 18px; }
  .station-punkt { grid-column: 1; grid-row: 1; margin-top: 4px; }
  .station-karte { grid-column: 2; padding: 18px; }
  .schritte { grid-template-columns: 1fr; }
  .kontakt-feld { padding: 36px 20px; border-radius: 18px; }
  .steckbrief { padding: 4px 18px; }
  .steckbrief div { flex-direction: column; gap: 2px; }
  .steckbrief dd { text-align: left; }
  .fuss-gitter { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ebene, .a-strahl, .a-led-akzent, .laeuft::before { animation: none; }
  .paket { display: none; }
  .k-dreher, .k-laeufer, .a-werkzeugbahn { animation: none; }
  .kennung-punkt { animation: none; }
  html.js .zeigen { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
