/* ==========================================================================
   real fake docs – Teleshopping trifft Manpage
   ========================================================================== */

/* Schriften: lokal gehostet, keine Anfragen an Dritte -------------------- */
@font-face { font-family: "Anton"; src: url("fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* Farben und Maße --------------------------------------------------------- */
:root {
  --studio: #1b3fd9;        /* Studiohintergrund */
  --studio-tief: #10288f;
  --gelb: #ffd23f;          /* Preisstern, Laufband */
  --rot: #e0242c;           /* Stempel, Preis */
  --papier: #f2f3f6;
  --weiss: #ffffff;
  --tinte: #151a2e;
  --grau: #535a70;
  --linie: #d2d6df;
  --stahl: #a3aab7;
  --stahl-dunkel: #6a7181;
  --nacht: #0f1533;

  /* Ordnerfarben (in den Kopfdaten per "farbe:" wählbar) */
  --o-blau: #2747c9;
  --o-rot: #c8282f;
  --o-gelb: #e9b824;
  --o-gruen: #2c7a4b;
  --o-grau: #6b7280;
  --o-schwarz: #262a35;
  --o-orange: #de6c1c;
  --o-lila: #6a3f9f;

  --anzeige: "Anton", Impact, "Arial Narrow Bold", sans-serif-condensed, sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --rahmen: 1160px;
  --rand: 20px;

  --stern: polygon(50% 0%, 58% 9.8%, 69.1% 3.8%, 72.8% 15.9%, 85.4% 14.6%, 84.1% 27.2%, 96.2% 30.9%, 90.2% 42%, 100% 50%, 90.2% 58%, 96.2% 69.1%, 84.1% 72.8%, 85.4% 85.4%, 72.8% 84.1%, 69.1% 96.2%, 58% 90.2%, 50% 100%, 42% 90.2%, 30.9% 96.2%, 27.2% 84.1%, 14.6% 85.4%, 15.9% 72.8%, 3.8% 69.1%, 9.8% 58%, 0% 50%, 9.8% 42%, 3.8% 30.9%, 15.9% 27.2%, 14.6% 14.6%, 27.2% 15.9%, 30.9% 3.8%, 42% 9.8%);
}

/* Grundlagen ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 1.0625rem/1.6 var(--text);
  font-kerning: normal;
}
img, svg { max-width: 100%; }
a { color: var(--studio); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--studio-tief); }
:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--anzeige); font-weight: 400; line-height: 1.02; letter-spacing: .005em; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3rem); margin: 0 0 .75rem; }
code, pre, kbd, samp { font-family: var(--mono); }

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

.sprungmarke {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--gelb); color: var(--tinte); padding: 10px 14px;
  border: 2px solid var(--tinte); font-weight: 700;
}
.sprungmarke:focus { top: 12px; }

/* Kopf ------------------------------------------------------------------- */
.kopf { background: var(--weiss); border-bottom: 3px solid var(--tinte); }
.kopf-innen {
  max-width: var(--rahmen); margin: 0 auto; padding: 14px var(--rand);
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
}
.logo { text-decoration: none; display: inline-block; padding: 4px 2px; }
.logo-stempel {
  display: inline-block;
  font-family: var(--anzeige); font-size: 1.75rem; line-height: 1; letter-spacing: .02em;
  color: var(--rot);
  border: 3px solid currentColor; border-radius: 6px;
  padding: .16em .42em .22em;
  box-shadow: inset 0 0 0 2px var(--weiss), inset 0 0 0 3.5px currentColor;
  transform: rotate(-3deg);
}
.logo:hover .logo-stempel { transform: rotate(-1deg); }
.kopf-rechts { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 26px; }
.hauptnav { display: flex; flex-wrap: wrap; gap: 4px 22px; }

/* Sprachumschalter */
.sprachwahl { display: flex; border: 2px solid var(--tinte); border-radius: 6px; overflow: hidden; }
.sprachwahl a {
  padding: 3px 10px 4px; font-weight: 600; font-size: .9rem; line-height: 1.4;
  color: var(--tinte); text-decoration: none;
}
.sprachwahl a + a { border-left: 2px solid var(--tinte); }
.sprachwahl a[aria-current] { background: var(--tinte); color: var(--weiss); }
.sprachwahl a:not([aria-current]):hover { background: var(--gelb); }
.sprachwahl a:focus-visible { outline-offset: -5px; outline-color: var(--rot); }
.hauptnav a {
  color: var(--tinte); font-weight: 600; text-decoration: none;
  padding: 4px 0; border-bottom: 3px solid transparent;
}
.hauptnav a:hover, .hauptnav a[aria-current] { border-bottom-color: var(--rot); color: var(--tinte); }

/* Knöpfe ----------------------------------------------------------------- */
.knopf {
  display: inline-block;
  font-family: var(--anzeige); font-size: 1.3rem; letter-spacing: .02em; line-height: 1.1;
  padding: .55em 1.1em .6em;
  border: 3px solid var(--tinte); border-radius: 6px;
  box-shadow: 4px 4px 0 var(--tinte);
  text-decoration: none; cursor: pointer;
  transition: transform .1s ease-out, box-shadow .1s ease-out;
}
.knopf:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--tinte); }
.knopf-gelb, .knopf-gelb:hover { background: var(--gelb); color: var(--tinte); }
.knopf-rot, .knopf-rot:hover { background: var(--rot); color: var(--weiss); }

/* Stern (Preisstern, "100 % unecht") ------------------------------------- */
.stern, .preisstern {
  position: absolute; z-index: 2;
  display: grid; place-content: center; text-align: center;
  aspect-ratio: 1;
  background: var(--rot);
  clip-path: var(--stern);
}
.stern::before, .preisstern::before {
  content: ""; position: absolute; inset: 5px;
  background: var(--gelb); clip-path: var(--stern);
}
.stern > *, .preisstern > * { position: relative; }

/* Studio (Startseite) ---------------------------------------------------- */
.studio {
  position: relative; overflow: hidden; color: var(--weiss);
  background:
    radial-gradient(110% 80% at 78% -12%, rgba(255, 255, 255, .24), transparent 55%),
    radial-gradient(80% 70% at 0% 115%, rgba(4, 12, 60, .45), transparent 60%),
    var(--studio);
}
.studio :focus-visible { outline-color: var(--gelb); }
.studio-innen {
  max-width: var(--rahmen); margin: 0 auto;
  padding: clamp(48px, 8vw, 104px) var(--rand) clamp(56px, 8vw, 96px);
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px); align-items: center;
}
.live {
  display: inline-flex; align-items: center; gap: .5em;
  margin: 0 0 1.4rem; padding: .2em .65em .25em;
  background: var(--rot); color: var(--weiss);
  font-weight: 700; font-size: .95rem; border-radius: 3px;
}
.live-punkt { width: .55em; height: .55em; border-radius: 50%; background: var(--weiss); }
.studio h1 {
  font-size: clamp(2.9rem, 7.2vw, 6.1rem); line-height: .95;
  margin: 0 0 1.5rem; text-wrap: balance;
  text-shadow: .045em .045em 0 var(--studio-tief);
}
.anpreisung { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 33em; margin: 0 0 2.2rem; color: #e4e9ff; }
.studio-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; }
.hotline { margin: 0; line-height: 1.25; color: #d6ddff; font-size: .95rem; }
.hotline strong { display: block; font-family: var(--anzeige); font-weight: 400; font-size: 1.65rem; letter-spacing: .03em; color: var(--weiss); }
.hotline span { display: block; font-size: .88rem; }

.vorfuehrung { position: relative; margin: 0; padding-top: 26px; }
.vorfuehrung .stern {
  top: -14px; right: -10px;
  width: clamp(108px, 12vw, 142px);
  transform: rotate(10deg);
  font-family: var(--anzeige); font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.02; color: var(--rot);
}
.terminal-buehne { position: relative; z-index: 1; transform: rotate(-1.5deg); box-shadow: 0 30px 50px rgba(3, 9, 45, .5); }
.terminal-buehne pre { font-size: clamp(.8rem, 1.2vw, .95rem); }
.drehteller {
  height: 44px; margin: -16px 7% 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 30%, #ffffff 0, #d8ddf0 48%, #96a1c6 100%);
  box-shadow: 0 16px 28px rgba(3, 9, 45, .4);
}
.vorfuehrung figcaption { margin-top: 18px; font-size: .85rem; font-style: italic; color: #c4ccf3; text-align: center; }

/* Terminal --------------------------------------------------------------- */
.terminal { background: var(--nacht); color: #dfe4f5; border: 1px solid #2b3466; border-radius: 10px; overflow: hidden; }
.terminal-leiste {
  font-family: var(--mono); font-size: .76rem; color: #8e98c4;
  padding: 7px 14px; background: #1a2252; border-bottom: 1px solid #2b3466;
}
.terminal pre { margin: 0; padding: 16px 18px 18px; overflow-x: auto; font: 400 .9rem/1.65 var(--mono); background: none; color: inherit; border: 0; }
.terminal code { background: none; padding: 0; font-size: inherit; color: inherit; }
.terminal .eingabe { color: var(--weiss); font-weight: 600; }
.terminal .prompt { color: var(--gelb); -webkit-user-select: none; user-select: none; }
.terminal .ausgabe { color: #aeb7d8; }

/* Laufband --------------------------------------------------------------- */
.laufband { background: var(--gelb); color: var(--tinte); overflow: hidden; border-block: 3px solid var(--tinte); }
.laufband-spur { display: flex; width: max-content; margin: 0; animation: laufband 52s linear infinite; }
.laufband:hover .laufband-spur { animation-play-state: paused; }
.laufband-spur span {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--anzeige); font-size: 1.3rem; letter-spacing: .02em; padding: .45rem 0 .5rem;
}
.laufband-spur span::after {
  content: ""; flex: none; width: .7em; height: .7em; margin: 0 1.1em;
  background: var(--rot); clip-path: var(--stern);
}
@keyframes laufband { to { transform: translateX(-50%); } }

/* Sortiment -------------------------------------------------------------- */
.sortiment { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.sortiment-kopf { max-width: 44rem; margin-bottom: 2.25rem; }
.sortiment-kopf p { margin: 0; font-size: 1.15rem; color: var(--grau); }

.abteilung-block {
  background: var(--weiss); border: 2px solid var(--tinte); border-radius: 10px;
  padding: clamp(18px, 3vw, 32px); margin-bottom: 32px;
}
.abt-kopf { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 20px; align-items: center; }
.abt-text h3 { font-size: clamp(1.7rem, 3vw, 2.25rem); margin: 0; }
.abt-text h3 a { color: var(--tinte); text-decoration: none; }
.abt-text h3 a:hover { text-decoration: underline; }
.abt-text p { margin: .3rem 0 0; color: var(--grau); max-width: 54ch; }
.abt-link { font-weight: 700; white-space: nowrap; }

/* Gangschild wie im Lager */
.gang {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 64px; padding: 6px 10px 8px; line-height: 1;
  background: var(--gelb); color: var(--tinte);
  border: 3px solid var(--tinte); border-radius: 6px;
}
.gang-wort { font-weight: 700; font-size: .8rem; }
.gang-nr { font-family: var(--anzeige); font-size: 2.1rem; }

/* Regal mit Aktenordnern ------------------------------------------------- */
.regal {
  overflow-x: auto; overflow-y: hidden;
  margin: 10px -6px 0; padding: 26px 6px 30px;
  scrollbar-width: thin;
}
.regal-boden {
  position: relative;
  display: flex; align-items: flex-end; gap: 36px;
  list-style: none; margin: 0; padding: 0 18px;
  width: max-content; min-width: 100%;
}
.regal-boden::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -18px; height: 18px;
  background: linear-gradient(var(--stahl) 0 62%, var(--stahl-dunkel) 62% 100%);
  border-radius: 2px;
  box-shadow: 0 6px 10px rgba(21, 26, 46, .12);
}
.regal-gruppe { display: flex; flex-direction: column; gap: 10px; }
.regal-etikett { font-size: .85rem; font-weight: 600; color: var(--grau); white-space: nowrap; }
.regal-reihe { display: flex; align-items: flex-end; gap: 6px; list-style: none; margin: 0; padding: 0; }

.ordner a {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  width: var(--breite, 60px); height: 236px; padding: 14px 0 16px;
  background-color: var(--ordner);
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .22) 0 3px, transparent 3px calc(100% - 5px), rgba(0, 0, 0, .22) calc(100% - 5px));
  border-radius: 4px 4px 1px 1px;
  color: var(--tinte); text-decoration: none;
  transition: transform .18s ease-out;
}
.ordner a:hover, .ordner a:focus-visible { transform: translateY(-12px); color: var(--tinte); }
.ordner a[aria-current="page"] { transform: translateY(-20px); }
.ordner-schild {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: calc(100% - 16px); height: 152px; padding: 10px 0 8px;
  background: #fbfaf6; border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
  overflow: hidden;
}
.ordner-titel {
  flex: 1; min-height: 0;
  writing-mode: vertical-rl; transform: rotate(180deg);
  text-align: center;
  font-family: var(--anzeige); font-size: 1.45rem; line-height: 1; letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ordner-sektion { font-family: var(--mono); font-size: .72rem; color: var(--grau); }
.ordner-loch {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle, #161a28 0 50%, #dadde4 52% 66%, #888e9b 68% 100%);
}

/* whatis-Liste unter dem Regal */
.whatis { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 22px; margin: 8px 0 0; }
.whatis-zeile { display: contents; }
.whatis dt { font-family: var(--mono); font-weight: 600; font-size: .95rem; }
.whatis dd { margin: 0; color: var(--grau); }

.leer { color: var(--grau); font-style: italic; }

/* Hinweise zur Sprache */
.sprachmarke {
  display: inline-block; margin-left: .45em; padding: 0 .4em;
  font: 600 .7rem/1.6 var(--mono); color: var(--grau);
  border: 1px solid var(--stahl-dunkel); border-radius: 3px; vertical-align: .12em;
}
.ersatz-hinweis {
  max-width: 62rem; margin: 0 0 18px; padding: 12px 16px;
  background: var(--gelb); border: 2px solid var(--tinte); border-radius: 8px;
  font-weight: 600; line-height: 1.45;
}

/* Kundenstimmen ---------------------------------------------------------- */
.stimmen { background: var(--weiss); border-top: 3px solid var(--tinte); padding: clamp(56px, 8vw, 88px) 0; }
.stimmen-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 28px; }
.stimme { margin: 0; padding-left: 20px; border-left: 4px solid var(--gelb); }
.stimme::before { content: "★★★★★"; display: block; color: var(--rot); letter-spacing: .12em; margin-bottom: .5rem; }
.stimme blockquote { margin: 0; }
.stimme p { margin: 0 0 1rem; font-size: 1.2rem; font-style: italic; line-height: 1.45; }
.stimme figcaption { font-weight: 600; }
.stimme figcaption span { display: block; font-weight: 400; color: var(--grau); }

/* Fuß -------------------------------------------------------------------- */
.fuss { background: var(--tinte); color: #c7cce0; font-size: .95rem; padding: 40px 0 48px; }
.fuss-innen { max-width: var(--rahmen); margin: 0 auto; padding: 0 var(--rand); display: grid; gap: 10px; }
.fuss p { margin: 0; max-width: 70ch; }
.fuss a { color: var(--weiss); }
.fuss :focus-visible { outline-color: var(--gelb); }
.fuss-nav { display: flex; gap: 22px; margin-top: 6px; }

/* Brotkrumen ------------------------------------------------------------- */
.krumen { padding: 26px 0 14px; font-size: .95rem; }
.krumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.krumen li + li::before { content: "/"; margin: 0 .55em; color: var(--stahl-dunkel); }
.krumen a { color: var(--grau); }
.krumen [aria-current] { font-weight: 600; }

/* Abteilungsseite -------------------------------------------------------- */
.abteilung { padding-bottom: 72px; }
.abteilung-kopf {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 24px; align-items: start;
  padding: 14px 0 32px; margin-bottom: 40px; border-bottom: 2px solid var(--tinte);
}
.abteilung-kopf .gang { min-width: 84px; padding: 8px 12px 10px; }
.abteilung-kopf .gang-nr { font-size: 2.9rem; }
.abteilung-kopf h1 { font-size: clamp(2.6rem, 6vw, 4.25rem); line-height: .95; margin: 0 0 .6rem; }
.abt-beschreibung { font-size: 1.2rem; max-width: 44em; margin: 0 0 .5rem; }
.abteilung-regal { margin-bottom: 56px; }
.abteilung-regal h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .35rem; }
.abteilung-regal h2 a { color: var(--tinte); }
.abteilung-regal .abt-beschreibung { font-size: 1.05rem; color: var(--grau); }
.weitere { margin: 18px 0 0; }
.prosa p, .prosa li { max-width: 64ch; }
.prosa h2 { font-family: var(--text); font-weight: 700; font-size: 1.3rem; line-height: 1.3; margin: 2rem 0 .5rem; }
.prosa h3 { font-family: var(--text); font-weight: 700; font-size: 1.1rem; line-height: 1.3; margin: 1.5rem 0 .4rem; }

/* Manpage ---------------------------------------------------------------- */
.manpage {
  background: var(--weiss);
  border: 2px solid var(--tinte); border-top: 12px solid var(--ordner, var(--o-blau));
  border-radius: 10px;
  padding: 0 clamp(18px, 4vw, 48px);
  margin: 4px 0 56px;
}
.man-zeile {
  display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap;
  font-family: var(--mono); font-size: .85rem; color: var(--grau); padding: 14px 0;
}
.man-kopf { border-bottom: 1px solid var(--linie); }
.man-fuss { border-top: 1px solid var(--linie); }
.man-raster {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(28px, 4vw, 56px); padding: 6px 0 40px;
}
.man-seite { position: sticky; top: 24px; align-self: start; padding-top: 34px; }

.man-inhalt { min-width: 0; }
.man-inhalt h2 {
  font-family: var(--mono); font-weight: 600; font-size: 1rem; letter-spacing: .06em; line-height: 1.4;
  color: var(--studio-tief); margin: 2.3rem 0 .8rem; scroll-margin-top: 16px;
}
.man-inhalt h2:first-child { margin-top: 1.6rem; }
.man-inhalt h3 { font-family: var(--mono); font-weight: 600; font-size: .95rem; line-height: 1.4; margin: 1.6rem 0 .5rem; }
.man-inhalt > :not(h2):not(h3) { margin-left: clamp(0px, 3vw, 2.4rem); }
.man-inhalt p { margin-top: 0; margin-bottom: 1rem; max-width: 66ch; }
.man-inhalt ul, .man-inhalt ol { padding-left: 1.3rem; max-width: 64ch; margin-top: 0; }
.man-inhalt li { margin-bottom: .35rem; }
.man-inhalt code { font-size: .9em; background: #eceff6; border-radius: 3px; padding: .08em .32em; }
.man-inhalt pre:not(.terminal pre) {
  background: #f4f5f9; border: 1px solid var(--linie); border-radius: 6px;
  padding: 14px 16px; overflow-x: auto; font-size: .9rem; line-height: 1.6;
}
.man-inhalt pre code { background: none; padding: 0; }
.man-inhalt .terminal { margin-bottom: 1.1rem; max-width: 74ch; }
.man-inhalt blockquote { margin: 0 0 1rem; padding: .2rem 0 .2rem 1rem; border-left: 4px solid var(--gelb); }

.optionen { margin-top: 0; margin-bottom: 1rem; }
.option { margin-bottom: 1.05rem; }
.option dt { font-family: var(--mono); font-weight: 600; font-size: .95rem; }
.option dt code { background: none; padding: 0; font-size: 1em; }
.option dd { margin: .15rem 0 0 4ch; max-width: 62ch; }

.tabelle { overflow-x: auto; margin-bottom: 1.25rem; }
.tabelle table { border-collapse: collapse; font-size: .97rem; min-width: min(100%, 520px); }
.tabelle th, .tabelle td { text-align: left; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle th { font-family: var(--mono); font-weight: 600; font-size: .82rem; color: var(--grau); border-bottom: 2px solid var(--tinte); }

.nicht-lieferbar { color: var(--grau); }
.nicht-lieferbar::after {
  content: attr(data-hinweis); display: inline-block; margin-left: .4em; padding: 0 .45em;
  font-family: var(--text); font-size: .72em; font-weight: 600; line-height: 1.6;
  background: #eceff6; border-radius: 3px; vertical-align: .1em;
}

/* Produktdatenblatt */
.datenblatt {
  position: relative;
  background: var(--studio); color: var(--weiss);
  border: 2px solid var(--tinte); border-radius: 10px;
  padding: 80px 20px 20px;
}
.datenblatt :focus-visible { outline-color: var(--gelb); }
.sticker {
  position: absolute; top: -16px; left: -12px; z-index: 3; margin: 0;
  background: var(--gelb); color: var(--tinte);
  font-family: var(--anzeige); font-size: 1.1rem; line-height: 1.2;
  padding: .2em .7em .3em; border: 2px solid var(--tinte); border-radius: 4px;
  transform: rotate(-6deg);
}
.preisstern { top: -42px; right: -16px; width: 116px; transform: rotate(8deg); line-height: 1; }
.preis-nur { font-weight: 700; font-size: .82rem; color: var(--tinte); }
.preis { font-family: var(--anzeige); font-size: 1.5rem; color: var(--rot); }
.fakten { display: grid; gap: 10px; margin: 0 0 20px; }
.fakten div {
  display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 8px; align-items: baseline;
  padding-bottom: 9px; border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.fakten dt { font-size: .88rem; color: #c8d1ff; }
.fakten dd { margin: 0; font-weight: 600; }
.fakten s { color: #ffc2c4; text-decoration-thickness: 2px; }
.sterne { color: var(--gelb); letter-spacing: .1em; }
.sterne-leer { color: rgba(255, 255, 255, .3); }
.datenblatt .knopf { width: 100%; text-align: center; }
.warenkorb-meldung { margin: 12px 0 0; min-height: 1.5em; font-size: .95rem; line-height: 1.4; }

.inhaltsverzeichnis { margin-top: 28px; font-size: .92rem; }
.ivz-titel { font-weight: 700; margin: 0 0 .5rem; }
.inhaltsverzeichnis ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--linie); }
.inhaltsverzeichnis a {
  display: block; padding: 3px 0 3px 12px;
  font-family: var(--mono); font-size: .8rem; color: var(--grau); text-decoration: none;
}
.inhaltsverzeichnis a:hover { color: var(--studio); }

.mehr { margin-bottom: 72px; }
.mehr h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }

/* Einzelseiten und 404 --------------------------------------------------- */
.einzelseite {
  max-width: 52rem; margin: 32px 0 72px;
  background: var(--weiss); border: 2px solid var(--tinte); border-radius: 10px;
  padding: clamp(20px, 4vw, 48px);
}
.einzelseite h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin: 0 0 1rem; }
.fehlerseite { padding-top: 64px; padding-bottom: 96px; }
.fehlerblock { max-width: 50rem; }
.fehlerseite .fehler-code {
  margin: 0; font-family: var(--anzeige); line-height: .85;
  font-size: clamp(6rem, 22vw, 12rem); color: var(--studio);
  text-shadow: .04em .04em 0 var(--gelb);
}
.fehlerseite h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.05; margin: .3em 0 .6em; }
.fehlerblock + .fehlerblock { margin-top: 40px; padding-top: 32px; border-top: 2px solid var(--linie); }
.fehlerblock + .fehlerblock h1 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }

/* Sprachweiche auf der Wurzel (nur sichtbar ohne JavaScript) */
.sprachtor-koerper { min-height: 100vh; display: grid; place-items: center; background: var(--studio); color: var(--weiss); }
.sprachtor { text-align: center; padding: 40px 20px; }
.sprachtor .logo-stempel { background: var(--weiss); font-size: 2.4rem; margin-bottom: 28px; }
.sprachtor p { font-size: 1.2rem; margin: .3rem 0; }
.sprachtor-wahl { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 28px; }
.sprachtor :focus-visible { outline-color: var(--gelb); }
.fehlerblock p { font-size: 1.15rem; max-width: 40em; }
.fehlerseite code { background: #e4e7ef; padding: .05em .3em; border-radius: 3px; font-size: .9em; }

/* Kleine Bildschirme ----------------------------------------------------- */
@media (max-width: 920px) {
  .man-raster { grid-template-columns: minmax(0, 1fr); }
  .man-seite { position: static; padding-top: 30px; max-width: 420px; }
  .inhaltsverzeichnis { display: none; }
}
@media (max-width: 860px) {
  .studio-innen { grid-template-columns: minmax(0, 1fr); }
  .vorfuehrung { max-width: 560px; }
}
@media (max-width: 640px) {
  :root { --rand: 16px; }
  .abt-kopf { grid-template-columns: auto minmax(0, 1fr); }
  .abt-link { grid-column: 1 / -1; }
  .whatis { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .whatis dd { margin-bottom: 10px; }
  .man-mitte { display: none; }
  .man-inhalt > :not(h2):not(h3) { margin-left: 0; }
  .option dd { margin-left: 2ch; }
  .abteilung-kopf { grid-template-columns: minmax(0, 1fr); }
  .abteilung-kopf .gang { justify-self: start; }
  .vorfuehrung .stern { right: -4px; }
  .terminal pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .8rem; }
  .terminal-buehne pre { font-size: .74rem; }
  .preisstern { right: -6px; }
  .sticker { left: -4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .laufband-spur { animation: none; }
  .ordner a, .knopf { transition: none; }
}

@media print {
  .kopf, .fuss, .laufband, .man-seite, .mehr, .krumen { display: none; }
  .manpage { border: 0; padding: 0; }
  .man-raster { display: block; }
}
