/* Cronesix Produktseite.
   Farben und Schriften folgen dem Shop (NOVA "clear"): Montserrat fuer
   Ueberschriften, Open Sans fuer Text, Orange als einziger Akzent. */

:root {
  --tinte: #1d1f22;
  --text: #525252;
  --papier: #ffffff;
  --nebel: #f5f7fa;
  --buehne: #e6e9ed;
  --linie: #d9dde2;
  --orange: #e7861b;
  --orange-tief: #a85c06;
  --glas: #06080b;
  --kopf: "Montserrat", "Segoe UI", sans-serif;
  --lauf: "Open Sans", "Segoe UI", sans-serif;
  --breite: 1240px;
  --rand: clamp(16px, 4vw, 40px);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--lauf);
}

h1, h2 {
  margin: 0;
  color: var(--tinte);
  font-family: var(--kopf);
  line-height: 1.1;
}
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 700; }

p { margin: 0 0 1em; max-width: 64ch; }

a { color: var(--orange-tief); }
img { display: block; max-width: 100%; height: auto; }

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

.skip {
  position: absolute; left: -999px; top: 0;
  padding: 10px 16px; background: var(--tinte); color: #fff;
}
.skip:focus { left: 8px; top: 8px; z-index: 10; }

/* Text nur fuer Vorleseprogramme und Suchmaschinen (sichtbar steht er daneben). */
.nur-lesen {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Knoepfe ─────────────────────────────────────────────────────────────── */

.knopf {
  display: inline-block;
  padding: 0.7em 1.4em;
  border: 2px solid var(--orange);
  border-radius: 4px;
  font: 600 0.95rem/1.2 var(--kopf);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.knopf--voll { background: var(--orange); color: #1a1205; }
.knopf--voll:hover { background: #f59a35; border-color: #f59a35; }
.knopf--rand { color: var(--tinte); }
.knopf--rand:hover { background: var(--orange); color: #1a1205; }
.knopf--hell { color: #fff; }
.knopf--gross { padding: 0.9em 1.8em; font-size: 1.05rem; }

.marke {
  display: inline-block;
  margin-left: 0.5em;
  padding: 0.15em 0.6em;
  border: 1px solid currentColor;
  border-radius: 99px;
  color: var(--orange-tief);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ── Kopf ────────────────────────────────────────────────────────────────── */

.kopf {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--linie);
  backdrop-filter: blur(8px);
}
.kopf__innen {
  display: flex; align-items: center; gap: clamp(12px, 3vw, 36px);
  max-width: var(--breite); margin: 0 auto; padding: 12px var(--rand);
}
.kopf__logo img { width: 158px; height: auto; }
.kopf__nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); margin-right: auto; }
.kopf__nav > a, .menue__knopf {
  padding: 6px 0;
  border: 0; border-bottom: 2px solid transparent;
  background: none;
  color: var(--tinte);
  font: 600 0.95rem var(--kopf);
  text-decoration: none;
  cursor: pointer;
}
.kopf__nav > a:hover, .kopf__nav > a[aria-current], .menue__knopf:hover, .menue__knopf.ist-hier { border-bottom-color: var(--orange); }

/* Aufklappliste der Steuergeraete: oeffnet bei Maus und Fokus, ohne Skript. */
.menue { position: relative; }
.menue__knopf::after {
  content: "";
  display: inline-block;
  width: 0.4em; height: 0.4em;
  margin: 0 0 0.2em 0.5em;
  border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.menue__liste {
  position: absolute; left: -16px; top: 100%;
  display: none;
  min-width: 260px;
  padding: 8px;
  border: 1px solid var(--linie); border-radius: 6px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(29, 31, 34, 0.14);
}
.menue:hover .menue__liste, .menue:focus-within .menue__liste { display: block; }
.menue__liste a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  text-decoration: none;
}
.menue__liste a:hover, .menue__liste a[aria-current] { background: var(--nebel); }
.menue__liste strong { display: block; color: var(--tinte); font: 700 1rem var(--kopf); }
.menue__liste span { color: var(--text); font-size: 0.85rem; }
.kopf__rechts { display: flex; align-items: center; gap: 16px; }
.sprache { display: flex; gap: 2px; font: 600 0.8rem var(--kopf); }
.sprache a { padding: 6px 8px; border-radius: 4px; color: var(--text); text-decoration: none; }
.sprache a[aria-current] { background: var(--tinte); color: #fff; }
.kopf .knopf { padding: 0.55em 1em; font-size: 0.85rem; }

@media (max-width: 640px) {
  .kopf__innen { flex-wrap: wrap; }
  .kopf__logo img { width: 120px; }
  .kopf__nav { order: 3; width: 100%; }
  .kopf__rechts { margin-left: auto; }
}

/* ── Buehne der Produktseite ─────────────────────────────────────────────── */

.buehne {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--nebel) 0%, var(--buehne) 100%);
}
.buehne__innen {
  position: relative;
  max-width: var(--breite); margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) var(--rand) clamp(40px, 6vw, 80px);
}

/* Der Produktname steht als Schriftbild hinter dem Geraet. */
.buehne__name {
  font-size: clamp(4.2rem, 21vw, 19rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.82;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 1px 0 var(--linie);
  margin-left: -0.05em;
  user-select: none;
}

.buehne__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-top: clamp(-9rem, -8vw, -2rem);
}
@media (max-width: 1000px) {
  .buehne__raster { grid-template-columns: 1fr; margin-top: -4vw; }
}

.buehne__text { padding-top: clamp(0px, 9vw, 150px); }
@media (max-width: 1000px) { .buehne__text { padding-top: 0; } }
.buehne__text--allein { padding-top: clamp(16px, 3vw, 40px); max-width: 60ch; }

.buehne__art {
  margin-bottom: 0.5em;
  color: var(--tinte);
  font: 700 1.25rem var(--kopf);
}
.buehne__lead { font-size: 1.15rem; }
.buehne--ohne .buehne__name { color: var(--tinte); text-shadow: none; font-size: clamp(3.5rem, 14vw, 11rem); }

/* ── Das Lenkrad ─────────────────────────────────────────────────────────── */

.rad {
  position: relative;
  width: 100%;
  container-type: inline-size;
}

.rad__ansichten {
  position: relative; z-index: 2;
  display: flex; gap: 4px;
  width: max-content;
  margin: 0 auto 8px;
  padding: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.75);
}
.rad__ansichten button, .seiten__wahl button {
  padding: 0.4em 1.1em;
  border: 0; border-radius: 99px;
  background: transparent;
  color: var(--text);
  font: 600 0.85rem var(--kopf);
  cursor: pointer;
}
.rad__ansichten button[aria-pressed="true"] { background: var(--tinte); color: #fff; }

.rad__flaeche {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 1.6cqw 1.6cqw rgba(29, 31, 34, 0.28));
}
.rad__flaeche[hidden] { display: none; }

.rad__bild { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Gleiche Flaeche wie das Frontalfoto (tools/website/build_images.py,
   ANSICHT_FUELLUNG): die Buehne behaelt beim Umschalten ihre Hoehe. */
.rad__ansicht {
  display: block;
  width: 100%; height: auto;
  filter: drop-shadow(0 1.6cqw 1.6cqw rgba(29, 31, 34, 0.28));
}
.rad__ansicht[hidden] { display: none; }

.rad__schirm { position: absolute; overflow: hidden; border-radius: 0.4cqw; background: var(--glas); }
.rad__schirm img { width: 100%; height: 100%; object-fit: fill; }

.rad__led {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--led, transparent);
  box-shadow: 0 0 1.2cqw 0.25cqw var(--led, transparent);
  transition: background-color 0.06s, box-shadow 0.06s;
  pointer-events: none;
}

/* Kreise: zeigen im Foto, wo die Teile einer Zeile der Liste sitzen. */
.rad__teil { position: absolute; border-radius: 50%; }
.rad__teil::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0.25cqw rgba(231, 134, 27, 0);
  transition: box-shadow 0.15s;
  pointer-events: none;
}
.rad__teil:hover::after, .rad__teil.ist-gruppe::after {
  box-shadow: 0 0 0 0.25cqw rgba(231, 134, 27, 0.95);
}

/* ── Pult unter dem Lenkrad ──────────────────────────────────────────────── */

.pult {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 560px;
  margin: clamp(8px, 2vw, 20px) auto 0;
}
.pult .knopf { cursor: pointer; }
.pult .knopf[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.pult__hinweis { margin: 0; font-size: 0.85rem; text-align: center; }
.pult__fehler { color: #b3261e; }
.pult__fehler[hidden] { display: none; }

.regler {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: center;
}
.regler[hidden] { display: none; }
.regler__name { color: var(--tinte); font: 700 0.95rem var(--kopf); }
.regler input {
  width: 100%; height: 28px; margin: 0;
  background: transparent;
  accent-color: var(--orange);
  cursor: grab;
}
.regler--dunkel .regler__name { color: #fff; }

/* ── Elementliste ────────────────────────────────────────────────────────── */

.elemente__titel { margin-top: 1.6em; font-size: 1.1rem; }
.elemente { list-style: none; margin: 0.6em 0 0; padding: 0; }
.elemente li {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0.6em 0.8em 0.6em 0.9em;
  border-left: 3px solid transparent;
  border-top: 1px solid var(--linie);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.elemente strong { color: var(--tinte); font: 600 0.98rem var(--kopf); }
.elemente span {
  font-size: 0.92rem; line-height: 1.5;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.25s, opacity 0.25s;
}
.elemente li:hover { background: rgba(255, 255, 255, 0.6); }
.elemente li.ist-aktiv { background: #fff; border-left-color: var(--orange); }
.elemente li.ist-aktiv span { max-height: 8em; opacity: 1; margin-top: 0.2em; }
/* Ohne JavaScript steht alles offen da. */
.elemente:not([data-bereit]) span { max-height: none; opacity: 1; }

/* ── Abschnitte ──────────────────────────────────────────────────────────── */

.abschnitt { padding: clamp(40px, 7vw, 96px) 0; }
.abschnitt--hell { background: var(--nebel); }
.abschnitt--oben0 { padding-top: 0; }
.abschnitt__innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

.punkte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 4vw, 64px);
}
.punkte p {
  margin: 0;
  color: var(--tinte);
  font: 500 clamp(1.15rem, 1rem + 0.7vw, 1.5rem)/1.4 var(--kopf);
  max-width: 34ch;
}

.fotos {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(12px, 2vw, 24px);
}
.fotos__bild { margin: 0; grid-column: span 6; }
.fotos__bild:first-child { grid-column: span 12; }
.fotos__bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.fotos__bild:first-child img { aspect-ratio: 21 / 9; object-position: 50% 40%; }
.fotos figcaption { margin-top: 0.5em; font-size: 0.9rem; }
@media (max-width: 700px) {
  .fotos__bild { grid-column: span 12; }
  .fotos__bild:first-child img { aspect-ratio: 3 / 2; }
}

.daten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(20px, 3vw, 40px);
}
.daten__tabelle { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.daten__tabelle caption {
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--tinte);
  color: var(--tinte);
  font: 700 1.05rem var(--kopf);
  text-align: left;
}
.daten__tabelle th, .daten__tabelle td {
  padding: 0.55em 0;
  border-bottom: 1px solid var(--linie);
  text-align: left; vertical-align: top;
}
.daten__tabelle th { width: 42%; padding-right: 1em; font-weight: 400; }
.daten__tabelle td { color: var(--tinte); font-weight: 600; }
.daten__kauf { margin: clamp(24px, 4vw, 48px) 0 0; }

/* ── Display-Seiten und Editor ───────────────────────────────────────────── */

.abschnitt--dunkel { background: var(--tinte); color: #c3c9d0; }
.abschnitt--dunkel h2 { color: #fff; margin-bottom: 0.6em; }

.seiten {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.seiten__bild {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 0 1px #33383f, 0 30px 60px rgba(0, 0, 0, 0.5);
}
.seiten__wahl {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0.6em 0 1em;
}
.seiten__wahl button { background: #2b2f34; }
.seiten__was { min-height: 4.8em; font-size: 0.95rem; }
/* Der Drehzahlregler behaelt seinen Platz, auch wenn die Seite keinen hat -
   sonst rutscht der Text beim Umschalten. */
.seiten .regler[hidden] { display: grid; visibility: hidden; }
.seiten__wahl button { color: #c3c9d0; }
.seiten__wahl button[aria-pressed="true"] { background: var(--orange); color: #1a1205; }

.editor {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(48px, 8vw, 110px);
}
.editor__bild { margin: 0; }
.editor__bild img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
@media (max-width: 900px) {
  .seiten, .editor { grid-template-columns: 1fr; }
  .seiten__bild { order: -1; }
}

/* ── Startseite ──────────────────────────────────────────────────────────── */

.start { background: var(--nebel); }
.start__innen {
  max-width: var(--breite); margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--rand) clamp(24px, 4vw, 48px);
}
.start h1 {
  font-size: clamp(2.4rem, 1rem + 6.5vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  max-width: 14ch;
}
.start__lead { margin-top: 1.2em; font-size: 1.2rem; }
.start__knopf { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 1.6em 0 0; max-width: none; }
.start__knopf span { font-size: 0.9rem; }

.produkt { border-bottom: 1px solid var(--linie); }
.produkt:first-child { background: linear-gradient(180deg, var(--nebel), var(--buehne)); }
.produkt__innen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  max-width: var(--breite); margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) var(--rand);
}
.produkt--ohne .produkt__innen { grid-template-columns: 1fr; }
@media (max-width: 860px) {
  .produkt__innen { grid-template-columns: 1fr; }
  .produkt__bild { order: -1; }
}
.produkt h2 { font-size: clamp(2.2rem, 1.2rem + 4vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; }
.produkt h2 a { color: inherit; text-decoration: none; }
.produkt h2 a:hover { color: var(--orange-tief); }
.produkt__art { margin: 0.4em 0 0.8em; color: var(--tinte); font: 700 1.1rem var(--kopf); }

.software h2 { margin-bottom: 0.6em; }
.software p { font-size: 1.1rem; }

/* ── SimRacing ───────────────────────────────────────────────────────────── */

.sim {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.sim h2 { margin-bottom: 0.6em; }
.sim__schritte { margin: 0; padding: 0; list-style: none; counter-reset: schritt; }
.sim__schritte li { position: relative; padding: 0 0 1.2em 3.2em; counter-increment: schritt; }
.sim__schritte li::before {
  content: counter(schritt);
  position: absolute; left: 0; top: -0.15em;
  display: grid; place-items: center;
  width: 2.1em; height: 2.1em;
  border: 2px solid var(--orange); border-radius: 50%;
  color: var(--tinte);
  font: 700 1rem var(--kopf);
}
.sim__schritte strong { display: block; color: var(--tinte); font: 700 1.05rem var(--kopf); }
.sim__arten { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.sim__arten li { padding: 20px 24px; border: 1px solid var(--linie); border-left: 3px solid var(--orange); border-radius: 6px; background: #fff; }
.sim__arten strong { display: block; margin-bottom: 0.3em; color: var(--tinte); font: 700 1.05rem var(--kopf); }
@media (max-width: 800px) { .sim { grid-template-columns: 1fr; } }

/* ── Software-Seite ──────────────────────────────────────────────────────── */

.idee {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.idee h2 { margin-bottom: 0.6em; }
.idee__schritte { margin: 1.2em 0 0; padding-left: 1.3em; color: var(--tinte); font-weight: 600; }
.idee__schritte li { padding: 0.25em 0 0.25em 0.3em; }
.idee__schritte li::marker { color: var(--orange-tief); font-family: var(--kopf); }
.idee__name { margin: 0 0 0.5em; color: var(--orange-tief); font: 700 0.95rem var(--kopf); }
.idee__stand {
  width: max-content; max-width: 100%;
  margin: 0 0 1.2em; padding: 0.3em 0.8em;
  border: 1px solid var(--orange); border-radius: 4px;
  color: var(--tinte); font: 600 0.85rem var(--kopf);
}
.idee__punkte { margin: 1.2em 0 0; padding-left: 1.2em; color: var(--tinte); }
.idee__punkte li { padding: 0.25em 0 0.25em 0.2em; }
.idee__punkte li::marker { color: var(--orange); }
.idee__bilder { display: grid; gap: clamp(16px, 2vw, 28px); min-width: 0; }
@media (min-width: 901px) {
  .idee--gedreht { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .idee--gedreht .idee__text { order: 2; }
}
@media (max-width: 900px) { .idee { grid-template-columns: 1fr; } }

/* Kopf einer Unterseite: Pfad, kleinerer Titel. */
.start__pfad { margin: 0 0 1.4em; font: 600 0.9rem var(--kopf); }
.start__pfad a { color: var(--orange-tief); text-decoration: none; }
.start__pfad a:hover { text-decoration: underline; }
.start h1.start__titel { max-width: 20ch; font-size: clamp(2.1rem, 1rem + 4.2vw, 4.2rem); line-height: 1; }
.start .idee__stand { margin: 1.4em 0 0; background: #fff; }

/* Karten der Werkzeuge: jede fuehrt auf eine eigene Seite. */
.werkzeuge {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(20px, 3vw, 40px);
}
.werkzeug {
  display: block;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--linie); border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.werkzeug:hover, .werkzeug:focus-visible { border-color: var(--orange); box-shadow: 0 16px 40px rgba(29, 31, 34, 0.1); }
.werkzeug .schuss { margin-bottom: 1.2em; }
.werkzeug .schuss img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; box-shadow: none; }
.werkzeug h3 { margin-bottom: 0.4em; font-size: 1.3rem; }
.werkzeug p { margin: 0 0 0.9em; }
.werkzeug .idee__stand { margin-bottom: 0.9em; }
.werkzeug__mehr { color: var(--orange-tief); font: 700 0.95rem var(--kopf); }
.werkzeuge--klein { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.werkzeuge--klein .werkzeug h3 { font-size: 1.1rem; }
.werkzeuge--klein .werkzeug p { margin: 0; }
@media (max-width: 760px) { .werkzeuge { grid-template-columns: 1fr; } }

/* Fliesstext einer Unterseite: Ueberschrift links, Text rechts. */
.artikel { display: grid; gap: clamp(32px, 5vw, 64px); }
.artikel__block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 12px clamp(24px, 5vw, 72px);
  align-items: start;
}
.artikel__block h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); }
.artikel__block > :not(h2) { grid-column: 2; min-width: 0; }
.artikel__block p { max-width: 68ch; margin: 0 0 1em; }
.artikel__block .idee__punkte, .artikel__block .idee__schritte { margin-top: 0; }
@media (max-width: 800px) {
  .artikel__block { grid-template-columns: 1fr; }
  .artikel__block > :not(h2) { grid-column: 1; }
}

/* Schritte nebeneinander, nummeriert. */
.ablauf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin: clamp(20px, 3vw, 36px) 0 0; padding: 0;
  list-style: none; counter-reset: ablauf;
}
.ablauf li { counter-increment: ablauf; padding-top: 14px; border-top: 2px solid var(--orange); }
.ablauf li::before { content: counter(ablauf); display: block; margin-bottom: 0.3em; color: var(--orange-tief); font: 800 1.6rem var(--kopf); }
.ablauf h3 { margin-bottom: 0.3em; font-size: 1.1rem; }
.ablauf p { margin: 0; }

/* Themen einer Werkzeug-Seite: Auswahl links, daneben Text und das Bild zum Thema. */
.themen {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}
.themen[data-bereit] { grid-template-columns: 240px minmax(0, 1fr); }
.themen__wahl { display: none; }
.themen[data-bereit] .themen__wahl { display: grid; gap: 2px; position: sticky; top: 84px; }
.themen__wahl button {
  padding: 0.65em 0.9em;
  border: 0; border-left: 3px solid var(--linie);
  background: none;
  color: var(--text);
  font: 600 0.93rem var(--kopf);
  text-align: left;
  cursor: pointer;
}
.themen__wahl button:hover { color: var(--tinte); }
.themen__wahl button[aria-selected="true"] { border-left-color: var(--orange); background: #fff; color: var(--tinte); }
.themen__feld {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}
.themen__feld[hidden] { display: none; }
.themen__feld--breit { grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); }
.themen__feld--breit .themen__text { max-width: 75ch; }
.themen__feld--breit .schuss img { max-height: none; }
.themen__titel { margin-bottom: 0.6em; font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); }
/* Weiterer Bereich derselben Seite: eigene Ueberschrift, eigene Reiter. */
.abschnitt--gruppe { padding-top: 0; }
.gruppe__kopf { max-width: var(--breite); margin-bottom: clamp(20px, 3vw, 40px); padding-top: clamp(32px, 5vw, 64px); border-top: 1px solid var(--linie); }
.gruppe__kopf p { max-width: 70ch; }
.themen__feld .schuss img { max-height: 620px; width: auto; max-width: 100%; margin: 0 auto; display: block; }
.themen:not([data-bereit]) .themen__feld + .themen__feld { margin-top: 3em; }
@media (max-width: 1000px) {
  .themen[data-bereit] { grid-template-columns: 1fr; }
  .themen[data-bereit] .themen__wahl { display: flex; flex-wrap: wrap; gap: 6px; position: static; }
  .themen__wahl button { border: 1px solid var(--linie); border-radius: 99px; padding: 0.45em 1em; }
  .themen__wahl button[aria-selected="true"] { border-color: var(--orange); }
  .themen__feld { grid-template-columns: 1fr; }
}

.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 96px); align-items: start; }
.zwei h2 { margin-bottom: 0.9em; }
@media (max-width: 760px) { .zwei { grid-template-columns: 1fr; } }

/* ── Hilfe: Gliederung links, Anleitung rechts ───────────────────────────── */

.hilfe {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  max-width: var(--breite); margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) var(--rand) clamp(48px, 7vw, 96px);
  align-items: start;
}
.hilfe__seite {
  position: sticky; top: 76px;
  max-height: calc(100vh - 92px);
  overflow-y: auto;
  padding-right: 8px;
  font-size: 0.93rem;
}
.hilfe__titel { margin: 0 0 12px; color: var(--tinte); font: 800 1.5rem var(--kopf); }
.hilfe__suche { position: relative; margin-bottom: 20px; }
.hilfe__suche label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.hilfe__suche input {
  width: 100%;
  padding: 0.6em 0.8em;
  border: 1px solid var(--linie); border-radius: 6px;
  background: #fff; color: var(--tinte);
  font: inherit;
}
.hilfe__suche input:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.hilfe__treffer { margin: 8px 0 0; padding: 0; list-style: none; border: 1px solid var(--linie); border-radius: 6px; background: #fff; }
.hilfe__treffer[hidden] { display: none; }
.hilfe__treffer li + li { border-top: 1px solid var(--linie); }
.hilfe__treffer a { display: block; padding: 8px 10px; color: var(--text); text-decoration: none; }
.hilfe__treffer a:hover { background: var(--nebel); }
.hilfe__treffer strong { display: block; color: var(--tinte); font: 700 0.9rem var(--kopf); }
.hilfe__treffer span { font-size: 0.82rem; }
.hilfe__leer { padding: 8px 10px; }
.hilfe__gruppe { margin: 18px 0 4px; color: var(--text); font: 700 0.78rem var(--kopf); }
.hilfe__seite ul { margin: 0; padding: 0; list-style: none; }
.hilfe__seite nav a { display: block; padding: 5px 10px; border-left: 2px solid var(--linie); color: var(--tinte); text-decoration: none; }
.hilfe__seite nav a:hover { border-left-color: var(--orange); }
.hilfe__seite nav a[aria-current] { border-left-color: var(--orange); font-weight: 700; }
.hilfe__seite nav ul ul a { padding-left: 24px; color: var(--text); font-size: 0.9rem; }
.hilfe__kontakt { margin: 24px 0 0; padding-top: 14px; border-top: 1px solid var(--linie); }
.hilfe__hinweis { margin: 0 0 1.6em; color: var(--text); font-size: 0.88rem; }

/* Der Text der Anleitung, Darstellung wie Cronesix_Dokumentation/handbuch/theme/help.css. */
.hilfe__text { min-width: 0; max-width: 900px; color: var(--tinte); line-height: 1.6; }
.hilfe__text h1, .hilfe__text h2, .hilfe__text h3, .hilfe__text h4 { scroll-margin-top: 84px; line-height: 1.3; }
.hilfe__text section { scroll-margin-top: 84px; }
.hilfe__text h1 { margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--orange); font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); }
.hilfe__text h2 { margin: 0 0 10px; color: var(--orange-tief); font-size: 1.5rem; }
.hilfe__text h3 { margin: 0 0 8px; font-size: 1.2rem; }
.hilfe__text h4 { margin: 18px 0 6px; font-size: 1.05rem; }
.hilfe__text section.level2 { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--linie); }
.hilfe__text section.level3 { margin-top: 36px; }
.hilfe__text p { max-width: none; margin: 0 0 11px; overflow-wrap: break-word; }
.hilfe__text a { color: var(--orange-tief); }
.hilfe__text a[data-ohne-ziel] { color: inherit; text-decoration: none; }
.hilfe__text ul, .hilfe__text ol { margin: 0 0 11px; padding-left: 22px; }
.hilfe__text li { margin: 3px 0; }
.hilfe__text dt { margin-top: 10px; font-weight: 700; }
.hilfe__text dd { margin: 2px 0 0 18px; }
.hilfe__text figure { margin: 20px 0; text-align: center; }
.hilfe__text img { display: block; max-width: 100%; height: auto !important; margin: 0 auto; border: 1px solid var(--linie); background: #fff; }
.hilfe__text figcaption { margin-top: 6px; color: var(--text); font-size: 0.9em; }
.hilfe__text .tablewrap { overflow-x: auto; margin: 20px 0; }
.hilfe__text table { width: 100%; border-collapse: collapse; border: 1px solid #9a9a9a; border-top: 2px solid #4a4a4a; border-bottom: 2px solid #4a4a4a; font-size: 0.88em; line-height: 1.45; }
.hilfe__text th, .hilfe__text td { padding: 5px 10px; border: 1px solid #9a9a9a; text-align: left; vertical-align: top; }
.hilfe__text thead th { background: #e6e6e6; font-weight: 700; vertical-align: bottom; }
.hilfe__text caption { caption-side: top; padding: 0 0 6px; font-size: 0.92em; font-weight: 700; text-align: left; }
.hilfe__text .tabnr { color: var(--orange-tief); }
.hilfe__text table.legende, .hilfe__text table.legende td { border: 0; }
.hilfe__text table.legende td { padding: 3px 8px 3px 0; }
.hilfe__text td.nrzelle { width: 2.4em; white-space: nowrap; }
.hilfe__text .nr { display: inline-block; min-width: 1.55em; height: 1.55em; border-radius: 50%; background: var(--orange); color: #fff; font-size: 0.9em; font-weight: 700; line-height: 1.55em; text-align: center; }
.hilfe__text p.tabfuss { margin: -12px 0 20px; color: var(--text); font-size: 0.85em; }
.hilfe__text code { padding: 0 3px; background: #f2f2f2; font: 0.92em Consolas, ui-monospace, monospace; }
.hilfe__text table.kasten { width: 100%; margin: 16px 0; border: 1px solid var(--linie); background: var(--nebel); font-size: 1em; }
.hilfe__text table.kasten td { border: 0; }
.hilfe__text td.kastenrand { width: 4px; padding: 0; }
.hilfe__text td.kasteninhalt { padding: 10px 14px; }
.hilfe__text td.kasteninhalt > :last-child { margin-bottom: 0; }
.hilfe__text .kastentitel { margin: 0 0 4px; font-weight: 700; }
.hilfe__text .kasten.hinweis td.kastenrand { background: #0969da; }
.hilfe__text .kasten.hinweis .kastentitel { color: #0969da; }
.hilfe__text .kasten.tipp td.kastenrand { background: #1a7f37; }
.hilfe__text .kasten.tipp .kastentitel { color: #1a7f37; }
.hilfe__text .kasten.warnung td.kastenrand { background: #c4342b; }
.hilfe__text .kasten.warnung .kastentitel { color: #c4342b; }
@media (max-width: 900px) {
  .hilfe { grid-template-columns: 1fr; }
  .hilfe__seite { position: static; max-height: none; }
}

.tabelle { overflow-x: auto; }
.tabelle table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.tabelle th, .tabelle td { padding: 0.7em 1em 0.7em 0; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.tabelle thead th { color: var(--tinte); font: 700 0.9rem var(--kopf); }
.tabelle tbody th { color: var(--tinte); font-weight: 600; }
.tabelle + p { margin-top: 1.4em; }

.begriffe { margin: 0; }
.begriffe dt { color: var(--tinte); font: 700 1rem var(--kopf); }
.begriffe dd { max-width: 68ch; margin: 0.2em 0 1.2em; }

.band__innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.band__innen p { margin: 0; max-width: 56ch; }
.band__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

/* Aufklappliste "Software": zwei Spalten mit je einer Zwischenueberschrift,
   die nur ordnet und nicht anklickbar ist (wie im Shop). */
.menue:hover .menue__liste--spalten, .menue:focus-within .menue__liste--spalten { display: grid; }
.menue__liste--spalten {
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 0 8px;
  padding: 12px;
}
.menue__spalte + .menue__spalte { padding-left: 8px; border-left: 1px solid var(--linie); }
.menue__gruppe {
  margin: 2px 12px 6px; padding-bottom: 6px;
  color: var(--text);
  font: 600 0.8rem var(--kopf);
  cursor: default;
}
.menue__liste--spalten strong { font-size: 0.95rem; }
.menue__liste--spalten a { padding: 8px 12px; }
@media (max-width: 640px) {
  .menue__liste--spalten { grid-template-columns: 1fr; min-width: 240px; }
  .menue__spalte + .menue__spalte { margin-top: 8px; padding: 8px 0 0; border-left: 0; border-top: 1px solid var(--linie); }
}

.laden {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
  margin-top: clamp(20px, 3vw, 36px);
}
@media (max-width: 900px) { .laden { grid-template-columns: 1fr; } }
.lade {
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--linie); border-top: 4px solid var(--orange);
  border-radius: 6px;
  background: #fff;
}
.lade h3 { margin: 0 0 0.4em; color: var(--tinte); font: 700 1.3rem/1.2 var(--kopf); }
.lade__daten { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 1.2em 0; }
.lade__daten dt { font-size: 0.82rem; }
.lade__daten dd { margin: 0; color: var(--tinte); font: 700 1.25rem var(--kopf); }
.lade__pruef { font-size: 0.82rem; }
.lade__pruef code { font: 0.78rem ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.lade details { margin-top: 1em; border-top: 1px solid var(--linie); padding-top: 0.8em; }
.lade summary { color: var(--tinte); font: 600 0.95rem var(--kopf); cursor: pointer; }
.lade h4 { margin: 1.1em 0 0.3em; color: var(--tinte); font: 700 0.95rem var(--kopf); }
.lade ul { margin: 0.4em 0 0; padding-left: 1.2em; font-size: 0.93rem; }
.lade li { padding: 0.15em 0; }
.lade__alt span { color: var(--text); font-size: 0.88rem; }


.vorteile {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 4vw, 56px) clamp(24px, 5vw, 72px);
}
.vorteile { margin-top: clamp(20px, 3vw, 40px); }
.vorteile h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.vorteile p { margin: 0; }
.schuss { margin: 0; }
.schuss img { width: 100%; border: 1px solid var(--linie); border-radius: 6px; box-shadow: 0 30px 60px rgba(29, 31, 34, 0.14); }

/* ── Fuss ────────────────────────────────────────────────────────────────── */

.fuss { background: var(--tinte); color: #c9ced4; font-size: 0.92rem; }
.fuss__innen {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px;
  max-width: var(--breite); margin: 0 auto; padding: 32px var(--rand);
}
.fuss p { margin: 0; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }

/* Hinweis der Besuchsstatistik: wiedererkennen ja oder nein (stats.js) */
.wahl {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 560px; margin: 0 auto 0 0; padding: 16px 18px;
  background: var(--tinte); color: #c9ced4; border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); font-size: 0.92rem;
}
.wahl[hidden] { display: none; }
.wahl p { margin: 0; }
.wahl strong { display: block; margin-bottom: 4px; color: #fff; font-family: var(--kopf); }
.wahl a { color: #fff; }
.wahl__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px !important; }
/* Beide Antworten sehen gleich aus - keine wird dem Besucher nahegelegt. */
.wahl .knopf { background: transparent; cursor: pointer; font-size: 0.92rem; }
.wahl .knopf:hover { background: var(--orange); color: #1a1205; }

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

/* ── Suchmaschinen-Abschnitte: Stand, Werkzeuge, Fragen ─────────────────── */

.buehne__stand { color: var(--tinte); font: 600 1rem var(--kopf); }
.buehne__preis { color: var(--tinte); font: 700 1.25rem var(--kopf); margin-top: .2em; }
.start__geraete { margin-top: 1em; font: 600 1rem var(--kopf); color: var(--tinte); }
.start__geraete a { color: var(--orange-tief); }

.werkzeuge { margin-top: clamp(28px, 4vw, 48px); }
.werkzeuge__titel { margin: 0 0 0.8em; color: var(--text); font: 600 0.9rem var(--kopf); text-transform: uppercase; letter-spacing: 0.06em; }
.werkzeuge ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.werkzeuge a {
  display: block; padding: 0.7em 1em; border: 1px solid var(--linie); border-radius: 8px;
  color: var(--tinte); text-decoration: none; background: var(--papier);
}
.werkzeuge a:hover { border-color: var(--orange); }
.werkzeuge strong { font-family: var(--kopf); }
.werkzeuge span { color: var(--text); font-size: 0.92rem; }

.fragen { max-width: 860px; }
.fragen__eintrag { border-top: 1px solid var(--linie); }
.fragen__eintrag:last-child { border-bottom: 1px solid var(--linie); }
.fragen__eintrag summary { cursor: pointer; padding: 1em 0; list-style-position: outside; }
.fragen__eintrag summary h3 { display: inline; margin: 0; font: 600 1.1rem var(--kopf); color: var(--tinte); }
.fragen__eintrag p { margin: 0 0 1.2em; }
.warum { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1.2em; }
