/* audiometer.online – Inhalte im audiSys-Rahmen. Rahmen, Schrift, Kopf und Fuß kommen aus site.css + marke.css
   (Webseite-Projekt, body.p-au); hier nur die Bausteine des Verzeichnisses, Farben über die audiSys-Variablen. */
:root, body.p-au {
  --papier: var(--paper);
  --papier-2: var(--paper-2);
  --weiss: var(--surface);
  --tinte: var(--ink);
  --nacht: var(--head);
  --leise: var(--muted);
  --linie: var(--line);
  --gruen: var(--accent);
  --gruen-schrift: var(--accent-ink);
  --gruen-text: var(--accent-text);
  --gruen-hell: var(--green-soft);
}
.schmal { max-width: 48rem; margin-left: auto; margin-right: auto; }
.marker { background: linear-gradient(transparent 60%, var(--gruen) 60% 92%, transparent 92%); padding: 0 .08em; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.klein { font-size: .85rem; color: var(--leise); }
.leer { color: var(--leise); }
.dachzeile { font-size: var(--mono-lbl); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--gruen-text); margin-bottom: .6rem; }
.dachzeile a { color: inherit; }

/* Unterleiste: Name und Menü des Verzeichnisses unter dem audiSys-Kopf */
.ao-leiste { background: var(--blue-soft); border-bottom: var(--hair) solid var(--line); }
.ao-leiste .wrap { display: flex; align-items: center; justify-content: space-between; gap: .4rem 1.4rem; flex-wrap: wrap; min-height: 52px; padding-block: .4rem; }
.ao-name { display: flex; align-items: center; gap: .5rem; color: var(--head); font-weight: 700; text-decoration: none; font-stretch: 92%; font-size: 1.1rem; }
.ao-name svg { width: 1.7rem; height: 1.7rem; flex: none; }
.ao-name em { font-style: normal; font-weight: 400; color: var(--gruen-text); }
.ao-menue { display: flex; gap: .2rem 1.2rem; flex-wrap: wrap; }
.ao-menue a { color: var(--head); font-weight: 600; text-decoration: none; padding-block: .3rem; border-bottom: 3px solid transparent; }
.ao-menue a:hover, .ao-menue a[aria-current] { border-bottom-color: var(--gruen); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .55rem 1.3rem; font: 700 1rem/1.2 var(--font); color: var(--gruen-schrift); background: var(--gruen); border: 2px solid var(--gruen); border-radius: 0; cursor: pointer; text-decoration: none; }
.knopf:hover { background: #a8d235; border-color: #a8d235; color: var(--gruen-schrift); }
.knopf-leise { background: transparent; color: var(--nacht); border-color: var(--nacht); }
.knopf-leise:hover { background: var(--papier-2); border-color: var(--nacht); color: var(--nacht); }

/* Abschnitte (eigene Abstände, kleiner als die großen Marken-Abschnitte) */
main section { padding-block: clamp(2rem, 1.4rem + 3vw, 3.5rem); }
main section.kurz { padding-block: clamp(1.2rem, 3vw, 2rem); }
main section + section.kurz { border-top: 0; }
.einstieg { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.einstieg .wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.einstieg h1 { margin-bottom: 1.2rem; }
.einstieg .lead { margin-bottom: 1.4rem; }
.zahlen { background: var(--night); color: #dfe7ec; padding: 1.4rem 1.6rem; border-top: 6px solid var(--gruen); }
.zahlen p { margin: 0; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.zahlen p:last-child { border-bottom: 0; }
.zahlen strong { display: block; font-size: 2rem; font-weight: 700; font-stretch: 92%; color: #fff; line-height: 1.1; }
.abschnitt-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.abschnitt-kopf h2, .ao-band h2, .audisys-band h2 { font-size: var(--step-2); }
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.kacheln a { display: block; height: 100%; background: var(--weiss); border: 1px solid var(--linie); border-top: 5px solid var(--nacht); padding: 1rem 1.1rem; text-decoration: none; color: var(--tinte); }
.kacheln a:hover { border-color: var(--nacht); border-top-color: var(--gruen); }
.kacheln strong { display: block; font-size: 1.1rem; line-height: 1.25; font-weight: 700; color: var(--nacht); margin-bottom: .3rem; }
.kacheln span { color: var(--leise); font-size: .9rem; }
.kacheln .extern strong::after { content: " ↗"; font-weight: 400; color: var(--leise); }
.ao-band { background: var(--band); }

.seiten-kopf { padding: clamp(1.8rem, 5vw, 3rem) 0 0; }
.seiten-kopf h1 { font-size: var(--step-3); margin-bottom: .6rem; }
.seiten-kopf p { color: var(--leise); max-width: 44em; }

/* audiSys-Hinweis */
.hinweis { background: var(--weiss); border: 1px solid var(--linie); border-left: 6px solid var(--gruen); padding: 1rem 1.2rem; margin: 1.5rem 0 0; font-size: .95rem; }
.hinweis p { margin-bottom: .5rem; }
.hinweis ul { margin: 0; padding-left: 1.1rem; }
.hinweis li { margin: .2rem 0; }
.audisys-band { background: var(--weiss); border-top: 6px solid var(--gruen); }
.audisys-band .lead { margin: .8rem 0 1.2rem; }
.audisys-kontakt { display: flex; align-items: center; gap: .6rem 1.2rem; flex-wrap: wrap; margin: 1.4rem 0 0; }

/* Filter */
.filter { background: var(--weiss); border: 1px solid var(--linie); border-top: 5px solid var(--nacht); padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.filter-zeile { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem 1.2rem; }
.filter label, .filter legend { display: block; font-weight: 700; margin-bottom: .3rem; }
.filter select { width: 100%; font: inherit; min-height: 48px; padding: .5rem .7rem; border: 2px solid var(--field-line); border-radius: 0; background: #fff; color: var(--tinte); }
.filter fieldset { border: 0; padding: 0; margin: 1rem 0 0; min-width: 0; }
.haken-liste { display: flex; flex-wrap: wrap; gap: .4rem; }
.haken { display: inline-flex !important; align-items: center; gap: .45rem; font-weight: 400 !important; margin: 0 !important; padding: .45rem .75rem; border: 2px solid var(--linie); background: var(--papier-2); cursor: pointer; min-height: 44px; }
.haken input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--nacht); }
.haken:has(input:checked) { border-color: var(--nacht); background: var(--gruen-hell); }
.filter-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1rem; }
.treffer { margin: 0; font-weight: 700; color: var(--nacht); }

/* Tabelle */
.tabelle-rahmen { overflow-x: auto; }
.geraete { width: 100%; border-collapse: collapse; background: var(--weiss); border: 1px solid var(--linie); font-size: .92rem; }
.geraete th, .geraete td { text-align: left; vertical-align: top; padding: .7rem .8rem; border-bottom: 1px solid var(--linie); }
.geraete thead th { background: var(--night); color: #fff; font-weight: 700; white-space: nowrap; }
.geraete tbody th { font-weight: 700; }
.geraete tbody tr:hover { background: var(--papier-2); }
.geraete td:last-child { color: var(--leise); max-width: 22rem; }
.marken { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.marken li { font-size: .78rem; padding: .1rem .45rem; background: var(--papier-2); border: 1px solid var(--linie); white-space: nowrap; }
.leer-meldung { padding: 1rem; background: var(--weiss); border: 1px solid var(--linie); }

/* Geräteseite */
.raster-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; }
.steckbrief { margin: 0 0 1rem; background: var(--weiss); border: 1px solid var(--linie); border-top: 6px solid var(--nacht); }
.steckbrief div { display: grid; grid-template-columns: 13rem 1fr; gap: .3rem 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--linie); }
.steckbrief div:last-child { border-bottom: 0; }
.steckbrief dt { font-weight: 700; color: var(--nacht); }
.steckbrief dd { margin: 0; }
.kasten { background: var(--weiss); border: 1px solid var(--linie); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.kasten h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.kasten .hinweis { margin: 0; }
.quellen { padding-left: 1.1rem; margin: 0 0 .8rem; }
.quellen li { margin: .3rem 0; }

/* Textseiten */
.textseite { padding: clamp(1.8rem, 5vw, 3.5rem) 0; }
.textseite .blatt { background: var(--weiss); border: 1px solid var(--linie); border-top: 6px solid var(--nacht); padding: clamp(1.1rem, 4vw, 2.5rem); max-width: 50rem; }
.textseite h1 { font-size: var(--step-3); margin-bottom: .8rem; }
.textseite h2 { font-size: 1.3rem; margin: 1.6em 0 .5em; }
.textseite ul { padding-left: 1.2rem; }
.textseite li { margin: .3rem 0; }
.glossar dt { font-weight: 700; color: var(--nacht); margin-top: 1rem; scroll-margin-top: 1rem; }
.glossar dd { margin: .2rem 0 0; padding-bottom: .8rem; border-bottom: 1px solid var(--papier-2); }

@media (max-width: 860px) {
  .einstieg .wrap, .raster-2 { grid-template-columns: 1fr; }
  .steckbrief div { grid-template-columns: 1fr; }
  /* Tabelle als Karten */
  .tabelle-rahmen { overflow: visible; }
  .geraete, .geraete tbody, .geraete tr, .geraete th, .geraete td { display: block; width: 100%; }
  .geraete { border: 0; background: transparent; }
  .geraete thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .geraete tr { background: var(--weiss); border: 1px solid var(--linie); border-top: 5px solid var(--nacht); margin-bottom: .9rem; padding: .3rem 0; }
  .geraete tr[hidden] { display: none; }
  .geraete th, .geraete td { border: 0; padding: .35rem 1rem; max-width: none !important; }
  .geraete td::before, .geraete tbody th::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--leise); }
  .geraete tbody th { font-size: 1.15rem; }
}
@media print {
  .gruppe, .topbar, .ao-leiste, .filter, .footer, .aktionsleiste, .hinweis { display: none; }
}
.footer .ao-gewaehr { color: var(--muted); margin: 1.4rem 0 0; max-width: 60ch; }

/* Geräteseite: Messarten erklärt, vergleichbare Geräte (15.11.2026) */
.erklaert { margin: 0; padding-left: 1.1em; }
.erklaert li { margin: .25em 0; }
.vergleich { list-style: none; margin: .8em 0 1.6em; padding: 0; display: grid; gap: .6em; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.vergleich a { display: block; padding: .8em 1em; border: 1px solid var(--linie, #d5dde3); text-decoration: none; color: inherit; min-height: 44px; }
.vergleich a:hover, .vergleich a:focus-visible { border-color: currentColor; }
.vergleich strong { display: block; }
.vergleich span { display: block; font-size: .875rem; opacity: .8; margin-top: .2em; }
