/* Akkulotse · Richtung „Typenschild und Industriekatalog“ (Richtungsvertrag: .impeccable/surfaces/src-seiten-start.md) */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-latin-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url("/assets/fonts/martian-mono-latin-var.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  /* Palette A „Prüfstand“ */
  --grund: #E6E7E6;
  --flaeche: #F7F7F6;
  --graphit: #17191B;
  --graphit-2: #24272A;
  --text: #17191B;
  --text-2: #4A4D50;
  --neben: #56595C;
  --linie: #CFD1D0;
  --linie-dunkel: #3A3D40;
  --akzent: #FF4D00;
  --akzent-text: #111111;
  --akzent-tief: #C23A00;
  --hell: #F2F2EF;
  --schild-a: #DEDFE0;
  --schild-b: #C3C5C6;

  /* Schrift */
  --schrift: "Archivo", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --breit: 118%;
  --kopf-gewicht: 780;

  /* Größen (für das Regler-Panel in Phase 6) */
  --h1: clamp(2.6rem, 1.4rem + 4.6vw, 5rem);
  --h2: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem);
  --h3: 1.2rem;
  --lead: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  --gross: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);

  /* Abstände */
  --rand: clamp(1rem, 0.5rem + 2.4vw, 2.5rem);
  --abschnitt: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --buehne-oben: clamp(2rem, 1rem + 4vw, 4.5rem);
  --spalte: 44rem;
  --spalte-weit: 78rem;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--grund); color: var(--text); font: 400 1.0625rem/1.6 var(--schrift); font-variant-numeric: tabular-nums; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { text-decoration-color: var(--akzent); }
::selection { background: var(--akzent); color: var(--akzent-text); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--schrift); font-stretch: var(--breit); font-weight: var(--kopf-gewicht); letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; margin: 0 0 0.5em; }
h1 { font-size: var(--h1); letter-spacing: -0.03em; line-height: 0.98; }
h2 { font-size: var(--h2); margin-top: 0; }
h3 { font-size: var(--h3); letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }
strong { font-weight: 650; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: absolute; left: -999px; top: 0; background: var(--akzent); color: var(--akzent-text); padding: 0.6rem 1rem; z-index: 50; }
.springen:focus { left: 1rem; }
html { scrollbar-color: #9EA1A2 var(--grund); }

/* ---------- Kopf ---------- */
.kopf { background: var(--grund); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 20; }
.kopf__innen { max-width: var(--spalte-weit); margin: 0 auto; padding: 0.9rem var(--rand); display: flex; align-items: center; gap: 1.5rem; }
.kopf__logo img { width: 150px; height: auto; }
.kopf__menue { display: none; margin-left: auto; font: 600 0.95rem var(--schrift); background: none; border: 1.5px solid var(--graphit); border-radius: var(--radius); padding: 0.45rem 0.8rem; color: var(--text); cursor: pointer; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 0.95rem; color: var(--text-2); padding: 0.3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a[aria-current] { color: var(--text); border-bottom-color: var(--akzent); }
.werbehinweis { max-width: none; margin: 0; background: var(--graphit); color: #C9CBCC; font-size: 0.8rem; }
.werbehinweis span { display: block; max-width: var(--spalte-weit); margin: 0 auto; padding: 0.45rem var(--rand); }
.werbehinweis a { color: var(--hell); }
.krumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; max-width: var(--spalte-weit); margin: 0 auto; padding: 0.9rem var(--rand) 0; font: 400 0.75rem var(--mono); color: var(--neben); }
.krumen li + li::before { content: "/"; margin-right: 0.4rem; color: #A3A6A7; }
.krumen a { text-decoration: none; }
.entwurf-hinweis { margin: 0; background: var(--akzent); color: var(--akzent-text); font: 600 0.85rem var(--schrift); padding: 0.5rem var(--rand); max-width: none; }

/* ---------- Knöpfe ---------- */
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.4rem 0 1.2rem; }
.knopf { display: inline-flex; align-items: center; gap: 0.5rem; font: 600 0.98rem/1.2 var(--schrift); text-decoration: none; color: var(--text); padding: 0.78rem 1.15rem; border-radius: var(--radius); box-shadow: inset 0 0 0 1.5px var(--graphit); background: transparent; transition: background-color .15s, box-shadow .15s, transform .15s; }
.knopf:hover { background: rgba(23,25,27,.06); }
.knopf--voll { background: var(--akzent); color: var(--akzent-text); box-shadow: none; }
.knopf--voll:hover { background: #FF6A26; }
.knopf--voll:active { transform: translateY(1px); }
.knopf--gross { font-size: 1.05rem; padding: 0.95rem 1.35rem; }
.abschnitt--dunkel .knopf:not(.knopf--voll) { color: var(--hell); box-shadow: inset 0 0 0 1.5px var(--hell); }

/* ---------- Bühne (Startseite) ---------- */
.buehne { max-width: var(--spalte-weit); margin: 0 auto; padding: var(--buehne-oben) var(--rand) clamp(2.5rem, 4vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.buehne__lead { font-size: var(--lead); color: var(--text-2); max-width: 34rem; }
.buehne__studio { position: relative; padding-bottom: 7rem; }
.studio { background: radial-gradient(120% 90% at 50% 0%, #F6F6F5 0%, #E2E3E2 55%, #D4D6D4 100%); border-radius: 6px; aspect-ratio: 5 / 4; display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: start; padding: 10% 8% 30%; box-shadow: inset 0 -30px 40px -30px rgba(23,25,27,.18); }
.studio__teil { margin: 0; }
.studio__teil figcaption { font: 400 0.75rem/1.3 var(--mono); color: var(--neben); margin-top: 0.7rem; letter-spacing: 0.02em; }
.studio__teil--gruen { transform: translateY(-4%); }
.buehne__studio .schild--buehne { position: absolute; left: 6%; right: -2%; bottom: 0; }

/* Akku-Zeichnung: eine Strichstärke */
.akku { width: 100%; overflow: visible; filter: drop-shadow(0 14px 12px rgba(23,25,27,.16)); }
.akku__koerper, .akku__schiene { fill: #F4F4F3; stroke: var(--graphit); stroke-width: 2.2; }
.akku__fuge { stroke: var(--graphit); stroke-width: 2.2; stroke-dasharray: 6 5; opacity: .55; }
.akku__led { fill: var(--graphit); opacity: .75; }

/* ---------- Typenschild ---------- */
.schild { position: relative; background: linear-gradient(135deg, var(--schild-a) 0%, #CFD1D2 48%, var(--schild-b) 100%); border-radius: 6px; padding: 1.05rem 1.3rem 0.85rem; box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -1px 0 rgba(0,0,0,.08) inset, 0 18px 30px -16px rgba(23,25,27,.45); color: var(--graphit); }
.schild::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, rgba(0,0,0,.025) 1px 3px); }
.schild__niet { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ECEDED, #8E9192 70%); box-shadow: 0 1px 1px rgba(0,0,0,.35); }
.schild__niet:nth-child(1) { left: 8px; top: 8px; } .schild__niet:nth-child(2) { right: 8px; top: 8px; }
.schild__niet:nth-child(3) { left: 8px; bottom: 8px; } .schild__niet:nth-child(4) { right: 8px; bottom: 8px; }
.schild__titel { font: 600 0.7rem/1 var(--schrift); text-transform: uppercase; letter-spacing: 0.16em; margin: 0 0 0.7rem; padding: 0 0.6rem; }
.schild__werte { width: 100%; border-collapse: collapse; font-size: 0.86rem; position: relative; z-index: 1; }
.schild__werte th, .schild__werte td { text-align: left; padding: 0.42rem 0.6rem; border-top: 1px solid rgba(23,25,27,.22); vertical-align: top; }
.schild__werte thead th { border-top: 0; padding-top: 0; }
.schild__werte tbody th { font-weight: 500; width: 40%; }
.schild__werte td { font-family: var(--mono); font-size: 0.78rem; line-height: 1.45; }
.schild__quelle { font: 400 0.75rem/1.45 var(--mono); color: #3E4245; margin: 0.6rem 0.6rem 0.2rem; max-width: none; position: relative; z-index: 1; }
.schild__quelle a { color: inherit; }
.kenn { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--schrift); font-weight: 600; white-space: nowrap; }
.kenn i { display: inline-block; width: 0.75rem; height: 0.75rem; border-radius: 2px; flex: none; }
.alt { font: 600 0.7rem var(--mono); color: var(--akzent-tief); text-transform: uppercase; letter-spacing: .06em; }

/* Einladen des Schilds: einmalig */
@media (prefers-reduced-motion: no-preference) {
  .js .schild--buehne { animation: schild-ein .7s cubic-bezier(.16,1,.3,1) .15s both; }
  @keyframes schild-ein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: var(--abschnitt) var(--rand); }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt--dunkel { background: var(--graphit); color: var(--hell); }
.abschnitt--dunkel p { color: #C9CBCC; }
.abschnitt--dunkel .gross, .abschnitt--dunkel h2, .abschnitt--dunkel h3 { color: var(--hell); }
.abschnitt--dunkel a:not(.knopf) { color: var(--hell); }
.spalte { max-width: var(--spalte); margin: 0 auto; }
.spalte-weit { max-width: var(--spalte-weit); margin: 0 auto; }
.spalte + .spalte, .spalte-weit + .spalte { margin-top: 2.5rem; }
.gross { font-size: var(--gross); line-height: 1.4; font-weight: 500; color: var(--text); max-width: 40ch; }
.kopfzeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2.2rem; }
.kopfzeile h2 { margin: 0; }
.kopfzeile p { margin: 0; color: var(--text-2); }
.abschnitt--dunkel .kopfzeile p { color: #C9CBCC; }
.unter-h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.hinweis { font-size: 0.92rem; color: var(--neben); border-top: 1px solid var(--linie); padding-top: 0.8rem; }
.klein { font-size: 0.85rem; }
.weiter { margin-top: 2rem; }

/* Brücke */
.bruecke { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: start; }
.bruecke h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); line-height: 1; }

/* ---------- Katalog ---------- */
.gruppe { font: 600 0.78rem/1 var(--schrift); text-transform: uppercase; letter-spacing: 0.14em; color: var(--neben); margin: 2.2rem 0 0.9rem; font-stretch: 100%; }
.katalog { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13.5rem, 46%), 1fr)); gap: 0.75rem; }
.katalog__teil { position: relative; background: var(--flaeche); border-radius: var(--radius); padding: 1.15rem 1rem 1rem; min-height: 11.5rem; display: flex; flex-direction: column; gap: 0.3rem; box-shadow: 0 1px 0 rgba(23,25,27,.06); transition: transform .2s cubic-bezier(.16,1,.3,1), box-shadow .2s; }
.katalog__teil:has(a):hover { transform: translateY(-2px); box-shadow: 0 10px 22px -14px rgba(23,25,27,.45); }
.katalog__pos { font: 500 0.75rem var(--mono); color: var(--neben); }
.katalog__name { font-weight: 700; font-size: 1.02rem; line-height: 1.25; text-decoration: none; }
a.katalog__name::after { content: ""; position: absolute; inset: 0; }
.katalog__daten { font: 400 0.75rem/1.45 var(--mono); color: var(--text-2); }
.katalog__akku { position: absolute; right: 0.9rem; bottom: 0.9rem; width: 4.4rem; opacity: .9; }
.katalog__akku .akku { filter: none; }
.katalog__praxis { margin-top: auto; align-self: flex-start; font: 600 0.75rem/1.25 var(--schrift); letter-spacing: 0.02em; position: relative; z-index: 1; background: var(--flaeche); max-width: calc(100% - 5rem); border: 1px solid var(--graphit); border-radius: 2px; padding: 0.18rem 0.4rem; }
.katalog__teil.ist-gewaehlt { box-shadow: inset 0 0 0 2px var(--akzent); }
.katalog.hat-wahl .katalog__teil:not(.ist-gewaehlt) { opacity: .45; }

/* Praxis-Abschnitt */
.praxis { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 2rem 3.5rem; align-items: center; }
.praxis__foto, .portraet img { border-radius: 6px; aspect-ratio: 1; object-fit: cover; filter: saturate(.9); }

/* ---------- Ratgeber-Einstieg ---------- */
.einstieg { max-width: var(--spalte-weit); margin: 0 auto; padding: clamp(1.5rem, 1rem + 2vw, 3rem) var(--rand) clamp(1.5rem, 1rem + 2vw, 3rem); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: start; }
.einstieg--einzeln { grid-template-columns: minmax(0, 1fr); }
.einstieg--einzeln .einstieg__text { max-width: var(--spalte); }
.einstieg__lead { font-size: var(--lead); color: var(--text-2); }
.stand { font: 400 0.75rem/1.5 var(--mono); color: var(--neben); margin: 0.6rem 0 1.2rem; }
.stand a { color: inherit; }
.kurzantwort { border-left: 0; background: var(--flaeche); border-radius: var(--radius); padding: 1rem 1.2rem; font-weight: 500; }
.faktensatz { font: 400 0.82rem/1.6 var(--mono); background: var(--flaeche); border-radius: var(--radius); padding: 0.9rem 1.1rem; color: var(--text); }
.einstieg__schild { position: sticky; top: 5.5rem; }
.portraet { margin: 0; max-width: 22rem; justify-self: end; }
.portraet figcaption { font: 400 0.75rem var(--mono); color: var(--neben); margin-top: 0.5rem; }

/* Paar (grün / blau nebeneinander) */
.paar { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1rem; margin: 1.8rem 0; }
.paar__teil { position: relative; background: var(--flaeche); border-radius: var(--radius); padding: 1.4rem 1.3rem 1.1rem; }
.abschnitt--flaeche .paar__teil { background: var(--grund); }
.paar__teil ul { margin: 0; padding-left: 1.1rem; }
.paar__teil li { margin-bottom: 0.3rem; }
.paar__teil--dunkel { background: var(--graphit-2); }
.preis { font: 500 0.85rem var(--mono); color: var(--hell) !important; }
.marken { list-style: none; padding: 0; margin: 0.6rem 0 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.marken li { font: 500 0.78rem var(--mono); background: rgba(23,25,27,.06); border-radius: 2px; padding: 0.3rem 0.5rem; }
.marken--gross li { font-size: 0.9rem; padding: 0.55rem 0.8rem; background: var(--flaeche); border-top: 3px solid var(--kenn); }

blockquote.praxiszitat { margin: 2rem 0 1.2rem; padding: 1.4rem 1.5rem; background: var(--graphit); color: var(--hell); border-radius: 6px; }
blockquote.praxiszitat p { font-size: var(--gross); line-height: 1.4; font-weight: 500; margin: 0 0 0.8rem; color: var(--hell); }
blockquote.praxiszitat footer { font: 400 0.75rem var(--mono); color: #A9ABAD; }

/* Kompatibilitäts-Zeichnung mit Hinweislinien */
.kompat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
.kompat__zeichnung { margin: 0; background: var(--grund); border-radius: 6px; padding: 1.2rem; }
.kompat__zeichnung figcaption { font-size: 0.82rem; color: var(--neben); margin-top: 0.6rem; }
.z-linie rect { fill: #F4F4F3; stroke: var(--graphit); stroke-width: 2.2; }
.z-sperre line { stroke: var(--akzent); stroke-width: 3; }
.z-hinweis line { stroke: var(--graphit); stroke-width: 1.2; } .z-hinweis circle { fill: var(--graphit); }
.z-text { font: 700 15px var(--schrift); fill: var(--graphit); }
.z-mono { font: 400 12px var(--mono); fill: var(--graphit); }
.z-klein { font: 400 12px var(--mono); fill: var(--neben); }

/* Listen, Schritte, FAQ */
.liste { padding-left: 1.1rem; } .liste li { margin-bottom: 0.6rem; }
.schritte { list-style: none; counter-reset: s; padding: 0; margin: 1rem 0; }
.schritte li { counter-increment: s; position: relative; padding: 0.2rem 0 1rem 3rem; border-left: 1.5px solid var(--linie); margin-left: 1rem; }
.schritte li::before { content: counter(s, decimal-leading-zero); position: absolute; left: -1rem; top: 0; width: 2rem; height: 2rem; display: grid; place-items: center; background: var(--graphit); color: var(--hell); font: 500 0.75rem var(--mono); border-radius: 2px; }
.faq { border-top: 1.5px solid var(--graphit); margin: 1rem 0 2rem; }
.faq__eintrag { border-bottom: 1px solid var(--linie); }
.faq__eintrag summary { cursor: pointer; list-style: none; padding: 1rem 2.2rem 1rem 0; font-weight: 650; position: relative; }
.faq__eintrag summary::-webkit-details-marker { display: none; }
.faq__eintrag summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.85rem; font: 400 1.2rem var(--mono); color: var(--neben); transition: transform .2s; }
.faq__eintrag[open] summary::after { transform: rotate(45deg); color: var(--akzent-tief); }
.faq__antwort { padding: 0 0 1rem; color: var(--text-2); }
.quellenliste { font-size: 0.88rem; color: var(--text-2); padding-left: 1.1rem; }
.quellenliste li { margin-bottom: 0.4rem; }

/* Tabelle + Filter */
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; }
.filter__knopf { font: 600 0.88rem var(--schrift); background: var(--flaeche); color: var(--text); border: 0; box-shadow: inset 0 0 0 1px var(--linie); border-radius: var(--radius); padding: 0.55rem 0.85rem; cursor: pointer; }
.filter__knopf[aria-pressed="true"] { background: var(--graphit); color: var(--hell); box-shadow: none; }
.tabelle-rahmen { position: relative; overflow-x: auto; background: var(--flaeche); border-radius: var(--radius); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tabelle th, .tabelle td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--linie); white-space: nowrap; }
.tabelle thead th { font: 600 0.75rem var(--schrift); text-transform: uppercase; letter-spacing: 0.1em; color: var(--neben); border-bottom: 1.5px solid var(--graphit); }
.tabelle tbody th { font-weight: 500; }
.tabelle td.n { font-family: var(--mono); font-size: 0.8rem; }
.tabelle tr[hidden] { display: none; }
.tabelle--schmal { max-width: 32rem; background: var(--grund); border-radius: var(--radius); margin: 1rem 0; }
.tabelle__kauf { font-weight: 600; font-size: 0.82rem; text-decoration-color: var(--akzent); }
.tabelle__fuss { font-size: 0.82rem; color: var(--neben); margin-top: 0.8rem; }

/* Flagge (Über mich) */
.flagge { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 2rem 2.5rem; align-items: center; }
.flagge__signal { width: 110px; } .flagge__logo { width: 110px; filter: invert(1) hue-rotate(180deg) saturate(1.4); }

/* Kauf */
.kauf { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0.8rem 0; }
.kauf__at { font: 500 0.75rem var(--mono); }

/* ---------- Fuß ---------- */
.fuss { background: var(--graphit); color: #BEC0C1; padding: var(--abschnitt) var(--rand) 2.5rem; border-top: 1px solid #000; }
.fuss__innen { max-width: var(--spalte-weit); margin: 0 auto; }
.fuss a { color: var(--hell); }
.fuss h2 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: #8F9294; font-stretch: 100%; font-weight: 600; margin-bottom: 0.9rem; }
.fuss__flagge { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--linie-dunkel); margin-bottom: 2.5rem; }
.fuss__flagge h2 { font-size: 1.3rem; text-transform: none; letter-spacing: -0.01em; color: var(--hell); font-stretch: var(--breit); font-weight: var(--kopf-gewicht); }
.fuss__signal { width: 5rem; }
.fuss__spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 2rem; margin-bottom: 2.5rem; }
.fuss__spalten ul { list-style: none; margin: 0; padding: 0; }
.fuss__spalten li { margin-bottom: 0.45rem; }
.fuss__spalten a { text-decoration: none; }
.fuss__spalten a:hover { text-decoration: underline; }
.fuss__logo { width: 150px; margin-bottom: 1rem; }
.fuss__klein { font-size: 0.8rem; color: #8F9294; max-width: 80ch; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .buehne, .einstieg, .bruecke, .kompat, .praxis, .kopfzeile { grid-template-columns: minmax(0, 1fr); }
  .buehne__studio { padding-bottom: 0; }
  .buehne__studio .schild--buehne { position: relative; left: auto; right: auto; margin: -3.5rem 0.6rem 0; }
  .einstieg__schild { position: static; }
  .portraet { justify-self: start; max-width: 14rem; }
  .praxis__foto { max-width: 12rem; }
  .flagge { grid-template-columns: auto auto; }
  .flagge > div { grid-column: 1 / -1; }
  .kopf__menue { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--grund); border-bottom: 1px solid var(--linie); }
  .nav.ist-offen { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 0.5rem var(--rand) 1rem; }
  .nav a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--linie); }
  .tabelle th, .tabelle td { padding: 0.6rem; }
}
@media (max-width: 480px) {
  .schild__werte tbody th { width: 34%; font-size: 0.8rem; hyphens: auto; }
  .schild__werte th, .schild__werte td { padding: 0.4rem 0.35rem; }
  .schild__werte td { font-size: 0.75rem; }
  .katalog__teil { min-height: 10rem; padding: 1rem 0.8rem 0.8rem; }
  .katalog__name { font-size: 0.92rem; }
  .katalog__akku { width: 3.2rem; }
  .schild { padding: 0.9rem 0.8rem 0.7rem; }
  .knopf--gross { width: 100%; justify-content: center; }
  .fuss__flagge { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- Rangliste ---------- */
.filter__titel { font: 600 0.75rem var(--schrift); text-transform: uppercase; letter-spacing: 0.1em; color: var(--neben); margin: 0 0 0.5rem; }
.filter__schalter { display: inline-flex; align-items: center; gap: 0.45rem; font: 600 0.88rem var(--schrift); padding: 0.55rem 0.2rem 0.55rem 0.6rem; cursor: pointer; }
.filter__schalter input { width: 1.05rem; height: 1.05rem; accent-color: var(--graphit); }
.tabelle--rangliste td.punkte strong { font-size: 0.95rem; }
.tabelle--rangliste tbody tr:first-child td.punkte strong { background: var(--akzent); color: var(--akzent-text); padding: 0.15rem 0.4rem; border-radius: 2px; }
.tabelle .neben { color: var(--neben); }
.tabelle__leer td { white-space: normal; color: var(--neben); }
.geraete { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 1rem; }
.geraet { background: var(--flaeche); border-radius: var(--radius); padding: 1.2rem 1.2rem 0.6rem; display: flex; flex-direction: column; }
.geraet__kopf { display: flex; gap: 0.9rem; align-items: flex-start; }
.geraet__kopf h3 { margin: 0 0 0.2rem; font-size: 1.15rem; }
.geraet__kopf p { margin: 0; font-size: 0.88rem; }
.geraet__platz { font: 600 1.6rem/1 var(--mono); color: var(--neben); }
.geraet__werte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 1rem 0; padding: 0.7rem 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.geraet__werte dt { font: 600 0.75rem var(--schrift); text-transform: uppercase; letter-spacing: 0.08em; color: var(--neben); }
.geraet__werte dd { margin: 0.2rem 0 0; font: 500 0.92rem var(--mono); }
.geraet__urteil { display: grid; gap: 0.6rem; font-size: 0.9rem; }
.geraet__urteil h4 { margin: 0; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
.geraet__urteil ul { margin: 0.2rem 0 0; padding-left: 1.1rem; }
.geraet__praxis, .geraet__notiz, .geraet__quelle { font-size: 0.85rem; margin: 0.7rem 0 0; }
.geraet__notiz, .geraet__quelle { color: var(--neben); }
.geraet__mehr { margin-top: 0.7rem; font-size: 0.85rem; }
.geraet__mehr summary { cursor: pointer; font-weight: 600; }
.geraet .kauf { margin-top: auto; padding-top: 0.8rem; }
.zubehoer { list-style: none; padding: 0; margin: 1rem 0 0; }
.zubehoer li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; border-bottom: 1px solid var(--linie); padding: 0.3rem 0; }
.zubehoer .kauf { margin: 0.4rem 0; }
.quellen { font-size: 0.88rem; }
@media (max-width: 480px) { .geraet__werte { grid-template-columns: 1fr 1fr; } }
.geraet__mehr .tabelle { width: 100%; max-width: none; } .geraet__mehr .tabelle th { white-space: normal; padding-left: 0.6rem; }
/* Lange Einzelwörter in der H1 neben einem Schild (z. B. „Akkuschrauber“) */
.einstieg:not(.einstieg--einzeln) h1 { font-size: min(var(--h1), 6.2vw); hyphens: manual; }
.tabelle--rangliste th, .tabelle--rangliste td { padding-left: 0.6rem; padding-right: 0.6rem; }
.tabelle--matrix td { text-align: center; } .tabelle--matrix th[scope="row"] { font-weight: 600; }
.geraet__noname { font-size: 0.82rem; color: var(--neben); margin: 0.2rem 0 0.6rem; }
.zubehoer + p { margin-top: 1rem; }

/* ---------- Rechner ---------- */
.rechner { display: grid; gap: 1.6rem; justify-items: start; }
.rechner__schritt { border: 0; padding: 0; margin: 0; min-width: 0; width: 100%; }
.rechner__schritt legend { font: var(--kopf-gewicht) 1.35rem/1.2 var(--schrift); font-stretch: var(--breit); margin-bottom: 0.9rem; display: flex; align-items: center; gap: 0.7rem; }
.rechner__nr { font: 500 0.75rem var(--mono); background: var(--graphit); color: var(--hell); padding: 0.35rem 0.45rem; border-radius: 2px; }
.rechner__gruppe { margin-bottom: 0.9rem; }
.rechner__gruppenname { font: 600 0.75rem var(--schrift); text-transform: uppercase; letter-spacing: 0.1em; color: var(--neben); margin: 0 0 0.45rem; }
.rechner__wahl { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.wahl { position: relative; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl span { display: inline-block; font: 600 0.92rem var(--schrift); background: var(--grund); box-shadow: inset 0 0 0 1px var(--linie); border-radius: var(--radius); padding: 0.75rem 0.9rem; }
.wahl--breit span { font-weight: 400; }
.wahl input:checked + span { background: var(--graphit); color: var(--hell); box-shadow: none; }
.wahl input:focus-visible + span { outline: 2px solid var(--akzent); outline-offset: 2px; }
.rechner__meldung { margin: 0; font-weight: 600; }
.rechner__meldung:empty { display: none; }
.rechner__ergebnis { margin-top: 2.5rem; }
.rechner__ergebnis h3 { font-size: 1.6rem; }
.treffer { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.treffer__hinweis { grid-column: 1 / -1; font-weight: 600; }
.treffer__eintrag { background: var(--grund); border-radius: var(--radius); padding: 1.1rem 1.2rem 0.4rem; display: flex; flex-direction: column; }
.treffer__kopf { display: flex; gap: 0.8rem; }
.treffer__kopf h4 { margin: 0; font-size: 1.1rem; }
.treffer__platz { font: 600 1.5rem/1 var(--mono); color: var(--neben); }
.treffer__zahl { margin: 0.2rem 0 0; font-size: 0.88rem; }
.treffer__geraete { margin: 0.9rem 0 0; padding-left: 1.1rem; font-size: 0.92rem; }
.treffer__fehlt { font-size: 0.85rem; color: var(--neben); margin: 0.6rem 0 0; }
.treffer__eintrag .kauf { margin-top: auto; padding-top: 0.8rem; }
.tabelle--matrix td a { text-decoration: none; font-weight: 700; }

/* ---------- Ranglisten-Kacheln (Start) ---------- */
.ranglisten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); gap: 0.75rem; }
.ranglisten a { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.1rem 1.2rem; background: var(--flaeche); border-radius: var(--radius); text-decoration: none; color: var(--text); box-shadow: inset 0 0 0 1px var(--linie); transition: background-color .15s; }
.ranglisten a:hover { background: #fff; }
.ranglisten__name { font: var(--kopf-gewicht) 1.1rem/1.2 var(--schrift); font-stretch: var(--breit); }
.ranglisten__zahl { font: 500 0.78rem var(--mono); color: var(--neben); white-space: nowrap; }

/* ---------- Fotos mit Nachweis ---------- */
.foto { margin: 1.5rem 0 0; }
.foto img { display: block; width: 100%; height: auto; max-height: 20rem; object-fit: contain; background: var(--flaeche); border-radius: var(--radius); }
.foto figcaption { font-size: 0.75rem; line-height: 1.45; color: var(--neben); margin-top: 0.5rem; }

/* ---------- Phase 6: Abnahme-Korrekturen ---------- */
.kauf__hinweis { flex-basis: 100%; font: 400 0.75rem var(--mono); color: var(--neben); }
.tabelle--rangliste { font-size: 0.86rem; }
.tabelle--rangliste th, .tabelle--rangliste td { padding-left: 0.5rem; padding-right: 0.5rem; }
.tabelle .kauf-spalte { position: sticky; right: 0; background: var(--flaeche); box-shadow: -8px 0 8px -8px rgba(23,25,27,.35); }
.tabelle thead .kauf-spalte { background: var(--flaeche); }
.wisch-hinweis { display: none; font: 400 0.75rem var(--mono); color: var(--neben); margin: 0 0 0.4rem; }
.matrix-auf summary { cursor: pointer; font-weight: 600; margin-bottom: 1rem; }
.ranglisten__name { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .wisch-hinweis { display: block; }
  .einstieg__schild .foto { display: none; }
  .katalog { grid-template-columns: 1fr; }
  .katalog__teil { min-height: 0; padding-right: 6rem; }
}
.tabelle thead th { white-space: normal; vertical-align: bottom; min-width: 4.5rem; }
.tabelle tbody th { white-space: normal; min-width: 9rem; }
@media (max-width: 860px) {
  .katalog { gap: 0.4rem; }
  .katalog__teil { padding: 0.7rem 4.5rem 0.7rem 0.9rem; gap: 0.15rem; }
  .katalog__akku { width: 3rem; right: 0.8rem; bottom: auto; top: 50%; transform: translateY(-50%); }
  .katalog__praxis { margin-top: 0.3rem; }
}
/* Katalog: Akku-Zeichnung im Fluss unten rechts, überdeckt keinen Text */
.katalog__akku { position: static; align-self: flex-end; margin-top: auto; }
.katalog__praxis { margin-top: 0.4rem; max-width: none; }
.foto img { max-height: 16rem; background: linear-gradient(180deg, #F7F7F6, #E6E7E6); }
@media (max-width: 860px) {
  .katalog__teil { padding-right: 4.5rem; }
  .katalog__akku { position: absolute; }
  .einstieg--rangliste { display: flex; flex-direction: column; gap: 0; }
  .einstieg--rangliste .einstieg__text { display: contents; }
  .einstieg--rangliste h1 { order: 1; }
  .einstieg--rangliste .stand { order: 2; }
  .einstieg--rangliste .einstieg__schild { order: 3; position: static; margin-bottom: 1.2rem; }
  .einstieg--rangliste .einstieg__lead { order: 4; }
  .einstieg--rangliste .knoepfe { order: 5; }
}

/* ---------- Bildband Akkulotse (Start) ---------- */
.lotse { position: relative; background: var(--graphit); color: var(--hell); overflow: hidden; }
.lotse__bild { display: block; width: 100%; height: clamp(22rem, 46vw, 40rem); object-fit: cover; object-position: 60% 30%; }
.lotse__text { position: absolute; left: max(var(--rand), calc((100% - var(--spalte-weit)) / 2 + var(--rand))); bottom: clamp(1.5rem, 4vw, 3rem); max-width: 30rem; background: rgba(23,25,27,.88); padding: 1.4rem 1.6rem; border-radius: var(--radius); }
.lotse__text h2 { color: var(--hell); margin: 0 0 0.6rem; }
.lotse__text p { margin: 0 0 0.6rem; color: #D6D7D6; }
.lotse__mehr a { color: var(--hell); }
@media (max-width: 700px) {
  .lotse__bild { height: auto; aspect-ratio: 800 / 577; object-position: 50% 30%; }
  .lotse__text { position: static; max-width: none; border-radius: 0; background: var(--graphit); padding: 1.4rem var(--rand) 0.4rem; }
}
.lotse + .abschnitt--dunkel { border-top: 1px solid #34383B; }
