/* ==========================================================================
   EBEHAKO electronic – Entwurf 5 „Überdruck“
   Die Website als Zweifarbendruck: Farbe 1 = Spannung U (Blau), Farbe 2 = Strom I (Leuchtrot).
   Wo beide Farben übereinander drucken, entsteht das dunkle Blau des Textes.
   Die rote Platte ist um den Phasenwinkel φ versetzt – die Seite „kompensiert“ sich selbst.

   Aufbau:
   0. Schriften   1. Tokens   2. Das φ-System   3. Basis   4. Layout
   5. Druck-Bausteine (Zweifarbtext, Bilder, Passer, Welle, Stempel)
   6. Kopf / Navigation / φ-Regler   7. Startseite   8. Komponenten
   9. Seitenspezifisches   10. Fuß   11. Hilfsklassen / Bewegung / Druck
   ========================================================================== */

/* 0. Schriften (selbst gehostet, siehe public/assets/fonts/) ---------------- */
@font-face {
  font-family: "Bricolage Grotesque"; font-style: normal; font-display: swap;
  font-weight: 200 800; font-stretch: 75% 100%;
  src: url("../fonts/bricolage-grotesque-latin-standard-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: "Bricolage Grotesque"; font-style: normal; font-display: swap;
  font-weight: 200 800; font-stretch: 75% 100%;
  src: url("../fonts/bricolage-grotesque-latin-ext-standard-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("../fonts/instrument-sans-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: "Instrument Sans"; font-style: normal; font-display: swap; font-weight: 400 700;
  src: url("../fonts/instrument-sans-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+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: "Space Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/space-mono-latin-400-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: "Space Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/space-mono-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: "Space Mono"; font-style: normal; font-display: swap; font-weight: 700;
  src: url("../fonts/space-mono-latin-700-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: "Space Mono"; font-style: normal; font-display: swap; font-weight: 700;
  src: url("../fonts/space-mono-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}
/* Griechisch (φ, Ω …) fehlt in allen drei Familien – einheitlich aus Inter, auf den griechischen Bereich begrenzt. */
@font-face {
  font-family: "Griechisch"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/inter-greek-wght-normal.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Papier + zwei Druckfarben + ihr Überdruck. Mehr Farben gibt es nicht. */
  --papier: #f5f0e6;
  --blau: #0093d3;           /* Farbe 1 · Spannung U · Logo-Blau (Flächen, große Schrift) */
  --blau-tief: #00629f;      /* Farbe 1, satter gedruckt: Links und Text in Lesegröße (5,7 : 1 auf Papier) */
  --rot: #ff4055;            /* Farbe 2 · Strom I · Leuchtrot (nur Flächen, große Schrift, Akzente) */
  --ueber: #002446;          /* Überdruck Blau × Rot (multiply) = Textfarbe */
  --ueber-soft: #455d73;     /* Überdruck, aufgerastert: Nebentext (6 : 1) */
  --blau-10: #dde7e4;        /* 10 % Blau auf Papier */
  --blau-20: #c4dde2;
  --rot-10: #f6ded8;         /* 10 % Rot auf Papier */
  --rot-20: #f7cdc9;
  --haar: #b9bfbd;           /* Haarlinie: Überdruck, stark aufgerastert */

  --linie: 1.5px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  --f-display: "Bricolage Grotesque", "Griechisch", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Instrument Sans", "Griechisch", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Space Mono", "Griechisch", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Papierkorn: kleine, nahtlose Rausch-Kachel */
  --korn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='k' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .32  0 0 0 0 .25  0 0 0 0 .14  .3 0 0 0 -.105'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23k)'/%3E%3C/svg%3E");
  --raster: url("../img/druck/raster-verlauf.svg");
  --raster-lang: url("../img/druck/raster-verlauf-lang.svg");

  --einschwingen: cubic-bezier(.2, 1.35, .35, 1);   /* leichtes Überschwingen, wie ein Regelkreis */
}

/* 2. Das φ-System ---------------------------------------------------------- */
/* --phi     0 … 1   globale Phasenlage der roten Platte (0 = im Passer, cos φ = 1,00; 1 = 45°, cos φ = 0,71).
                     Wird vom φ-Regler im Seitenkopf gesetzt (src/client/phi.ts) und in localStorage gemerkt.
   --phi-in  0 … 1   lokaler Anteil: Elemente außerhalb des Bildschirms warten mit 1 und gleiten beim
                     Hereinscrollen auf 0 (Klasse .in, gesetzt per IntersectionObserver). Auch Hover nutzt ihn.
   --d               Summe beider – der Versatz, den jeder Baustein mit seinem eigenen Maß multipliziert.
   Ohne JavaScript und bei „Bewegung reduzieren“ bleibt alles bei 0: Die Seite steht im Passer. */
@property --phi { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --phi-in { syntax: "<number>"; inherits: true; initial-value: 0; }
*, *::before, *::after { --d: calc(var(--phi) + var(--phi-in)); }

/* Bausteine, die einzeln „einpassen“. Dieselbe Liste steht in src/client/phi.ts (REG). */
html.reg :is(.druck, .print, .passer, .welle, .stempel, .kreis, .card, .tile, .item, .cap, .feature-card, .calc, .bildtafel, figure.media, .reihe-karte, .index-zeile, .stat, .gen, .formelband, .cta-band, .site-footer):not(.in) { --phi-in: 1; }
html.reg :is(.druck, .print, .passer, .welle, .stempel, .kreis, .card, .tile, .item, .cap, .feature-card, .calc, .bildtafel, figure.media, .reihe-karte, .index-zeile, .stat, .gen, .formelband, .cta-band, .site-footer).in { transition: --phi-in 1.1s var(--einschwingen); }
html.reg .grid > .in:nth-child(2), html.reg .reihe > .in:nth-child(2) { transition-delay: .09s; }
html.reg .grid > .in:nth-child(3), html.reg .reihe > .in:nth-child(3) { transition-delay: .18s; }
html.reg .grid > .in:nth-child(4), html.reg .reihe > .in:nth-child(4) { transition-delay: .27s; }

/* 3. Basis ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--papier);
}
html.menu-offen { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ueber);
  background: var(--papier) var(--korn);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }

a { color: var(--blau-tief); text-decoration-thickness: .09em; text-underline-offset: .2em; }
a:hover { color: var(--ueber); text-decoration-color: var(--rot); text-decoration-thickness: .16em; }

:focus-visible { outline: 3px solid var(--ueber); outline-offset: 3px; }
::selection { background: var(--rot); color: var(--ueber); }

h1, h2, h3, h4 {
  font-family: var(--f-display); font-stretch: 75%; font-weight: 800;
  line-height: 1; margin: 0 0 .5em; color: var(--ueber); letter-spacing: 0;
  hyphens: none; overflow-wrap: break-word; text-wrap: balance;
}
/* Lange Komposita enthalten weiche Trennstellen (src/lib/text.ts). Auf breiten Bildschirmen bleiben Wörter ganz,
   erst unter 900 px darf dort getrennt werden – sonst würde z. B. „Blindleistungs-regler“ unnötig getrennt. */
h3, h4, .split h2, .duo h2, .card h2, .feature-card h2, .cta-band h2, .doc-teaser h2 { hyphens: manual; }
@media (max-width: 900px) { h1, h2 { hyphens: manual; } }
h1 { font-size: clamp(2.5rem, 1.1rem + 5.2vw, 5.25rem); line-height: .92; letter-spacing: -.005em; }
h2 { font-size: clamp(1.9rem, 1.25rem + 2.4vw, 3.1rem); line-height: .98; }
h3 { font-size: 1.5rem; font-stretch: 82%; font-weight: 750; line-height: 1.08; letter-spacing: -.005em; }
h4 { font-size: 1.15rem; font-stretch: 85%; font-weight: 700; line-height: 1.15; }

p, ul, ol, dl, table { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .25em; }
small { font-size: .875rem; }
sub { font-size: .7em; line-height: 0; }
strong, b { font-weight: 650; }
address { font-style: normal; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ueber); color: var(--papier); padding: .7em 1.1em; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--papier); }

/* 4. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: clamp(52px, 7.5vw, 104px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }

/* „Tonfläche“: 10 % Blau, oben mit einem auslaufenden Punktraster */
.section--soft { background: var(--blau-10) var(--korn); }
.section--soft::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 40px; pointer-events: none;
  background: var(--blau);
  -webkit-mask: var(--raster) 0 0 / 8px 40px repeat-x; mask: var(--raster) 0 0 / 8px 40px repeat-x;
  opacity: .55;
}

.section-head { max-width: 860px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ueber-soft); font-size: 1.15rem; max-width: 62ch; margin-bottom: 0; }
.section-head h2 { margin-bottom: .35em; }
.section-head h2:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-block; margin-bottom: 1.1em;
  font-family: var(--f-mono); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blau-tief);
}
.eyebrow::before { content: ""; display: inline-block; width: .6em; height: .6em; margin-right: .7em; background: var(--rot); border-radius: 50%; translate: calc(var(--d) * 5px) calc(var(--d) * 3px); }

.grid { display: grid; gap: clamp(18px, 2.5vw, 32px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

.split {
  display: grid; gap: clamp(28px, 5vw, 72px); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.split--top { align-items: start; }
.split > * { min-width: 0; }

.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--ueber); }
.stack { display: grid; gap: 1.25rem; }

/* 5. Druck-Bausteine -------------------------------------------------------- */

/* Zweifarbtext: Der echte Text ist durchsichtig; ::before druckt die Zeile in Blau, ::after dieselbe Zeile in Rot
   (beide multiply). Im Passer ergibt das den dunklen Überdruck, außer Phase sieht man beide Platten.
   Beide Platten sind bewusst gleich gebaut (Pseudo-Elemente) – nur so liegen sie pixelgenau übereinander. */
.druck { position: relative; color: transparent; }
.druck::before, .druck::after {
  content: attr(data-druck); content: attr(data-druck) / "";
  position: absolute; inset: 0; padding: inherit;
  mix-blend-mode: multiply; pointer-events: none; -webkit-user-select: none; user-select: none;
}
.druck::before { color: var(--blau); translate: 0 0; }
.druck::after { color: var(--rot); translate: calc(var(--d) * .1em) calc(var(--d) * .065em); }
.druck::selection { color: var(--ueber); }
@media (forced-colors: active) { .druck { color: CanvasText; } .druck::before, .druck::after { display: none; } }

/* Bilder als Drucke: zwei <img> übereinander (siehe Print in components/Druck.tsx).
   .p1 = Vollton in Blau, .p2 = nur die Tiefen in Rot, um φ versetzt. Hover/Fokus zeigt das echte Foto. */
.print { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; position: relative; min-width: 0; min-height: 0; }
.print > img { grid-area: 1 / 1; max-width: 100%; max-height: 100%; width: auto; height: auto; mix-blend-mode: multiply; }
.print > .p1 { filter: url(#platte-blau); }
.print > .p2 { filter: url(#platte-rot-tiefen); translate: calc(var(--d) * 14px) calc(var(--d) * 9px); transition: opacity .2s; }
.print--invers > .p1 { filter: url(#platte-rot); translate: calc(var(--d) * 14px) calc(var(--d) * 9px); }
.print--invers > .p2 { filter: url(#platte-blau-tiefen); translate: none; }
.print:hover > .p1, a:hover .print > .p1, a:focus-visible .print > .p1, .print--echt > .p1 { filter: none; mix-blend-mode: normal; translate: none; }
.print:hover > .p2, a:hover .print > .p2, a:focus-visible .print > .p2, .print--echt > .p2 { opacity: 0; }

/* Bildtafel: eingeklebtes Originalfoto (Produktseiten, Bildschirmfotos) – weißes Fotopapier,
   dahinter die rote Platte, die nur außer Phase hervorschaut. */
figure.media { position: relative; margin: 0; }
.bildtafel { display: block; background: #fff; border: var(--linie) solid var(--ueber); box-shadow: calc(var(--d) * 16px) calc(var(--d) * 11px) 0 0 var(--rot); }
.framed { border: var(--linie) solid var(--ueber); background: #fff; box-shadow: calc(var(--d) * 16px) calc(var(--d) * 11px) 0 0 var(--rot); }
figure.media figcaption { margin-top: .7rem; font-family: var(--f-mono); font-size: .75rem; line-height: 1.5; color: var(--ueber-soft); }
figure.media figcaption small { font-size: inherit; }
figure.media figcaption::before { content: "Abb. — "; color: var(--blau-tief); font-weight: 700; }

/* Passermarke: Kreis + Fadenkreuz, einmal je Farbe */
.passer { width: 34px; height: 34px; overflow: visible; fill: none; stroke-width: 1.4; flex-shrink: 0; }
.passer-1 { stroke: var(--blau); }
.passer-2 { stroke: var(--rot); mix-blend-mode: multiply; translate: calc(var(--d) * 9px) calc(var(--d) * 6px); }

/* Farbkontrollstreifen */
.farbkeil { display: inline-flex; flex-shrink: 0; height: 12px; }
.farbkeil i { width: 16px; height: 100%; }
.farbkeil i:nth-child(1) { background: var(--blau); }
.farbkeil i:nth-child(2) { background: var(--blau-20); }
.farbkeil i:nth-child(3) { background: var(--blau-10); }
.farbkeil i:nth-child(4) { background: var(--rot); }
.farbkeil i:nth-child(5) { background: var(--rot-20); }
.farbkeil i:nth-child(6) { background: var(--rot-10); }
.farbkeil i:nth-child(7) { background: var(--ueber); }

/* Sinuswelle u(t) / i(t): die rote Kurve ist um φ verschoben (45° = 1/8 Periode) */
.welle { display: block; width: 100%; height: 100%; overflow: visible; fill: none; }
.welle path { stroke-width: var(--strich, 10px); vector-effect: non-scaling-stroke; stroke-linecap: round; }
.welle-u { stroke: var(--blau); }
.welle-i { stroke: var(--rot); mix-blend-mode: multiply; translate: calc(var(--d) * var(--achtel, 50px)) 0; }
.welle-achse { stroke: var(--ueber); stroke-width: 1px !important; stroke-dasharray: 2 6; }

/* Das φ als Zeichen (Ring + Strich), passend zur Plakatschrift */
.phi-glyph { display: inline-block; height: 1.02em; width: .6em; vertical-align: -.25em; overflow: visible; }

/* Stempel / Aufkleber */
.stempel { width: 128px; height: 128px; overflow: visible; rotate: calc(-11deg + var(--d) * 9deg); flex-shrink: 0; }
.stempel-flaeche { fill: var(--rot); }
.stempel--blau .stempel-flaeche { fill: var(--blau); }
.stempel--papier .stempel-flaeche { fill: var(--papier); stroke: var(--ueber); stroke-width: 1.5; }
.stempel-ring { fill: none; stroke: var(--ueber); stroke-width: 1; stroke-dasharray: 1.5 3; }
.stempel-rand { font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: var(--ueber); }
.stempel-mitte { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 40px; letter-spacing: -.02em; fill: var(--ueber); }
.stempel-mitte--klein { font-size: 25px; }
.stempel-unter { font-family: var(--f-mono); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; fill: var(--ueber); }

/* Farbkreis */
.kreis { display: block; border-radius: 50%; aspect-ratio: 1; background: var(--rot); translate: calc(var(--d) * 22px) calc(var(--d) * 14px); }
.kreis--blau { background: var(--blau); translate: none; }
.kreis--raster { background: var(--blau); translate: none; -webkit-mask: var(--raster-lang) 0 0 / auto 100% repeat-x; mask: var(--raster-lang) 0 0 / auto 100% repeat-x; }

/* 6. Kopf / Navigation / φ-Regler ------------------------------------------ */

/* Bogenrand: Kontrollstreifen des Druckbogens mit Telefon und E-Mail */
.bogenrand { border-bottom: var(--linie) solid var(--ueber); font-family: var(--f-mono); font-size: .75rem; line-height: 1.4; }
.bogenrand .container { display: flex; align-items: center; gap: 1rem 1.5rem; min-height: 34px; padding-block: .35rem; }
.bogeninfo { color: var(--ueber-soft); letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.bogeninfo b { color: var(--blau-tief); font-weight: 700; }
.bogeninfo b + b { color: var(--ueber); background: var(--rot); padding: 0 .35em; }
.bogenrand-kontakt { margin-left: auto; display: flex; gap: 1.4rem; flex-shrink: 0; }
.bogenrand a { color: var(--ueber); font-weight: 700; text-decoration: none; white-space: nowrap; }
.bogenrand a:hover { text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; }
@media (max-width: 760px) { .bogeninfo { display: none; } .bogenrand-kontakt { margin-left: auto; gap: .9rem; } }
@media (max-width: 460px) { .bogenrand .farbkeil { display: none; } .bogenrand-kontakt { margin-inline: auto; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--papier) var(--korn);
  border-bottom: var(--linie) solid var(--ueber);
}
.header-inner { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.75rem); min-height: var(--header-h); }

.brand { flex-shrink: 0; display: block; }
.brand img { height: 44px; width: auto; }

.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; align-items: center; }
.nav-list > li { position: relative; margin: 0; }

.nav-link {
  position: relative; isolation: isolate;
  display: flex; align-items: center; gap: .35em;
  padding: .55rem .6rem;
  font-family: var(--f-display); font-stretch: 84%; font-weight: 700; font-size: 1.12rem; letter-spacing: -.005em;
  color: var(--ueber); text-decoration: none;
}
/* Hover: die rote Platte rutscht unter dem Wort hervor */
.nav-link::before {
  content: ""; position: absolute; inset: .35rem .3rem; z-index: -1; background: var(--rot);
  opacity: 0; translate: 0 0; transition: opacity .12s, translate .25s var(--einschwingen);
}
.nav-link:hover, .nav-list > li:focus-within > .nav-link { color: var(--ueber); }
.nav-link:hover::before, .nav-list > li:focus-within > .nav-link::before { opacity: 1; translate: 5px 4px; }
.nav-link .chev { width: 9px; height: 9px; transition: rotate .15s; }

/* aktiver Bereich – über data-section am <body>: blauer Balken (Platte 1 steht immer) */
body[data-section="kompensation"]  .nav-link[data-nav="kompensation"],
body[data-section="messtechnik"]   .nav-link[data-nav="messtechnik"],
body[data-section="baugruppen"]    .nav-link[data-nav="baugruppen"],
body[data-section="service"]       .nav-link[data-nav="service"],
body[data-section="unternehmen"]   .nav-link[data-nav="unternehmen"] {
  box-shadow: inset 0 -5px 0 var(--blau);
}

.subnav {
  list-style: none; margin: 0; padding: .6rem;
  position: absolute; top: calc(100% + 6px); left: -.4rem; min-width: 330px; z-index: 5;
  background: var(--papier); border: var(--linie) solid var(--ueber);
  box-shadow: 9px 7px 0 var(--rot);                                 /* versetzte rote Platte, kein Schatten */
  opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity .15s, translate .15s, visibility .15s;
}
.subnav::before { content: ""; position: absolute; inset: -12px 0 100%; }      /* Brücke für den Mauszeiger */
.nav-list > li:hover > .subnav,
.nav-list > li:focus-within > .subnav { opacity: 1; visibility: visible; translate: 0 0; }
.nav-list > li:hover .chev,
.nav-list > li:focus-within .chev { rotate: 180deg; }
.nav-list > li:nth-last-child(-n+3) > .subnav { left: auto; right: -.4rem; }

.subnav li { margin: 0; }
.subnav li + li { border-top: 1px solid var(--haar); }
.subnav a {
  display: block; padding: .6rem .7rem;
  font-family: var(--f-display); font-stretch: 84%; font-weight: 700; font-size: 1.08rem; line-height: 1.2;
  color: var(--ueber); text-decoration: none;
}
.subnav a span { display: block; margin-top: .15rem; font-family: var(--f-text); font-weight: 400; font-size: .84rem; line-height: 1.35; color: var(--ueber-soft); }
.subnav a:hover, .subnav a:focus-visible { background: var(--blau-10); color: var(--blau-tief); }

.nav-cta { margin-left: .35rem; }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: .5rem;
  border: var(--linie) solid var(--ueber); background: transparent; border-radius: 999px;
  padding: .5rem .9rem; font-family: var(--f-mono); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ueber); cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }
.nav-toggle .nav-toggle-zu { display: none; }
.site-header.is-open .nav-toggle { background: var(--ueber); color: var(--papier); }
.site-header.is-open .nav-toggle .nav-toggle-auf { display: none; }
.site-header.is-open .nav-toggle .nav-toggle-zu { display: inline; }

/* φ-Regler: das Instrument im Seitenkopf (nur mit JavaScript sichtbar) */
.phi-regler { display: none; align-items: center; gap: .6rem; flex-shrink: 0; padding-left: clamp(.5rem, 1.4vw, 1.25rem); border-left: var(--linie) solid var(--ueber); align-self: stretch; }
html.js .phi-regler { display: flex; }
.phi-zeiger { width: 40px; height: 40px; overflow: visible; flex-shrink: 0; }
.phi-zeiger circle { fill: none; stroke: var(--ueber); stroke-width: 1.2; }
.phi-zeiger .skala { stroke: var(--ueber); stroke-width: 1; stroke-dasharray: 1 3.19; }
.phi-zeiger line { stroke-width: 3; stroke-linecap: round; transform-origin: 20px 20px; }
.phi-zeiger .zeiger-u { stroke: var(--blau); }
.phi-zeiger .zeiger-i { stroke: var(--rot); mix-blend-mode: multiply; rotate: calc(var(--d) * 45deg); }
.phi-feld { display: grid; gap: .1rem; min-width: 0; }
.phi-anzeige { font-family: var(--f-mono); font-size: .72rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; color: var(--ueber); line-height: 1.3; cursor: default; }
.phi-anzeige output { display: inline-block; min-width: 9.2ch; }
.phi-eingabe {
  -webkit-appearance: none; appearance: none; display: block; width: 132px; height: 24px; margin: 0; padding: 0;
  background: transparent; cursor: ew-resize; touch-action: pan-y;
}
.phi-eingabe::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(90deg, var(--rot), var(--blau)); border: var(--linie) solid var(--ueber); border-radius: 0; background: repeating-linear-gradient(90deg, var(--ueber) 0 1.5px, transparent 1.5px 9px) var(--papier); }
.phi-eingabe::-moz-range-track { height: 6px; border: var(--linie) solid var(--ueber); border-radius: 0; background: repeating-linear-gradient(90deg, var(--ueber) 0 1.5px, transparent 1.5px 9px) var(--papier); box-sizing: content-box; }
.phi-eingabe::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8.5px; border-radius: 50%; background: var(--rot); border: var(--linie) solid var(--ueber); }
.phi-eingabe::-moz-range-thumb { width: 17px; height: 17px; border-radius: 50%; background: var(--rot); border: var(--linie) solid var(--ueber); }
.phi-eingabe:focus-visible { outline-offset: 2px; }
/* „kompensieren“: schwebt unten rechts, sobald die Seite außer Phase ist */
.phi-komp {
  position: fixed; right: clamp(14px, 2.5vw, 32px); bottom: clamp(14px, 2.5vw, 28px); z-index: 70;
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-mono); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  border: var(--linie) solid var(--ueber); border-radius: 999px; background: var(--rot); color: var(--ueber);
  padding: .85rem 1.2rem; cursor: pointer; white-space: nowrap; rotate: -3deg;
  box-shadow: -5px 4px 0 var(--blau);
  visibility: hidden; opacity: 0; translate: 0 12px; transition: opacity .2s, visibility .2s, translate .3s var(--einschwingen);
}
.phi-komp svg { width: 1.1em; height: 1.1em; }
html.phi-aktiv .phi-komp { visibility: visible; opacity: 1; translate: 0 0; }
.phi-komp:hover { background: var(--ueber); color: var(--papier); }

/* Darunter wird die Navigation zum bildschirmfüllenden Plakat */
@media (max-width: 1239px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; order: 3; margin-left: 0; }
  .phi-regler { margin-left: auto; order: 2; border-left: 0; padding-left: 0; }
  .brand img { height: 40px; }
  .nav {
    display: none; order: 4;
    position: fixed; inset: calc(var(--menu-top, 99px)) 0 0 0; margin: 0; z-index: 60;
    background: var(--blau); color: var(--ueber);
    overflow-y: auto; overscroll-behavior: contain;
    padding: clamp(1.25rem, 4vw, 2.5rem) var(--gutter) 3rem;
  }
  .site-header.is-open .nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; max-width: var(--container); margin-inline: auto; counter-reset: nav; }
  .nav-list > li { border-top: var(--linie) solid var(--ueber); padding-block: .5rem .9rem; counter-increment: nav; }
  .nav-list > li:last-child { border-bottom: var(--linie) solid var(--ueber); }
  .nav-link {
    padding: .25rem 0; align-items: baseline; gap: .8rem;
    font-stretch: 75%; font-weight: 800; font-size: clamp(2.4rem, 11vw, 4.5rem); line-height: .95; letter-spacing: -.02em;
    color: var(--papier);
  }
  .nav-link::after { content: counter(nav, decimal-leading-zero); order: -1; font-family: var(--f-mono); font-size: .8rem; font-weight: 700; letter-spacing: .05em; color: var(--ueber); min-width: 1.6rem; }
  .nav-link::before { display: none; }
  .nav-link:hover, .nav-link:focus-visible, .nav-list > li:focus-within > .nav-link { color: var(--ueber); }
  .nav-link .chev { display: none; }
  body[data-section] .nav-link[data-nav] { box-shadow: none; }
  body[data-section="kompensation"]  .nav-link[data-nav="kompensation"],
  body[data-section="messtechnik"]   .nav-link[data-nav="messtechnik"],
  body[data-section="baugruppen"]    .nav-link[data-nav="baugruppen"],
  body[data-section="service"]       .nav-link[data-nav="service"],
  body[data-section="unternehmen"]   .nav-link[data-nav="unternehmen"] { color: var(--ueber); }
  .subnav {
    position: static; opacity: 1; visibility: visible; translate: none; box-shadow: none;
    border: 0; background: none; min-width: 0; padding: .2rem 0 0 2.4rem;
    display: flex; flex-wrap: wrap; gap: .1rem 1.4rem;
  }
  .subnav::before { display: none; }
  .subnav li + li { border: 0; }
  .subnav a { padding: .4rem 0; font-family: var(--f-text); font-weight: 600; font-size: 1.02rem; color: var(--ueber); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
  .subnav a:hover, .subnav a:focus-visible { background: none; color: var(--papier); }
  .subnav a span { display: none; }
  .nav-cta { margin: 0; padding-top: 1.25rem !important; }
  .nav-cta .btn { background: var(--ueber); color: var(--papier); font-size: 1.1rem; }
}
@media (max-width: 520px) {
  .brand img { height: 34px; }
  .phi-zeiger { display: none; }
  .phi-eingabe { width: 104px; }
  .nav-toggle { padding: .5rem .7rem; }
}
@media (max-width: 380px) { .nav-toggle svg { display: none; } .phi-eingabe { width: 88px; } }

/* 7. Startseite ------------------------------------------------------------ */
.hero { position: relative; overflow: clip; padding-block: clamp(20px, 3vw, 40px) 0; }
.hero-kopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: clamp(.5rem, 1.5vw, 1.25rem); }
.hero-kopf .eyebrow { margin: 0; }
.hero-rahmen { container-type: inline-size; }
.hero-titel { margin: 0; font-size: 2.6rem; line-height: .86; letter-spacing: -.03em; text-wrap: wrap; }
.hero-titel .z1 { display: block; font-size: 15.1cqi; }
.hero-titel .z2 { display: block; margin-top: .22em; font-size: 5.1cqi; font-stretch: 100%; font-weight: 300; letter-spacing: -.025em; line-height: 1; color: var(--blau-tief); }
@media (max-width: 640px) {
  .hero-titel .z1 { font-size: 18.6cqi; }
  .hero-titel .z2 { font-size: 8.4cqi; font-weight: 400; }
}

.hero-buehne { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: clamp(1.5rem, 3vw, 2.75rem); }
.hero-text { position: relative; z-index: 2; padding-bottom: clamp(150px, 17vw, 230px); }
.hero .lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.5; max-width: 44ch; margin-bottom: 1.6rem; }
.hero-bild { position: relative; align-self: stretch; min-height: clamp(300px, 36vw, 470px); }
.hero-bild .kreis { position: absolute; width: min(74%, 440px); right: -3%; top: -24%; }
.hero-bild .kreis--raster { width: min(44%, 250px); right: auto; left: 2%; top: auto; bottom: 8%; }
.hero-geraet { position: absolute; display: block; right: 24%; top: 2%; width: min(66%, 400px); }
.hero-geraet .print > img { width: 100%; }
.hero-bild .stempel { position: absolute; right: 0; bottom: 14%; z-index: 3; width: 140px; height: 140px; }
.hero-bild .stempel--blau { right: auto; left: 0; top: -2%; bottom: auto; rotate: calc(9deg - var(--d) * 9deg); width: 118px; height: 118px; }

.hero-welle { position: absolute; inset: auto 0 0 0; height: clamp(120px, 15vw, 200px); pointer-events: none; --strich: clamp(7px, 1vw, 13px); }
.hero-formel {
  position: absolute; left: var(--gutter); bottom: clamp(8px, 1.4vw, 18px); z-index: 2;
  display: flex; gap: 1.2rem; align-items: baseline;
  font-family: var(--f-mono); font-size: .75rem; font-weight: 700; letter-spacing: .06em;
}
.hero-formel .u { color: var(--blau-tief); } .hero-formel .i { color: var(--ueber); background: var(--rot); padding: 0 .4em; }

.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .45rem; font-family: var(--f-mono); font-size: .78rem; font-weight: 700; letter-spacing: .03em; }
.facts li { margin: 0; display: flex; align-items: center; gap: .7em; }
.facts svg { width: 16px; height: 16px; color: var(--ueber); background: var(--blau); border-radius: 50%; padding: 3px; flex-shrink: 0; }

@media (max-width: 860px) {
  .hero-buehne { grid-template-columns: 1fr; }
  .hero-text { padding-bottom: 0; }
  .hero-bild { min-height: 0; height: clamp(330px, 78vw, 520px); margin-bottom: clamp(70px, 14vw, 120px); }
  .hero-bild .kreis { width: min(66%, 380px); right: -2%; top: 0; }
  .hero-geraet { width: min(60%, 340px); right: 22%; top: 14%; }
  .hero-bild .kreis--raster { width: 34%; bottom: 2%; }
  .hero-bild .stempel--blau { left: 0; top: 2%; }
  .hero-bild .stempel { right: 0; bottom: 0; }
}

/* Reihe der aktuellen Regler: vier Plakate */
.reihe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); counter-reset: reihe; }
@media (max-width: 1080px) { .reihe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reihe { grid-template-columns: 1fr; } }
.reihe-karte { position: relative; display: flex; flex-direction: column; color: var(--ueber); text-decoration: none; counter-increment: reihe; border: var(--linie) solid var(--ueber); background: var(--papier); isolation: isolate; }
.reihe-feld { position: relative; background: var(--papier); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 16% 14% 10%; border-bottom: var(--linie) solid var(--ueber); overflow: clip; isolation: isolate; }
.reihe-feld::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--feld, var(--blau)); translate: calc(var(--d) * var(--fx, 0px)) calc(var(--d) * var(--fy, 0px)); }
.reihe-feld::after { content: counter(reihe, decimal-leading-zero); position: absolute; left: .55rem; top: .35rem; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(2.6rem, 4.4vw, 3.9rem); line-height: 1; letter-spacing: -.03em; color: var(--ueber); }
.reihe-karte:nth-child(4n+1) .reihe-feld { --feld: var(--blau); }
.reihe-karte:nth-child(4n+2) .reihe-feld { --feld: var(--rot); --fx: 16px; --fy: 10px; }
.reihe-karte:nth-child(4n+3) .reihe-feld::before { background: var(--blau); -webkit-mask: var(--raster-lang) 0 0 / auto 100% repeat-x; mask: var(--raster-lang) 0 0 / auto 100% repeat-x; }
.reihe-karte:nth-child(4n+4) .reihe-feld::before { background: repeating-linear-gradient(135deg, var(--rot) 0 5px, transparent 5px 15px); --fx: 12px; --fy: 0px; }
.reihe-feld .print { width: 100%; height: 100%; }
.reihe-karte:hover .reihe-feld::before, .reihe-karte:focus-visible .reihe-feld::before { opacity: 0; }
.reihe-karte:hover .reihe-feld, .reihe-karte:focus-visible .reihe-feld { background: #fff; }
.reihe-body { display: flex; flex-direction: column; gap: .7rem; padding: 1.1rem 1.1rem 1.25rem; flex: 1; }
.reihe-body h3 { margin: 0; font-size: clamp(2rem, 2.6vw, 2.6rem); font-stretch: 75%; font-weight: 800; letter-spacing: -.02em; line-height: .95; }
.reihe-body p { margin: 0; font-size: .98rem; line-height: 1.5; color: var(--ueber); }
.reihe-karte .card-more { margin-top: auto; }

/* Im Fokus: BR7000-I/NET – vollflächig Blau */
.section--dark { background: var(--blau); color: var(--ueber); overflow: clip; }
.section--dark h2, .section--dark h3 { color: var(--ueber); }
.section--dark .eyebrow { color: var(--ueber); }
.section--dark .lead-sm, .section--dark .features li { color: var(--ueber); }
.section--dark .features li::before { background: var(--papier); }
.section--dark a:not(.btn) { color: var(--ueber); }
.section--dark figure.media figcaption, .section--dark .text-soft { color: var(--ueber); }
.section--dark figure.media figcaption::before { color: var(--ueber); }
.section--dark .passer-1 { stroke: var(--ueber); }
.fokus-wort {
  position: absolute; right: -.04em; top: -.16em; z-index: 0; pointer-events: none;
  font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(7rem, 24vw, 22rem); line-height: 1; letter-spacing: -.04em;
  color: var(--papier); opacity: .2; white-space: nowrap;
}
.section--dark > .container { position: relative; z-index: 1; }
.fokus-bild { rotate: 1.6deg; }
.screens { display: grid; gap: 1.75rem; }

/* Produktbereiche als Inhaltsverzeichnis */
.index { container-type: inline-size; list-style: none; margin: 0; padding: 0; counter-reset: index; border-bottom: var(--linie) solid var(--ueber); }
.index li { margin: 0; counter-increment: index; }
.index-zeile {
  position: relative; isolation: isolate; background: var(--papier) var(--korn);
  display: grid; grid-template-columns: 2.6rem minmax(0, 6fr) minmax(0, 4fr) 116px 2.5rem; gap: clamp(.75rem, 2vw, 2rem); align-items: center;
  padding: 1.1rem .25rem; border-top: var(--linie) solid var(--ueber); color: var(--ueber); text-decoration: none;
}
.index-zeile::before { content: counter(index, decimal-leading-zero); font-family: var(--f-mono); font-size: .8rem; font-weight: 700; color: var(--blau-tief); align-self: start; padding-top: .8rem; }
.index-zeile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rot); transform-origin: left; scale: 0 1; translate: calc(var(--d) * 14px) calc(var(--d) * 8px); transition: scale .3s cubic-bezier(.2, .8, .2, 1); }
.index-zeile:hover::after, .index-zeile:focus-visible::after { scale: 1 1; }
.index-zeile:hover, .index-zeile:focus-visible { color: var(--ueber); }
.index-zeile h3 { margin: 0; font-size: clamp(1.9rem, 3.85cqi, 3rem); font-stretch: 75%; font-weight: 800; letter-spacing: -.02em; line-height: .95; }
.index-zeile p { margin: 0; font-size: 1rem; line-height: 1.5; }
.index-zeile .index-mehr { display: block; margin-top: .45rem; font-family: var(--f-mono); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blau-tief); }
.index-zeile:hover .index-mehr, .index-zeile:focus-visible .index-mehr { color: var(--ueber); }
.index-zeile .print { width: 116px; height: 116px; }
.index-pfeil { width: 2.2rem; height: 2.2rem; transition: translate .25s var(--einschwingen); }
.index-zeile:hover .index-pfeil { translate: 6px 0; }
@media (max-width: 860px) {
  .index-zeile { grid-template-columns: 2rem minmax(0, 1fr) 84px; row-gap: .4rem; }
  .index-zeile h3 { grid-column: 2; }
  .index-zeile p { grid-column: 2; }
  .index-zeile .print { grid-column: 3; grid-row: 1 / span 2; width: 84px; height: 84px; }
  .index-pfeil { display: none; }
}

/* Baugruppen / Service */
.duo { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }
.duo h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); }
.duo-bild { margin-bottom: 1.75rem; max-width: 460px; }
.duo-bild .print > img { width: 100%; }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0; border-top: var(--linie) solid var(--ueber); }
.stat { position: relative; padding: 1.1rem 1.25rem 1.4rem 0; border-bottom: var(--linie) solid var(--ueber); }
.stat strong {
  position: relative; display: block; margin-bottom: .45rem;
  font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4rem); line-height: .95; letter-spacing: -.025em;
  color: var(--ueber); text-shadow: calc(var(--d) * .09em) calc(var(--d) * .06em) 0 var(--rot);
}
.stat span { display: block; color: var(--ueber); font-size: .98rem; line-height: 1.45; max-width: 28ch; }
.stat:nth-child(even) strong { color: var(--blau-tief); }

/* 8. Komponenten ----------------------------------------------------------- */

/* Buttons: Kontur in Überdruck, Füllung = rote Platte, die beim Überfahren verrutscht */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .72em 1.3em; border-radius: 999px;
  font: 650 1rem/1.2 var(--f-text); text-decoration: none; cursor: pointer; text-align: center;
  color: var(--ueber); background: transparent; border: var(--linie) solid var(--ueber);
  box-shadow: 0 0 0 var(--rot);
  transition: background-color .15s, color .15s, box-shadow .25s var(--einschwingen);
}
.btn:hover, .btn:focus-visible { box-shadow: 5px 4px 0 var(--rot); }
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn--primary { background: var(--ueber); color: var(--papier); }
.btn--primary:hover { color: var(--papier); }
.btn--ghost:hover, .btn--light:hover { color: var(--ueber); }
.btn--light { background: var(--papier); }
.btn--light:hover, .btn--light:focus-visible, .cta-band .btn:hover, .section--dark .btn:hover, .section--dark .btn:focus-visible { box-shadow: 5px 4px 0 var(--ueber); }
.btn--small { padding: .5em .95em; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row--center { justify-content: center; }
.btn .text-muted { color: inherit; opacity: .75; font-weight: 400; }

/* Seitenkopf (Unterseiten) */
.page-head { position: relative; overflow: clip; padding-block: clamp(22px, 3vw, 36px) clamp(36px, 5.5vw, 72px); border-bottom: var(--linie) solid var(--ueber); }
.page-head > .container { position: relative; z-index: 1; }
.page-head h1 { margin-bottom: .3em; max-width: 1000px; }
.page-head .lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.5; max-width: 56ch; margin: 0; }
/* Schmuckformen rechts: roter Kreis (bewegte Platte) + blauer Rasterkreis */
.kopf-form { position: absolute; right: max(calc((100vw - var(--container)) / 2 - 150px), -70px); top: 50%; width: clamp(180px, 24vw, 310px); translate: 0 -46%; z-index: 0; pointer-events: none; }
.kopf-form .kreis--raster { position: absolute; width: 62%; left: -34%; bottom: -8%; }
.kopf-form .passer { position: absolute; left: -30%; top: 2%; }
body:is([data-section="messtechnik"], [data-section="unternehmen"]) .kopf-form > .kreis:first-child { background: var(--blau); }
body:is([data-section="messtechnik"], [data-section="unternehmen"]) .kopf-form .kreis--raster { background: var(--rot); translate: calc(var(--d) * 22px) calc(var(--d) * 14px); }
body:is([data-section="service"], [data-section="legal"]) .kopf-form > .kreis:first-child { border-radius: 0; rotate: 45deg; scale: .72; }
@media (max-width: 1100px) { .kopf-form { opacity: .9; width: clamp(120px, 24vw, 240px); right: -30px; top: auto; bottom: -22%; translate: none; } .kopf-form .passer { display: none; } .page-head .lead { max-width: 52ch; } }
@media (max-width: 700px) { .kopf-form { width: 120px; right: -44px; bottom: auto; top: -30px; } .kopf-form .kreis--raster { display: none; } }

.breadcrumb { font-family: var(--f-mono); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ueber-soft); margin-bottom: clamp(1.25rem, 3vw, 2.25rem); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .2em .6em; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "→"; margin-right: .6em; color: var(--blau-tief); font-family: var(--f-text); }
.breadcrumb a { color: var(--ueber-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--ueber); text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; }
.breadcrumb [aria-current] { color: var(--ueber); }

/* Karten: Kontur (steht) + Tonfläche (rote/blaue Platte, verrutscht außer Phase) */
.card {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  border: var(--linie) solid var(--ueber); background: var(--papier) var(--korn);
  color: inherit; text-decoration: none;
}
a.card { box-shadow: 0 0 0 var(--rot); transition: box-shadow .25s var(--einschwingen); }
a.card:hover, a.card:focus-visible { color: inherit; }
a.card:hover, a.card:focus-visible { box-shadow: 9px 8px 0 var(--rot); }
.card-media {
  position: relative; aspect-ratio: 4 / 3; border-bottom: var(--linie) solid var(--ueber);
  display: grid; place-items: center; padding: 1.4rem; overflow: clip; isolation: isolate;
  background: var(--blau-10) !important;
}
.card-media > img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.card-media .print { width: 100%; height: 100%; }
a.card:hover .card-media, a.card:focus-visible .card-media { background: #fff !important; }
.card-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-body h3, .card-body h2 { margin: 0; }
.card-body h2 { font-size: 1.6rem; font-stretch: 80%; }
.card-body p { margin: 0; color: var(--ueber); font-size: .98rem; line-height: 1.55; }
.card-body address { line-height: 1.55; }
.card-meta { font-family: var(--f-mono); font-size: .75rem !important; line-height: 1.5; color: var(--ueber-soft) !important; }
.card-more {
  margin-top: auto; padding-top: .6rem;
  font-family: var(--f-mono); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blau-tief); display: inline-flex; align-items: center; gap: .6em; text-decoration: none;
}
.card-more svg { width: 1.2em; height: 1.2em; transition: translate .25s var(--einschwingen); }
a:hover > .card-more svg, a:hover .card-more svg, a.card-more:hover svg { translate: 5px 0; }
a.card-more:hover { color: var(--ueber); }
.card--highlight { box-shadow: inset 0 7px 0 var(--rot); }
.card--highlight .card-body { padding-top: 1.6rem; }
.card-media--cover { aspect-ratio: 16 / 9; padding: 0; }
.card-media--cover img { width: 100%; height: 100%; object-fit: cover; }
.card-media--small { aspect-ratio: 16 / 9; padding: .9rem; }
.card--compact .card-body p { font-size: .95rem; }
.link-list { list-style: none; padding: 0; margin: .25rem 0 0; font-size: .9rem; }
.link-list li { margin: .25rem 0; }

/* Bereichs-Kacheln (Messtechnik-Übersicht) */
.tile {
  position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) 128px; gap: 1.25rem; align-items: center;
  padding: 1.5rem; border: var(--linie) solid var(--ueber); background: var(--papier) var(--korn);
  color: inherit; text-decoration: none;
}
.tile { box-shadow: 0 0 0 var(--rot); transition: box-shadow .25s var(--einschwingen); }
.tile:hover, .tile:focus-visible { box-shadow: 9px 8px 0 var(--rot); }
.tile:hover { color: inherit; }
.tile h3 { margin: 0 0 .45rem; font-size: 1.75rem; font-stretch: 75%; font-weight: 800; }
.tile p { margin: 0 0 .5rem; color: var(--ueber); font-size: .98rem; line-height: 1.5; }
.tile .print { width: 128px; height: 128px; }
.tile > img { width: 128px; height: 128px; object-fit: contain; mix-blend-mode: multiply; }
.tile .card-more { padding: 0; }
.tile > div { min-width: 0; }
@media (max-width: 480px) { .tile { grid-template-columns: minmax(0, 1fr) 84px; padding: 1.1rem; } .tile .print, .tile > img { width: 84px; height: 84px; } }

/* Feature-Liste: die Raute aus dem Logo als Aufzählungszeichen */
.features { list-style: none; padding: 0; display: grid; gap: .55rem; }
.features li { margin: 0; padding-left: 1.6rem; position: relative; color: var(--ueber); }
.features li::before { content: ""; position: absolute; left: .15rem; top: .52em; width: .55rem; height: .55rem; background: var(--blau); rotate: 45deg; }
.features--2col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); column-gap: 2.5rem; }

/* Badges: kleine Etiketten in Schreibmaschinenschrift */
.badge {
  display: inline-block; padding: .22em .7em; border-radius: 999px;
  font-family: var(--f-mono); font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; line-height: 1.5;
  background: transparent; color: var(--ueber); border: var(--linie) solid var(--ueber); white-space: nowrap;
}
.badge--muted { border-color: var(--ueber-soft); color: var(--ueber-soft); }
.badge--warn { background: var(--rot); }
.badge--dynamisch { background: var(--rot); }
.badge--konventionell { background: var(--blau); }
.badge--hybrid { background: linear-gradient(100deg, var(--blau) 0 50%, var(--rot) 50% 100%); }
.badge-row { display: flex; flex-wrap: wrap; gap: .35rem; }

/* Tabellen: einfarbig, Kopf zwischen zwei fetten Linien */
.table-wrap { overflow-x: auto; border-top: 3px solid var(--ueber); border-bottom: var(--linie) solid var(--ueber); }
.table { width: 100%; border-collapse: collapse; margin: 0; font-size: .96rem; line-height: 1.5; }
.table th, .table td { padding: .8rem 1rem .8rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--haar); }
.table th:last-child, .table td:last-child { padding-right: 0; }
.table thead th {
  font-family: var(--f-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  color: var(--ueber); border-bottom: var(--linie) solid var(--ueber); white-space: nowrap; vertical-align: bottom;
}
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody tr:hover > * { background: var(--blau-10); }
.section--soft .table tbody tr:hover > * { background: var(--papier); }
.table th[scope="row"] { font-family: var(--f-display); font-stretch: 84%; font-weight: 700; font-size: 1.08rem; line-height: 1.25; white-space: nowrap; padding-left: .25rem; }
.table th[scope="row"] small { font-family: var(--f-mono); font-size: .72rem; font-weight: 400; }
.table th[scope="row"] a { text-decoration: none; color: var(--blau-tief); }
.table th[scope="row"] a:hover { text-decoration: underline; text-decoration-color: var(--rot); color: var(--ueber); }
.table .is-discontinued, .table .is-discontinued th { color: var(--ueber-soft); }
.table .num { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Spezifikationen (Schlüssel/Wert) */
.specs { display: grid; gap: 2rem clamp(24px, 4vw, 56px); }
.spec-group h3 { display: flex; align-items: center; gap: .7em; font-family: var(--f-mono); font-size: .76rem; font-weight: 700; font-stretch: 100%; text-transform: uppercase; letter-spacing: .08em; color: var(--ueber); margin-bottom: .6rem; }
.spec-group h3::before { content: ""; width: 1.4rem; height: .6rem; background: var(--blau); flex-shrink: 0; }
.spec-list { margin: 0; border-top: var(--linie) solid var(--ueber); }
.spec-list > div { display: grid; grid-template-columns: minmax(140px, 38%) 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--haar); }
.spec-list dt { color: var(--ueber-soft); font-size: .95rem; }
.spec-list dd { margin: 0; font-size: .95rem; font-weight: 500; }
.spec-list dd ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 560px) { .spec-list > div { grid-template-columns: 1fr; gap: .1rem; } }

/* Produktkopf */
.product-head .split { align-items: center; }
.product-head h1 { max-width: none; font-size: clamp(3rem, 1.5rem + 7vw, 7rem); }
.product-gallery { display: grid; gap: 1rem; }
.product-gallery .main { position: relative; background: #fff; border: var(--linie) solid var(--ueber); padding: clamp(18px, 3vw, 36px); display: grid; place-items: center; box-shadow: calc(var(--d) * 18px) calc(var(--d) * 12px) 0 var(--rot); }
.product-gallery .main::after { content: "Originalfoto"; position: absolute; left: -1.5px; bottom: 100%; padding: .2em .7em; font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--ueber); color: var(--papier); }
.product-gallery .main img { max-height: 420px; width: auto; }
.product-gallery .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.product-gallery .thumbs figure { margin: 0; background: #fff; border: var(--linie) solid var(--ueber); padding: .35rem; }
.product-gallery .thumbs figcaption { font-family: var(--f-mono); font-size: .66rem; line-height: 1.4; color: var(--ueber-soft); padding: .3rem .1rem 0; }
.section .product-gallery .main::after { display: none; }

.key-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; margin: 1.75rem 0; border-top: var(--linie) solid var(--ueber); }
.key-facts div { padding: .75rem 0 .85rem; border-bottom: 1px solid var(--haar); }
.key-facts strong { display: block; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 1.7rem; line-height: 1.05; letter-spacing: -.01em; color: var(--ueber); }
.key-facts span { font-size: .88rem; color: var(--ueber-soft); line-height: 1.4; display: block; margin-top: .15rem; }

/* Unterseiten-Navigation (Sprungmarken) */
.toc { position: sticky; top: var(--header-h); z-index: 10; background: var(--papier) var(--korn); border-bottom: var(--linie) solid var(--ueber); margin-top: -1.5px; border-top: var(--linie) solid var(--ueber); }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; counter-reset: toc; }
.toc li { margin: 0; flex-shrink: 0; counter-increment: toc; }
.toc a { display: block; padding: .8rem 1.4rem .8rem 0; font-family: var(--f-mono); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ueber); text-decoration: none; }
.toc a::before { content: counter(toc) " "; color: var(--blau-tief); margin-right: .2em; }
.toc a:hover { text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 3px; text-underline-offset: .4em; }

/* Downloads (Listen auf Produktseiten): Laufzettel mit Führungspunkten */
.downloads { list-style: none; padding: 0; margin: 0; display: grid; border-top: var(--linie) solid var(--ueber); }
.downloads li { margin: 0; border-bottom: 1px solid var(--haar); }
.downloads a { position: relative; isolation: isolate; display: flex; align-items: center; gap: .9rem; padding: .7rem .25rem; color: var(--ueber); text-decoration: none; }
.downloads a::before, .dl-rows a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rot-20); transform-origin: left; scale: 0 1; transition: scale .25s cubic-bezier(.2, .8, .2, 1); }
.downloads a:hover::before, .downloads a:focus-visible::before, .dl-rows a:hover::before, .dl-rows a:focus-visible::before { scale: 1 1; }
.downloads a > span:nth-child(2) { flex: 1; min-width: 0; }
.ftype {
  flex-shrink: 0; min-width: 2.9rem; padding: .3rem .35rem; text-align: center;
  font-family: var(--f-mono); font-size: .68rem; font-weight: 700; letter-spacing: .04em; line-height: 1.3;
  background: var(--rot); color: var(--ueber);
}
.ftype--link { background: var(--blau); }
.ftype[data-typ="ZIP"], .ftype[data-typ="EXE"], .ftype[data-typ="JPG"], .ftype[data-typ="XLS"], .ftype[data-typ="DOC"], .ftype[data-typ="RTF"], .ftype[data-typ="TXT"] { background: var(--blau); }
.dl-title { font-weight: 600; display: block; line-height: 1.35; }
.dl-meta { display: block; font-family: var(--f-mono); font-size: .72rem; color: var(--ueber-soft); line-height: 1.5; }
.downloads .badge { margin-left: auto; }

/* Hinweisbox */
.note { position: relative; padding: 1rem 1.25rem 1rem 1.5rem; background: var(--blau-10); color: var(--ueber); border-left: 7px solid var(--blau); }
.section--soft .note { background: var(--papier); }
.note--warn { background: var(--rot-10); border-left-color: var(--rot); }
.note strong { color: var(--ueber); }

/* Ablauf / Systemaufbau: große Ziffern */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 0; border-top: var(--linie) solid var(--ueber); }
.steps li { counter-increment: step; margin: 0; padding: 1.2rem 0 1.3rem 5rem; position: relative; border-bottom: var(--linie) solid var(--ueber); min-height: 5.6rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: .7rem;
  font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 4.2rem; line-height: 1; letter-spacing: -.03em; color: var(--rot);
  text-shadow: calc(var(--d) * -.09em) calc(var(--d) * -.06em) 0 var(--blau);
}
.steps h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.steps p { margin: 0; color: var(--ueber); font-size: .98rem; max-width: 70ch; }
.steps--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0 clamp(18px, 2.5vw, 32px); border-top: 0; }
.steps--row li { padding: 5rem 0 1.2rem; border-top: var(--linie) solid var(--ueber); border-bottom: 0; }
.steps--row li::before { top: .6rem; }

/* Kontakt-Band: vollflächig Leuchtrot */
.cta-band { position: relative; background: var(--rot); color: var(--ueber); overflow: clip; }
.cta-band .container { position: relative; display: grid; gap: 2rem clamp(32px, 6vw, 96px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.cta-band h2 { color: var(--ueber); font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.2rem); line-height: .93; margin-bottom: .35em; }
.cta-band p { margin: 0; font-size: 1.1rem; max-width: 44ch; }
.cta-band .passer { position: absolute; right: var(--gutter); top: 18px; }
.cta-band .passer-1 { stroke: var(--ueber); } .cta-band .passer-2 { stroke: var(--papier); mix-blend-mode: normal; }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.contact-lines li { margin: 0; display: flex; align-items: center; gap: .9rem; padding: .55rem 0; border-top: var(--linie) solid var(--ueber); }
.contact-lines li:last-child { border-bottom: var(--linie) solid var(--ueber); }
.contact-lines svg { width: 22px; height: 22px; color: var(--ueber); flex-shrink: 0; }
.contact-lines a { color: var(--ueber); font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-decoration: none; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem); line-height: 1.1; overflow-wrap: anywhere; }
.contact-lines li:first-child a { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); letter-spacing: -.02em; }
.contact-lines a:hover { text-decoration: underline; text-decoration-color: var(--papier); text-decoration-thickness: 3px; }
.contact-lines .who { font-family: var(--f-mono); font-size: .78rem; font-weight: 700; }

/* Platzhalter-Seite */
.placeholder { text-align: center; max-width: 620px; margin-inline: auto; }
.placeholder svg { width: 56px; height: 56px; color: var(--blau-tief); margin: 0 auto 1rem; }

/* Hervorgehobenes Hauptprodukt */
.feature-card {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  border: var(--linie) solid var(--ueber); background: var(--papier) var(--korn); padding: clamp(20px, 3vw, 44px);
  box-shadow: calc(var(--d) * 16px) calc(var(--d) * 11px) 0 var(--rot);
}
@media (max-width: 760px) { .feature-card { grid-template-columns: 1fr; } }
.feature-card__media { display: grid; place-items: center; align-self: stretch; background: var(--blau-10); padding: clamp(16px, 3vw, 32px); min-height: 240px; }
.feature-card__media > img { max-height: 360px; width: auto; mix-blend-mode: multiply; }
.feature-card__media .print { max-height: 360px; }
.feature-card__media .print > img { max-height: 360px; }
.feature-card__body h2 { margin: .7rem 0 .4rem; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); }
.variant-list { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; border-top: var(--linie) solid var(--ueber); }
.variant-list li { margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--haar); display: grid; gap: .15rem; }
.variant-list li strong { font-family: var(--f-display); font-stretch: 84%; font-weight: 700; font-size: 1.12rem; }
.variant-list li span { color: var(--ueber); font-size: .95rem; }
.variant-list li.is-highlight { padding-left: .9rem; border-left: 7px solid var(--rot); background: var(--rot-10); }
.feature-card--link { color: inherit; text-decoration: none; }
.feature-card--link .feature-card__body h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }
.feature-card--link { transition: box-shadow .25s var(--einschwingen); }
.feature-card--link:hover, .feature-card--link:focus-visible { box-shadow: 10px 9px 0 var(--rot); }
.feature-card--link:hover { color: inherit; }
.feature-card--link .feature-card__media { padding: 0; background: none; }
.feature-card--link .feature-card__media img { mix-blend-mode: normal; border: var(--linie) solid var(--ueber); }

/* Auswahlhilfe */
.guide { list-style: none; padding: 0; margin: 0; border-top: 3px solid var(--ueber); }
.guide li { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--ueber); }
.guide span { color: var(--ueber); }
.guide a { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: 1.2rem; white-space: nowrap; text-decoration: none; color: var(--blau-tief); }
.guide a::after { content: " →"; font-family: var(--f-text); font-weight: 400; }
.guide a:hover { color: var(--ueber); text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 3px; }
@media (max-width: 520px) { .guide li { flex-direction: column; align-items: flex-start; gap: .2rem; } }

/* Zubehör-Einträge */
.item {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(18px, 3vw, 40px);
  padding: 1.4rem; border: var(--linie) solid var(--ueber); background: var(--papier) var(--korn); scroll-margin-top: calc(var(--header-h) + 64px);
}
.item:target { box-shadow: 10px 8px 0 var(--rot); }
.item-media { display: grid; place-items: center; min-height: 140px; background: var(--blau-10); padding: 1rem; align-self: start; }
.item-media:empty { background: repeating-linear-gradient(135deg, var(--blau-20) 0 2px, transparent 2px 9px); }
.item-media > img { max-height: 170px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.item-body h3 { margin-bottom: .7rem; font-size: 1.9rem; font-stretch: 75%; font-weight: 800; }
.item-title { display: block; font-family: var(--f-text); font-stretch: 100%; font-size: 1rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--ueber-soft); margin-top: .3rem; }
p.item-title { font-size: 1.05rem; margin-top: -.3rem; }
.item-meta { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; font-family: var(--f-mono); font-size: .74rem; line-height: 1.5; color: var(--ueber-soft); margin: .9rem 0; }
.item .features { gap: .35rem; }
.item .features li { font-size: .98rem; }
@media (max-width: 640px) { .item { grid-template-columns: 1fr; padding: 1.1rem; } .item-media { min-height: 0; } .item-media:empty { display: none; } .item-media > img { max-height: 150px; } }

.lead { font-size: 1.2rem; line-height: 1.5; }
.lead-sm { font-size: 1.12rem; line-height: 1.55; color: var(--ueber); }
.text-soft { color: var(--ueber-soft); }

/* 9. Seitenspezifisches ----------------------------------------------------- */

/* Formel */
p.formula { display: inline-block; font-family: var(--f-mono); font-size: 1.12rem; font-weight: 700; padding: .7rem 1.1rem; background: var(--ueber); color: var(--papier); box-shadow: calc(var(--d) * 14px) calc(var(--d) * 9px) 0 var(--rot); }
.gallery-pair { display: flex !important; gap: 1.5rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.gallery-pair img { max-height: 280px; width: auto; }
.article { max-width: 76ch; }
.article h2 { margin-top: 2.6rem; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.article h2:first-child { margin-top: 0; }
.article figure { margin: 2rem 0; }

/* Formulare: Linien statt Kästen, wie ein Vordruck */
input, select, button { font: inherit; }
input[type="search"], input[type="number"], select {
  width: 100%; padding: .5rem .7rem; min-height: 2.75rem;
  border: var(--linie) solid var(--ueber); border-radius: 0; background: var(--papier); color: var(--ueber);
  font-weight: 600;
}
select { -webkit-appearance: none; appearance: none; padding-right: 2.1rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3l4 4 4-4' fill='none' stroke='%23002446' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 11px; }
input::placeholder { color: var(--ueber-soft); font-weight: 400; opacity: 1; }
input:focus-visible, select:focus-visible { outline: 3px solid var(--ueber); outline-offset: 2px; box-shadow: 5px 5px 0 var(--rot); }

/* Rechner: Formular + Leistungsdreieck in zwei Farben */
.calc { position: relative; border: var(--linie) solid var(--ueber); padding: clamp(18px, 3vw, 30px); background: var(--papier) var(--korn); display: grid; gap: 1rem; box-shadow: calc(var(--d) * 16px) calc(var(--d) * 11px) 0 var(--rot); }
.calc h3 { margin: 0 0 .25rem; font-size: 1.6rem; }
.calc label { display: grid; gap: .3rem; font-weight: 600; font-size: .95rem; }
.calc-label span { font-family: var(--f-mono); font-weight: 400; font-size: .74rem; color: var(--ueber-soft); margin-left: .4em; }
.calc-felder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; align-items: end; }
@media (max-width: 520px) { .calc-felder { grid-template-columns: 1fr; } }
.calc-result { background: var(--blau); padding: 1rem 1.2rem 1.1rem; display: grid; gap: .1rem; color: var(--ueber); }
.calc-result span { font-family: var(--f-mono); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.calc-result strong { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(2.8rem, 2rem + 3vw, 4.2rem); line-height: 1; letter-spacing: -.02em; }
.calc-result small { font-family: var(--f-mono); font-size: .74rem; }
.calc-note { margin: 0; color: var(--ueber-soft); }
.calc:not(.is-enhanced) .calc-result { display: none; }
.dreieck { display: block; width: 100%; max-width: 420px; margin-inline: auto; height: auto; overflow: visible; font-family: var(--f-mono); font-size: 11px; font-weight: 700; }
.dreieck .p { stroke: var(--ueber); stroke-width: 3; }
.dreieck .s1 { stroke: var(--rot); stroke-width: 3; }
.dreieck .s2 { stroke: var(--blau); stroke-width: 3; }
.dreieck .q-rest { stroke: var(--blau); stroke-width: 7; }
.dreieck .qc { stroke: var(--rot); stroke-width: 7; stroke-dasharray: 2 4; }
.dreieck .bogen { fill: none; stroke: var(--ueber); stroke-width: 1; }
.dreieck .f-rot { fill: var(--rot); opacity: .28; } .dreieck .f-blau { fill: var(--blau); opacity: .5; }
.dreieck text { fill: var(--ueber); }
.dreieck-legende { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; margin: 0; padding: 0; list-style: none; font-family: var(--f-mono); font-size: .72rem; }
.dreieck-legende li { margin: 0; display: flex; align-items: center; gap: .5em; }
.dreieck-legende i { width: 1.4em; height: .55em; background: var(--blau); }
.dreieck-legende .l-rot i { background: var(--rot); }
.dreieck-legende .l-ueber i { background: var(--ueber); height: 3px; }

.kapitel-nr { display: block; margin-bottom: .1em; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(4rem, 3rem + 5vw, 7.5rem); line-height: .85; letter-spacing: -.04em; color: var(--rot); text-shadow: calc(var(--d) * -.09em) calc(var(--d) * -.06em) 0 var(--blau); }

.doc-teaser { position: relative; display: flex; gap: clamp(20px, 4vw, 56px); align-items: center; border: var(--linie) solid var(--ueber); padding: clamp(20px, 3vw, 40px); background: var(--blau-10); flex-wrap: wrap; }
.doc-teaser img { width: 150px; border: var(--linie) solid var(--ueber); rotate: -3deg; box-shadow: calc(var(--d) * 14px) calc(var(--d) * 9px) 0 var(--rot); }
.doc-teaser > div { flex: 1 1 320px; }
.doc-teaser h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }

/* Filterleiste: der „Auftragszettel“ */
.filter-bar {
  position: relative; display: grid; gap: 1rem 1.1rem; align-items: end;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  padding: 1.6rem 1.25rem 1.25rem; border: var(--linie) solid var(--ueber); background: var(--blau-10);
}
.filter-bar::before { content: "Filter"; position: absolute; left: -1.5px; top: 0; translate: 0 -55%; padding: .2em .8em; font-family: var(--f-mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--ueber); color: var(--papier); }
.filter-bar label { display: grid; gap: .35rem; }
.filter-bar label > span:first-child { font-family: var(--f-mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ueber); }
.filter-search { grid-column: 1 / -1; }
.filter-status { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: .95rem; color: var(--ueber); }
.filter-status strong { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 2.2rem; line-height: 1; vertical-align: -.1em; margin-right: .1em; color: var(--ueber); text-shadow: calc(var(--d) * .1em) calc(var(--d) * .065em) 0 var(--rot); }
.filter-bar--stacked { grid-template-columns: 1fr; }
[data-filter-root]:not(.is-enhanced) .filter-bar { display: none; }
.input-unit { position: relative; display: block; }
.input-unit input { padding-right: 3.2rem; }
.input-unit > span { position: absolute; right: .7rem; top: 50%; translate: 0 -50%; font-family: var(--f-mono); font-size: .76rem; color: var(--ueber-soft); pointer-events: none; }

/* Kondensatorkarten: Typenschilder */
.cap-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr)); align-items: start; }
.cap { position: relative; border: var(--linie) solid var(--ueber); background: var(--papier) var(--korn); padding: 0 1.25rem 1.25rem; display: grid; gap: .9rem; scroll-margin-top: calc(var(--header-h) + 64px); }
.cap:target { box-shadow: 10px 8px 0 var(--rot); }
.cap-head { margin-inline: -1.25rem; padding: 2.5rem 1.25rem .9rem; border-bottom: var(--linie) solid var(--ueber); background: var(--blau-10); }
.cap-head h3 { margin: 0 0 .35rem; font-size: 2.1rem; font-stretch: 75%; font-weight: 800; text-wrap: wrap; }
.cap-brand { position: absolute; left: 0; top: 0; font-family: var(--f-mono); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .28em .8em; color: var(--ueber); background: var(--blau); }
.cap-brand--vishay { background: var(--ueber); color: var(--papier); }
.cap-brand--frako { background: var(--rot); }
.cap-code { display: block; font-family: var(--f-mono); font-size: .74rem; line-height: 1.5; color: var(--ueber-soft); }
.cap-use { margin: 0; color: var(--ueber); font-size: .95rem; line-height: 1.5; }
.cap-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; margin: 0; border-top: 1px solid var(--haar); }
.cap-facts div { padding: .5rem 0; border-bottom: 1px solid var(--haar); }
.cap-facts dt { font-family: var(--f-mono); font-size: .66rem; color: var(--ueber-soft); text-transform: uppercase; letter-spacing: .06em; }
.cap-facts dd { margin: 0; font-weight: 650; font-size: .98rem; font-variant-numeric: tabular-nums; }
.cap-more summary { cursor: pointer; font-family: var(--f-mono); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blau-tief); }
.cap-more summary:hover { color: var(--ueber); }
.cap-more[open] summary { margin-bottom: .6rem; }
.cap-more .spec-list > div { grid-template-columns: minmax(110px, 34%) 1fr; }
.cap-actions { margin-top: .2rem; gap: .5rem; }

/* Downloadbereich */
.downloads-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .downloads-layout { grid-template-columns: 1fr; } }
.downloads-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.5rem; }
@media (max-width: 900px) { .downloads-side { position: static; } .side-nav { display: none; } }
.side-nav ul { list-style: none; padding: 0; margin: 0; counter-reset: seite; border-top: var(--linie) solid var(--ueber); }
.side-nav li { margin: 0; counter-increment: seite; border-bottom: 1px solid var(--haar); }
.side-nav a { display: flex; gap: .8em; padding: .5rem 0; color: var(--ueber); text-decoration: none; font-weight: 600; font-size: .95rem; }
.side-nav a::before { content: counter(seite, decimal-leading-zero); font-family: var(--f-mono); font-size: .72rem; font-weight: 700; color: var(--blau-tief); padding-top: .2em; }
.side-nav a:hover { text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 3px; }
.dl-category { scroll-margin-top: calc(var(--header-h) + 20px); padding-bottom: 2.5rem; margin-bottom: 2.5rem; counter-increment: kategorie; }
.downloads-layout > div { counter-reset: kategorie; }
.dl-category > h2 { display: flex; align-items: baseline; gap: .4em; padding-bottom: .25em; border-bottom: 3px solid var(--ueber); }
.dl-category > h2::before { content: counter(kategorie, decimal-leading-zero); font-size: .5em; font-family: var(--f-mono); font-stretch: 100%; font-weight: 700; letter-spacing: 0; color: var(--ueber); background: var(--rot); padding: .3em .5em; align-self: center; mix-blend-mode: normal; }
.dl-group { margin-top: 1.6rem; }
.dl-group h3 { font-family: var(--f-mono); font-stretch: 100%; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ueber); margin-bottom: .5rem; display: flex; align-items: center; gap: .7em; }
.dl-group h3::before { content: ""; width: 1.4rem; height: .6rem; background: var(--blau); flex-shrink: 0; }
.dl-rows { list-style: none; padding: 0; margin: 0; border-top: var(--linie) solid var(--ueber); }
.dl-rows li { margin: 0; border-bottom: 1px solid var(--haar); }
.dl-rows a { position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr) auto 2.4rem; gap: .9rem; align-items: center; padding: .55rem .25rem; color: var(--ueber); text-decoration: none; }
.dl-rows .dl-title { display: flex; align-items: baseline; font-weight: 550; }
.dl-rows .dl-title::after { content: ""; flex: 1; min-width: 1.5rem; margin-left: .7em; border-bottom: 2px dotted var(--ueber-soft); translate: 0 -.3em; opacity: .7; }
.dl-rows .dl-meta { white-space: nowrap; text-align: right; }
.dl-rows .badge { justify-self: end; border: 0; padding: 0; font-size: .72rem; color: var(--ueber); }
@media (max-width: 600px) {
  .dl-rows a { grid-template-columns: auto minmax(0, 1fr) auto; row-gap: 0; }
  .dl-rows .dl-title::after { display: none; }
  .dl-rows .dl-meta { grid-column: 2; grid-row: 2; white-space: normal; text-align: left; }
  .dl-rows .badge { grid-column: 3; grid-row: 1; }
}

/* Geschichte: sieben Generationen als Druckfolge entlang der Zeitachse */
.zeitachse { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: clamp(28px, 5vw, 64px); }
.zeitachse::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dotted var(--ueber); translate: -1px 0; }
.gen { position: relative; margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) clamp(170px, 20vw, 230px) minmax(0, 1fr); gap: clamp(16px, 3vw, 44px); align-items: center; }
.gen-jahr { margin: 0; text-align: right; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(3.6rem, 1.5rem + 8.4vw, 9rem); line-height: .82; letter-spacing: -.02em; }
.gen-bild { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 17%; }
.gen-bild .kreis { position: absolute; inset: 0; }
.gen-bild .print { width: 100%; height: 100%; }
.gen-text h3 { margin: 0 0 .5rem; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); font-stretch: 75%; font-weight: 800; }
.gen-text p { margin: 0; max-width: 40ch; }
.gen:nth-child(even) .gen-text p { margin-left: auto; }
.gen-nr { display: block; margin-bottom: .5rem; font-family: var(--f-mono); font-stretch: 100%; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blau-tief); }
.gen:nth-child(even) .gen-jahr { order: 3; text-align: left; }
.gen:nth-child(even) .gen-text { order: 1; text-align: right; justify-self: end; }
.gen:nth-child(even) .gen-bild { order: 2; }
.gen:nth-child(even) .gen-bild .kreis { background: var(--blau); translate: none; }
.gen:nth-child(even) .gen-bild .print > .p1 { filter: url(#platte-rot); translate: calc(var(--d) * 14px) calc(var(--d) * 9px); }
.gen:nth-child(even) .gen-bild .print > .p2 { filter: url(#platte-blau-tiefen); translate: none; }
.gen:nth-child(even) .gen-bild .print:hover > .p1 { filter: none; translate: none; }
@media (max-width: 760px) {
  .zeitachse::before { left: 60px; }
  .gen, .gen:nth-child(even) { grid-template-columns: 120px minmax(0, 1fr); align-items: start; gap: .25rem 1.1rem; }
  .gen .gen-bild { order: 0; grid-row: 1 / span 2; }
  .gen .gen-jahr, .gen:nth-child(even) .gen-jahr { order: 0; text-align: left; font-size: clamp(3rem, 16vw, 4.4rem); }
  .gen .gen-text, .gen:nth-child(even) .gen-text { order: 0; text-align: left; justify-self: start; grid-column: 2; }
}

.chronik { margin: 0; display: grid; border-top: 3px solid var(--ueber); }
.chronik > div { display: grid; grid-template-columns: clamp(5.5rem, 14vw, 11rem) 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--ueber); align-items: baseline; }
.chronik dt { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.9rem); line-height: 1; letter-spacing: -.02em; color: var(--ueber); }
.chronik > div:nth-child(odd) dt { color: var(--blau-tief); }
.chronik dd { margin: 0; }
.chronik ul { margin: 0; padding: 0; list-style: none; color: var(--ueber); }
.chronik li + li { margin-top: .35rem; padding-top: .35rem; border-top: 1px dotted var(--ueber-soft); }

/* 10. Fuß ------------------------------------------------------------------- */
.site-footer { position: relative; background: var(--ueber); color: #c6cfd1; font-size: .95rem; overflow: clip; }
.fuss-welle { height: 76px; --strich: 6px; margin-bottom: -6px; padding-top: 14px; }
.fuss-welle .welle-i { mix-blend-mode: normal; }
.fuss-welle .welle-achse { stroke: var(--papier); opacity: .5; }
.footer-grid { display: grid; gap: 2rem; padding-block: 40px 36px; grid-template-columns: 1.5fr repeat(3, 1fr); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--f-mono); font-stretch: 100%; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--papier); margin-bottom: 1rem; display: flex; align-items: center; gap: .7em; }
.site-footer h2::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--rot); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 .45rem; }
.site-footer a { color: var(--papier); text-decoration: none; }
.site-footer a:hover { color: var(--papier); text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: var(--papier); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-logo { display: block; margin-bottom: 1.1rem; }
.footer-logo img { height: 44px; width: auto; }
.footer-company { color: var(--papier); font-family: var(--f-display); font-stretch: 84%; font-weight: 700; font-size: 1.15rem; margin-bottom: .3rem; }
.footer-bottom { border-top: 1px solid rgba(245, 240, 230, .28); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.5rem; padding-block: 1rem; font-family: var(--f-mono); font-size: .72rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer-bottom li { margin: 0; }
.druckvermerk { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 0 1.4rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .04em; color: #9fabb0; }
.druckvermerk .passer { width: 26px; height: 26px; }
.druckvermerk .passer-1 { stroke: var(--blau); } .druckvermerk .passer-2 { mix-blend-mode: normal; }
.druckvermerk .farbkeil i:nth-child(7) { background: var(--papier); }

/* 11. Hilfsklassen / Bewegung / Druck ---------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3.5rem; }
.text-muted { color: var(--ueber-soft); }
.center { text-align: center; }
.img-tall { max-height: 520px; width: auto; margin-inline: auto; }

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

@media print {
  .site-header, .bogenrand, .toc, .phi-regler, .kopf-form, .fuss-welle, .hero-welle { display: none !important; }
  body { background: #fff; }
  :root { --phi: 0; }
  .druck { color: var(--ueber); }
  .druck::before, .druck::after { display: none; }
}

/* Formelband: abgeschnittene Riesenzeile zwischen zwei Linien (Startseite) */
.formelband { position: relative; overflow: clip; border-block: var(--linie) solid var(--ueber); background: var(--papier) var(--korn); height: clamp(4.2rem, 9.5vw, 8.6rem); }
.formelband-zeile {
  position: absolute; left: -1.5vw; top: 50%; translate: 0 -53%; white-space: nowrap;
  font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(4.6rem, 11vw, 10rem); line-height: 1; letter-spacing: -.03em;
  color: var(--blau);
}
.formelband-zeile i { font-style: normal; color: transparent; margin-inline: .12em; }
.formelband-zeile--rot { color: var(--rot); mix-blend-mode: multiply; translate: calc(var(--d) * .1em) calc(-53% + var(--d) * .065em); }
