/*
  Profitabilitätsrechner MarModify Dental (18.11.2026).
  Stil des neuen Dental-Dashboards (dental-dashboard-neu/src/index.css, 16.11.2026): Türkis Hue 195,
  Tinte mit demselben Farbton, Schrift Geist, dunkle Leiste als Rahmen, weiße Arbeitsfläche,
  ein dunkler Anker je Seite. Alle Klassen tragen die Vorsilbe pr-, damit nichts seitenweit greift.
  Aufbau mobil zuerst: bis 899 px mittig (Handy-Regel), ab 1024 px Leiste plus eingesetzte Fläche.
*/

@font-face {
  font-family: "Geist Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/schrift/geist-latin.woff2") format("woff2-variations"), url("/schrift/geist-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --tq: oklch(0.78 0.12 195);
  --tq-bright: oklch(0.85 0.13 192);
  --tq-mid: oklch(0.62 0.13 195);
  --tq-deep: oklch(0.5 0.11 195);
  --tq-soft: oklch(0.955 0.035 195);
  --tq-wash: oklch(0.978 0.016 195);

  --ink-950: oklch(0.15 0.025 225);
  --ink-900: oklch(0.2 0.022 215);
  --ink-800: oklch(0.27 0.02 210);
  --ink-700: oklch(0.35 0.018 207);
  --ink-600: oklch(0.42 0.016 205);
  --ink-500: oklch(0.49 0.014 205);
  --ink-400: oklch(0.6 0.012 205);
  --ink-300: oklch(0.76 0.01 205);
  --ink-200: oklch(0.905 0.007 205);
  --ink-100: oklch(0.95 0.005 205);
  --mist: oklch(0.975 0.006 205);
  --linie: oklch(0.928 0.006 205);

  --bad-ink: oklch(0.5 0.18 27);
  --warm: oklch(0.8 0.12 45);

  /* Rahmen = Leiste des Dashboards */
  --rahmen: oklch(0.205 0.026 213);
  --rahmen-hell: oklch(0.27 0.026 213);
  --rahmen-linie: oklch(0.3 0.022 213);
  --rahmen-text: oklch(0.9 0.01 205);
  --rahmen-leise: oklch(0.68 0.018 210);

  /* Text auf dem dunklen Anker */
  --hell: oklch(0.97 0.006 195);
  --hell-2: oklch(0.97 0.006 195 / 0.74);
  --hell-3: oklch(0.97 0.006 195 / 0.58);
  --glas: oklch(1 0 0 / 0.06);
  --glas-linie: oklch(1 0 0 / 0.1);

  --schatten-karte: 0 1px 2px oklch(0.2 0.03 220 / 0.04), 0 4px 14px -6px oklch(0.2 0.03 220 / 0.08);
  --schatten-hebt: 0 1px 2px oklch(0.2 0.03 220 / 0.05), 0 14px 32px -14px oklch(0.2 0.03 220 / 0.22);
  --schatten-schwebt: 0 2px 6px oklch(0.2 0.03 220 / 0.06), 0 28px 60px -20px oklch(0.2 0.03 220 / 0.32);
  --kurve: cubic-bezier(0.23, 1, 0.32, 1);
  --schrift: "Geist Variable", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-900);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" on, "cv11" on;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
::selection { background: oklch(0.85 0.13 192 / 0.45); }
:focus-visible { outline: 2px solid var(--tq-mid); outline-offset: 2px; }

.pr-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.pr-i {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.pr-kurz { display: none; }
@media (max-width: 599px) {
  .pr-lang { display: none; }
  .pr-kurz { display: inline; }
}

/* ------------------------------------------------------------ Rahmen: Leiste links, eingesetzte Fläche */

.pr-app { min-height: 100vh; }
.pr-leiste { display: none; }
.pr-flaeche { position: relative; min-width: 0; background: #fff; }

@media (min-width: 1024px) {
  body { background: var(--rahmen); }
  .pr-app { display: grid; grid-template-columns: 252px minmax(0, 1fr); align-items: start; }
  .pr-leiste {
    position: sticky; top: 0;
    display: flex; flex-direction: column;
    height: 100vh; height: 100dvh;
    padding: 26px 14px 14px;
    color: var(--rahmen-text);
    overflow-y: auto; scrollbar-width: none;
  }
  .pr-flaeche { margin: 8px 8px 8px 0; border-radius: 28px; min-height: calc(100vh - 16px); }
}

.pr-leiste-logo { display: inline-flex; align-self: flex-start; padding: 2px 12px 0; border-radius: 8px; }
.pr-leiste-logo img { height: 26px; width: auto; }
.pr-leiste-nav { margin-top: 10px; }
.pr-leiste-gruppe { margin: 24px 14px 8px; font-size: 12px; font-weight: 560; letter-spacing: 0.01em; color: var(--rahmen-leise); }
.pr-leiste-arten { display: grid; gap: 2px; }
.pr-leiste-punkt {
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 42px; padding: 0 14px;
  border: 0; border-radius: 999px; background: transparent;
  color: var(--rahmen-text); font-size: 15px; font-weight: 500; line-height: 1.2;
  text-align: left; text-decoration: none;
  transition: background-color 160ms var(--kurve), color 160ms var(--kurve), transform 160ms var(--kurve), box-shadow 160ms var(--kurve);
}
.pr-leiste-punkt .pr-i { color: var(--rahmen-leise); transition: color 160ms var(--kurve); }
.pr-leiste-punkt:hover { background: var(--rahmen-hell); color: #fff; }
.pr-leiste-punkt:hover .pr-i { color: #fff; }
.pr-leiste-punkt:active { transform: scale(0.98); }
.pr-leiste-punkt.pr-art-knopf[aria-pressed="true"] { background: #fff; color: var(--ink-900); box-shadow: var(--schatten-karte); }
.pr-leiste-punkt.pr-art-knopf[aria-pressed="true"] .pr-i { color: var(--tq-deep); }
.pr-sprung + .pr-sprung { margin-top: 2px; }
.pr-sprung[aria-current="true"] { background: var(--rahmen-hell); color: #fff; }
.pr-sprung[aria-current="true"] .pr-i { color: var(--tq-bright); }

.pr-leiste-kontakt {
  margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 12px; border-radius: 18px;
  background: var(--rahmen-hell); border: 1px solid var(--rahmen-linie);
  color: #fff; text-decoration: none;
  transition: transform 200ms var(--kurve), background-color 200ms var(--kurve);
}
.pr-leiste-kontakt:hover { background: oklch(0.3 0.03 213); transform: translateY(-1px); }
.pr-leiste-kontakt-zeichen { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; background: var(--tq-soft); }
.pr-leiste-kontakt-zeichen img { width: 20px; height: 20px; }
.pr-leiste-kontakt-text { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: 13px; line-height: 1.35; color: var(--rahmen-leise); }
.pr-leiste-kontakt-text b { font-size: 14px; font-weight: 600; color: #fff; }
.pr-leiste-kontakt .pr-i { width: 16px; height: 16px; color: var(--tq-bright); }

/* ------------------------------------------------------------ Kopfleiste */

.pr-kopfleiste { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; }
.pr-kopfleiste-logo { display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; }
.pr-kopfleiste-logo img { height: 24px; width: auto; }
.pr-kopfleiste-schutz { display: none; }
.pr-kopfleiste-aktionen { display: flex; align-items: center; gap: 8px; }
.pr-kopfleiste-aktionen .pr-aktion-link,
.pr-kopfleiste-aktionen .pr-aktion-druck { display: none; }

@media (min-width: 900px) {
  .pr-kopfleiste { padding: 16px 32px; }
  .pr-kopfleiste-logo img { height: 26px; }
  .pr-kopfleiste-aktionen .pr-aktion-link,
  .pr-kopfleiste-aktionen .pr-aktion-druck { display: inline-flex; }
}
@media (min-width: 1024px) {
  .pr-kopfleiste { padding: 14px 16px 14px 32px; }
  .pr-kopfleiste-logo { display: none; }
  .pr-kopfleiste-schutz { display: flex; align-items: center; gap: 8px; min-width: 0; margin: 0; font-size: 14px; color: var(--ink-500); }
  .pr-kopfleiste-schutz .pr-i { width: 16px; height: 16px; color: var(--tq-deep); }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .pr-kopfleiste-schutz span { display: none; }
}

/* Knöpfe wie im Dashboard: Pillen, dunkel mit türkisem Kreis */
.pr-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 14px; font-weight: 550; line-height: 1; white-space: nowrap; text-decoration: none;
  transition: transform 160ms var(--kurve), background-color 160ms var(--kurve), border-color 160ms var(--kurve), color 160ms var(--kurve);
}
.pr-knopf:active { transform: scale(0.97); }
.pr-knopf--hell { background: #fff; border-color: var(--ink-200); color: var(--ink-900); }
.pr-knopf--hell:hover { border-color: var(--ink-300); }
.pr-knopf--hell .pr-i { width: 16px; height: 16px; color: var(--ink-600); }
.pr-knopf--dunkel { gap: 10px; padding: 0 6px 0 18px; background: var(--ink-900); color: #fff; }
.pr-knopf--dunkel:hover { background: var(--ink-800); }
.pr-knopf-kreis { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 999px; background: var(--tq); color: var(--ink-950); transition: transform 200ms var(--kurve); }
.pr-knopf--dunkel:hover .pr-knopf-kreis { transform: translateX(2px); }
.pr-knopf-kreis .pr-i { width: 16px; height: 16px; stroke-width: 2; }
.pr-knopf--text { padding: 0 12px; background: transparent; color: var(--tq-deep); }
.pr-knopf--text:hover { background: var(--tq-wash); }
.pr-knopf--text .pr-i { width: 16px; height: 16px; }

/* ------------------------------------------------------------ Seitenkopf */

.pr-kopf { padding: 2px 16px 0; text-align: center; }
.pr-kicker { display: none; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; font-weight: 520; color: var(--ink-500); }
.pr-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--tq); box-shadow: 0 0 0 3px oklch(0.78 0.12 195 / 0.18); }
.pr-titel {
  margin: 0;
  font-size: clamp(1.375rem, 0.62rem + 3.4vw, 3.375rem);
  line-height: 1.06; letter-spacing: -0.036em; font-weight: 680;
  color: var(--ink-900); text-wrap: balance;
}
.pr-lead { display: none; margin: 12px auto 0; max-width: 60ch; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-600); text-wrap: pretty; }
.pr-lead b { font-weight: 600; color: var(--tq-deep); }
@media (min-width: 600px) {
  .pr-kicker { display: inline-flex; }
  .pr-lead { display: block; }
}
@media (min-width: 900px) {
  .pr-kopf { padding: 8px 32px 0; text-align: left; }
  .pr-titel { font-size: clamp(2.125rem, 1.45rem + 2.1vw, 3.375rem); line-height: 1.02; letter-spacing: -0.038em; }
  .pr-lead { margin-left: 0; }
}

/* Behandlung am Handy und Tablet: Segmente wie die Umschalter im Dashboard */
.pr-arten {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px;
  margin: 10px 16px 0; padding: 4px;
  border-radius: 999px; background: var(--ink-100);
}
.pr-arten-knopf {
  min-height: 44px; min-width: 0; padding: 0 2px;
  border: 0; border-radius: 999px; background: transparent;
  color: var(--ink-600); font-size: 14px; font-weight: 560; letter-spacing: -0.01em;
  transition: background-color 180ms var(--kurve), color 180ms var(--kurve), box-shadow 180ms var(--kurve), transform 160ms var(--kurve);
}
.pr-arten-knopf:hover { color: var(--ink-900); }
.pr-arten-knopf:active { transform: scale(0.97); }
.pr-arten-knopf[aria-pressed="true"] { background: #fff; color: var(--ink-900); box-shadow: var(--schatten-karte); }
@media (min-width: 600px) { .pr-arten { width: min(100% - 32px, 560px); margin: 20px auto 0; } }
@media (min-width: 900px) { .pr-arten { margin: 22px 32px 0; } }
@media (min-width: 1024px) { .pr-arten { display: none; } }

/* ------------------------------------------------------------ Ergebnis: dunkler Anker */

.pr-anker {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px;
  margin: 12px 16px 0; padding: 16px 14px 0;
  border-radius: 28px;
  color: var(--hell); text-align: center;
  background:
    radial-gradient(120% 140% at 100% 0%, oklch(0.78 0.12 195 / 0.24), transparent 55%),
    radial-gradient(80% 120% at 0% 100%, oklch(0.62 0.13 195 / 0.16), transparent 60%),
    linear-gradient(160deg, oklch(0.235 0.045 240), oklch(0.165 0.03 225));
  box-shadow: var(--schatten-schwebt);
  scroll-margin-top: 16px;
  transition: box-shadow 400ms var(--kurve);
}
/* feines Korn wie im Dashboard-Anker */
.pr-anker::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; pointer-events: none;
  opacity: 0.09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.pr-anker.ist-netz {
  box-shadow: 0 0 0 1px oklch(0.85 0.13 192 / 0.45), 0 0 56px -10px oklch(0.78 0.12 195 / 0.5), var(--schatten-schwebt);
}

.pr-anker-haupt { position: relative; min-width: 0; }
.pr-anker-wort { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 520; color: var(--tq-bright); }
.pr-anker-wort::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 999px; background: var(--tq-bright); box-shadow: 0 0 0 3px oklch(0.85 0.13 192 / 0.2); }
.pr-anker-zahl {
  margin: 8px 0 0;
  font-size: clamp(2.625rem, 1.4rem + 4.4vw, 4.75rem);
  line-height: 1; font-weight: 680; letter-spacing: -0.045em;
  color: #fff; font-variant-numeric: tabular-nums;
  transition: color 300ms var(--kurve);
}
.pr-anker.ist-netz .pr-anker-zahl { color: var(--tq-bright); }
.pr-anker-zahl.ist-minus { color: var(--warm); }
.pr-vergleich { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; margin: 10px 0 0; font-size: 14px; }
.pr-vergleich.ist-aus { visibility: hidden; }
.pr-vorher { color: var(--hell-3); }
.pr-vorher s,
.pr-kz-vorher s { text-decoration-thickness: 1.5px; text-decoration-color: oklch(0.97 0.006 195 / 0.5); font-variant-numeric: tabular-nums; }
.pr-plus {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px;
  border-radius: 999px; background: oklch(0.85 0.13 192 / 0.16);
  box-shadow: inset 0 0 0 1px oklch(0.85 0.13 192 / 0.38);
  color: var(--tq-bright); font-size: 14px; font-weight: 650; line-height: 1;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pr-anker-sub { margin: 8px auto 0; max-width: 54ch; font-size: 14px; line-height: 1.45; color: var(--hell-2); text-wrap: pretty; }
.pr-anker-hinweis { display: none; }
@media (max-width: 599px) {
  /* Am Handy tauscht der Vergleich die Unterzeile, beide genau eine Zeile hoch: beim Umschalten rutscht nichts */
  .pr-anker.ist-netz .pr-anker-sub,
  .pr-vergleich.ist-aus { display: none; }
  .pr-anker-sub,
  .pr-vergleich { min-height: 26px; margin-top: 8px; }
  .pr-anker-sub { line-height: 26px; }
  .pr-vergleich { flex-wrap: nowrap; }
}

/* Labornetzwerk: Glasfläche direkt neben der Zahl */
.pr-netz,
.pr-verlauf {
  min-width: 0; text-align: left;
  border-radius: 22px; padding: 10px 12px 12px;
  background: var(--glas); box-shadow: inset 0 0 0 1px var(--glas-linie);
  transition: background-color 300ms var(--kurve), box-shadow 300ms var(--kurve);
}
.pr-anker.ist-netz .pr-netz { background: oklch(0.85 0.13 192 / 0.1); box-shadow: inset 0 0 0 1px oklch(0.85 0.13 192 / 0.36); }
.pr-netz-kopf { display: flex; align-items: center; gap: 10px; }
.pr-netz-zeichen { display: none; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 12px; background: oklch(1 0 0 / 0.08); color: var(--tq-bright); }
.pr-netz-titelblock { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.pr-netz-titel { font-size: 15px; font-weight: 600; line-height: 1.25; color: #fff; cursor: pointer; }
.pr-netz-marke { margin-top: 2px; font-size: 14px; line-height: 1.3; color: var(--hell-3); }
.pr-schalter {
  position: relative; flex: none;
  width: 60px; height: 44px; margin: 0 -4px 0 0; padding: 0;
  border: 0; border-radius: 999px; background: transparent;
}
.pr-schalter::before {
  content: ""; position: absolute; left: 4px; right: 4px; top: 7px; bottom: 7px;
  border-radius: 999px; background: oklch(1 0 0 / 0.2);
  transition: background-color 220ms var(--kurve);
}
.pr-schalter::after {
  content: ""; position: absolute; top: 10px; left: 7px;
  width: 24px; height: 24px; border-radius: 999px;
  background: #fff; box-shadow: 0 1px 3px oklch(0 0 0 / 0.35);
  transition: transform 240ms var(--kurve);
}
.pr-schalter[aria-checked="true"]::before { background: var(--tq); }
.pr-schalter[aria-checked="true"]::after { transform: translateX(22px); }
.pr-schalter:hover:not(:disabled)::before { background: oklch(1 0 0 / 0.28); }
.pr-schalter[aria-checked="true"]:hover:not(:disabled)::before { background: var(--tq-bright); }
.pr-schalter:disabled { cursor: not-allowed; opacity: 0.45; }
.pr-schalter:focus-visible { outline: 2px solid var(--tq-bright); outline-offset: 0; }
.pr-netz-text { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--hell-2); text-wrap: pretty; }
.pr-netz-text .pr-kurz { white-space: pre-line; }
.pr-netz-unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; margin-top: 6px; }
.pr-netz-gewinn { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; margin: 0; }
.pr-netz-gewinn b { font-size: 1.25rem; line-height: 1.1; font-weight: 650; letter-spacing: -0.03em; color: var(--tq-bright); font-variant-numeric: tabular-nums; }
.pr-netz-gewinn > span { font-size: 14px; color: var(--hell-2); }
.pr-netz-link {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px; margin: -4px 0 -6px auto;
  color: var(--tq-bright); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.pr-netz-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pr-netz-link .pr-i { width: 15px; height: 15px; }

/* Ersatz für Behandlungen ohne Labornetzwerk: Stand je Monat als Säulen wie „Termine je Monat“ */
.pr-verlauf-titel { margin: 2px 0 0; font-size: 14px; color: var(--hell-2); }
.pr-verlauf-saeulen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; height: 132px; margin-top: 8px; }
.pr-saeule { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; height: 100%; }
.pr-saeule-wert { font-size: 14px; font-weight: 600; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-saeule-spur { display: flex; align-items: flex-end; justify-content: center; flex: 1; width: 100%; min-height: 0; }
.pr-saeule-balken { width: 100%; max-width: 44px; height: 4%; border-radius: 999px; background: oklch(1 0 0 / 0.22); transition: height 500ms var(--kurve); }
.pr-saeule-balken.ist-letzt { background: var(--tq); }
.pr-saeule-balken.ist-minus { background: oklch(0.8 0.12 45 / 0.7); }
.pr-saeule-monat { font-size: 14px; line-height: 1; color: var(--hell-3); }
.pr-verlauf-fuss { margin: 8px 0 0; font-size: 14px; color: var(--hell-3); }

/* Kennzahlen als ruhige Zeile im Fuß des Ankers */
.pr-anker-kennzahlen {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 -14px; border-top: 1px solid var(--glas-linie);
}
.pr-kz { position: relative; min-width: 0; padding: 9px 8px 10px; }
.pr-kz:nth-child(odd) { border-right: 1px solid var(--glas-linie); }
.pr-kz:nth-child(n + 3) { border-top: 1px solid var(--glas-linie); }
.pr-kz::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(80% 90% at 50% 45%, oklch(0.85 0.13 192 / 0.24), transparent 72%);
}
.pr-kz.ist-blitz::before { animation: pr-blitz 1200ms var(--kurve); }
.pr-kz-wort { margin: 0; font-size: 14px; line-height: 1.3; color: var(--hell-2); }
.pr-kz-wert {
  margin: 4px 0 0;
  font-size: 1.5rem; line-height: 1; font-weight: 640; letter-spacing: -0.035em;
  color: #fff; font-variant-numeric: tabular-nums;
  transition: color 300ms var(--kurve);
}
.pr-anker.ist-netz .pr-kz.ist-vgl .pr-kz-wert { color: var(--tq-bright); }
.pr-kz-zeile { display: block; min-height: 22px; margin: 3px 0 0; font-size: 14px; line-height: 22px; color: var(--hell-3); }
.pr-kz-vgl { display: none; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 4px 8px; vertical-align: top; }
.pr-kz-vgl .pr-plus { height: 22px; padding: 0 8px; }
.pr-kz.ist-vgl .pr-kz-sub { display: none; }
.pr-kz.ist-vgl .pr-kz-vgl { display: inline-flex; }
.pr-kz-vorher { color: var(--hell-3); }
.pr-kz-balken { display: none; height: 6px; margin-top: 12px; border-radius: 999px; background: oklch(1 0 0 / 0.12); overflow: hidden; }
.pr-kz-balken i { display: block; height: 100%; border-radius: inherit; background: var(--tq); clip-path: inset(0 100% 0 0 round 999px); transition: clip-path 500ms var(--kurve); }

/* Schmale Android-Geräte (360 px): Innenränder knapper, damit „Erfahrungswert, kein Versprechen“ einzeilig bleibt */
@media (max-width: 379px) {
  .pr-anker { padding-left: 10px; padding-right: 10px; }
  .pr-anker-kennzahlen { margin: 0 -10px; }
  .pr-netz, .pr-verlauf { padding-left: 10px; padding-right: 8px; }
  .pr-netz-kopf { gap: 6px; }
}

@media (min-width: 600px) {
  .pr-anker { gap: 14px; padding: 26px 24px 0; }
  .pr-anker-kennzahlen { margin: 4px -24px 0; }
  .pr-netz { padding: 14px 16px 12px; }
  .pr-netz-zeichen { display: grid; }
  .pr-netz-gewinn b { font-size: 1.5rem; }
  .pr-kz { padding: 16px 16px 18px; }
  .pr-kz-wert { margin-top: 6px; }
  .pr-kz-zeile { min-height: 44px; margin-top: 6px; }
}

@media (min-width: 900px) {
  .pr-anker {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: 24px 40px;
    margin: 24px 32px 0; padding: 30px 32px 0;
    text-align: left;
  }
  .pr-anker-wort,
  .pr-vergleich { justify-content: flex-start; }
  .pr-anker-sub { margin-left: 0; font-size: 15px; }
  .pr-anker-haupt { display: flex; flex-direction: column; align-items: flex-start; }
  .pr-anker-hinweis { display: block; margin: auto 0 0; padding-top: 14px; font-size: 14px; color: var(--hell-3); }
  .pr-kz-zeile { line-height: 1.4; text-wrap: balance; }
  .pr-kz-vgl { flex-wrap: wrap; }
  .pr-netz,
  .pr-verlauf { align-self: start; padding: 16px 18px 12px; }
  .pr-anker-kennzahlen { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 -32px; }
  /* Gemeinsame Zeilen für alle vier Zellen: bricht ein Name um, stehen die Werte trotzdem auf einer Linie */
  .pr-anker-kennzahlen { grid-template-rows: repeat(4, auto); }
  .pr-kz { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .pr-kz-wort { align-self: end; }
  .pr-kz { padding: 20px 24px 24px; border-right: 0 !important; border-top: 0 !important; border-left: 1px solid var(--glas-linie); }
  .pr-kz:first-child { border-left: 0; padding-left: 32px; }
  .pr-kz-wert { margin-top: 10px; font-size: clamp(1.75rem, 1rem + 1.25vw, 2.5rem); }
  .pr-kz-zeile { min-height: 40px; margin-top: 10px; }
  .pr-kz-vgl { justify-content: flex-start; }
  .pr-kz-balken { display: block; }
}

/* Niedrige Laptop-Fenster (1366 x 768 mit Browserleisten): Kopf und Anker dichter, damit Zahl, Schalter und
   alle vier Kennzahlen im ersten Fenster stehen (Vorgabe Marko) */
@media (min-width: 900px) and (max-height: 820px) {
  .pr-kopfleiste { padding-top: 10px; padding-bottom: 8px; }
  .pr-kopf { padding-top: 0; }
  .pr-kicker { margin-bottom: 4px; }
  .pr-titel { font-size: clamp(2rem, 1.2rem + 1.5vw, 2.625rem); }
  .pr-lead { margin-top: 6px; font-size: 1rem; max-width: none; }
  .pr-arten { margin-top: 14px; }
  .pr-anker { margin-top: 16px; padding-top: 20px; gap: 16px 36px; }
  .pr-anker-zahl { font-size: clamp(2.75rem, 1.4rem + 2.6vw, 4rem); }
  .pr-anker-sub { margin-top: 6px; }
  .pr-netz { padding-top: 12px; padding-bottom: 10px; }
  .pr-netz-text { margin-top: 4px; }
  .pr-kz { padding-top: 14px; padding-bottom: 16px; }
  .pr-kz-wert { margin-top: 8px; font-size: clamp(1.625rem, 1rem + 1vw, 2.125rem); }
  .pr-kz-zeile { margin-top: 6px; }
  .pr-kz-balken { margin-top: 8px; }
}

/* ------------------------------------------------------------ Ihre Zahlen */

.pr-zahlen { margin: 32px 16px 0; scroll-margin-top: 16px; }
.pr-zahlen-kopf { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 14px; text-align: center; }
.pr-zahlen-kopftext { min-width: 0; }
.pr-h2 { margin: 0; font-size: 1.375rem; line-height: 1.2; font-weight: 650; letter-spacing: -0.025em; color: var(--ink-900); }
.pr-zahlen-hinweis { margin: 6px auto 0; max-width: 72ch; font-size: 14px; line-height: 1.5; color: var(--ink-500); text-wrap: pretty; }
.pr-zahlen-schutz { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 14px; color: var(--ink-500); }
.pr-zahlen-schutz .pr-i { width: 15px; height: 15px; color: var(--tq-deep); }

/* Mini-Ergebnis läuft am Handy beim Tippen mit, damit man die Wirkung sieht. Nur in diesem Abschnitt, keine feste Leiste. */
.pr-mini {
  position: sticky; top: 10px; z-index: 6;
  display: flex; align-items: center; gap: 8px;
  width: fit-content; max-width: 100%; min-height: 40px;
  margin: 0 auto 12px; padding: 0 14px;
  border-radius: 999px; background: var(--ink-900); color: #fff;
  box-shadow: var(--schatten-hebt);
  font-size: 14px;
}
.pr-mini-wort { color: oklch(0.97 0.006 195 / 0.7); white-space: nowrap; }
.pr-mini b { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-mini-plus { color: var(--tq-bright); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }

.pr-zahlen-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pr-feld {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  min-width: 0; padding: 16px;
  border: 1px solid var(--linie); border-radius: 22px;
  background: #fff; box-shadow: var(--schatten-karte);
  text-align: center;
  transition: border-color 200ms var(--kurve), box-shadow 200ms var(--kurve), transform 200ms var(--kurve);
}
@media (hover: hover) and (pointer: fine) {
  .pr-feld:hover { transform: translateY(-1px); box-shadow: var(--schatten-hebt); border-color: oklch(0.88 0.02 200); }
}
.pr-feld:focus-within { border-color: var(--tq-mid); box-shadow: 0 0 0 4px oklch(0.78 0.12 195 / 0.18), var(--schatten-karte); }
.pr-feld-wort { display: block; margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink-900); }
.pr-feld-eingabe {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  width: 100%; margin-top: 12px; padding: 4px;
  border-radius: 999px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--ink-100);
}
.pr-feld-schritt {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 999px; background: #fff; color: var(--ink-600);
  box-shadow: var(--schatten-karte);
  transition: transform 160ms var(--kurve), color 160ms var(--kurve);
}
.pr-feld-schritt:hover { color: var(--tq-deep); }
.pr-feld-schritt:active { transform: scale(0.92); }
.pr-feld-schritt .pr-i { width: 16px; height: 16px; stroke-width: 2.2; }
.pr-feld-wert { display: flex; flex: 1; align-items: baseline; justify-content: center; gap: 5px; min-width: 0; cursor: text; }
.pr-feld-wert input {
  width: 5ch; min-width: 44px; max-width: 100%; height: 44px; padding: 0;
  border: 0; outline: 0; background: transparent;
  text-align: right; font-size: 1.5rem; line-height: 1.6; font-weight: 640; letter-spacing: -0.03em;
  color: var(--ink-900); font-variant-numeric: tabular-nums;
}
.pr-feld-einheit { font-size: 15px; font-weight: 550; color: var(--ink-400); }
.pr-feld-hilfe { margin: 10px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-500); text-wrap: pretty; }
.pr-feld-info { margin: 8px 0 0; font-size: 14px; font-weight: 560; line-height: 1.4; color: var(--tq-deep); }
.pr-feld--fest { background: var(--tq-wash); border-color: oklch(0.91 0.03 195); box-shadow: none; }
.pr-feld-festwert {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 52px; margin: 12px 0 0;
  font-size: 1.5rem; font-weight: 640; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.pr-feld-festwert small { font-size: 15px; font-weight: 550; letter-spacing: 0; color: var(--ink-500); }

.pr-regler {
  --fuellung: 50%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 44px; margin: 4px 0 0; padding: 0;
  background: transparent; cursor: pointer;
}
.pr-regler::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--tq-mid) 0 var(--fuellung), var(--ink-200) var(--fuellung) 100%); }
.pr-regler::-moz-range-track { height: 6px; border-radius: 999px; background: var(--ink-200); }
.pr-regler::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--tq-mid); }
.pr-regler::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; margin-top: -10px; border: 0; border-radius: 999px;
  background: #fff; box-shadow: 0 0 0 1px var(--ink-200), 0 2px 8px oklch(0.2 0.03 220 / 0.25);
  transition: transform 160ms var(--kurve);
}
.pr-regler::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--ink-200), 0 2px 8px oklch(0.2 0.03 220 / 0.25); }
.pr-regler:active::-webkit-slider-thumb { transform: scale(1.12); }
.pr-regler:focus-visible { outline: none; }
.pr-regler:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px oklch(0.78 0.12 195 / 0.35), 0 2px 8px oklch(0.2 0.03 220 / 0.25); }
.pr-regler:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px oklch(0.78 0.12 195 / 0.35); }

@media (min-width: 480px) {
  .pr-zahlen-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-feld--breit { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .pr-zahlen { margin: 32px 32px 0; }
  .pr-zahlen-kopf { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 16px; text-align: left; }
  .pr-zahlen-hinweis { margin-left: 0; }
  .pr-mini { display: none; }
  .pr-zahlen-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pr-feld { align-items: stretch; text-align: left; padding: 16px 16px 14px; }
  .pr-feld-eingabe { margin-top: 10px; }
  .pr-feld-schritt { width: 38px; height: 38px; }
  .pr-feld-hilfe { margin-top: 8px; }
  .pr-feld-festwert { justify-content: flex-start; min-height: 46px; margin-top: 10px; }
}
@media (min-width: 1024px) {
  .pr-zahlen-schutz { display: none; }
}
@media (min-width: 1280px) {
  .pr-zahlen-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pr-feld--breit { grid-column: span 2; }
}

/* ------------------------------------------------------------ Auswertung */

.pr-details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 32px 16px 0; }
/* 900 bis 1279: Geldfluss neben 12 Monate, Tabelle über die ganze Breite, Konditionen neben Wichtig */
@media (min-width: 900px) {
  .pr-details { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; margin: 32px 32px 0; }
  .pr-karte--monate { grid-column: 1 / -1; }
}
@media (min-width: 1280px) {
  .pr-details { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pr-karte--geldfluss,
  .pr-karte--jahr { grid-column: span 5; }
  .pr-karte--monate,
  .pr-karte--konditionen { grid-column: span 7; }
  .pr-karte--wichtig { grid-column: 1 / -1; }
  .pr-karte--wichtig .pr-karte-inhalt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 0 48px; }
  .pr-wichtig-texte { max-width: 78ch; }
  .pr-karte--wichtig .pr-aktionen { flex-direction: column; align-items: stretch; margin-top: 0; }
}

.pr-karte {
  display: flex; flex-direction: column; min-width: 0;
  border: 1px solid var(--linie); border-radius: 22px;
  background: #fff; box-shadow: var(--schatten-karte);
  scroll-margin-top: 16px;
  transition: transform 200ms var(--kurve), box-shadow 200ms var(--kurve), border-color 200ms var(--kurve);
}
@media (hover: hover) and (pointer: fine) {
  .pr-karte:hover { transform: translateY(-1px); box-shadow: var(--schatten-hebt); border-color: oklch(0.88 0.02 200); }
}
.pr-karte-kopf {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 12px;
  min-height: 56px; padding: 12px 20px;
  border-bottom: 1px solid var(--linie); text-align: center;
}
.pr-karte-titel { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 620; letter-spacing: -0.012em; line-height: 1.3; color: var(--ink-900); }
.pr-karte-titel .pr-i { color: var(--tq-deep); }
.pr-karte-zusatz { font-size: 14px; color: var(--ink-400); }
.pr-karte-inhalt { flex: 1; min-width: 0; padding: 18px 20px 20px; }
@media (min-width: 900px) { .pr-karte-kopf { justify-content: space-between; text-align: left; } }
.pr-notiz { margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--mist); font-size: 14px; line-height: 1.5; color: var(--ink-600); text-wrap: pretty; }

/* Geldfluss als Wasserfall */
.pr-fluss { display: grid; gap: 12px; }
.pr-fluss-zeile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.pr-fluss-wort { min-width: 0; font-size: 14px; font-weight: 560; line-height: 1.3; color: var(--ink-800); }
.pr-fluss-wort small { display: block; margin-top: 1px; font-size: 14px; font-weight: 400; color: var(--ink-400); }
.pr-fluss-spur { position: relative; height: 32px; border-radius: 9px; background: var(--ink-100); overflow: hidden; }
.pr-fluss-balken { position: absolute; inset: 0; clip-path: inset(0 100% 0 0 round 9px); transition: clip-path 520ms var(--kurve); }
.pr-fluss-balken--plus { background: var(--tq); }
.pr-fluss-balken--minus { background: oklch(0.82 0.014 205); }
.pr-fluss-balken--ende { background: var(--tq-deep); }
.pr-fluss-betrag { position: absolute; top: 50%; transform: translateY(-50%); padding: 0 9px; font-size: 14px; font-weight: 650; line-height: 1; color: var(--ink-900); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pr-fluss-betrag.ist-hell { color: #fff; }
.pr-fluss-zeile--ende .pr-fluss-wort { color: var(--ink-900); font-weight: 650; }
@media (min-width: 600px) {
  .pr-fluss-zeile { grid-template-columns: minmax(140px, 36%) minmax(0, 1fr); align-items: center; gap: 14px; }
}

/* Tabelle Monat für Monat */
.pr-tabelle-rahmen { overflow-x: auto; margin: 0 -20px; padding: 0 20px; scrollbar-width: thin; }
.pr-tabelle { width: 100%; min-width: 470px; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.pr-tabelle th,
.pr-tabelle td { padding: 10px 8px; border-bottom: 1px solid var(--ink-100); text-align: right; white-space: nowrap; }
.pr-tabelle th:first-child,
.pr-tabelle td:first-child { position: sticky; left: 0; z-index: 1; padding-left: 0; background: #fff; text-align: left; white-space: normal; }
.pr-tabelle thead th { font-weight: 560; color: var(--ink-500); }
.pr-tabelle tbody th { font-weight: 400; color: var(--ink-700); }
.pr-tabelle .ist-summe :is(th, td) { border-top: 1px solid var(--ink-200); font-weight: 650; color: var(--ink-900); }
.pr-tabelle .ist-kumuliert :is(th, td) { border-bottom: 0; color: var(--ink-600); }
.pr-tabelle .ist-kumuliert td:nth-last-child(2) { color: var(--tq-deep); font-weight: 650; }
.pr-tabelle .ist-minus { color: var(--bad-ink) !important; }
.pr-tabelle .pr-tab-wortzeile { display: none; }
@media (max-width: 599px) {
  .pr-tabelle-rahmen { overflow: visible; margin: 0; padding: 0; }
  .pr-tabelle { min-width: 0; table-layout: fixed; }
  .pr-tabelle .pr-tab-wortspalte,
  .pr-tabelle tbody th { display: none; }
  .pr-tabelle .pr-tab-wortzeile { display: table-row; }
  .pr-tabelle th,
  .pr-tabelle td { padding: 4px 0 10px 4px; }
  .pr-tabelle thead th { padding: 6px 0 8px 4px; }
  .pr-tabelle .pr-tab-wortzeile td { position: static; padding: 10px 0 0; border-bottom: 0; background: none; text-align: left; color: var(--ink-500); }
  .pr-tabelle .ist-summe td { border-top: 0; }
  .pr-tabelle .pr-tab-wortzeile.ist-summe td { border-top: 1px solid var(--ink-200); color: var(--ink-900); }
  .pr-tab-eur { display: none; }
}

/* 12 Monate */
.pr-karte--jahr .pr-karte-inhalt { container-type: inline-size; }
.pr-jahr-zahlen { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@container (min-width: 520px) { .pr-jahr-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pr-jahr-zahl { min-width: 0; padding: 14px; border-radius: 16px; background: var(--mist); text-align: center; }
.pr-jahr-wort { margin: 0; font-size: 14px; line-height: 1.3; color: var(--ink-500); }
.pr-jahr-wert { margin: 8px 0 0; font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); line-height: 1.05; font-weight: 650; letter-spacing: -0.035em; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.pr-jahr-wert--akzent { color: var(--tq-deep); }
.pr-jahr-wert.ist-minus { color: var(--bad-ink); }
.pr-jahr-sub { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-500); }
@media (min-width: 900px) { .pr-jahr-zahl { text-align: left; } }

/* Konditionen */
.pr-konditionen { width: 100%; border-collapse: collapse; font-size: 14px; }
.pr-konditionen th { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ink-100); text-align: left; vertical-align: top; font-weight: 500; color: var(--ink-600); hyphens: auto; }
.pr-konditionen td { padding: 10px 0; border-bottom: 1px solid var(--ink-100); text-align: right; white-space: nowrap; font-weight: 600; color: var(--ink-900); font-variant-numeric: tabular-nums; }
.pr-konditionen td small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; color: var(--ink-400); }
.pr-konditionen-summe th,
.pr-konditionen-summe td { border-bottom: 0; font-weight: 650; color: var(--ink-900); }

.pr-enthalten { margin-top: 14px; border: 1px solid var(--linie); border-radius: 14px; }
.pr-enthalten summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 0 14px;
  font-size: 14px; font-weight: 600; color: var(--ink-900);
  cursor: pointer; list-style: none; border-radius: 14px;
}
.pr-enthalten summary::-webkit-details-marker { display: none; }
.pr-enthalten summary:hover { background: var(--mist); }
.pr-enthalten summary .pr-i { width: 16px; height: 16px; color: var(--ink-400); transition: transform 220ms var(--kurve); }
.pr-enthalten[open] summary .pr-i { transform: rotate(180deg); }
.pr-enthalten ul { display: grid; gap: 8px; margin: 0; padding: 4px 14px 14px; list-style: none; }
.pr-enthalten li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-700); }
.pr-enthalten li .pr-i { width: 16px; height: 16px; margin-top: 2px; stroke-width: 2.2; color: var(--tq-deep); }

/* Wichtig */
.pr-wichtig-text { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: var(--ink-700); }
.pr-aktionen { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
@media (min-width: 900px) { .pr-aktionen { justify-content: flex-start; } }

/* ------------------------------------------------------------ Fuß: am Handy dunkel und oben rund */

.pr-fuss {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-top: 40px; padding: 30px 20px calc(34px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0; background: var(--rahmen); color: var(--rahmen-text);
  text-align: center;
}
.pr-fuss-logo { display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; }
.pr-fuss-logo img { height: 26px; width: auto; }
.pr-fuss-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; }
.pr-fuss-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 520; text-decoration: none; transition: background-color 160ms var(--kurve); }
.pr-fuss-links a:hover { background: var(--rahmen-hell); }
.pr-fuss-text { max-width: 62ch; margin: 0; font-size: 14px; line-height: 1.5; color: var(--rahmen-leise); }
@media (min-width: 1024px) {
  .pr-fuss {
    flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px;
    margin: 40px 32px 0; padding: 18px 0 26px;
    border-top: 1px solid var(--linie); border-radius: 0;
    background: transparent; color: var(--ink-500); text-align: left;
  }
  .pr-fuss-logo { display: none; }
  .pr-fuss-links { justify-content: flex-start; margin-left: -12px; }
  .pr-fuss-links a { min-height: 36px; color: var(--ink-700); }
  .pr-fuss-links a:hover { background: var(--mist); }
  .pr-fuss-text { color: var(--ink-400); }
}

.pr-druck-stand { display: none; }
.pr-ohne-skript { position: fixed; inset: auto 16px 16px; margin: 0; padding: 14px 18px; border-radius: 16px; background: var(--ink-900); color: #fff; font-size: 14px; text-align: center; }

/* Kurze Bestätigung, zum Beispiel nach „Link kopieren“ */
.pr-meldung {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 50;
  max-width: calc(100% - 32px); margin: 0; padding: 12px 18px;
  border-radius: 999px; background: var(--ink-900); color: #fff;
  font-size: 14px; font-weight: 550; text-align: center;
  box-shadow: var(--schatten-schwebt);
  opacity: 0; pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 220ms var(--kurve), transform 260ms var(--kurve);
}
.pr-meldung.ist-sichtbar { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------ Bewegung */

@keyframes pr-auftritt { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pr-blitz { 0% { opacity: 0; } 25% { opacity: 1; } 100% { opacity: 0; } }
@keyframes pr-pop { from { opacity: 0; transform: scale(0.88); } to { opacity: 1; transform: none; } }
@keyframes pr-leuchten { 0% { text-shadow: 0 0 0 transparent; } 30% { text-shadow: 0 0 32px oklch(0.85 0.13 192 / 0.6); } 100% { text-shadow: 0 0 0 transparent; } }
@media (prefers-reduced-motion: no-preference) {
  [data-auftritt] { animation: pr-auftritt 700ms var(--kurve) both; }
  [data-auftritt="2"] { animation-delay: 70ms; }
  [data-auftritt="3"] { animation-delay: 140ms; }
  [data-auftritt="4"] { animation-delay: 210ms; }
  .pr-plus.ist-neu { animation: pr-pop 460ms var(--kurve) both; }
  .pr-anker-haupt.ist-blitz .pr-anker-zahl { animation: pr-leuchten 1100ms var(--kurve); }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------ Druck und PDF: hell, ohne Bedienelemente */

@media print {
  @page { size: A4; margin: 12mm; }
  body { background: #fff !important; font-size: 12px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pr-leiste, .pr-kopfleiste-aktionen, .pr-kopfleiste-schutz, .pr-arten, .pr-mini, .pr-zahlen-schutz,
  .pr-feld-schritt, .pr-regler, .pr-aktionen, #zuruecksetzen, .pr-meldung, .pr-netz-link, .pr-schalter,
  .pr-fuss-links, .pr-fuss-logo, .pr-feld-hilfe, .pr-ohne-skript { display: none !important; }
  [data-auftritt] { animation: none !important; opacity: 1 !important; transform: none !important; }
  .pr-app { display: block; }
  .pr-flaeche { margin: 0; border-radius: 0; min-height: 0; }
  .pr-kopfleiste { padding: 0 0 6px; }
  .pr-kopfleiste-logo { display: inline-flex !important; }
  .pr-kopf { padding: 0; text-align: left; }
  .pr-kicker { display: inline-flex; }
  .pr-titel { font-size: 24px; }
  .pr-lead { display: block; margin: 6px 0 0; font-size: 12px; }
  .pr-anker {
    grid-template-columns: 1.4fr 1fr; gap: 12px 20px; margin: 12px 0 0; padding: 14px 16px 0;
    background: #fff !important; color: var(--ink-900); box-shadow: none !important;
    border: 1.5px solid var(--ink-900); border-radius: 14px; text-align: left; break-inside: avoid;
  }
  .pr-anker::after { display: none; }
  .pr-anker-wort, .pr-vergleich { justify-content: flex-start; }
  .pr-anker-wort { color: var(--tq-deep); }
  .pr-anker-zahl, .pr-anker.ist-netz .pr-anker-zahl { font-size: 36px; color: var(--ink-900); }
  .pr-anker-sub, .pr-vorher, .pr-netz-text, .pr-netz-marke, .pr-netz-gewinn span, .pr-kz-wort, .pr-kz-zeile, .pr-kz-vorher,
  .pr-verlauf-titel, .pr-verlauf-fuss, .pr-saeule-monat { color: var(--ink-600) !important; }
  .pr-anker.ist-netz .pr-anker-sub { display: block; }
  .pr-netz-titel, .pr-saeule-wert, .pr-kz-wert, .pr-anker.ist-netz .pr-kz.ist-vgl .pr-kz-wert { color: var(--ink-900) !important; }
  .pr-netz-gewinn b, .pr-plus { color: var(--tq-deep) !important; }
  .pr-plus { background: var(--tq-soft); box-shadow: none; }
  .pr-netz, .pr-verlauf, .pr-anker.ist-netz .pr-netz { background: var(--mist) !important; box-shadow: none !important; padding: 10px 12px; }
  .pr-netz-zeichen { display: none !important; }
  .pr-saeule-balken { background: var(--ink-300); }
  .pr-anker-kennzahlen { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); margin: 0 -16px; border-top: 1px solid var(--ink-200); }
  .pr-kz { padding: 10px 12px; border: 0 !important; border-left: 1px solid var(--ink-200) !important; }
  .pr-kz:first-child { border-left: 0 !important; padding-left: 16px; }
  .pr-kz-wert { font-size: 20px; }
  .pr-kz-balken { display: none; }
  .pr-zahlen, .pr-details { margin: 14px 0 0; }
  .pr-zahlen-kopf { flex-direction: row; text-align: left; margin-bottom: 8px; }
  .pr-h2 { font-size: 16px; }
  .pr-zahlen-raster { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .pr-feld--breit { grid-column: span 1; }
  .pr-feld { align-items: stretch; padding: 8px 10px; text-align: left; box-shadow: none; break-inside: avoid; border-radius: 10px; }
  .pr-feld-eingabe { justify-content: flex-start; margin-top: 2px; padding: 0; background: none; box-shadow: none; }
  .pr-feld-wert { flex: none; justify-content: flex-start; }
  .pr-feld-wert input, .pr-feld-festwert { font-size: 16px; }
  .pr-feld-festwert { justify-content: flex-start; min-height: 0; margin-top: 2px; }
  .pr-feld-info { font-size: 11px; }
  .pr-details { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pr-karte { box-shadow: none; break-inside: avoid; border-radius: 12px; }
  .pr-karte--wichtig { grid-column: 1 / -1; }
  .pr-karte-kopf { min-height: 0; padding: 8px 12px; justify-content: space-between; text-align: left; }
  .pr-karte-inhalt { padding: 10px 12px 12px; }
  .pr-tabelle-rahmen { overflow: visible; margin: 0; padding: 0; }
  .pr-tabelle { min-width: 0; font-size: 11px; }
  .pr-tabelle th, .pr-tabelle td { padding: 5px 4px; }
  .pr-notiz, .pr-wichtig-text, .pr-enthalten li, .pr-konditionen { font-size: 11px; }
  .pr-druck-stand { display: block; margin: 10px 0 0; font-size: 10px; color: var(--ink-500); }
  .pr-fuss { margin: 10px 0 0; padding: 6px 0 0; border-top: 1px solid var(--ink-200); border-radius: 0; background: none; color: var(--ink-500); text-align: left; align-items: flex-start; }
  .pr-fuss-text { color: var(--ink-500); font-size: 10px; }
}
