/* Linkliste Chemie/Biologie - Designsystem "Wunschplan x Impec". Schriften selbst gehostet (fonts/), nie von Google. */

/* Unbounded 200 900 – latin-ext */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./fonts/unbounded-200-900-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Unbounded 200 900 – latin */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./fonts/unbounded-200-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Instrument Sans 400 700 – latin-ext */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/instrument-sans-400-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Instrument Sans 400 700 – latin */
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./fonts/instrument-sans-400-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Wunschplan Mono 500 (= IBM Plex Mono, umbenannt) – latin-ext */
@font-face {
  font-family: "Wunschplan Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/wunschplan-mono-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Wunschplan Mono 500 (= IBM Plex Mono, umbenannt) – latin */
@font-face {
  font-family: "Wunschplan Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/wunschplan-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------ Token */

:root {
  --surface: #f6f6fb;
  --surface-raised: #ffffff;
  --surface-sunken: #ecedf6;
  --surface-hover: #eeeef7;
  --border: #dcdcea;
  --border-strong: #7f7fa2;
  --ink: #15132b;
  --ink-muted: #56537a;
  --ink-subtle: #67648c;
  --on-brand: #ffffff;
  --brand: #5238db;
  --brand-strong: #3d29a8;
  --brand-line: var(--brand);
  --brand-soft: #e9e6fc;
  --brand-ink: #4b35c9;
  --focus-ring: var(--brand-strong);
  --warn-ink: #8a5200;
  --warn-soft: #fdf0d8;
  --warn-line: #f0a020;
  --success: #0b7058;
  --success-soft: #dcf2ea;

  --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --display: "Unbounded", "Instrument Sans", system-ui, sans-serif;
  --mono: "Wunschplan Mono", ui-monospace, SFMono-Regular, monospace;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --easing-out: cubic-bezier(.2, .7, .3, 1);
  --duration-fast: 120ms;
  --gutter: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --surface: #131320;
    --surface-raised: #1c1c2e;
    --surface-sunken: #0d0d17;
    --surface-hover: #23233a;
    --border: #32324e;
    --border-strong: #6b6b92;
    --ink: #f2f1fa;
    --ink-muted: #a5a2c4;
    --ink-subtle: #8b88ad;
    --brand: #6a52f0;
    --brand-strong: #5a42e0;
    --brand-line: #7f6cff;
    --brand-soft: #2a2352;
    --brand-ink: #a294ff;
    --focus-ring: var(--brand-ink);
    --warn-ink: #f5c169;
    --warn-soft: #3a2a0c;
    --warn-line: #f5b73f;
    --success: #3ecf9e;
    --success-soft: #10322a;
    color-scheme: dark;
  }
}

/* ------------------------------------------------------------ Grundlagen */

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 23px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

button, input, select { font: inherit; color: inherit; }

a { color: var(--brand-ink); text-underline-offset: 2px; }
a:hover { color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { a:hover { color: var(--ink); } }

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

::selection { background: var(--brand-soft); }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.sprung {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--surface-raised);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  z-index: 10;
}
.sprung:focus { left: 8px; }

svg.icon {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

/* ------------------------------------------------------------ Kopf */

.kopf { padding: 32px 0 8px; }

h1 {
  margin: 0 0 12px;
  max-width: 24ch;
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.autoren {
  margin: 0 0 20px;
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
}
.autoren a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}
.autoren a:hover { color: var(--ink); text-decoration-color: currentColor; }

.einleitung { max-width: 68ch; }
.einleitung p { margin: 0 0 12px; }

.stern-wort {
  display: inline-block;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 13px;
  line-height: 19px;
  font-weight: 600;
}

.hinweis-box {
  max-width: 68ch;
  margin: 16px 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}
.hinweis-box h2 { margin: 0 0 4px; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--ink-muted); }
.hinweis-box p { margin: 0; font-size: 15px; }

.vorschlag { margin: 0 0 16px; color: var(--ink-muted); max-width: 68ch; }
.vorschlag strong { color: var(--ink); font-weight: 600; }


/* ------------------------------------------------------------ Über diese Liste */

.ueber { max-width: 68ch; margin: 0 0 16px; }
.ueber > summary {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 4px; cursor: pointer; list-style: none;
  color: var(--brand-ink); font-weight: 600;
}
.ueber > summary::-webkit-details-marker { display: none; }
.ueber > summary::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.ueber[open] > summary::after { transform: rotate(-135deg); }
.ueber > summary:hover { color: var(--brand-strong); }
@media (prefers-color-scheme: dark) { .ueber > summary:hover { color: var(--ink); } }
.ueber__inhalt { padding-top: 4px; }
.zurueck-zeile { margin: 0 0 8px; }
.ratgeberlink { margin: 0 0 12px; font-size: 13px; line-height: 19px; }
.ratgeberlink a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; color: var(--ink-muted); text-decoration: none; }
.ratgeberlink a:hover { color: var(--brand-strong); text-decoration: underline; }
@media (prefers-color-scheme: dark) { .ratgeberlink a:hover { color: var(--ink); } }
.ratgeberlink .icon { width: 16px; height: 16px; }

/* ------------------------------------------------------------ Startbildschirm */

.start { padding-top: 8px; padding-bottom: 48px; }
.start__titel {
  margin: 0 0 12px; font-size: 17px; line-height: 24px; font-weight: 600;
}
.start__suche { max-width: 520px; margin: 0 0 24px; }

.start__herkunft { margin: 16px 0 0; color: var(--ink-subtle); font-size: 13px; line-height: 19px; max-width: 68ch; }

.kacheln {
  display: grid; gap: 12px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* Ungerade Zahl (z. B. Unterkategorien + „Ganzer Bereich“): zweispaltig nimmt die letzte die ganze Zeile */
@media (max-width: 639.98px) {
  .kacheln > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .kacheln > :last-child:nth-child(odd) .kachel__bild { aspect-ratio: 4 / 1; } /* ganze Zeile: flacher, sonst überhoch */
}
/* Halb so groß wie zuvor (02.11.2026): doppelt so viele Spalten, alle Bereiche auf einen Blick */
@media (min-width: 640px) { .kacheln { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) { .kacheln { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 880px; } }

.kachel {
  display: flex; flex-direction: column; height: 100%;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--ink); text-decoration: none;
  transition: border-color var(--duration-fast) var(--easing-out), background var(--duration-fast) var(--easing-out);
}
.kachel:hover { border-color: var(--brand-line); background: var(--surface-hover); color: var(--ink); }
.kachel__bild {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 2 / 1; width: 100%;
  background: var(--brand-soft); color: var(--brand-ink);
}
.kachel__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
svg.kachel__icon { width: 32px; height: 32px; stroke-width: 1.5; }
.kachel__name { display: block; padding: 8px 10px 10px; font-size: 13px; line-height: 18px; font-weight: 600; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }

/* ------------------------------------------------------------ Layout */

.layout { display: block; padding-top: 16px; padding-bottom: 48px; }

.seitenleiste { margin-bottom: 16px; }

@media (min-width: 960px) {
  h1 { font-size: 30px; line-height: 34px; }
  .layout { display: grid; grid-template-columns: 296px minmax(0, 1fr); gap: 32px; align-items: start; }
  .seitenleiste {
    position: sticky; top: 12px;
    max-height: calc(100vh - 24px); overflow-y: auto;
    margin-bottom: 0; padding-bottom: 4px;
  }
}

/* ------------------------------------------------------------ Suche und Filter */

.suche__label {
  display: block; margin-bottom: 4px;
  font-size: 13px; line-height: 16px; font-weight: 600; color: var(--ink-muted);
}
.suche__feld { position: relative; }
.suche__icon { position: absolute; left: 12px; top: 11px; color: var(--ink-subtle); pointer-events: none; display: flex; }
input[type="search"] {
  width: 100%; height: 44px; padding: 0 12px 0 38px;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  -webkit-appearance: none; appearance: none;
}
input[type="search"]::placeholder { color: var(--ink-subtle); }

.filter { margin-top: 12px; }
.filter > summary {
  display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-weight: 600; cursor: pointer; list-style: none;
}
.filter > summary::-webkit-details-marker { display: none; }
.filter > summary::after {
  content: ""; margin-left: auto; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.filter[open] > summary::after { transform: rotate(-135deg); }
.filter__zahl {
  min-width: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-ink);
  font-size: 13px; line-height: 20px; text-align: center;
}
.filter__inhalt { padding-top: 12px; display: grid; gap: 8px; }

.feld label, .gruppe legend {
  display: block; margin-bottom: 4px; padding: 0;
  font-size: 13px; line-height: 16px; font-weight: 600; color: var(--ink-muted);
}
select {
  width: 100%; height: 44px; padding: 0 10px;
  background: var(--surface-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
}

.gruppe { border: 0; margin: 0; padding: 0; min-width: 0; }
.haken {
  display: flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px; cursor: pointer;
}
.haken input {
  width: 20px; height: 20px; margin: 0; flex: none;
  accent-color: var(--brand);
}
.gruppe--kat legend { display: block; margin-bottom: 4px; padding: 0; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--ink-muted); }
.kat-kopf { display: flex; align-items: center; }
.kat-pfeil {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; margin: 0;
  background: transparent; border: 0; border-radius: var(--radius-md);
  color: var(--ink-muted); cursor: pointer;
}
.kat-pfeil:hover { background: var(--surface-hover); color: var(--ink); }
.kat-pfeil--leer { cursor: default; pointer-events: none; }
.kat-pfeil .kat-pfeil__auf, .kat-pfeil[aria-expanded="true"] .kat-pfeil__zu { display: none; }
.kat-pfeil[aria-expanded="true"] .kat-pfeil__auf { display: block; }
.kat-kopf .haken { flex: 1; min-width: 0; padding-left: 0; font-weight: 600; }
.kat-unter { margin-left: 44px; }
.kat-unter .haken { padding-left: 0; }
.gruppe > legend.sr-nur { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.gr-kopf {
  display: flex; align-items: center; gap: 8px; width: 100%;
  min-height: 44px; padding: 0 4px; margin: 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--border);
  color: var(--ink); text-align: left; font-weight: 600; cursor: pointer;
}
.gr-kopf:hover { background: var(--surface-hover); }
.gr-kopf .gr-pfeil__auf, .gr-kopf[aria-expanded="true"] .gr-pfeil__zu { display: none; }
.gr-kopf[aria-expanded="true"] .gr-pfeil__auf { display: block; }
.gr-zahl { color: var(--ink-muted); font-weight: 400; }
.gr-inhalt { padding-top: 4px; padding-bottom: 8px; }
.gruppe__hilfe { margin: 0 0 0 4px; color: var(--ink-subtle); font-size: 13px; line-height: 19px; }

@media (min-width: 960px) { .filter > summary { display: none; } .filter { margin-top: 16px; } }

/* ------------------------------------------------------------ Knöpfe */

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-md);
  background: transparent; color: var(--brand-ink);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background var(--duration-fast) var(--easing-out);
}
.knopf:hover { background: var(--brand-soft); color: var(--brand-ink); }
.knopf--ruhig { border-color: var(--border-strong); color: var(--ink); }
.knopf--ruhig:hover { background: var(--surface-hover); color: var(--ink); }

/* ------------------------------------------------------------ Ergebnisse */

.leiste {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; margin-bottom: 8px;
}
.zahl { margin: 0; font-weight: 600; }
.leiste__knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }

.kapitel { margin: 32px 0 0; }
.kapitel:first-child { margin-top: 8px; }
.kapitel > h2 {
  margin: 0 0 4px; padding-bottom: 8px;
  font-size: 17px; line-height: 24px; font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.kapitel__vor { margin: 8px 0 0; color: var(--ink-muted); max-width: 68ch; }
.unter { margin: 20px 0 0; }
.unter > h3 { margin: 0 0 8px; font-size: 15px; line-height: 23px; font-weight: 600; color: var(--ink-muted); }
.unter:first-child { margin-top: 12px; }

.karten {
  display: grid; gap: 12px; margin: 0; padding: 0; list-style: none;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 720px) { .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.karte {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.karte__kopf { display: flex; align-items: flex-start; gap: 8px; justify-content: space-between; }
.karte h4 { margin: 0; font-size: 17px; line-height: 24px; font-weight: 600; }
.tipp {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  padding: 0 8px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-ink);
  font-size: 13px; line-height: 22px; font-weight: 600;
}
.tipp .icon { width: 14px; height: 14px; fill: currentColor; }
/* "Neu": ruhige Umrisskennzeichnung, keine Markenfläche (je Bildschirm gibt es nur eine gefüllte Fläche). */
.neu {
  display: inline-flex; align-items: center; gap: 4px; flex: none;
  padding: 0 8px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: transparent; color: var(--ink);
  font-size: 13px; line-height: 20px; font-weight: 600;
}
.neu .icon { width: 14px; height: 14px; }
.karte__titel { display: flex; align-items: center; gap: 10px; min-width: 0; }
.karte__marken { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.logo {
  flex: none; height: 36px; width: auto; max-width: 96px; object-fit: contain;
  padding: 2px; border-radius: 8px; border: 1px solid var(--border); background: #fff;
}

.merkmale { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.merkmale li {
  padding: 0 8px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--ink-muted); font-size: 13px; line-height: 20px;
}
.merkmale .m-frei { background: var(--success-soft); border-color: transparent; color: var(--success); font-weight: 600; }

.karte__text { margin: 0; }
.auch-in { margin: 0; color: var(--ink-subtle); font-size: 13px; line-height: 19px; }
.auch-in a { color: var(--brand-ink); }
.karte__text:empty { display: none; }

.warnung {
  display: flex; gap: 8px; margin: 0; padding: 8px 12px;
  background: var(--warn-soft);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius-md);
  color: var(--warn-ink); font-size: 13px; line-height: 19px;
}
.warnung .icon { margin-top: 1px; }
.warnung b { font-weight: 600; }

.zugaenge { display: flex; flex-direction: column; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.zugang { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.zugang__notiz { flex-basis: 100%; margin: 0; color: var(--ink-subtle); font-size: 13px; line-height: 19px; }
.zugang__preis { color: var(--ink-muted); font-size: 13px; }

.praxis { margin: 0; font-size: 13px; line-height: 19px; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.praxis a { display: inline-flex; align-items: center; min-height: 32px; }

.bild { margin: 0; }
.bild img {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 10;
  object-fit: cover; object-position: top; border-radius: var(--radius-sm);
  background: var(--surface-sunken); border: 1px solid var(--border);
}
.bild figcaption, .bildnachweis { margin: 4px 0 0; color: var(--ink-subtle); font-size: 13px; line-height: 19px; }
.bildnachweis { margin-top: 0; }
.bild figcaption a, .bildnachweis a { color: inherit; }
.karte--weg .bild img, .bild--weg { filter: grayscale(1); opacity: .65; }

.leer { padding: 32px 0; text-align: center; color: var(--ink-muted); }

/* ------------------------------------------------------------ Fuß */

.fuss { border-top: 1px solid var(--border); background: var(--surface-sunken); padding: 24px 0 32px; }
.fuss__raster { display: grid; gap: 20px; }
@media (min-width: 720px) { .fuss__raster { grid-template-columns: 1fr 1fr; } .gastgeber { grid-column: 1 / -1; } }
.fuss h2 { margin: 0 0 4px; font-size: 13px; line-height: 16px; font-weight: 600; color: var(--ink-muted); }
.fuss p { margin: 0 0 8px; font-size: 13px; line-height: 19px; }
.fuss code { font-family: var(--mono); font-size: 13px; }
.platzhalter {
  padding: 0 6px; border-radius: var(--radius-xs);
  background: var(--warn-soft); color: var(--warn-ink); font-weight: 600;
}
.gastgeber { color: var(--ink-subtle); margin-top: 4px; }
.gastgeber a { display: inline-block; padding: 8px 0; }

/* ------------------------------------------------------------ Bildnachweise */

.nachweise .kopf { padding-bottom: 8px; }
.nachweise__zahl { color: var(--ink-muted); }
.nachweise__haupt { padding-bottom: 48px; }
.nachweise__tabelle { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 19px; }
.nachweise__tabelle th {
  text-align: left; padding: 8px 12px 8px 0; color: var(--ink-muted); font-weight: 600;
  border-bottom: 1px solid var(--border-strong);
}
.nachweise__tabelle td { padding: 8px 12px 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; overflow-wrap: anywhere; }
@media (max-width: 719px) {
  .nachweise__tabelle thead { display: none; }
  .nachweise__tabelle, .nachweise__tabelle tbody, .nachweise__tabelle tr, .nachweise__tabelle td { display: block; }
  .nachweise__tabelle tr { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nachweise__tabelle td { padding: 0; border: 0; }
  .nachweise__tabelle td:first-child { font-weight: 600; font-size: 15px; }
  .nachweise__tabelle td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; color: var(--ink-subtle); }
}

/* ------------------------------------------------------------ Druck */

.druck { display: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0ms !important; scroll-behavior: auto !important; }
}

@media print {
  @page { size: A4 landscape; margin: 12mm; }
  :root { color-scheme: light; --ink: #000; --ink-muted: #333; --ink-subtle: #444; --border: #999; --surface: #fff; }
  body { background: #fff; color: #000; font-size: 9pt; line-height: 1.3; }
  .sprung, .kopf, .layout, .start, .fuss .fuss__raster > section, .vorschlag { display: none !important; }
  .fuss { display: block; background: none; border: 0; padding: 4mm 0 0; }
  .fuss__raster { display: block; }
  .fuss .gastgeber { display: block !important; }
  .druck { display: block; }

  .druck__kopf { margin-bottom: 4mm; display: flex; justify-content: space-between; align-items: flex-start; gap: 6mm; }
  .druck__selbst { margin: 0; width: 18mm; flex: none; text-align: center; }
  .druck__selbst svg { width: 18mm; height: 18mm; display: block; }
  .druck__selbst figcaption { font-size: 6.5pt; line-height: 1.1; }
  .druck__kopf h1 { font-family: var(--sans); font-size: 14pt; line-height: 1.2; max-width: none; margin: 0 0 1mm; letter-spacing: 0; }
  .druck__kopf p { margin: 0; font-size: 8pt; color: #333; }

  .druck h2 { font-size: 11pt; line-height: 1.2; margin: 5mm 0 1mm; break-after: avoid; }
  .druck h3 { font-size: 9pt; margin: 3mm 0 1mm; color: #333; break-after: avoid; }
  .druck table { width: 100%; border-collapse: collapse; table-layout: fixed; }
  .druck thead { display: table-header-group; }
  .druck th { text-align: left; font-size: 8pt; font-weight: 600; border-bottom: 1.5px solid #000; padding: 1mm 2mm 1mm 0; }
  .druck td { vertical-align: top; padding: 1.5mm 2mm 1.5mm 0; border-bottom: 0.5pt solid #bbb; }
  .druck tr { break-inside: avoid; page-break-inside: avoid; }
  .druck col.c-name { width: 36mm; }
  .druck col.c-sys { width: 26mm; }
  .druck col.c-qr { width: 100mm; }
  .druck .d-name { font-weight: 600; }
  .druck .d-tipp { font-weight: 400; font-size: 8pt; }
  .druck .d-hinweis { font-size: 8pt; margin-top: 1mm; }
  .druck .d-preis { font-size: 8pt; color: #333; }
  .druck .qrs { display: flex; flex-wrap: wrap; gap: 2mm; }
  .druck figure { margin: 0; width: 17mm; text-align: center; break-inside: avoid; }
  .druck figure svg { width: 17mm; height: 17mm; display: block; }
  .druck figcaption { font-size: 6.5pt; line-height: 1.1; color: #000; }
  .druck .d-kein { color: #666; font-size: 8pt; }

  .fuss .gastgeber { font-size: 7pt; color: #444; }
  a { color: inherit; text-decoration: none; }
}
