/* Lohnwaage · Website
   Statisch, ohne Web-Fonts, ohne externe Dienste. */

/* ---------- Farben und Maße ---------- */
:root {
  --text: #1D1D1F;
  --text-2: #6E6E73;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --card: #FFFFFF;
  --line: #D2D2D7;
  --hairline: rgba(0, 0, 0, 0.08);

  --accent: #3B4CCA;
  --accent-hover: #3443B8;
  --link: #3B4CCA;
  --on-accent: #FFFFFF;
  --focus: #3B4CCA;

  --dark-1: #0B0D12;
  --dark-2: #1C2230;
  --dark-text: #F5F5F7;
  --dark-text-2: #A1A1A6;
  --dark-link: #9AA6F2;

  --nav-bg: rgba(255, 255, 255, 0.76);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.03), 0 10px 32px rgba(0, 0, 0, 0.06);

  --radius-l: 28px;
  --radius-m: 18px;
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 22px;
  --nav-h: 52px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #F5F5F7;
    --text-2: #A1A1A6;
    --bg: #0B0D12;
    --bg-alt: #12151C;
    --card: #181C25;
    --line: #3A3F4B;
    --hairline: rgba(255, 255, 255, 0.1);

    --accent: #4757D6;
    --accent-hover: #5565E0;
    --link: #9AA6F2;
    --focus: #9AA6F2;

    --dark-1: #1C2230;
    --dark-2: #232A3B;

    --nav-bg: rgba(11, 13, 18, 0.74);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 32px rgba(0, 0, 0, 0.35);

    color-scheme: dark;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.47;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: calc(980px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-weit {
  width: 100%;
  max-width: calc(1180px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ziffern { font-variant-numeric: tabular-nums; }

.nur-lesbar {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprunglink {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 980px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 15px;
  font-weight: 500;
}
.sprunglink:focus { top: 10px; text-decoration: none; }

/* ---------- Typografie ---------- */
.titel-hero {
  font-size: clamp(44px, 4.6vw + 14px, 80px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.titel-abschnitt {
  font-size: clamp(34px, 2.6vw + 18px, 56px);
  line-height: 1.07;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (min-width: 735px) {
  .satz { display: block; }
}

.titel-klein {
  font-size: clamp(24px, 0.8vw + 18px, 32px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.einleitung {
  font-size: clamp(19px, 0.3vw + 16px, 21px);
  line-height: 1.42;
  color: var(--text-2);
  letter-spacing: 0.004em;
}

.dachzeile {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-2);
  margin-bottom: 12px;
}

.kleingedruckt {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-2);
  letter-spacing: 0;
}

p, li { hyphens: manual; }
@media (max-width: 734px) {
  p, li { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; }
}

/* ---------- Knöpfe und Links ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 980px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.knopf:hover { background: var(--accent-hover); text-decoration: none; }
.knopf:active { transform: scale(0.98); }

.knopf-klein {
  min-height: 30px;
  padding: 5px 13px;
  font-size: 13px;
  font-weight: 500;
}

.mehr {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--link);
}
.mehr-pfeil { margin-left: 0.25em; transition: transform 0.2s var(--ease); }
.mehr:hover .mehr-pfeil { transform: translateX(2px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}

.nav-innen {
  height: 100%;
  max-width: calc(1024px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.marke:hover { text-decoration: none; }
.marke img { width: 30px; height: 30px; margin-block: -4px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  opacity: 0.8;
  font-size: 13px;
  letter-spacing: -0.005em;
  transition: opacity 0.2s var(--ease);
}
.nav-links a:hover { opacity: 1; text-decoration: none; }

.nav-schalter {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 10px;
}
.nav-schalter span {
  display: block;
  width: 17px; height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s var(--ease);
}
.nav-schalter[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-schalter[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.nav-menue { display: none; }

@media (max-width: 899px) {
  .nav-links, .nav .knopf-klein { display: none; }
  .nav-schalter { display: block; }

  .nav-menue {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    z-index: 99;
    display: block;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    padding: 18px var(--gutter) 32px;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav-menue.offen {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav-menue ul { list-style: none; margin: 0 0 24px; padding: 0; }
  .nav-menue li a {
    display: block;
    padding: 9px 0;
    color: var(--text);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.015em;
  }
}

/* ---------- Abschnitte ---------- */
main { display: block; }

.abschnitt {
  padding-block: clamp(88px, 9vw, 150px);
}
.abschnitt-hell { background: var(--bg-alt); }

.kopf {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(48px, 5vw, 72px);
}
.kopf .einleitung { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-h) + clamp(56px, 7vw, 108px));
  padding-bottom: clamp(56px, 6vw, 96px);
  text-align: center;
  overflow: hidden;
}

.hero .titel-hero { margin-inline: auto; text-wrap: balance; }
.hero .zeile { display: block; }

.hero-unterzeile {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: clamp(19px, 0.5vw + 16px, 24px);
  line-height: 1.38;
  color: var(--text-2);
  letter-spacing: 0.002em;
  text-wrap: balance;
}

.hero-aktionen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  margin-top: 34px;
}

.hero-bild {
  margin-top: clamp(56px, 6vw, 88px);
}

.bildhinweis {
  margin-top: 22px;
  text-align: center;
}

/* ---------- Laptop-Rahmen ---------- */
.geraet {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.geraet-deckel {
  position: relative;
  width: 89.3%;
  margin: 0 auto;
  padding: 1.7% 1.7% 2.3%;
  border-radius: clamp(10px, 2vw, 22px) clamp(10px, 2vw, 22px) clamp(4px, 0.6vw, 7px) clamp(4px, 0.6vw, 7px);
  background: #0E1014;
  box-shadow:
    inset 0 0 0 1px #2B2E35,
    inset 0 0 0 2px #0A0B0E,
    0 40px 80px -40px rgba(11, 13, 18, 0.45);
}

.bildschirm {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: clamp(3px, 0.5vw, 6px);
  background: #FFFFFF;
  container-type: inline-size;
}

.geraet-unterteil {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 2.3%;
  border-radius: 2px 2px 50% 50% / 2px 2px 100% 100%;
  background: linear-gradient(180deg, #5B5F68 0%, #3A3D44 14%, #24262B 55%, #141518 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.geraet-unterteil::before {
  content: "";
  position: absolute;
  left: 5.4%; right: 5.4%; top: 0;
  height: 22%;
  background: #08090B;
  border-radius: 0 0 4px 4px;
}
.geraet-unterteil::after {
  content: "";
  position: absolute;
  left: 4%; right: 4%; top: 100%;
  height: 40px;
  background: radial-gradient(50% 30% at 50% 0%, rgba(0, 0, 0, 0.18), transparent 70%);
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  .geraet-deckel {
    box-shadow:
      inset 0 0 0 1px #3A3E47,
      inset 0 0 0 2px #0A0B0E,
      0 40px 90px -40px rgba(0, 0, 0, 0.8);
  }
  .geraet-unterteil { background: linear-gradient(180deg, #5A5F69 0%, #33363D 18%, #202227 70%, #16171A 100%); }
  .geraet-unterteil::after { background: radial-gradient(50% 30% at 50% 0%, rgba(0, 0, 0, 0.5), transparent 70%); }
}

/* ---------- App-Ansichten (HTML-Produktbilder) ----------
   Entworfen für eine Bildschirmbreite von 1.120 px; alles skaliert über em mit der Breite. */
.app, .tafel-innen, .brief {
  --a-text: #1D1D1F;
  --a-text-2: #6E6E73;
  --a-text-3: #76767B;
  --a-line: #E5E5EA;
  --a-bg: #FFFFFF;
  --a-bg-2: #F7F7F9;
  --a-ind: #3B4CCA;
  --a-ind-soft: #ECEEFB;
  --a-mint: #2E9C7A;
  --a-mint-text: #1E7559;
  --a-mint-soft: #E5F4EE;
  --a-ocker: #B5651D;
  --a-ocker-text: #8F4E12;
  --a-ocker-soft: #F8EDE1;
}

.app {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 3em 1fr;
  font-family: var(--font);
  font-size: calc(100cqw / 70);
  line-height: 1.4;
  letter-spacing: -0.003em;
  color: var(--a-text);
  background: var(--a-bg);
  font-variant-numeric: tabular-nums;
  text-align: left;
  -webkit-user-select: none;
  user-select: none;
}

.app-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.4em;
  border-bottom: 1px solid var(--a-line);
  background: rgba(250, 250, 252, 0.9);
  font-size: 0.8125em;
}
.app-kopf-links { display: flex; align-items: center; gap: 0.9em; }
.app-marke { display: flex; align-items: center; gap: 0.4em; font-weight: 600; font-size: 1.08em; letter-spacing: -0.01em; }
.app-marke svg { width: 1.7em; height: 1.7em; }
.app-trenner { width: 1px; height: 1.3em; background: var(--a-line); }
.app-mandant { font-weight: 500; }
.app-mandant span { color: var(--a-text-2); font-weight: 400; }
.app-kopf-rechts { display: flex; align-items: center; gap: 1.2em; color: var(--a-text-2); }
.app-pille {
  display: inline-flex; align-items: center; gap: 0.45em;
  padding: 0.25em 0.75em;
  border-radius: 1em;
  background: #F2F2F5;
  color: var(--a-text-2);
}
.app-pille::before { content: ""; width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--a-mint); }

.app-rumpf { display: grid; grid-template-columns: 12.5em 1fr; min-height: 0; }

.app-seite {
  padding: 1.25em 0.75em;
  border-right: 1px solid var(--a-line);
  background: var(--a-bg-2);
  font-size: 0.8125em;
  display: flex;
  flex-direction: column;
}
.app-seite-titel { padding: 0 0.75em 0.5em; color: var(--a-text-2); font-size: 0.85em; font-weight: 500; }
.app-seite ol { list-style: none; margin: 0; padding: 0; }
.app-seite li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.5em 0.75em;
  border-radius: 0.6em;
  color: #3A3A3C;
}
.app-seite li.aktiv { background: var(--a-ind-soft); color: var(--a-ind); font-weight: 600; }
.app-seite li i {
  font-style: normal; font-size: 0.85em; font-weight: 600;
  min-width: 1.6em; padding: 0 0.45em; border-radius: 0.8em; text-align: center;
  background: var(--a-ocker-soft); color: var(--a-ocker-text);
}
.app-seite-fuss { margin-top: auto; padding: 0.75em; border-top: 1px solid var(--a-line); color: var(--a-text-2); font-size: 0.92em; line-height: 1.35; }
.app-seite-fuss b { display: block; color: var(--a-text); font-weight: 500; }

.app-inhalt { padding: 1.4em 2em 1.2em; min-width: 0; display: flex; flex-direction: column; gap: 0.9em; }

.app-titelzeile { display: flex; justify-content: space-between; align-items: flex-end; gap: 2em; }
.app-pfad { font-size: 0.75em; color: var(--a-text-3); margin-bottom: 0.25em; }
.app-titel { font-size: 1.5em; font-weight: 600; letter-spacing: -0.018em; line-height: 1.15; }
.app-unter { font-size: 0.8125em; color: var(--a-text-2); margin-top: 0.3em; }

.app-segment {
  display: inline-flex; padding: 0.18em; border-radius: 0.6em; background: #F2F2F5;
  font-size: 0.75em; font-weight: 500; flex: none;
}
.app-segment span { padding: 0.32em 0.95em; border-radius: 0.45em; color: var(--a-text-2); }
.app-segment span.an { background: #fff; color: var(--a-text); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 0.5px rgba(0,0,0,.06); }

.app-kennzahlen {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--a-line); border-radius: 0.8em;
}
.app-kennzahlen > div { padding: 0.7em 1em; }
.app-kennzahlen > div + div { border-left: 1px solid var(--a-line); }
.app-kennzahlen dt { font-size: 0.6875em; color: var(--a-text-2); }
.app-kennzahlen dd { margin: 0.1em 0 0; font-size: 1.15em; font-weight: 600; letter-spacing: -0.01em; }
.app-kennzahlen dd small { font-size: 0.62em; font-weight: 500; color: var(--a-text-2); margin-left: 0.3em; letter-spacing: 0; }
.app-kennzahlen .ocker { color: var(--a-ocker-text); }
.app-kennzahlen .mint { color: var(--a-mint-text); }

/* Band-Diagramm */
.band {
  position: relative;
  border: 1px solid var(--a-line);
  border-radius: 0.8em;
  padding: 1em 1.4em 0.8em;
}
.band-kopf { display: flex; justify-content: space-between; font-size: 0.6875em; color: var(--a-text-2); }
.band-kopf b { color: var(--a-text); font-weight: 600; }
.band-legende { display: flex; gap: 1.3em; }
.band-legende span { display: inline-flex; align-items: center; gap: 0.4em; }
.band-legende span::before { content: ""; width: 0.8em; height: 0.8em; border-radius: 50%; background: var(--a-ind); }
.band-legende .l-offen::before { background: #fff; box-shadow: inset 0 0 0 0.16em var(--a-ocker); }
.band-legende .l-begruendet::before { background: #fff; box-shadow: inset 0 0 0 0.16em var(--a-mint); }

.band-feld { position: relative; height: 5.8em; margin-top: 0.5em; }
.band-flaeche {
  position: absolute; top: 1.2em; bottom: 1.5em;
  background: var(--a-ind-soft);
  border-radius: 0.5em;
  box-shadow: inset 0 0 0 1px rgba(59, 76, 202, 0.16);
}
.band-median {
  position: absolute; top: 0.1em; bottom: 1.5em; width: 0;
  border-left: 1px dashed rgba(29, 29, 31, 0.45);
}
.band-median span {
  position: absolute; top: -0.15em; left: 0.45em;
  font-size: 0.625em; color: var(--a-text-2); white-space: nowrap;
}
.band-punkt {
  position: absolute;
  width: 0.95em; height: 0.95em; margin: -0.475em 0 0 -0.475em;
  border-radius: 50%;
  background: var(--a-ind);
  box-shadow: 0 0 0 0.14em #fff;
}
.band-punkt.offen { box-shadow: 0 0 0 0.14em #fff, 0 0 0 0.32em var(--a-ocker); }
.band-punkt.begruendet { box-shadow: 0 0 0 0.14em #fff, 0 0 0 0.32em var(--a-mint); }
.band-punkt b {
  position: absolute; left: 50%; top: -2.1em; transform: translateX(-50%);
  font-size: 0.6em; font-weight: 600; color: var(--a-text); white-space: nowrap;
}
.band-punkt.unten b { top: 2.2em; }
.band-achse {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1.1em;
  border-top: 1px solid var(--a-line);
}
.band-achse span {
  position: absolute; top: 0.35em; transform: translateX(-50%);
  font-size: 0.5625em; color: var(--a-text-3); white-space: nowrap;
}

/* Tabellen in der App */
.app-tabelle { width: 100%; border-collapse: collapse; font-size: 0.75em; }
.app-tabelle th {
  text-align: left; font-weight: 500; color: var(--a-text-2); font-size: 0.9em;
  padding: 0 0.8em 0.55em 0; border-bottom: 1px solid var(--a-line);
}
.app-tabelle td { padding: 0.5em 0.8em 0.5em 0; border-bottom: 1px solid var(--a-line); white-space: nowrap; }
.app-tabelle tr:last-child td { border-bottom: 0; }
.app-tabelle .rechts { text-align: right; }
.app-tabelle .leise { color: var(--a-text-2); }
.app-tabelle .kennung { font-weight: 500; }

.status {
  display: inline-flex; align-items: center; gap: 0.4em;
  padding: 0.18em 0.65em 0.2em 0.55em;
  border-radius: 1em;
  font-size: 0.92em; font-weight: 600;
}
.status::before { content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: currentColor; }
.status-offen { background: var(--a-ocker-soft); color: var(--a-ocker-text); }
.status-begruendet { background: var(--a-mint-soft); color: var(--a-mint-text); }
.status-neutral { background: #F2F2F5; color: var(--a-text-2); }
.status-neutral::before { background: var(--a-text-3); }

.mini-band { position: relative; width: 7em; height: 0.4em; border-radius: 0.2em; background: #EDEDF0; }
.mini-band i { position: absolute; top: 50%; width: 0.6em; height: 0.6em; margin: -0.3em 0 0 -0.3em; border-radius: 50%; background: var(--a-ind); }

.app-hinweis {
  margin-top: auto;
  display: flex; align-items: center; gap: 0.75em;
  padding: 0.8em 1em;
  border-radius: 0.8em;
  background: var(--a-bg-2);
  font-size: 0.75em;
  color: var(--a-text-2);
}
.app-hinweis p { flex: 1; line-height: 1.45; }
.app-hinweis b { color: var(--a-text); font-weight: 600; }
.app-knopf {
  flex: none;
  padding: 0.5em 1.1em;
  border-radius: 2em;
  background: var(--a-ind);
  color: #fff;
  font-weight: 500;
}
.app-knopf-zweit { background: #fff; color: var(--a-ind); box-shadow: inset 0 0 0 1px #D5D9F3; }

/* ---------- Einblenden beim Scrollen ---------- */
.js .einblenden {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--verzoegerung, 0s);
}
.js .einblenden.sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .einblenden { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 734px) {
  :root { --gutter: 20px; --nav-h: 48px; }
  body { font-size: 17px; }
  .knopf { font-size: 17px; }
  .hero .zeile { display: inline; }
}

/* =====================================================================
   Bauteile für Startseite und Unterseiten
   ===================================================================== */

/* ---------- Navigation: aktuelle Seite ---------- */
.nav-links a[aria-current="page"] { opacity: 1; font-weight: 500; }
@media (max-width: 899px) {
  .nav-menue a[aria-current="page"] { color: var(--link); }
}

/* ---------- Lokale Leiste auf Unterseiten ---------- */
html:has(.leiste) { scroll-padding-top: calc(var(--nav-h) + 52px + 16px); }

.leiste {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  margin-top: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.leiste-innen {
  height: 52px;
  max-width: calc(1024px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.leiste-titel {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
}
.leiste-titel:hover { text-decoration: none; }

/* ---------- Knöpfe: Zweitknopf und Knopfreihe ---------- */
.knopf-zweit {
  background: transparent;
  color: var(--link);
  border-color: currentColor;
}
.knopf-zweit:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.knopfreihe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 24px;
  margin-top: 34px;
}
.knopfreihe-links { justify-content: flex-start; }

.mehr-zeile { margin-top: 28px; text-align: center; }

/* ---------- Abschnitte ---------- */
.abschnitt-dunkel {
  --text: #F5F5F7;
  --text-2: #A1A1A6;
  --link: #9AA6F2;
  --focus: #9AA6F2;
  --card: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  background: radial-gradient(120% 70% at 50% 0%, #1C2230 0%, #0B0D12 62%);
  color: var(--text);
}
@media (prefers-color-scheme: dark) {
  .abschnitt-dunkel { background: radial-gradient(120% 70% at 50% 0%, #283048 0%, #161B27 65%); }
}

.kopf-links { text-align: left; margin-inline: 0; }
.kopf .dachzeile { margin-bottom: 14px; }

.titel-seite {
  font-size: clamp(40px, 3.2vw + 18px, 68px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.seitenkopf {
  padding-top: clamp(64px, 7vw, 112px);
  padding-bottom: clamp(56px, 6vw, 96px);
  text-align: center;
  overflow: hidden;
}
.seitenkopf .dachzeile { font-size: clamp(17px, 0.4vw + 15px, 21px); margin-bottom: 16px; }
.seitenkopf .titel-seite { max-width: 940px; margin-inline: auto; }
.seitenkopf .einleitung { max-width: 720px; margin: 22px auto 0; text-wrap: balance; }
.seitenkopf-bild { margin-top: clamp(56px, 6vw, 88px); }

/* ---------- Was sich ändert: große Zahlen ---------- */
.zahlen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.zahlen li { padding: 8px clamp(16px, 3vw, 44px); }
.zahlen li + li { border-left: 1px solid var(--hairline); }
.zahl-wert {
  display: block;
  font-size: clamp(60px, 4vw + 28px, 92px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.zahl-wert small {
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.zahl-text {
  max-width: 24ch;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.45;
  color: var(--text-2);
}
.zahl-text strong { color: var(--text); font-weight: 600; }

.stand {
  max-width: 700px;
  margin: clamp(56px, 6vw, 80px) auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  text-align: center;
  font-size: 17px;
  color: var(--text-2);
}
.stand .mehr { margin-top: 6px; }

/* ---------- So funktioniert es: Scroll-Erzählung ---------- */
.erzaehlung {
  --bild-h: 480px;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(40px, 5vw, 88px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.erzaehlung-schritt {
  grid-column: 1;
  min-height: 74vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 32px;
  transition: opacity 0.5s var(--ease);
}
.erzaehlung-schritt:nth-of-type(1) { grid-row: 1; }
.erzaehlung-schritt:nth-of-type(2) { grid-row: 2; }
.erzaehlung-schritt:nth-of-type(3) { grid-row: 3; }
.erzaehlung-schritt:nth-of-type(4) { grid-row: 4; }
.erzaehlung-schritt:nth-of-type(5) { grid-row: 5; }
.schritt-nr {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.erzaehlung-schritt h3 {
  margin: 8px 0 14px;
  font-size: clamp(30px, 1.4vw + 18px, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.erzaehlung-schritt p {
  font-size: clamp(17px, 0.3vw + 15px, 21px);
  line-height: 1.42;
  color: var(--text-2);
  max-width: 30em;
}
.erzaehlung-schritt p strong { color: var(--text); font-weight: 600; }

.erzaehlung-bild {
  grid-column: 2;
  grid-row: 1 / span 5;
  align-self: start;
  position: sticky;
  top: max(calc(var(--nav-h) + 24px), calc(50vh - var(--bild-h) / 2 + var(--nav-h) / 2));
  margin: max(0px, calc(37vh - var(--bild-h) / 2)) 0 0;
  width: 100%;
  max-width: 600px;
  justify-self: center;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
/* Aktiver Schritt: feine Linie statt abgeblendeter Schrift, damit der Kontrast überall stimmt */
.schritt-inhalt { border-left: 2px solid transparent; padding: 4px 0 6px 26px; transition: border-color 0.4s var(--ease); }
.js .erzaehlung-schritt.aktiv .schritt-inhalt { border-left-color: var(--accent); }
.js .erzaehlung-bild { opacity: 0; transform: translateY(12px) scale(0.985); }
.js .erzaehlung-bild.aktiv { opacity: 1; transform: none; }

@media (max-width: 833px) {
  .erzaehlung { display: flex; flex-direction: column; }
  .erzaehlung-schritt { min-height: 0; padding-block: 0; }
  .schritt-inhalt, .js .erzaehlung-schritt.aktiv .schritt-inhalt { border-left: 0; padding: 0; }
  .erzaehlung-bild,
  .js .erzaehlung-bild {
    position: static;
    margin: 28px 0 64px;
    max-width: none;
    opacity: 1;
    transform: none;
  }
  .erzaehlung > :nth-child(1) { order: 1; }  .erzaehlung > :nth-child(6) { order: 2; }
  .erzaehlung > :nth-child(2) { order: 3; }  .erzaehlung > :nth-child(7) { order: 4; }
  .erzaehlung > :nth-child(3) { order: 5; }  .erzaehlung > :nth-child(8) { order: 6; }
  .erzaehlung > :nth-child(4) { order: 7; }  .erzaehlung > :nth-child(9) { order: 8; }
  .erzaehlung > :nth-child(5) { order: 9; }  .erzaehlung > :nth-child(10) { order: 10; margin-bottom: 0; }
}

/* ---------- Tafeln: frei stehende Produktansichten ----------
   Entworfen für eine Breite von 30 em; alles skaliert mit der Breite. */
.tafel { container-type: inline-size; width: 100%; }
.tafel-innen {
  font-family: var(--font);
  font-size: calc(100cqw / 30);
  line-height: 1.4;
  letter-spacing: -0.003em;
  text-align: left;
  color: var(--a-text);
  background: #FFFFFF;
  border-radius: 0.9em;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
  -webkit-user-select: none;
  user-select: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 0.2em 0.6em rgba(0, 0, 0, 0.04), 0 1.6em 3.2em rgba(0, 0, 0, 0.09);
}
@media (prefers-color-scheme: dark) {
  .tafel-innen { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 1.6em 3.2em rgba(0, 0, 0, 0.55); }
}
.abschnitt-dunkel .tafel-innen { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 1.6em 3.2em rgba(0, 0, 0, 0.55); }
.tafel-flach .tafel-innen { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07); }

.tafel-kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.7em 1.15em;
  border-bottom: 1px solid var(--a-line);
  background: #FAFAFC;
  font-size: 0.66em;
  color: var(--a-text-2);
  white-space: nowrap;
}
.tafel-kopf b { color: var(--a-text); font-weight: 600; }
.tafel-kopf .app-marke { font-size: 1em; }
.tafel-kopf .app-marke svg { width: 1.6em; height: 1.6em; }
.tafel-rumpf {
  padding: 1.1em 1.2em 1.25em;
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}
.tafel-titel { font-size: 1.05em; font-weight: 600; letter-spacing: -0.014em; line-height: 1.2; }
.tafel-unter { margin-top: 0.25em; font-size: 0.66em; color: var(--a-text-2); }
.tafel-titelzeile { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; }

.tafel-liste { margin: 0; padding: 0; list-style: none; font-size: 0.7em; }
.tafel-liste li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.62em 0;
  border-bottom: 1px solid var(--a-line);
}
.tafel-liste li:last-child { border-bottom: 0; }
.tafel-liste .leise { color: var(--a-text-2); }
.tafel-liste .status { font-size: 0.9em; flex: none; }

.tafel .app-tabelle { font-size: 0.66em; }
.tafel .app-tabelle td, .tafel .app-tabelle th { padding-right: 0.6em; }
.tafel .app-kennzahlen { font-size: 0.86em; }
.tafel .app-knopf { font-size: 0.66em; }
.tafel .band { padding: 0.8em 1em 0.6em; }
.tafel .band-kopf { font-size: 0.6em; }

.feld {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 0.55em 0.8em;
  border: 1px solid var(--a-line);
  border-radius: 0.55em;
  background: #FBFBFC;
  font-size: 0.68em;
}
.feld span { color: var(--a-text-2); }
.feld b { font-weight: 600; text-align: right; }
.felder { display: flex; flex-direction: column; gap: 0.45em; }

.zitat {
  padding: 0.75em 0.95em;
  border-left: 0.16em solid var(--a-ind);
  border-radius: 0 0.55em 0.55em 0;
  background: var(--a-ind-soft);
  font-size: 0.7em;
  line-height: 1.5;
}

.knoepfe { display: flex; flex-wrap: wrap; gap: 0.45em; align-items: center; }
.tafel-fuss { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.tafel-hinweis { font-size: 0.58em; line-height: 1.45; color: var(--a-text-3); }
.tafel-hinweis b { color: var(--a-text-2); font-weight: 600; }

.status-info { background: var(--a-ind-soft); color: var(--a-ind); }
.status-erledigt { background: var(--a-mint-soft); color: var(--a-mint-text); }

.schalter-mini {
  display: inline-block;
  width: 2.1em; height: 1.2em;
  border-radius: 1em;
  background: var(--a-mint);
  position: relative;
  vertical-align: middle;
  flex: none;
}
.schalter-mini::after {
  content: "";
  position: absolute;
  right: 0.12em; top: 0.12em;
  width: 0.96em; height: 0.96em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.05em 0.15em rgba(0, 0, 0, 0.2);
}

/* Stufen der Stellenbewertung */
.stufen { display: flex; flex-direction: column; gap: 0.55em; font-size: 0.7em; }
.stufe {
  display: grid;
  grid-template-columns: 10.6em auto 1fr;
  align-items: center;
  gap: 0.9em;
}
.stufe b { font-weight: 600; }
.stufe-balken { display: flex; gap: 0.25em; }
.stufe-balken i { width: 1.9em; height: 0.62em; border-radius: 0.31em; background: #E8E8ED; }
.stufe-balken i.an { background: var(--a-ind); }
.stufe span { color: var(--a-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ergebnis {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
  padding: 0.7em 0.9em;
  border-radius: 0.6em;
  background: var(--a-bg-2);
  font-size: 0.7em;
}
.ergebnis strong { font-size: 1.5em; font-weight: 600; letter-spacing: -0.02em; }
.ergebnis span { color: var(--a-text-2); }

/* Datenimport */
.datei {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0.6em 0.85em;
  border-radius: 0.6em;
  background: var(--a-bg-2);
  font-size: 0.68em;
}
.datei b { font-weight: 600; }
.datei-symbol {
  display: inline-grid; place-items: center;
  width: 1.9em; height: 2.3em; margin-right: 0.6em;
  border-radius: 0.3em;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--a-line);
  font-size: 0.8em; font-weight: 700; color: var(--a-text-2);
  vertical-align: middle;
}
.zuordnung { width: 100%; border-collapse: collapse; font-size: 0.66em; }
.zuordnung th { text-align: left; font-weight: 500; color: var(--a-text-2); padding: 0 0 0.5em; border-bottom: 1px solid var(--a-line); }
.zuordnung td { padding: 0.48em 0; border-bottom: 1px solid var(--a-line); }
.zuordnung tr:last-child td { border-bottom: 0; }
.zuordnung code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.95em; color: var(--a-text-2); }
.zuordnung .pfeil { color: var(--a-text-3); padding-inline: 0.6em; }
.zuordnung .ok { text-align: right; color: var(--a-mint-text); font-weight: 600; }
.haken-app { display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em; }

/* Einzelvergleich */
.vergleich {
  border: 1px solid var(--a-line);
  border-radius: 0.7em;
  padding: 0.85em 0.95em;
  display: flex;
  flex-direction: column;
  gap: 0.65em;
}
.vergleich-kopf { display: flex; justify-content: space-between; align-items: center; font-size: 0.68em; color: var(--a-text-2); }
.vergleich-kopf .status { font-size: 0.95em; }
.vergleich-paar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.8em; }
.vergleich-person { font-size: 0.68em; color: var(--a-text-2); }
.vergleich-person b { display: block; font-size: 1.85em; font-weight: 600; letter-spacing: -0.02em; color: var(--a-text); line-height: 1.15; }
.vergleich-person.rechts { text-align: right; }
.vergleich-diff {
  text-align: center;
  font-size: 0.66em;
  color: var(--a-text-2);
}
.vergleich-diff b { display: block; font-size: 1.35em; font-weight: 600; color: var(--a-ocker-text); }
.vergleich-diff.begruendet b { color: var(--a-mint-text); }
.vergleich-balken { position: relative; height: 0.5em; border-radius: 0.25em; background: #EDEDF0; }
.vergleich-balken i { position: absolute; top: 50%; width: 0.75em; height: 0.75em; margin: -0.375em 0 0 -0.375em; border-radius: 50%; background: var(--a-ind); box-shadow: 0 0 0 0.12em #fff; }
.vergleich-balken s { position: absolute; top: 0; bottom: 0; background: rgba(181, 101, 29, 0.28); border-radius: 0.25em; }
.vergleich-balken.begruendet s { background: rgba(46, 156, 122, 0.3); }
.gruende { display: flex; flex-wrap: wrap; gap: 0.35em; font-size: 0.62em; }
.gruende span { padding: 0.25em 0.7em; border-radius: 1em; background: #F2F2F5; color: var(--a-text-2); }
.vergleich-grund { font-size: 0.68em; }
.vergleich-grund span { color: var(--a-text-2); }

/* Auskunft */
.frist { display: flex; justify-content: space-between; align-items: center; gap: 1em; font-size: 0.7em; }
.frist b { font-weight: 600; }
.frist .status { font-size: 0.92em; }
.briefauszug {
  padding: 0.85em 1em;
  border: 1px solid var(--a-line);
  border-radius: 0.55em;
  background: #FCFCFD;
  font-family: Charter, Georgia, "Times New Roman", serif;
  font-size: 0.7em;
  line-height: 1.55;
}

/* Bericht */
.bericht-werte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5em; }
.bericht-werte div { padding: 0.7em 0.8em; border-radius: 0.6em; background: var(--a-bg-2); }
.bericht-werte dt { font-size: 0.6em; color: var(--a-text-2); }
.bericht-werte dd { margin: 0.1em 0 0; font-size: 1.25em; font-weight: 600; letter-spacing: -0.02em; }
.quartile { display: flex; flex-direction: column; gap: 0.4em; font-size: 0.64em; }
.quartil { display: grid; grid-template-columns: 7.5em 1fr 3.2em; align-items: center; gap: 0.8em; }
.quartil span { color: var(--a-text-2); }
.quartil-balken { height: 0.6em; border-radius: 0.3em; background: #EDEDF0; overflow: hidden; }
.quartil-balken i { display: block; height: 100%; background: var(--a-ind); border-radius: 0.3em; }
.quartil b { text-align: right; font-weight: 600; }

/* Gruppen untereinander */
.gruppen { display: flex; flex-direction: column; gap: 0.9em; }
.gruppe-kopf { display: flex; justify-content: space-between; font-size: 0.64em; margin-bottom: 0.35em; }
.gruppe-kopf b { font-weight: 600; }
.gruppe-kopf span { color: var(--a-text-2); }
.gruppe-feld { position: relative; height: 1.5em; }
.gruppe-feld .band-flaeche { top: 0; bottom: 0; border-radius: 0.75em; }
.gruppe-feld .band-punkt { width: 0.56em; height: 0.56em; margin: -0.28em 0 0 -0.28em; top: 50%; box-shadow: 0 0 0 0.1em #fff; }
.gruppe-feld .band-punkt.offen { box-shadow: 0 0 0 0.1em #fff, 0 0 0 0.24em var(--a-ocker); }
.gruppen-achse { position: relative; height: 1.2em; border-top: 1px solid var(--a-line); margin-top: 0.2em; }
.gruppen-achse span { position: absolute; top: 0.35em; transform: translateX(-50%); font-size: 0.56em; color: var(--a-text-3); white-space: nowrap; }

/* ---------- Brief ---------- */
.brief-rahmen { container-type: inline-size; width: 100%; max-width: 560px; margin-inline: auto; }
.brief {
  font-size: clamp(12px, calc(100cqw / 28), 17px);
  padding: 3.4em 3.2em 3em;
  background: #FFFFFF;
  color: var(--a-text);
  border-radius: 0.3em;
  font-family: Charter, Georgia, "Times New Roman", serif;
  line-height: 1.55;
  text-align: left;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 1.2em 3em rgba(0, 0, 0, 0.1);
}
@media (prefers-color-scheme: dark) {
  .brief { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1.2em 3em rgba(0, 0, 0, 0.55); }
}
.brief-absender {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.6em;
  font-family: var(--font);
  font-size: 0.62em;
  color: var(--a-text-2);
}
.brief-absender b { color: var(--a-text); font-weight: 600; }
.brief p { margin: 0 0 0.95em; font-size: 0.78em; }
.brief .brief-betreff { font-weight: 700; font-size: 0.82em; margin-bottom: 1.4em; }

/* ---------- Bento-Raster ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.kachel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(26px, 2.4vw, 38px);
  border-radius: var(--radius-l);
  background: var(--card);
  overflow: hidden;
}
.kachel-gross { grid-column: span 2; grid-row: span 2; }
.kachel-dach { font-size: 15px; font-weight: 600; color: var(--text-2); }
.kachel-titel {
  font-size: clamp(24px, 0.8vw + 16px, 30px);
  line-height: 1.15;
  letter-spacing: -0.018em;
}
.kachel-gross .kachel-titel { font-size: clamp(28px, 1.4vw + 16px, 40px); }
.kachel-text { font-size: 17px; line-height: 1.45; color: var(--text-2); }
.kachel-bild { margin-top: auto; padding-top: 6px; }
.kachel-gross .kachel-bild { max-width: 620px; width: 100%; align-self: center; }
.kachel-zahl {
  margin-top: auto;
  font-size: clamp(36px, 2vw + 20px, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kachel-zahl small { display: block; margin-top: 10px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--text-2); }

/* Kleine Sinnbilder in Kacheln */
.sinn-band { position: relative; height: 76px; margin-top: auto; }
.sinn-band::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 8px; bottom: 8px;
  border-radius: 20px;
  background: rgba(59, 76, 202, 0.1);
  box-shadow: inset 0 0 0 1px rgba(59, 76, 202, 0.18);
}
.sinn-band i {
  position: absolute; top: 36%;
  width: 14px; height: 14px; margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--card);
}
.sinn-band i:nth-child(even) { top: 64%; }
.sinn-band i.offen { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px #B5651D; }
.sinn-stufen { margin-top: auto; display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: var(--text-2); }
.sinn-stufen div { display: grid; grid-template-columns: 9.5em 1fr; align-items: center; gap: 12px; }
.sinn-stufen p { display: flex; gap: 4px; }
.sinn-stufen p i { flex: 1; max-width: 30px; height: 8px; border-radius: 4px; background: var(--line); }
.sinn-stufen p i.an { background: var(--accent); }

/* ---------- Zweispaltig, Punkte, Fragen-Trio ---------- */
.zweispaltig {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.zweispaltig-umgekehrt > :first-child { order: 2; }

.punkte { margin: 32px 0 0; padding: 0; list-style: none; }
.punkte li {
  padding: 18px 0;
  border-top: 1px solid var(--hairline);
  font-size: 19px;
  line-height: 1.42;
  color: var(--text-2);
}
.punkte li:last-child { border-bottom: 1px solid var(--hairline); }
.punkte li strong { color: var(--text); font-weight: 600; }

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
}
.trio h3 {
  font-size: clamp(22px, 0.6vw + 16px, 26px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.trio p { font-size: 17px; line-height: 1.47; color: var(--text-2); }
.trio-zahl { display: block; margin-bottom: 18px; font-size: 40px; font-weight: 600; line-height: 1; color: var(--text-2); letter-spacing: -0.02em; }

/* ---------- Vier ruhige Kacheln ---------- */
.vierer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.vierer-kachel {
  padding: 30px 28px 32px;
  border-radius: var(--radius-l);
  background: var(--bg-alt);
}
.abschnitt-hell .vierer-kachel { background: var(--card); }
.vierer-kachel svg { width: 34px; height: 34px; margin-bottom: 22px; color: var(--text); }
.vierer-kachel h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 8px; }
.vierer-kachel p { font-size: 16px; line-height: 1.47; color: var(--text-2); }

/* ---------- Preise ---------- */
.preiskarten {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.preiskarte {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 2.6vw, 40px);
  border-radius: var(--radius-l);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.abschnitt:not(.abschnitt-hell) .preiskarte { background: var(--bg-alt); box-shadow: none; }
.preiskarte-hervor { box-shadow: inset 0 0 0 2px var(--accent) !important; }
.preiskarte-dach { font-size: 15px; font-weight: 600; color: var(--text-2); }
.preiskarte h3 { margin-top: 6px; font-size: 28px; letter-spacing: -0.02em; }
.preis {
  margin-top: 22px;
  font-size: clamp(44px, 2vw + 28px, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.preis small { font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--text-2); margin-left: 6px; }
.preiskarte-groesse { margin-top: 10px; font-size: 17px; color: var(--text-2); }
.preiskarte ul {
  margin: 24px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--hairline);
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-2);
}
.preiskarte li { display: flex; gap: 10px; padding: 5px 0; }
.preiskarte li svg { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--text); }
.preiskarte .knopf { margin-top: auto; align-self: flex-start; }
.preiskarte ul + .knopf { margin-top: 28px; }
.preiskarte-abstand { flex: 1; min-height: 24px; }

.breitkarte {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: center;
  margin-top: 20px;
  padding: clamp(28px, 3vw, 48px);
  border-radius: var(--radius-l);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.abschnitt:not(.abschnitt-hell) .breitkarte { background: var(--bg-alt); box-shadow: none; }
.breitkarte h3 { font-size: clamp(24px, 0.8vw + 18px, 32px); letter-spacing: -0.02em; }
.breitkarte p { margin-top: 10px; font-size: 17px; color: var(--text-2); }
.breitkarte .preis { margin-top: 0; text-align: right; }
.breitkarte .preis small { display: block; margin: 8px 0 0; }

.preis-hinweis { margin-top: 28px; text-align: center; font-size: 17px; color: var(--text-2); }

/* Vergleichstabelle */
.tabelle-huelle {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
}
.vergleichstabelle {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.vergleichstabelle caption { text-align: left; }
.vergleichstabelle th, .vergleichstabelle td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--hairline);
  text-align: center;
  vertical-align: middle;
}
.vergleichstabelle th:first-child, .vergleichstabelle td:first-child { text-align: left; padding-left: 0; }
.vergleichstabelle thead th {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.vergleichstabelle thead th span { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--text-2); letter-spacing: 0; }
.vergleichstabelle tbody th { font-weight: 400; color: var(--text); }
.vergleichstabelle .gruppe-zeile th {
  padding-top: 36px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  border-bottom-color: var(--line);
}
.haken { display: inline-block; width: 20px; height: 20px; color: var(--text); vertical-align: middle; }
.leer { display: inline-block; width: 14px; height: 1px; background: var(--text-2); vertical-align: middle; opacity: 0.7; }
.tabelle-text { font-size: 15px; color: var(--text-2); }

/* Pflichtentabelle */
.pflichten .haken { color: var(--text); }

/* ---------- Fragen ---------- */
.fragen-liste { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.frage { border-bottom: 1px solid var(--line); }
.frage summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: clamp(19px, 0.4vw + 16px, 22px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  background:
    linear-gradient(var(--text-2), var(--text-2)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 100% no-repeat;
  transition: transform 0.3s var(--ease);
}
.frage[open] summary::after { transform: rotate(45deg); }
.frage summary:focus-visible { outline-offset: 6px; }
.frage-antwort {
  padding: 0 56px 28px 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-2);
}
.frage-antwort p + p { margin-top: 12px; }
.frage-antwort strong { color: var(--text); font-weight: 600; }

.fragen-gruppe + .fragen-gruppe { margin-top: clamp(72px, 7vw, 112px); }
.fragen-gruppe > h2 { max-width: 860px; margin: 0 auto 28px; }

.sprungleiste {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.sprungleiste a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 980px;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 15px;
}
.sprungleiste a:hover { text-decoration: none; background: var(--line); }
.abschnitt-hell .sprungleiste a { background: var(--card); }

.quellen { max-width: 860px; margin: 0 auto; padding: 0; list-style: none; counter-reset: quelle; }
.quellen li {
  position: relative;
  padding: 16px 0 16px 40px;
  border-top: 1px solid var(--hairline);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-2);
  counter-increment: quelle;
}
.quellen li::before {
  content: counter(quelle);
  position: absolute; left: 0; top: 16px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.quellen li strong { color: var(--text); font-weight: 600; }

/* ---------- Nummerierte Schritte ---------- */
.ablauf {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ablauf;
}
.ablauf li {
  padding: 30px 26px 32px;
  border-radius: var(--radius-l);
  background: var(--card);
  counter-increment: ablauf;
}
.abschnitt:not(.abschnitt-hell):not(.abschnitt-dunkel) .ablauf li { background: var(--bg-alt); }
.ablauf li::before {
  content: counter(ablauf);
  display: block;
  margin-bottom: 26px;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.ablauf h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 8px; }
.ablauf p { font-size: 16px; line-height: 1.47; color: var(--text-2); }

/* Schritte als schlanke Leiste */
.schrittleiste {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.schrittleiste a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 20px 8px 10px;
  border-radius: 980px;
  background: var(--bg-alt);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
.schrittleiste a:hover { text-decoration: none; background: var(--line); }
.schrittleiste b {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--card);
  color: var(--text-2);
  font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- Funktionsabschnitte ---------- */
.funktion { padding-block: clamp(72px, 7vw, 120px); }
.funktion + .funktion { border-top: 1px solid var(--hairline); }
.funktion-nr { display: block; font-size: 17px; font-weight: 600; color: var(--text-2); margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.funktion-text h2 { font-size: clamp(30px, 1.6vw + 18px, 44px); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.funktion-text > p { margin-top: 16px; font-size: clamp(17px, 0.3vw + 15px, 19px); line-height: 1.5; color: var(--text-2); }
.funktion-text > p strong { color: var(--text); font-weight: 600; }
.funktion-text > .kleingedruckt { margin-top: 18px; font-size: 15px; }
.funktion-bild { width: 100%; max-width: 560px; justify-self: center; }

.collage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  max-width: 1180px;
  margin-inline: auto;
}
.collage > :nth-child(2) { position: relative; z-index: 1; }
.collage > :nth-child(1), .collage > :nth-child(3) { opacity: 0.96; }

/* ---------- Abschluss ---------- */
.abschluss { text-align: center; }
.abschluss .titel-hero { max-width: 16ch; margin-inline: auto; text-wrap: balance; }
.abschluss .einleitung { margin-top: 18px; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.textseite { padding: calc(var(--nav-h) + clamp(56px, 6vw, 96px)) 0 clamp(80px, 8vw, 128px); }
.textseite .container { max-width: calc(760px + 2 * var(--gutter)); }
.textseite h1 { font-size: clamp(40px, 2.4vw + 22px, 56px); line-height: 1.07; letter-spacing: -0.02em; }
.textseite h2 { margin: 48px 0 12px; font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; }
.textseite p, .textseite li { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.textseite p + p { margin-top: 12px; }
.textseite ul { padding-left: 1.2em; }
.textseite strong { color: var(--text); font-weight: 600; }
.platzhalter {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(181, 101, 29, 0.12);
  color: #8F4E12;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (prefers-color-scheme: dark) {
  .platzhalter { background: rgba(229, 160, 96, 0.16); color: #E9B07A; }
}
.hinweiskasten {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: var(--radius-m);
  background: var(--bg-alt);
  font-size: 16px;
  color: var(--text-2);
}
.hinweiskasten strong { color: var(--text); }

/* ---------- Fußzeile ---------- */
.fuss {
  padding: 44px 0 30px;
  background: var(--bg-alt);
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-2);
}
.fuss .container-weit { max-width: calc(1024px + 2 * var(--gutter)); }
.fuss-spalten {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.fuss .marke { font-size: 15px; gap: 6px; color: var(--text); }
.fuss .marke img { width: 24px; height: 24px; margin-block: -3px; }
.fuss-leitsatz { margin-top: 10px; font-size: 13px; color: var(--text); }
.fuss-pilot { margin-top: 8px; max-width: 34em; }
.fuss h2 { margin-bottom: 10px; font-size: 12px; font-weight: 600; color: var(--text); letter-spacing: 0; }
.fuss ul { margin: 0; padding: 0; list-style: none; }
.fuss li + li { margin-top: 8px; }
.fuss a { color: var(--text-2); }
.fuss a:hover { color: var(--text); }
.fuss-unten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 18px;
}
.fuss-unten p { max-width: 60em; }
.fuss-unten span + span::before { content: "·"; margin: 0 8px; }

/* ---------- Ansichten anpassen ---------- */
@media (max-width: 1068px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kachel-gross { grid-column: span 2; grid-row: auto; }
  .vierer, .ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 833px) {
  .zweispaltig { grid-template-columns: minmax(0, 1fr); }
  .zweispaltig-umgekehrt > :first-child { order: 0; }
  .trio { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .preiskarten { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .breitkarte { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .breitkarte .preis { text-align: left; }
  .collage { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .collage > :nth-child(1), .collage > :nth-child(3) { display: none; }
  .fuss-spalten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss-spalten > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 734px) {
  .leiste-innen { height: 48px; }
  .leiste-titel { font-size: 18px; }
  html:has(.leiste) { scroll-padding-top: calc(var(--nav-h) + 48px + 12px); }
  .zahlen { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .zahlen li { padding: 28px 0; }
  .zahlen li + li { border-left: 0; border-top: 1px solid var(--hairline); }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .kachel-gross { grid-column: auto; }
  .vierer, .ablauf { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .punkte li { font-size: 17px; }
  .frage-antwort { padding-right: 0; }
  .fuss-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss-unten { flex-direction: column; }
  .breitkarte .preis { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .erzaehlung-schritt, .erzaehlung-bild { transition: none !important; }
}

/* ---------- Ergänzungen für Tafeln ---------- */
figure { margin: 0; }
.geraet { margin: 0 auto; }
.tafel-ort { display: inline-flex; align-items: center; gap: 0.5em; }
.tafel-ort svg { width: 1.75em; height: 1.75em; margin-block: -0.3em; }
.app-kennzahlen.drei { grid-template-columns: repeat(3, 1fr); }
.app-kennzahlen.zahl-oben > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.app-kennzahlen.zahl-oben dt { margin-top: 0.15em; line-height: 1.3; }
.ocker-text { color: var(--a-ocker-text); font-weight: 600; }
.leise-titel { font-size: 1em; color: var(--a-text-2); margin-bottom: 0.15em; }
.tafel-liste-gross { font-size: 0.82em; }
.tafel-flach .tafel-rumpf { padding: 0.4em 1.1em; }
.kachel .tafel-flach .tafel-innen { font-size: calc(100cqw / 22); }
.band-klein .band-punkt { width: 0.72em; height: 0.72em; margin: -0.36em 0 0 -0.36em; box-shadow: 0 0 0 0.12em #fff; }
.band-klein .band-punkt.offen { box-shadow: 0 0 0 0.12em #fff, 0 0 0 0.26em var(--a-ocker); }
.band-klein .band-punkt.begruendet { box-shadow: 0 0 0 0.12em #fff, 0 0 0 0.26em var(--a-mint); }
.band-klein .band-punkt b { top: -2.1em; }
.band-klein .band-punkt.unten b { top: 1.9em; }
.tafel-fuss .tafel-hinweis { flex: 1; }
.tafel-fuss .knoepfe { flex-wrap: nowrap; flex: none; }

/* ---------- Ergänzungen Unterseiten ---------- */
.abstand-oben { margin-top: 18px; }
.zweispaltig .einleitung { max-width: 32em; }
.trio-karten > div {
  padding: 30px 28px 32px;
  border-radius: var(--radius-l);
  background: var(--card);
}
.abschnitt:not(.abschnitt-hell) .trio-karten > div { background: var(--bg-alt); }
.haken-liste {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 19px;
  color: var(--text);
}
.haken-liste li { display: flex; align-items: center; gap: 12px; }
.haken-liste .haken { flex: none; color: var(--link); }

/* App: zwei Karten nebeneinander */
.app-zweispaltig { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0.9em; min-height: 0; }
.app-karte { border: 1px solid var(--a-line); border-radius: 0.8em; padding: 0.75em 1em 0.5em; min-width: 0; }
.app-karte-titel { display: flex; justify-content: space-between; font-size: 0.75em; font-weight: 600; margin-bottom: 0.2em; }
.app-karte-titel span { font-weight: 400; color: var(--a-text-2); }
.app-karte .tafel-liste { font-size: 0.72em; }
.app-karte .tafel-liste li { padding: 0.5em 0; }

/* Zwei Wege */
.zwei-wege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.zwei-wege > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(28px, 3vw, 44px);
  border-radius: var(--radius-l);
  background: var(--bg-alt);
}
.abschnitt-hell .zwei-wege > div { background: var(--card); }
.zwei-wege h3 { font-size: clamp(24px, 0.8vw + 18px, 30px); letter-spacing: -0.018em; line-height: 1.15; }
.zwei-wege p { font-size: 17px; color: var(--text-2); }
.zwei-wege .knopf, .zwei-wege .mehr { margin-top: auto; }

@media (max-width: 833px) {
  .zwei-wege { grid-template-columns: minmax(0, 1fr); }
  .haken-liste { font-size: 17px; }
}
.zweispaltig-oben { align-items: start; }
.funktion.abschnitt-hell { background: var(--bg-alt); }
.funktion.abschnitt-hell + .funktion, .funktion + .funktion.abschnitt-hell { border-top: 0; }

/* ---------- Preise und Fragen ---------- */
.preiskarte-name { margin-top: 6px; font-size: 28px; letter-spacing: -0.02em; }
.preiskarte-zusatz { margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--text); }
.preiskarte-zusatz + ul { margin-top: 10px; }
.preiskarten-voll .preiskarte { text-align: left; }
.preiskarten-voll .preiskarte-groesse { font-size: 15px; }
.breitkarte-titel { font-size: clamp(24px, 0.8vw + 18px, 32px); letter-spacing: -0.02em; }
.seitenkopf-schmal { padding-bottom: clamp(32px, 4vw, 56px); }
.abschnitt-oben-knapp { padding-top: clamp(24px, 3vw, 40px); }
.fragen-gruppe > .titel-klein { max-width: 860px; margin: 0 auto 20px; }
.quellen-hinweis { max-width: 860px; margin-inline: auto; }
.frage-antwort a { text-decoration: underline; text-underline-offset: 0.18em; }
.breitkarte { text-align: left; }
.breitkarte .preis { font-size: clamp(44px, 2vw + 28px, 56px); color: var(--text); }
.breitkarte .preis small { font-size: 15px; color: var(--text-2); }
/* Tabelle auf schmalen Bildschirmen: erste Spalte bleibt stehen */
.abschnitt-hell .vergleichstabelle { --tabelle-bg: var(--bg-alt); }
@media (max-width: 734px) {
  .vergleichstabelle { min-width: 560px; font-size: 15px; }
  .vergleichstabelle th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    width: 44%;
    background: var(--tabelle-bg, var(--bg));
    box-shadow: 1px 0 0 var(--hairline);
  }
  .vergleichstabelle thead th { font-size: 17px; }
}

/* =====================================================================
   Programmfenster wie im echten Programm (13.10.2026)
   ===================================================================== */
.app-fensterknoepfe { display: inline-flex; gap: 0.5em; margin-right: 0.4em; }
.app-fensterknoepfe i { width: 0.78em; height: 0.78em; border-radius: 50%; background: #D7D7DC; }
.app-suche {
  display: inline-flex; align-items: center; gap: 0.55em;
  min-width: 13em; padding: 0.3em 0.75em;
  border-radius: 0.55em; background: #F2F2F5; color: var(--a-text-2);
}
.app-suche svg { width: 0.85em; height: 0.85em; flex: none; }
.app-suche kbd { margin-left: auto; font: inherit; font-size: 0.85em; color: var(--a-text-2); }
.app-namen { display: inline-flex; align-items: center; gap: 0.55em; color: var(--a-text-2); }
.app-schalter {
  position: relative; display: inline-block; width: 2.1em; height: 1.2em;
  border-radius: 1em; background: #E3E3E8;
}
.app-schalter::after {
  content: ""; position: absolute; left: 0.12em; top: 0.12em;
  width: 0.96em; height: 0.96em; border-radius: 50%; background: #fff;
  box-shadow: 0 0.05em 0.15em rgba(0, 0, 0, 0.2);
}
.app-zurueck { padding: 0 0.75em 0.9em; color: var(--a-ind); font-weight: 500; }
.app-fusszeile { margin-top: 0.2em; font-size: 0.6875em; color: var(--a-text-2); }
.app-link { font-style: normal; color: var(--a-ind); margin-left: 0.3em; }
.app-kennzahlen.sechs { grid-template-columns: repeat(6, 1fr); }
.app-kennzahlen.sechs dd { font-size: 1.05em; }
.app-bandzeile { display: flex; align-items: center; gap: 0.7em; font-size: 0.75em; color: var(--a-text-2); }
.app-bandzeile .app-knopf { font-size: 0.95em; }
.app-tabelle tr.gewaehlt td { background: var(--a-ind-soft); }
.app-tabelle tr.gewaehlt td:first-child { border-radius: 0.5em 0 0 0.5em; padding-left: 0.6em; }
.app-tabelle tr.gewaehlt td:last-child { border-radius: 0 0.5em 0.5em 0; }

.app-rumpf.mit-spalte { grid-template-columns: 12.5em minmax(0, 1fr) 17em; }
.app-spalte {
  display: flex; flex-direction: column; gap: 0.8em;
  padding: 1.4em 1em 1.2em;
  border-left: 1px solid var(--a-line);
  min-width: 0;
}
.app-spalte .app-karte { padding: 0.85em 0.95em 0.75em; }
.app-detail { display: flex; flex-direction: column; gap: 0.55em; }
.app-detail-titel { font-size: 0.95em; font-weight: 600; letter-spacing: -0.012em; }
.app-detail-unter { margin-top: -0.4em; font-size: 0.72em; color: var(--a-text-2); }
.app-minizahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35em; margin: 0; }
.app-minizahlen div { padding: 0.45em 0.55em; border-radius: 0.5em; background: var(--a-bg-2); }
.app-minizahlen dt { font-size: 0.6em; color: var(--a-text-2); }
.app-minizahlen dd { margin: 0.05em 0 0; font-size: 0.82em; font-weight: 600; }
.app-minizahlen .ocker { color: var(--a-ocker-text); }
.app-detail .tafel-liste { font-size: 0.66em; }
.app-detail .tafel-liste li { padding: 0.45em 0; }
.app-detail .app-knopf { align-self: flex-start; font-size: 0.7em; }
.app-fristen li { align-items: flex-start; }
.app-fristen small { display: block; margin-top: 0.1em; font-size: 0.92em; color: var(--a-text-2); }
.app-stapel { display: flex; flex-direction: column; gap: 0.9em; min-width: 0; }
.rechts-zusammen { display: inline-flex; align-items: center; gap: 0.6em; flex: none; }
.pfeil-rechts { font-style: normal; color: var(--a-text-2); }
.gruppen-eng { gap: 0.55em; margin-top: 0.4em; }
.gruppen-eng .gruppe-kopf { font-size: 0.6em; margin-bottom: 0.2em; }
.gruppen-eng .gruppe-feld { height: 1.25em; }

/* Download */
.download-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; margin-inline: auto; }
.download-karte { text-align: left; }
.download-symbol svg { width: 40px; height: 40px; color: var(--text); margin-bottom: 18px; }
.download-stand {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin-top: 16px; padding: 5px 12px 5px 10px;
  border-radius: 980px; background: var(--bg-alt);
  font-size: 14px; font-weight: 500; color: var(--text);
}
.punkt-info { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.knopf-gesperrt, .knopf-gesperrt:hover {
  background: transparent; color: var(--text-2); border-color: var(--line); cursor: default;
}
.knopf-gesperrt:active { transform: none; }
.hero-dachzeile { margin-bottom: 14px; font-size: clamp(17px, 0.4vw + 15px, 21px); }
.fehlerseite h1 { margin-top: 6px; }
.fehlerseite .knopfreihe { margin-top: 28px; }

@media (max-width: 833px) {
  .download-karten { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
.app-spalte .app-karte-titel { flex-direction: column; gap: 0.1em; }
.app-spalte .app-fristen li { flex-direction: column; align-items: flex-start; gap: 0.35em; }
