/* ==========================================================================
   EBEHAKO electronic – Entwurf „Klassik“
   Eine Verbeugung vor den Firmen-Homepages der FrontPage-Zeit: Banner, feste
   Navigationsspalte, Titelleisten mit Farbverlauf, 3D-Kanten, Tabellen mit
   Gitterlinien, gekachelter Hintergrund – gebaut mit CSS-Grid, Custom
   Properties und ohne ein einziges Layout-<table> oder Frame.

   Aufbau:
   1. Tokens          2. Basis            3. Seitenrahmen (Banner, Spalte, Fuß)
   4. Inhaltsraster   5. Titelleisten     6. Komponenten
   7. Laufschrift, Zähler, Plaketten      8. Hilfsklassen   9. Druck
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Blau aus dem Logo, vom Titelleisten-Marine bis zum hellen Flächenton */
  --navy: #0a2a5e;
  --blue-800: #0b3f73;
  --blue-700: #0e559c;
  --blue-600: #1270c0;
  --blue-400: #3d9be4;
  --blue-200: #b9d4f1;
  --blue-100: #dfeaf7;
  --blue-50: #eff5fb;

  /* Silber/Grau der Bedienelemente */
  --silver-50: #f7f8fa;
  --silver-100: #eceff3;
  --silver-200: #dde3ea;
  --silver-300: #c9d0da;
  --silver-400: #a9b3c1;
  --silver-500: #7f8c9d;
  --silver-600: #5f6b7c;

  /* Ein warmer Akzent (Bernstein) */
  --amber: #f0a020;
  --amber-light: #f7c35f;
  --amber-soft: #fff1c9;
  --amber-dark: #a84f00;

  --ink: #1b1f26;
  --ink-soft: #343c49;
  --muted: #566170;
  --line: var(--silver-400);
  --info: #ffffe1;

  /* Klassische Linkfarben */
  --link: #0033cc;
  --visited: #6b2a8f;
  --hover: #c03000;
  --focus: #a84f00;

  /* 3D-Kanten: Licht kommt von links oben */
  --kante-hoch: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-400);
  --kante-tief: inset 1px 1px 0 var(--silver-400), inset -1px -1px 0 #fff;
  --schatten: 2px 2px 0 rgba(27, 45, 74, .14);
  --verlauf-silber: linear-gradient(#fdfdfe, var(--silver-200));
  --verlauf-blau: linear-gradient(#2e79cc, #1560b2 50%, #0d4d98);
  --verlauf-titel: linear-gradient(90deg, var(--navy) 0%, #0e4f96 55%, #1b74c8 100%);

  --gutter: clamp(12px, 2.4vw, 24px);
  --spalte: 248px;

  --font: Verdana, Geneva, "DejaVu Sans", "Bitstream Vera Sans", Tahoma, Arial, sans-serif;
  --font-head: Tahoma, "Trebuchet MS", Verdana, "DejaVu Sans", Arial, sans-serif;
  --font-mono: "Courier New", Courier, "DejaVu Sans Mono", monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 64px; /* Platz für die mitlaufende Sprungmarken-Leiste */
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--ink);
  background: #dbe3ee url("../img/deko/kachel-energie.svg") 0 0 / 256px 256px;
}

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

a { color: var(--link); text-underline-offset: .15em; }
a:where(:visited) { color: var(--visited); }
a:where(:hover) { color: var(--hover); }
a:where(:active) { color: #e00000; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-head); line-height: 1.25; margin: 0 0 .6em; color: var(--navy);
  hyphens: none; overflow-wrap: break-word;
}
/* Lange Komposita enthalten weiche Trennstellen (src/lib/text.ts). Auf breiten Bildschirmen bleiben Wörter ganz,
   erst auf schmalen Bildschirmen darf dort getrennt werden – sonst würde z. B. „Blindleistungs-regler“ getrennt. */
@media (max-width: 640px) { h1, h2, h3, h4 { hyphens: manual; } }
h1 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2rem); font-weight: 700; }
h2 { font-size: 1.0625rem; font-weight: 700; }
h3 { font-size: 1.0625rem; font-weight: 700; color: var(--blue-800); }
h4 { font-size: 1rem; font-weight: 700; color: var(--blue-800); }

p, ul, ol, dl, table { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
li + li { margin-top: .25em; }
small { font-size: .8125rem; }
address { font-style: normal; }
sub, sup { line-height: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: .6em 1em;
}
.skip-link:focus { left: 8px; top: 8px; outline-color: var(--amber-light); }

input, select, button { font: inherit; }

/* 3. Seitenrahmen ---------------------------------------------------------- */
.seite {
  max-width: 1240px; margin: 14px auto; background: #fff;
  border: 1px solid var(--silver-600);
  box-shadow: 4px 4px 0 rgba(10, 42, 94, .16);
}
@media (max-width: 1264px) { .seite { margin: 0; border-width: 0; box-shadow: none; } }

/* Banner: links das Logo auf Weiß, rechts die Freileitung im Morgenlicht */
.banner {
  display: flex; align-items: center; min-height: 104px; padding: 8px var(--gutter);
  background: #fff url("../img/deko/banner.svg") right center / auto 100% no-repeat;
}
.brand { display: block; flex-shrink: 0; }
.brand img { height: 84px; width: auto; }

/* Blaue Leiste unter dem Banner */
.leiste {
  --focus: #ffe2a8;
  display: flex; align-items: center; gap: 6px 20px; min-height: 32px; padding: 4px var(--gutter);
  background: var(--verlauf-blau);
  border-block: 1px solid var(--navy); box-shadow: inset 0 1px 0 #8ebdf0;
  color: #fff; font-family: var(--font-head); font-size: .8125rem;
}
.leiste-motto { margin: 0; font-weight: 700; letter-spacing: .02em; text-shadow: 1px 1px 0 rgba(0, 0, 0, .3); }
.leiste-motto span { font-weight: 400; }
.leiste-kontakt { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 0 0; }
.leiste-kontakt li { margin: 0; white-space: nowrap; }
.leiste-kontakt li + li::before { content: "|"; margin-inline: .7em; color: #a9cdf3; }
.leiste a { color: #fff; }
.leiste a:hover { color: #ffe2a8; }

.nav-toggle {
  display: none; align-items: center; gap: .4rem;
  padding: 3px 10px 3px 8px; font-family: var(--font-head); font-weight: 700; font-size: .8125rem; color: var(--navy);
  background: var(--verlauf-silber); border: 1px solid var(--navy); border-radius: 3px; box-shadow: var(--kante-hoch); cursor: pointer;
}
.nav-toggle svg { width: 16px; height: 16px; }
.nav-toggle[aria-expanded="true"] { background: var(--silver-200); box-shadow: var(--kante-tief); }

/* Zwei Spalten: Navigation links (wie früher der Menü-Frame), Inhalt rechts */
.rahmen { display: grid; grid-template-columns: var(--spalte) minmax(0, 1fr); }
main { min-width: 0; background: #fff; }

.spalte {
  background: #e7ecf3 url("../img/deko/kachel-energie.svg") 0 0 / 256px 256px;
  border-right: 1px solid var(--silver-500); box-shadow: inset -1px 0 0 #fff;
}
.spalte-innen {
  position: sticky; top: 0; max-height: 100vh; overflow: hidden auto; scrollbar-width: thin;
  padding: 12px 10px 16px 9px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start;
}

.menue { border: 1px solid var(--silver-600); background: var(--silver-100); box-shadow: var(--schatten); }
.menue-liste { list-style: none; margin: 0; padding: 4px; display: grid; gap: 3px; }
.menue-liste li { margin: 0; }
.menue-knopf {
  display: block; padding: 6px 8px 6px 25px;
  font-family: var(--font-head); font-weight: 700; font-size: .8125rem; line-height: 1.35; color: var(--navy); text-decoration: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 1l5.5 4-5.5 4z' fill='%230a2a5e'/%3E%3C/svg%3E") 9px center / 9px 9px no-repeat,
    var(--verlauf-silber);
  border: 1px solid var(--silver-600); border-radius: 2px; box-shadow: var(--kante-hoch);
}
.menue-knopf:hover { color: var(--navy); border-color: var(--amber-dark); box-shadow: inset 0 0 0 2px var(--amber-light); }
.menue-knopf:active { box-shadow: var(--kante-tief); }
.ist-offen > .menue-knopf, .menue-knopf[aria-current="page"] {
  --focus: #7a2e00;
  color: #fff; border-color: var(--navy); text-shadow: 1px 1px 0 rgba(0, 0, 0, .3);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 2.5l4 5.5 4-5.5z' fill='%23fff'/%3E%3C/svg%3E") 9px center / 9px 9px no-repeat,
    var(--verlauf-blau);
  box-shadow: inset 1px 1px 0 #8ebdf0, inset -1px -1px 0 var(--blue-800);
}
.ist-offen > .menue-knopf:hover, .menue-knopf[aria-current="page"]:hover { color: #fff; box-shadow: inset 0 0 0 2px var(--amber-light); }
.menue-knopf[aria-current="page"]:not(.ist-offen > *) {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 1l5.5 4-5.5 4z' fill='%23fff'/%3E%3C/svg%3E"),
    var(--verlauf-blau);
}

.menue-unter {
  list-style: none; margin: 0; padding: 6px 5px 7px 7px;
  background: #fff; border: 1px solid var(--silver-600); border-top: 0; box-shadow: inset 1px 1px 0 var(--silver-300);
  font-size: .8125rem; line-height: 1.4;
}
.menue-unter li { margin: 0; padding: 2px 0 2px 14px; position: relative; overflow-wrap: anywhere; hyphens: auto; }
.menue-unter li::before {
  content: ""; position: absolute; left: 1px; top: .58em; width: 7px; height: 7px;
  background: var(--blue-600); border: 1px solid var(--blue-800); box-shadow: inset 1px 1px 0 #7fbaf0;
}
.menue-unter a[aria-current="page"], .menue-unter a.ist-pfad { color: var(--ink); font-weight: 700; text-decoration: none; }
.menue-unter li:has([aria-current="page"])::before, .menue-unter li:has(.ist-pfad)::before {
  background: var(--amber); border-color: var(--amber-dark); box-shadow: inset 1px 1px 0 #ffd98a;
}
@media (min-width: 901px) { .menue-liste > li:not(.ist-offen) > .menue-unter { display: none; } }

/* Kästen (Fenster mit Titelleiste) */
.kasten { border: 1px solid var(--silver-600); background: var(--silver-100); box-shadow: var(--schatten); }
.kasten-inhalt { padding: 10px 12px; box-shadow: inset 1px 1px 0 #fff; }
.kasten-inhalt > :last-child { margin-bottom: 0; }
.spalte-extra { font-size: .8125rem; }
.spalte-extra p { margin-bottom: .6em; }
.umbruch { overflow-wrap: anywhere; }

/* Schmale Bildschirme: Die Spalte wird zum aufklappbaren Menü */
@media (max-width: 900px) {
  .rahmen { display: block; }
  .nav-toggle { display: inline-flex; }
  .leiste-motto { display: none; }
  .spalte { display: none; border-right: 0; border-bottom: 1px solid var(--silver-600); box-shadow: none; }
  .spalte.ist-offen { display: block; }
  .spalte-innen { position: static; max-height: none; padding: 10px var(--gutter) 14px; }
  .spalte .spalte-extra { display: none; }
  .menue-knopf { padding-block: 9px; font-size: .875rem; }
  .menue-unter { font-size: .875rem; padding-block: 8px; }
  .menue-unter li { padding-block: 5px; }
  .banner { min-height: 76px; padding-block: 6px; }
  .brand img { height: 62px; }
}
/* Auf schmalen Bildschirmen liegt das Logo über dem Bild – dort wird die Grafik links zusätzlich aufgehellt */
@media (max-width: 640px) {
  .banner { background-image: linear-gradient(90deg, #fff 240px, rgba(255, 255, 255, 0) 350px), url("../img/deko/banner.svg"); background-size: auto, auto 100%; background-position: 0 0, right center; }
}
@media (max-width: 520px) {
  .leiste-kontakt li + li { display: none; }
  .banner { min-height: 64px; background-image: linear-gradient(90deg, #fff 205px, rgba(255, 255, 255, 0) 300px), url("../img/deko/banner.svg"); }
  .brand img { height: 52px; }
}

/* Fußzeile */
.fuss {
  border-top: 1px solid var(--silver-600);
  background: #e7ecf3 url("../img/deko/kachel-energie.svg") 0 0 / 256px 256px;
  font-size: .8125rem;
}
.fuss-haupt {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px;
  padding: 16px var(--gutter); box-shadow: inset 0 1px 0 #fff;
}
.fuss address { line-height: 1.65; }
.fuss .fuss-plaketten { display: none; } /* stehen auf breiten Bildschirmen in der Navigationsspalte */
@media (max-width: 900px) { .fuss .fuss-plaketten { display: flex; } }
.fuss-zeile {
  --focus: #ffe2a8;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding: 6px var(--gutter);
  background: var(--verlauf-blau); border-top: 1px solid var(--navy); box-shadow: inset 0 1px 0 #8ebdf0;
  color: #fff; font-family: var(--font-head);
}
.fuss-zeile p { margin: 0; }
.fuss-zeile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.fuss-zeile li { margin: 0; }
.fuss-zeile li:not(:last-child)::after { content: "|"; margin-inline: .6em; color: #a9cdf3; }
.fuss-zeile a { color: #fff; }
.fuss-zeile a:hover { color: #ffe2a8; }
@media (max-width: 700px) { .fuss-trenner { display: block; height: 0; overflow: hidden; } }

/* 4. Inhaltsraster --------------------------------------------------------- */
.container { width: 100%; padding-inline: var(--gutter); }

.section { padding-block: 26px 30px; }
.section--tight { padding-block: 22px 24px; }

/* Trenner zwischen den Abschnitten: Linie mit drei kleinen Quadraten */
main > section:not(.page-head) + section { position: relative; border-top: 1px solid var(--silver-300); }
main > section:not(.page-head) + section::before {
  content: ""; position: absolute; top: -7px; left: 50%; width: 72px; height: 12px; margin-left: -36px;
  background: #fff url("../img/deko/trenner.svg") center / 56px 12px no-repeat;
}

.section-head { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 10px 0 0; max-width: 80ch; color: var(--ink-soft); }

.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

.split {
  display: grid; gap: 20px 32px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}
.split--top { align-items: start; }
.split > * { min-width: 0; }

/* Fließtext bleibt auf angenehmer Zeilenlänge, Titelleisten laufen über die volle Breite */
.prose > :where(p, ul, ol, dl) { max-width: 80ch; }
.prose p, .prose li { color: var(--ink-soft); }

/* Seitenkopf der Unterseiten */
.page-head { border-bottom: 1px solid var(--silver-300); background: linear-gradient(var(--blue-50), #fff 85%); }
.page-head > .container { padding-block: 18px 22px; }
.page-head:not(.product-head) > .container {
  background: url("../img/deko/oszilloskop.svg") right center / auto 100% no-repeat;
}
@media (max-width: 900px) { .page-head:not(.product-head) > .container { background: none; } }
.page-head h1 { margin-bottom: .45em; padding-bottom: .3em; position: relative; }
.page-head h1::after, .hero h1::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: min(100%, 22rem); height: 3px;
  background: linear-gradient(90deg, var(--amber) 0 2.2rem, transparent 2.2rem 2.5rem, var(--blue-600) 2.5rem, rgba(18, 112, 192, 0) 100%);
}
.page-head .lead { font-size: 1rem; color: var(--ink-soft); max-width: 72ch; margin: 0; }

/* „Sie sind hier:“ */
.breadcrumb, .toc {
  padding: 5px var(--gutter);
  background: linear-gradient(#f9fafc, var(--silver-200)); border-bottom: 1px solid var(--silver-500); box-shadow: inset 0 1px 0 #fff;
  font-family: var(--font-head); font-size: .8125rem; color: var(--ink-soft);
}
.breadcrumb-marke, .toc-marke { margin-right: .5em; font-weight: 700; color: var(--navy); white-space: nowrap; }
.breadcrumb ol { display: inline; list-style: none; padding: 0; margin: 0; }
.breadcrumb li { display: inline-block; margin: 0; } /* inline-block: Umbruch zwischen den Einträgen möglich */
.breadcrumb li + li::before { content: "»"; margin-inline: .4em; color: var(--silver-600); }
.breadcrumb li[aria-current] { font-weight: 700; color: var(--ink); }
.breadcrumb .drucken { float: right; margin-left: 1.5em; }
@media (max-width: 700px) { .breadcrumb .drucken { display: none; } }

/* Sprungmarken („Auf dieser Seite:“) – läuft beim Scrollen mit */
.toc { position: sticky; top: 0; z-index: 10; display: flex; align-items: baseline; gap: .3em .1em; }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; min-width: 0; }
.toc li { margin: 0; white-space: nowrap; }
.toc li + li::before { content: "|"; margin-inline: .55em; color: var(--silver-500); }
.toc .nach-oben { margin-left: auto; white-space: nowrap; }
@media (max-width: 700px) {
  .toc ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-block: 3px; }
  .toc-marke, .toc .nach-oben { display: none; }
}

.nach-oben::before { content: "▲\00a0"; font-size: .7em; display: inline-block; text-decoration: none; }
.drucken::before {
  content: ""; display: inline-block; width: 1.1em; height: 1em; margin-right: .35em; vertical-align: -.12em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M4.5 6V1.5h9V6M4.5 12.5h-3v-6h15v6h-3' fill='%23dde3ea' stroke='%23343c49'/%3E%3Cpath d='M4.5 9.5h9v5h-9z' fill='%23fff' stroke='%23343c49'/%3E%3C/svg%3E") center / contain no-repeat;
}
.link-knopf {
  padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--link); text-decoration: underline; text-underline-offset: .15em; font-size: inherit;
}
.link-knopf:hover { color: var(--hover); }

.seitenende {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin: 0; padding: 8px var(--gutter);
  border-top: 1px solid var(--silver-300); background: var(--silver-50);
  font-family: var(--font-head); font-size: .8125rem;
}

/* 5. Titelleisten ---------------------------------------------------------- */
/* Jede <h2> im Inhalt ist eine Titelleiste wie bei einem Programmfenster: Marine → Blau, weiße Schrift, kleines Sinus-Symbol. */
main h2, .titelzeile {
  --focus: #ffe2a8;
  margin: 0 0 14px; padding: 6px 12px 6px 34px;
  font-family: var(--font-head); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: #fff; text-shadow: 1px 1px 0 rgba(0, 0, 0, .35);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='.5' y='.5' width='15' height='15' rx='2' fill='%23fff' stroke='%23b9d4f1'/%3E%3Cpath d='M2.6 8c1.8-6.4 3.6-6.4 5.4 0s3.6 6.4 5.4 0' fill='none' stroke='%231270c0' stroke-width='1.7'/%3E%3C/svg%3E") 10px .48em / 16px 16px no-repeat,
    var(--verlauf-titel);
  border: 1px solid var(--navy); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .38), inset -1px -1px 0 rgba(0, 0, 0, .25);
}
.titelzeile--klein { margin: 0; padding: 4px 8px 4px 28px; font-size: .8125rem; background-position: 7px .32em, 0 0; background-size: 14px 14px, auto; border-width: 0 0 1px; }
.kasten > .titelzeile { margin: 0; border-width: 0 0 1px; }
h2.mt-2 { margin-top: 12px; }

/* Reiter über einer Titelleiste (frühere „Eyebrow“) */
.eyebrow {
  display: block; width: fit-content; max-width: 100%; margin: 0 0 0 10px; padding: 2px 10px 1px;
  font-family: var(--font-head); font-size: .6875rem; font-weight: 700; line-height: 1.6; letter-spacing: .05em; text-transform: uppercase; color: var(--blue-800);
  background: linear-gradient(#fff, var(--silver-200)); border: 1px solid var(--silver-600); border-bottom: 0; border-radius: 4px 4px 0 0;
  box-shadow: inset 1px 1px 0 #fff;
}

/* 6. Komponenten ----------------------------------------------------------- */

/* Schaltflächen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  padding: .42em 1em .46em; border-radius: 3px;
  font-family: var(--font-head); font-weight: 700; font-size: .875rem; line-height: 1.3; color: var(--navy);
  text-decoration: none; cursor: pointer;
  background: var(--verlauf-silber); border: 1px solid var(--silver-600); box-shadow: var(--kante-hoch);
}
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }
.btn:hover { color: var(--navy); border-color: var(--amber-dark); box-shadow: inset 0 0 0 2px var(--amber-light); }
.btn:active { background: var(--silver-200); box-shadow: var(--kante-tief); }
.btn--primary {
  color: #fff; text-shadow: 1px 1px 0 rgba(0, 0, 0, .3); border-color: var(--navy);
  background: var(--verlauf-blau); box-shadow: inset 1px 1px 0 #8ebdf0, inset -1px -1px 0 var(--blue-800);
}
.btn--primary:hover { color: #fff; border-color: var(--navy); box-shadow: inset 0 0 0 2px var(--amber-light); }
.btn--primary:active { background: #0d4d98; box-shadow: inset 1px 1px 0 var(--navy); }
.btn--small { padding: .28em .75em .32em; font-size: .8125rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-row--center { justify-content: center; }
.pfeil { font-weight: 700; }

/* Willkommen (Startseite) */
.hero { padding-block: 18px 26px; }
.hero-kasten {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 270px); gap: 20px 28px; align-items: center;
  padding: 20px 22px 22px;
  border: 1px solid var(--silver-600); box-shadow: inset 1px 1px 0 #fff, var(--schatten);
  background: url("../img/deko/oszilloskop.svg") right center / auto 100% no-repeat, linear-gradient(var(--blue-50), #fff 80%);
}
.hero h1 { position: relative; padding-bottom: .35em; margin-bottom: .5em; }
.hero .lead { font-size: 1rem; color: var(--ink-soft); max-width: 60ch; }
.hero-figure { margin: 0; padding: 8px 8px 0; background: #fff; border: 1px solid var(--silver-600); box-shadow: var(--kante-tief), var(--schatten); }
.hero-figure img { width: 100%; max-height: 260px; object-fit: contain; }
.hero-figure figcaption { margin: 8px -8px 0; padding: 4px 8px; background: var(--silver-100); border-top: 1px solid var(--silver-400); font-size: .75rem; text-align: center; color: var(--ink-soft); }
@media (max-width: 700px) {
  .hero-kasten { grid-template-columns: 1fr; padding: 16px 14px; background: linear-gradient(var(--blue-50), #fff 80%); }
  .hero-figure { max-width: 260px; justify-self: center; }
}

.facts { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .8125rem; color: var(--ink-soft); }
.facts li { margin: 0; padding-left: 16px; position: relative; }
.facts li::before, .features li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px;
  background: var(--blue-600); border: 1px solid var(--blue-800); box-shadow: inset 1px 1px 0 #7fbaf0;
}

/* Karten */
.card {
  display: flex; flex-direction: column; background: #fff; color: var(--ink); text-decoration: none;
  border: 1px solid var(--silver-500); box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-200), var(--schatten);
}
a.card:hover, a.tile:hover, a.feature-card--link:hover { color: var(--ink); border-color: var(--amber-dark); box-shadow: inset 0 0 0 2px var(--amber-light), var(--schatten); }
/* Bildfläche mit festem Seitenverhältnis; das Bild ist absolut eingepasst, damit hohe Fotos die Fläche nicht aufziehen */
.card-media { position: relative; aspect-ratio: 4 / 3; min-height: 0; margin: 1px 1px 0; background: #fff; border-bottom: 1px solid var(--silver-300); }
.card-media img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { margin: 0; }
.card h3, .tile h3, .cap h3 { hyphens: manual; } /* schmale Spalten: an den weichen Trennstellen darf immer getrennt werden */
.card-body p, .card-body address { margin: 0; color: var(--ink-soft); font-size: .875rem; }
.card-body > h2:first-child { margin: -11px -13px 4px; border-width: 0 0 1px; }
.card-meta { font-size: .8125rem; color: var(--muted); }
.card-more { margin-top: auto; padding-top: 4px; font-size: .875rem; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: .15em; }
a:visited .card-more, a.card-more:visited { color: var(--visited); }
a:hover .card-more, a.card-more:hover { color: var(--hover); }
.card-media--cover { aspect-ratio: 16 / 9; }
.card-media--cover img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media--small { aspect-ratio: 16 / 9; }
.card--highlight { border-color: var(--amber-dark); box-shadow: inset 0 3px 0 var(--amber), var(--schatten); }
.card--highlight .card-body { background: linear-gradient(#fffaea, #fff 60%); margin-top: 3px; }

/* Bereichs-Kacheln */
.tile {
  display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 14px; align-items: center; padding: 14px;
  background: #fff; color: var(--ink); text-decoration: none;
  border: 1px solid var(--silver-500); box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-200), var(--schatten);
}
.tile > div { min-width: 0; }
.tile h3 { margin: 0 0 4px; }
.tile p { margin: 0 0 8px; color: var(--ink-soft); font-size: .875rem; }
.tile img { width: 104px; height: 104px; object-fit: contain; }
.tile .card-more { padding: 0; }
@media (max-width: 480px) { .tile { grid-template-columns: minmax(0, 1fr) 76px; } .tile img { width: 76px; height: 76px; } }

/* Aufzählungen mit Bullet-Grafik */
.features { list-style: none; padding: 0; display: grid; gap: 6px; }
.features li { margin: 0; padding-left: 18px; position: relative; color: var(--ink-soft); }
.features--2col { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); column-gap: 28px; }
.prose ul:not([class]) { list-style: square; }
.prose ul:not([class]) li::marker { color: var(--blue-600); }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.stat { padding: 12px 14px; background: var(--verlauf-silber); border: 1px solid var(--silver-600); box-shadow: var(--kante-hoch), var(--schatten); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.2; color: var(--blue-700); margin-bottom: 2px; }
.stat span { color: var(--ink-soft); font-size: .8125rem; }

/* Marken */
.badge {
  display: inline-block; padding: 0 7px; border-radius: 2px;
  font-family: var(--font-head); font-size: .6875rem; font-weight: 700; line-height: 1.65; white-space: nowrap;
  background: var(--blue-100); color: var(--blue-800); border: 1px solid #8fb2d9;
}
.badge--muted { background: var(--silver-100); color: #454f5e; border-color: var(--silver-400); }
.badge--warn { background: var(--amber-soft); color: #7a3d00; border-color: #d3a039; }
.badge--neu {
  background: linear-gradient(#ffe45c, #ffc21a); color: #a01500; border-color: var(--amber-dark);
  font-style: italic; font-size: .75rem; transform: rotate(-4deg); box-shadow: 1px 1px 0 rgba(0, 0, 0, .2);
}
.badge-row { display: flex; flex-wrap: wrap; gap: 4px; }

/* Tabellen mit Gitterlinien */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--silver-600); box-shadow: var(--schatten); }
.table { width: 100%; border-collapse: collapse; border-style: hidden; margin: 0; font-size: .8125rem; line-height: 1.5; }
.table th, .table td { padding: 6px 9px; text-align: left; vertical-align: top; border: 1px solid var(--silver-400); }
.table thead th { background: linear-gradient(#f7f9fb, var(--silver-300)); color: var(--navy); font-family: var(--font-head); font-weight: 700; border-bottom-color: var(--silver-600); }
.table tbody tr:nth-child(even) { background: var(--blue-50); }
.table tbody th[scope="row"] { background: var(--silver-100); color: var(--ink); font-weight: 700; white-space: nowrap; }
.table tbody th[scope="row"]:has(br) { white-space: normal; min-width: 12em; } /* zweizeilige Zeilenköpfe (Referenzen) dürfen umbrechen */
.table tbody tr:hover > * { background-color: var(--info); }
.table .is-discontinued { color: var(--muted); }
.table .num { white-space: nowrap; }

/* Technische Daten (Schlüssel/Wert als Gitter) */
.specs { display: grid; gap: 16px; }
.spec-group h3 {
  margin: 0; padding: 4px 9px; font-size: .875rem; color: var(--navy);
  background: linear-gradient(#f7f9fb, var(--silver-300)); border: 1px solid var(--silver-600); border-bottom: 0; box-shadow: inset 1px 1px 0 #fff;
}
.spec-list { margin: 0; align-self: start; background: #fff; border: 1px solid var(--silver-600); box-shadow: var(--schatten); font-size: .8125rem; line-height: 1.5; }
.spec-list > div { display: grid; grid-template-columns: minmax(120px, 38%) minmax(0, 1fr); border-bottom: 1px solid var(--silver-400); }
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { padding: 5px 9px; background: var(--silver-100); border-right: 1px solid var(--silver-400); font-weight: 700; color: var(--ink-soft); overflow-wrap: break-word; hyphens: auto; }
.spec-list dd { margin: 0; padding: 5px 9px; overflow-wrap: break-word; }
.spec-list > div:nth-child(even) dd { background: var(--blue-50); }
.spec-list dd ul { margin: 0; padding-left: 1.2em; list-style: square; }
@media (max-width: 480px) {
  .spec-list > div { grid-template-columns: 1fr; }
  .spec-list dt { border-right: 0; border-bottom: 1px dotted var(--silver-400); }
}

/* Produktkopf */
.product-head .split { align-items: center; }
.product-gallery { display: grid; gap: 10px; }
.product-gallery .main { display: grid; place-items: center; padding: 16px; background: #fff; border: 1px solid var(--silver-600); box-shadow: var(--kante-tief), var(--schatten); }
.product-gallery .main img { max-height: 380px; width: auto; }
.product-gallery .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.product-gallery .thumbs figure { margin: 0; padding: 4px; background: #fff; border: 1px solid var(--silver-500); box-shadow: var(--schatten); }
.product-gallery .thumbs figcaption { padding: 3px 1px 0; font-size: .6875rem; line-height: 1.3; color: var(--muted); text-align: center; }
.product-head h1.mt-2 { margin-top: 10px; }

.key-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0 16px; }
.key-facts div { padding: 6px 10px 7px; background: #fff; border: 1px solid var(--silver-500); box-shadow: var(--kante-tief); }
.key-facts strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--blue-700); }
.key-facts span { font-size: .75rem; color: var(--muted); }

/* Download-Listen */
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.downloads li { margin: 0; }
.downloads a {
  display: flex; align-items: center; gap: 10px; padding: 6px 10px;
  background: #fff; color: var(--ink); text-decoration: none;
  border: 1px solid var(--silver-500); box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-200);
}
.downloads a:hover { color: var(--ink); border-color: var(--amber-dark); box-shadow: inset 0 0 0 2px var(--amber-light); }
.ftype {
  flex-shrink: 0; width: 34px; height: 22px; display: grid; place-items: center;
  font-family: var(--font-head); font-size: .625rem; font-weight: 700; letter-spacing: .03em; color: #fff;
  background: linear-gradient(#c93a27, #a01c0f); border: 1px solid #7c1409; box-shadow: inset 1px 1px 0 #f0988b;
}
.ftype--link { width: auto; min-width: 34px; padding-inline: 5px; background: var(--verlauf-blau); border-color: var(--navy); box-shadow: inset 1px 1px 0 #8ebdf0; }
.dl-title { display: block; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: .15em; }
a:visited .dl-title { color: var(--visited); }
a:hover .dl-title { color: var(--hover); }
.dl-meta { font-size: .75rem; color: var(--muted); }
.downloads .badge { margin-left: auto; }

/* Hinweis (gelb wie eine QuickInfo) */
.note {
  padding: 10px 14px 10px 40px; color: var(--ink);
  background: var(--info) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='8' fill='%231270c0' stroke='%230a2a5e'/%3E%3Cpath d='M9 8v5.5' stroke='%23fff' stroke-width='2.2'/%3E%3Ccircle cx='9' cy='4.9' r='1.4' fill='%23fff'/%3E%3C/svg%3E") 12px 12px / 18px 18px no-repeat;
  border: 1px solid #8a7a3a; box-shadow: var(--schatten);
}
.note--warn { background-color: var(--amber-soft); }

/* Ablauf */
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step; margin: 0; padding: 10px 14px 12px 52px; position: relative; background: #fff;
  border: 1px solid var(--silver-500); box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-200), var(--schatten);
}
.steps li::before {
  content: counter(step); position: absolute; left: 12px; top: 11px; width: 28px; height: 28px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: .9375rem; color: #fff; text-shadow: 1px 1px 0 rgba(0, 0, 0, .3);
  background: var(--verlauf-blau); border: 1px solid var(--navy); box-shadow: inset 1px 1px 0 #8ebdf0;
}
.steps h3 { font-size: 1rem; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .875rem; }
.steps--row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

/* Kontakt-Kasten am Seitenende */
.cta-band { padding-block: 24px 28px; }
.cta-inhalt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 40px; align-items: center; padding: 14px 16px 16px; }
.cta-inhalt p { margin: 0; max-width: 60ch; }
@media (max-width: 760px) { .cta-inhalt { grid-template-columns: 1fr; } }
.contact-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.contact-lines li { margin: 0; display: flex; align-items: center; gap: 9px; }
.contact-lines svg { width: 17px; height: 17px; color: var(--blue-700); flex-shrink: 0; }
.contact-lines a { font-weight: 700; overflow-wrap: anywhere; }
.contact-lines .who { font-size: .8125rem; color: var(--ink-soft); }

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

/* Bilder im Rahmen */
.framed { background: #fff; padding: 4px; border: 1px solid var(--silver-500); box-shadow: var(--schatten); }
figure.media { margin: 0; }
figure.media figcaption { margin-top: 6px; font-size: .8125rem; }
.img-tall { max-height: 520px; margin-inline: auto; }

/* Im Fokus: dunkelblaues Fenster (BR7000-I/NET) */
.section--dark { padding-inline: var(--gutter); }
.section--dark > .container {
  --focus: #ffe2a8;
  padding: 20px 22px 22px; color: #e3ecf7;
  background: linear-gradient(160deg, #164b8a, var(--navy) 70%); border: 1px solid #051c44;
  box-shadow: inset 1px 1px 0 #5f8fc8, inset -1px -1px 0 #051c44, var(--schatten);
}
.section--dark h2 { margin: 0 0 10px; padding: 0; border: 0; box-shadow: none; background: none; font-size: 1.35rem; text-shadow: none; }
.section--dark h3 { color: #fff; }
.section--dark .eyebrow {
  margin: 0 0 10px; padding: 2px 9px; color: #5a2a00; border: 1px solid #7a3d00; border-radius: 2px;
  background: linear-gradient(#ffe08a, var(--amber)); box-shadow: inset 1px 1px 0 #fff3cf;
}
.section--dark .lead-sm, .section--dark .features li { color: #e3ecf7; }
.section--dark .features li::before { background: var(--amber); border-color: #7a3d00; box-shadow: inset 1px 1px 0 #ffd98a; }
.section--dark .framed { padding: 3px; border-color: #051c44; box-shadow: 2px 2px 0 rgba(0, 0, 0, .3); }
.section--dark figcaption { color: #c5d6ea; font-size: .8125rem; margin-top: 5px; }
.section--dark a:not(.btn) { color: #fff; }
.text-soft { color: #c5d6ea; }
.screens { display: grid; gap: 16px; }
.lead-sm { font-size: 1rem; color: var(--ink-soft); }
.stack { display: grid; gap: 14px; }

/* Hervorgehobenes Hauptprodukt */
.feature-card {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px 28px; align-items: center; padding: 18px 20px;
  background: #fff; color: var(--ink); border: 1px solid var(--silver-500); box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-200), var(--schatten);
}
@media (max-width: 700px) { .feature-card { grid-template-columns: 1fr; padding: 14px; } }
.feature-card__media { display: grid; place-items: center; }
.feature-card__media img { max-height: 320px; width: auto; }
main .feature-card__body h2 {
  margin: 8px 0 6px; padding: 0; border: 0; box-shadow: none; background: none;
  font-size: 1.5rem; color: var(--navy); text-shadow: none;
}
.feature-card--link { text-decoration: none; }
.feature-card__body .eyebrow { margin: 0; border: 1px solid var(--silver-600); border-radius: 2px; }
.variant-list { list-style: none; padding: 0; margin: 12px 0 14px; display: grid; gap: 6px; }
.variant-list li { margin: 0; padding: 6px 10px 7px; display: grid; gap: 1px; background: var(--silver-50); border: 1px solid var(--silver-400); box-shadow: inset 1px 1px 0 #fff; }
.variant-list li strong { font-family: var(--font-head); color: var(--blue-800); }
.variant-list li span { color: var(--ink-soft); font-size: .875rem; }
.variant-list li.is-highlight { background: var(--amber-soft); border-color: #d3a039; }

/* Auswahlhilfe */
.guide { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--silver-600); box-shadow: var(--schatten); font-size: .875rem; }
.guide li { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 4px 16px; padding: 7px 10px; border-bottom: 1px solid var(--silver-400); }
.guide li:nth-child(even) { background: var(--blue-50); }
.guide li:last-child { border-bottom: 0; }
.guide span { color: var(--ink-soft); }
.guide a { font-weight: 700; white-space: nowrap; }
.guide a::after { content: "\00a0»"; display: inline-block; }
@media (max-width: 520px) { .guide li { flex-direction: column; align-items: flex-start; } }

.card--compact .card-body p { font-size: .8125rem; }
.link-list { list-style: square; padding-left: 1.2em; margin: 2px 0 0; font-size: .8125rem; }
.link-list li { margin: 2px 0; }
.link-list li::marker { color: var(--blue-600); }

/* Zubehör-Einträge */
.item {
  display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 14px 24px; padding: 14px 16px; background: #fff;
  border: 1px solid var(--silver-500); box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-200), var(--schatten);
}
.item:target { border-color: var(--amber-dark); box-shadow: inset 0 0 0 2px var(--amber-light), var(--schatten); }
.item-media { display: grid; place-items: center; min-height: 110px; }
.item-media img { max-height: 160px; width: auto; object-fit: contain; }
.item-body h3 { margin-bottom: 8px; }
.item-title { display: block; font-family: var(--font); font-size: .875rem; font-weight: 400; color: var(--muted); margin-top: 2px; }
.item-meta { display: flex; flex-wrap: wrap; gap: 2px 20px; font-size: .8125rem; color: var(--muted); margin: 10px 0; }
.item .features { gap: 4px; }
.item .features li { font-size: .875rem; }
@media (max-width: 600px) { .item { grid-template-columns: 1fr; } .item-media { min-height: 0; } .item-media img { max-height: 130px; } }

/* Formeln und Fachtexte */
.formula {
  width: fit-content; max-width: 100%; padding: 7px 14px; font-family: var(--font-mono); font-size: 1.0625rem; font-weight: 700; color: var(--ink);
  background: #fff; border: 1px solid var(--silver-600); box-shadow: var(--kante-tief);
}
.gallery-pair { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }
.gallery-pair img { max-height: 260px; width: auto; }
.article > :where(p, ul, ol, figure) { max-width: 84ch; }
.article h2 { margin-top: 24px; }
.article figure { margin: 20px 0; }

/* Formulare: versenkte Eingabefelder */
input[type="search"], input[type="number"], select {
  width: 100%; min-height: 2.1rem; padding: 4px 7px; color: var(--ink); background: #fff;
  border: 1px solid var(--silver-600); border-radius: 0; box-shadow: inset 1px 1px 0 var(--silver-400);
}
input:focus-visible, select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }

/* Rechner: Fenster mit LCD-Anzeige */
.calc { display: grid; gap: 10px; padding: 0 14px 14px; background: var(--silver-100); border: 1px solid var(--silver-600); box-shadow: inset 1px 1px 0 #fff, var(--schatten); }
.calc h3 {
  margin: 0 -14px 4px; padding: 6px 12px 6px 34px; font-size: .9375rem; color: #fff; text-shadow: 1px 1px 0 rgba(0, 0, 0, .35);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='.5' y='.5' width='15' height='15' rx='2' fill='%23fff' stroke='%23b9d4f1'/%3E%3Cpath d='M2.6 8c1.8-6.4 3.6-6.4 5.4 0s3.6 6.4 5.4 0' fill='none' stroke='%231270c0' stroke-width='1.7'/%3E%3C/svg%3E") 10px .46em / 16px 16px no-repeat,
    var(--verlauf-titel);
  border-bottom: 1px solid var(--navy); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .38);
}
.calc label { display: grid; gap: 3px; font-weight: 700; font-size: .8125rem; }
.calc-label span { font-weight: 400; color: var(--muted); }
.calc-result {
  display: grid; gap: 0; padding: 8px 12px 9px; color: #1c2a12;
  background: linear-gradient(#c3d1a8, #b3c396); border: 1px solid #4c5a3a; box-shadow: inset 2px 2px 3px rgba(40, 55, 20, .35);
}
.calc-result span { font-family: var(--font-head); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.calc-result strong { font-family: var(--font-mono); font-size: 1.9rem; line-height: 1.15; letter-spacing: .02em; }
.calc-result small { font-size: .75rem; }
.calc-note { margin: 0; color: var(--muted); }
.calc:not(.is-enhanced) .calc-result { display: none; }

.doc-teaser {
  display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding: 16px 18px;
  background: var(--silver-50); border: 1px solid var(--silver-500); box-shadow: inset 1px 1px 0 #fff, var(--schatten);
}
.doc-teaser img { width: 130px; border: 1px solid var(--silver-500); box-shadow: 3px 3px 0 rgba(27, 45, 74, .2); }
.doc-teaser > div { flex: 1 1 300px; }

/* Filterleiste */
.filter-bar {
  display: grid; gap: 10px 12px; align-items: end; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  padding: 12px 14px; background: var(--silver-100); border: 1px solid var(--silver-600); box-shadow: inset 1px 1px 0 #fff, var(--schatten);
}
.filter-bar label { display: grid; gap: 3px; }
.filter-bar label > span:first-child { font-family: var(--font-head); font-size: .75rem; font-weight: 700; color: var(--navy); }
.filter-search, .filter-status { grid-column: 1 / -1; }
.filter-status { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; font-size: .8125rem; color: var(--ink-soft); }
.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: 3rem; }
.input-unit > span { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .8125rem; pointer-events: none; }

/* Kondensatorkarten */
.cap-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); align-items: start; }
.cap {
  display: grid; gap: 10px; padding: 12px 14px 14px; background: #fff;
  border: 1px solid var(--silver-500); box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-200), var(--schatten);
}
.cap-head h3 { margin: 6px 0 0; }
.cap-head .badge--neu { margin-left: 6px; }
.cap-brand { display: inline-block; padding: 0 7px; font-family: var(--font-head); font-size: .6875rem; font-weight: 700; line-height: 1.7; letter-spacing: .05em; text-transform: uppercase; color: #fff; border: 1px solid rgba(0, 0, 0, .45); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .35); }
.cap-brand--tdk { background: #1f4e8c; }
.cap-brand--vishay { background: #4a5565; }
.cap-brand--frako { background: #0b6e52; }
.cap-code { font-family: var(--font-mono); font-size: .8125rem; color: var(--muted); }
.cap-use { margin: 0; color: var(--ink-soft); font-size: .875rem; }
.cap-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 0; border: 1px solid var(--silver-500); }
.cap-facts div { padding: 4px 8px 5px; border: solid var(--silver-400); border-width: 0 1px 1px 0; background: var(--silver-50); }
.cap-facts div:nth-child(2n) { border-right-width: 0; }
.cap-facts div:nth-last-child(-n + 2) { border-bottom-width: 0; }
.cap-facts dt { font-size: .6875rem; color: var(--muted); }
.cap-facts dd { margin: 0; font-weight: 700; font-size: .8125rem; }
.cap-more summary { cursor: pointer; width: fit-content; font-size: .875rem; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: .15em; }
.cap-more summary:hover { color: var(--hover); }
.cap-more[open] summary { margin-bottom: 8px; }
.cap-more .spec-list > div { grid-template-columns: minmax(96px, 36%) minmax(0, 1fr); }
.cap-actions { margin-top: 2px; }

/* Downloadbereich */
.downloads-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 20px 28px; align-items: start; }
.downloads-side { position: sticky; top: 12px; display: grid; gap: 14px; }
@media (max-width: 1040px) {
  .downloads-layout { grid-template-columns: 1fr; }
  .downloads-side { position: static; }
  .side-nav { display: none; }
}
.side-nav { background: #fff; border: 1px solid var(--silver-600); box-shadow: var(--schatten); }
.side-nav ul { list-style: none; padding: 8px 10px; margin: 0; font-size: .8125rem; }
.side-nav li { margin: 0; padding: 2px 0 2px 15px; position: relative; }
.side-nav li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 7px; height: 7px; background: var(--blue-600); border: 1px solid var(--blue-800); box-shadow: inset 1px 1px 0 #7fbaf0; }
.dl-category { padding-bottom: 22px; margin-bottom: 0; }
.dl-category > p { font-size: .875rem; }
.dl-group { margin-top: 14px; }
.dl-group h3 {
  margin: 0; padding: 4px 9px; font-size: .875rem; color: var(--navy);
  background: linear-gradient(#f7f9fb, var(--silver-300)); border: 1px solid var(--silver-600); border-bottom: 0; box-shadow: inset 1px 1px 0 #fff;
}
.dl-rows { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--silver-600); box-shadow: var(--schatten); font-size: .8125rem; }
.dl-rows li { margin: 0; border-bottom: 1px solid var(--silver-400); }
.dl-rows li:nth-child(even) { background: var(--blue-50); }
.dl-rows li:last-child { border-bottom: 0; }
.dl-rows a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 4px 10px; align-items: center; padding: 5px 9px; color: var(--ink); text-decoration: none; }
.dl-rows a:hover { background: var(--info); }
.dl-rows .dl-title { font-weight: 400; }
.dl-rows .dl-meta { white-space: nowrap; }
@media (max-width: 600px) { .dl-rows a { grid-template-columns: auto minmax(0, 1fr) auto; } .dl-rows .dl-meta { grid-column: 2; white-space: normal; } }

/* Zeitstrahl */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 82px; top: 6px; bottom: 6px; width: 3px; background: var(--silver-300); border-left: 1px solid var(--silver-500); }
.timeline li { margin: 0; display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 32px; align-items: start; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: 78px; top: 15px; width: 11px; height: 11px;
  background: var(--amber); border: 1px solid var(--amber-dark); box-shadow: inset 1px 1px 0 #ffd98a;
}
.timeline-year {
  margin-top: 8px; padding: 2px 4px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: .875rem; color: var(--navy);
  background: var(--verlauf-silber); border: 1px solid var(--silver-600); box-shadow: var(--kante-hoch);
}
.timeline-card {
  display: flex; gap: 16px; align-items: center; padding: 10px 14px; background: #fff;
  border: 1px solid var(--silver-500); box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-200), var(--schatten);
}
.timeline-card img { width: 92px; height: 92px; object-fit: contain; flex-shrink: 0; }
.timeline-card h3 { margin: 0 0 3px; font-size: 1rem; }
.timeline-card p { margin: 0; color: var(--ink-soft); font-size: .875rem; }
@media (max-width: 560px) {
  .timeline::before { left: 5px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 24px; }
  .timeline li::before { left: 1px; top: 12px; }
  .timeline-year { justify-self: start; margin-top: 4px; padding-inline: 10px; }
  .timeline-card { flex-direction: column; align-items: flex-start; }
  .timeline-card img { width: 72px; height: 72px; }
}

.chronik { margin: 0; display: grid; background: #fff; border: 1px solid var(--silver-600); box-shadow: var(--schatten); font-size: .875rem; }
.chronik > div { display: grid; grid-template-columns: 68px minmax(0, 1fr); border-bottom: 1px solid var(--silver-400); }
.chronik > div:last-child { border-bottom: 0; }
.chronik > div:nth-child(even) dd { background: var(--blue-50); }
.chronik dt { padding: 6px 4px; text-align: center; font-family: var(--font-head); font-weight: 700; color: var(--navy); background: var(--silver-100); border-right: 1px solid var(--silver-400); }
.chronik dd { margin: 0; padding: 6px 10px; }
.chronik ul { margin: 0; padding-left: 1.2em; list-style: square; color: var(--ink-soft); }

/* 7. Laufschrift, Zähler, Plaketten --------------------------------------- */

/* Laufschrift im Stil einer LED-Anzeige. Hält bei Mauszeiger, Fokus oder über den Pause-Knopf an. */
.laufschrift {
  --focus: #ffe2a8;
  display: flex; align-items: stretch; min-height: 30px; background: #0b1a30; border-bottom: 1px solid var(--navy);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, .55); font-family: var(--font-head); font-size: .8125rem;
}
.laufschrift-marke {
  flex-shrink: 0; display: grid; place-items: center; padding: 0 12px; color: #4a2300; letter-spacing: .04em; text-transform: uppercase; font-size: .75rem;
  background: linear-gradient(#ffd66e, var(--amber)); border-right: 1px solid #7a3d00; box-shadow: inset 1px 1px 0 #fff3cf;
}
.laufschrift-fenster { flex: 1; min-width: 0; overflow: hidden; display: flex; align-items: center; color: #ffc457; text-decoration: none; letter-spacing: .03em; }
.laufschrift-fenster:hover, .laufschrift-fenster:visited { color: #ffc457; }
.laufschrift-fenster:hover { text-decoration: underline; }
.laufschrift-fenster:focus-visible { outline-offset: -3px; }
.laufschrift-band { display: inline-flex; white-space: nowrap; animation: laufschrift 48s linear infinite; }
.laufschrift-band > span { padding-inline: 14px 10px; }
.laufschrift:hover .laufschrift-band, .laufschrift:focus-within .laufschrift-band, .laufschrift.ist-angehalten .laufschrift-band { animation-play-state: paused; }
@keyframes laufschrift { to { transform: translateX(-50%); } }
.laufschrift-pause {
  flex-shrink: 0; width: 30px; margin: 3px; padding: 0; cursor: pointer;
  background: var(--verlauf-silber); border: 1px solid #000; border-radius: 2px; box-shadow: var(--kante-hoch);
}
.laufschrift-pause::before { content: ""; display: block; width: 8px; height: 10px; margin: auto; border-inline: 3px solid var(--navy); }
.laufschrift-pause[aria-pressed="true"] { box-shadow: var(--kante-tief); background: var(--silver-200); }
.laufschrift-pause[aria-pressed="true"]::before { width: 0; height: 0; border-block: 6px solid transparent; border-inline: 9px solid var(--navy); border-right-width: 0; }
@media (prefers-reduced-motion: reduce) {
  .laufschrift-band { animation: none; white-space: normal; display: block; padding-block: 6px; }
  .laufschrift-band > span[aria-hidden] { display: none; }
  .laufschrift-pause { display: none; }
}

/* Besucherzähler: Ziffernrollen */
.zaehler { display: grid; justify-items: center; gap: 4px; text-align: center; }
.zaehler-text { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.zaehler-werk {
  display: inline-flex; padding: 3px; background: #2b2f36; border: 1px solid #000; border-radius: 3px;
  box-shadow: inset 1px 1px 0 #6d7480, 2px 2px 0 rgba(27, 45, 74, .25);
}
.rad {
  width: 1.25em; height: 1.7em; overflow: hidden; font: 700 1.125rem/1.7em var(--font-mono); color: #fff; text-align: center;
  background: linear-gradient(#000 0%, #262626 14%, #474747 38%, #2e2e2e 62%, #101010 88%, #000 100%);
  border-left: 1px solid #000; box-shadow: inset 1px 0 0 #5a5a5a;
}
.rad:first-child { border-left: 0; }
.rad:last-child { color: #1b1f26; background: linear-gradient(#8e8e8e 0%, #e9e9e9 22%, #fff 42%, #e4e4e4 64%, #9a9a9a 90%, #6f6f6f 100%); box-shadow: inset 1px 0 0 #fff; }
.rad-band { display: block; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.rad-band span { display: block; height: 1.7em; }
.rad:nth-child(2) .rad-band { transition-duration: 1.6s; }
.rad:nth-child(3) .rad-band { transition-duration: 1.8s; }
.rad:nth-child(4) .rad-band { transition-duration: 2s; }
.rad:nth-child(5) .rad-band { transition-duration: 2.2s; }
.rad:nth-child(6) .rad-band { transition-duration: 2.4s; }
.rad[data-z="0"] .rad-band { transform: translateY(-1.7em); }
.rad[data-z="1"] .rad-band { transform: translateY(-3.4em); }
.rad[data-z="2"] .rad-band { transform: translateY(-5.1em); }
.rad[data-z="3"] .rad-band { transform: translateY(-6.8em); }
.rad[data-z="4"] .rad-band { transform: translateY(-8.5em); }
.rad[data-z="5"] .rad-band { transform: translateY(-10.2em); }
.rad[data-z="6"] .rad-band { transform: translateY(-11.9em); }
.rad[data-z="7"] .rad-band { transform: translateY(-13.6em); }
.rad[data-z="8"] .rad-band { transform: translateY(-15.3em); }
.rad[data-z="9"] .rad-band { transform: translateY(-17em); }
.zaehler-hinweis { font-size: .75rem; color: var(--ink-soft); }
.zaehler-demo { color: var(--muted); font-style: italic; }
@media (max-width: 700px) { .zaehler { justify-items: start; text-align: left; } }

/* Plaketten im Format der alten 88×31-Buttons (doppelt so groß, damit sie lesbar bleiben) */
.plaketten { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.plakette {
  display: grid; align-content: center; width: 176px; min-height: 56px; padding: 4px 8px 5px 54px; text-decoration: none;
  font-family: var(--font-head); font-size: .6875rem; line-height: 1.3; color: var(--ink);
  border: 1px solid #000; box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 var(--silver-500);
}
.plakette strong { font-size: .8125rem; color: var(--navy); }
.plakette--optimiert {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Crect x='3.5' y='5.5' width='24' height='17' fill='%23fff' stroke='%230a2a5e'/%3E%3Crect x='3.5' y='5.5' width='24' height='4' fill='%231270c0' stroke='%230a2a5e'/%3E%3Cpath d='M10 27.5h11M15.5 22.5v5' stroke='%230a2a5e'/%3E%3Crect x='24.5' y='15.5' width='11' height='19' rx='1.5' fill='%23fff' stroke='%230a2a5e'/%3E%3Cpath d='M28 31.5h4' stroke='%230a2a5e'/%3E%3Cpath d='M7 16c2-5 4-5 6 0s4 5 6 0' fill='none' stroke='%23d98200' stroke-width='1.3'/%3E%3C/svg%3E") 8px center / 40px 40px no-repeat,
    linear-gradient(#fff, var(--silver-200));
}
.plakette--iso {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='17' r='12.5' fill='%231270c0' stroke='%230a2a5e'/%3E%3Ccircle cx='20' cy='17' r='9' fill='none' stroke='%23b9d4f1'/%3E%3Cpath d='M14.5 17.5l4 4 7.5-8.5' fill='none' stroke='%23fff' stroke-width='2.6'/%3E%3Cpath d='M13 27l-3 10 6-3 4 5 4-5 6 3-3-10' fill='%23f0a020' stroke='%23a84f00' stroke-linejoin='round'/%3E%3Ccircle cx='20' cy='17' r='12.5' fill='none' stroke='%230a2a5e'/%3E%3C/svg%3E") 8px center / 40px 40px no-repeat,
    linear-gradient(#fff, var(--blue-100));
}
a.plakette:hover { color: var(--ink); border-color: var(--amber-dark); box-shadow: inset 0 0 0 2px var(--amber-light); }

/* 8. Hilfsklassen ---------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.text-muted { color: var(--muted); }
.center { text-align: center; }

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

/* 9. Druck ----------------------------------------------------------------- */
@media print {
  @page { margin: 16mm 14mm; }
  body { background: none; font-size: 10.5pt; color: #000; }
  .seite { max-width: none; margin: 0; border: 0; box-shadow: none; }
  .skip-link, .leiste, .spalte, .toc, .laufschrift, .seitenende, .breadcrumb .drucken, .zaehler, .plaketten, .fuss-zeile ul,
  .filter-bar, .side-nav, .btn, .hero-figure figcaption { display: none !important; }
  .banner { min-height: 0; padding: 0 0 6mm; background: none; border-bottom: 1pt solid #000; }
  .brand img { height: 16mm; }
  .rahmen, .downloads-layout { display: block; }
  .breadcrumb { padding-inline: 0; background: none; border: 0; box-shadow: none; }
  .page-head, .page-head > .container, .hero-kasten { background: none !important; }
  .container, .section--dark { padding-inline: 0; }
  main > section:not(.page-head) + section::before { display: none; }
  main h2, .titelzeile, .calc h3 {
    padding: 0 0 2pt; background: none; border: 0; border-bottom: 1.5pt solid #000; box-shadow: none; color: #000; text-shadow: none; break-after: avoid;
  }
  h1, h3 { color: #000; break-after: avoid; }
  .card, .tile, .cap, .item, .steps li, .timeline-card, .feature-card, .kasten, .table-wrap, .spec-list, .dl-rows, .guide, .note, .stat { box-shadow: none; break-inside: avoid; }
  .section--dark > .container { background: none; color: #000; border: 1pt solid #000; box-shadow: none; }
  .section--dark h2, .section--dark h3, .section--dark .lead-sm, .section--dark .features li, .section--dark figcaption, .text-soft { color: #000; }
  .table-wrap { overflow: visible; }
  a, a:visited, .dl-title, .card-more { color: #000; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8.5pt; }
  .fuss { background: none; border-top: 1pt solid #000; }
  .fuss-zeile { background: none; color: #000; border: 0; box-shadow: none; padding-inline: 0; }
  .fuss-haupt { padding-inline: 0; box-shadow: none; }
}
