/* peptidvergleich.de */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-400-700.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --bg-tint: #eaf1f8;
  --border: #dde3ea;
  --border-strong: #c4ced9;
  --text: #16202b;
  --text-muted: #47535f;
  --accent: #17558f;
  --accent-dark: #123f6d;
  --accent-tint: #eaf1f8;
  --winner-bg: #f7fafd;
  --star: #b8860b;
  --star-off: #d7dde4;

  /* Ampel: gedeckte Toene. Kontrast AA geprueft. Farbe traegt nie allein, Symbol und Wort stehen dabei. */
  --good: #17683f;
  --good-bg: #e9f3ed;
  --good-line: #7fae94;
  --mid: #7a4f00;
  --mid-bg: #fbf3e2;
  --mid-line: #c9a45c;
  --bad: #92291f;
  --bad-bg: #fbecea;
  --bad-line: #c8968f;

  --radius: 6px;
  --wrap: 1080px;
  --prose: 64ch;
  --gutter: 24px;
  --cta-h: 56px;
  --serif: "Newsreader", Georgia, "Times New Roman", "Noto Serif", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --shadow: 0 1px 2px rgba(22, 32, 43, .06), 0 4px 14px rgba(22, 32, 43, .05);
}

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

html {
  scroll-padding-top: 12px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: calc(var(--cta-h) + env(safe-area-inset-bottom, 0px));
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }
a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 0 0 .45em;
}
h4 { font-family: var(--sans); font-weight: 700; line-height: 1.3; margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 1.15rem + 2.6vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 1.12rem + 1.3vw, 1.95rem); margin-top: 1.9em; }
h3 { font-size: clamp(1.18rem, 1.04rem + .6vw, 1.42rem); margin-top: 1.5em; }
h4 { font-size: 1rem; margin-top: 1.1em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--prose); }
.prose-wide { max-width: 900px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ---------- Kopfzeile ----------
   Nur die Wortmarke. Keine Navigationslinks: jeder Link dort fuehrt aus dem
   Artikel heraus. Die Unterseiten haengen im Fliesstext und in der Fusszeile. */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center;
  padding-top: 16px; padding-bottom: 16px;
}
.brand { display: inline-block; line-height: 0; text-decoration: none; }
.brand img { width: 176px; height: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  padding: 13px 20px; border-radius: var(--radius); border: 1px solid var(--accent);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--accent); }
.btn-ghost:hover { background: var(--accent-tint); color: var(--accent-dark); }
.btn-cta {
  font-size: 1.02rem; font-weight: 700; letter-spacing: .02em;
  padding: 17px 24px; width: 100%; position: relative;
}

.cta-note { font-size: .82rem; color: var(--text-muted); margin: .9em 0 0; }

/* ---------- Hero ---------- */
/* Achtung: hier NIE die padding-Kurzform nehmen. Sie loescht die seitliche
   Luft, die .wrap setzt. Genau das war der Grund fuer den Text am Displayrand. */
.hero { padding-top: 26px; padding-bottom: 4px; }
.kicker {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin: 0 0 10px;
}
.hero h1 { margin-bottom: .35em; max-width: 20ch; }
.hero .standfirst {
  font-family: var(--serif); font-size: 1.16rem; line-height: 1.5;
  color: var(--text-muted); max-width: var(--prose); margin-bottom: 0;
}
.byline {
  font-size: .82rem; color: var(--text-muted); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 9px 0; margin: 18px 0 20px;
  display: flex; gap: 4px 18px; flex-wrap: wrap;
}
.hero-figure { margin: 0 0 22px; }
.hero-figure img { width: 100%; border-radius: var(--radius); }

figure { margin: 22px 0; }
figure img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); }
figcaption { font-size: .82rem; color: var(--text-muted); margin-top: 7px; line-height: 1.45; }
.figure-desktop { display: none; }

/* ---------- Callouts ---------- */
.callout {
  background: var(--bg-tint); border-left: 4px solid var(--accent);
  padding: 15px 17px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0;
  font-size: .93rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout-plain { background: var(--bg-soft); border-left-color: var(--border-strong); }
.callout-rule { background: var(--warn-bg, #fdf6e3); border-left-color: #c9a45c; }

.lead-note { font-size: .9rem; color: var(--text-muted); font-style: italic; }

/* ---------- Sterne ---------- */
.stars { display: flex; align-items: center; gap: 9px; margin: 0; line-height: 1; }
.stars-track { position: relative; display: inline-block; flex: 0 0 auto; }
.s-base, .s-fill { display: flex; gap: 2px; }
.s-base { color: var(--star-off); }
.s-fill {
  position: absolute; left: 0; top: 0; overflow: hidden;
  width: var(--pct, 0%); color: var(--star);
}
.stars svg { flex: 0 0 auto; display: block; }
.stars-value {
  font-family: var(--serif); font-weight: 600; font-size: 1.25rem;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.stars-value small { font-family: var(--sans); font-weight: 400; font-size: .78rem; color: var(--text-muted); margin-left: 4px; }
.stars-sm .stars-value { font-size: 1.05rem; }

/* ---------- Kriterien-Liste ---------- */
.criteria { list-style: none; counter-reset: crit; padding: 0; margin: 18px 0; }
.criteria li {
  counter-increment: crit; position: relative;
  padding: 10px 0 10px 44px; border-bottom: 1px solid var(--border);
  margin-bottom: 0; font-size: .95rem;
}
.criteria li:last-child { border-bottom: 0; }
.criteria li::before {
  content: counter(crit); position: absolute; left: 0; top: 10px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent-tint);
  color: var(--accent-dark); font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Reihenfolge: schlanke Tabelle ---------- */
.rank-table { width: 100%; border-collapse: collapse; margin: 18px 0 8px; }
.rank-table caption {
  caption-side: bottom; text-align: left; font-size: .83rem; color: var(--text-muted);
  padding: 10px 0 0; background: none; border: 0;
}
.rank-table th, .rank-table td {
  padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle;
}
.rank-table thead th {
  font-size: .74rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700; padding-bottom: 8px;
}
.rank-table td:first-child, .rank-table th:first-child { padding-left: 0; width: 3.2em; }
.rank-table td:last-child, .rank-table th:last-child { padding-right: 0; }
.rank-table .rt-place { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--text-muted); }
.rank-table tr.is-winner .rt-place { color: var(--accent-dark); }
.rank-table tr.is-winner td { background: var(--winner-bg); }
.rank-table .rt-name { font-weight: 700; }
/* Auf schmalen Displays bricht "von 5" um und macht die Zeile unruhig.
   Die Spaltenueberschrift sagt bereits, dass hier die Bewertung steht. */
.rank-table .stars-value small {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.rank-table .stars { gap: 8px; flex-wrap: nowrap; }
.rank-table tr.is-winner .rt-name { color: var(--accent-dark); }
.rank-table td a { text-decoration: none; color: inherit; }
.rank-table td a:hover { text-decoration: underline; }

/* ---------- Anbieter-Karten ---------- */
.rank-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 18px; margin: 20px 0; background: #fff;
}
.rank-card.is-winner { border: 2px solid var(--accent-dark); background: var(--winner-bg); }
.rank-head {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  border-bottom: 1px solid var(--border); padding-bottom: 15px; margin-bottom: 15px;
}
.logo-box {
  display: flex; align-items: center; gap: 10px;
  height: 54px; padding: 6px 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  width: fit-content; max-width: 100%;
}
.logo-box img { max-height: 36px; width: auto; object-fit: contain; }
.logo-box--dark { background: #16202b; border-color: #16202b; }
.logo-wordmark { font-weight: 700; font-size: .92rem; letter-spacing: -0.01em; white-space: nowrap; }
.rank-title h3 { margin: 0; font-size: 1.3rem; }
.rank-card.is-winner .rank-title h3 { font-size: 1.45rem; }
.rank-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: .83rem; color: var(--text-muted); margin: 5px 0 0; }
.rank-place {
  display: inline-block; font-size: .69rem; letter-spacing: .09em; text-transform: uppercase;
  font-weight: 700; color: #fff; background: #55616e;
  padding: 3px 9px; border-radius: 3px; margin-bottom: 7px;
}
.rank-card.is-winner .rank-place { background: var(--accent-dark); }
.rank-lead { font-size: .97rem; margin-bottom: 1.1em; }
.rank-card.is-winner .rank-lead { font-size: 1.02rem; }

/* PRO / CONTRA */
.pro-contra { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0; }
.pc-col h4 {
  margin: 0 0 9px; font-size: .75rem; letter-spacing: .11em; text-transform: uppercase;
  padding-bottom: 5px; border-bottom: 2px solid var(--border);
}
.pc-col--pro h4 { color: var(--good); border-bottom-color: var(--good-line); }
.pc-col--contra h4 { color: var(--bad); border-bottom-color: var(--bad-line); }
.pc-list { list-style: none; padding: 0; margin: 0; font-size: .91rem; }
.pc-list li { position: relative; padding-left: 24px; margin-bottom: .65em; line-height: 1.5; }
.pc-list li:last-child { margin-bottom: 0; }
.pc-list svg { position: absolute; left: 0; top: .3em; flex: 0 0 auto; }
.pc-list .icon-pro { color: var(--good); }
.pc-list .icon-contra { color: var(--bad); }

.card-note {
  margin: 16px 0 0; padding: 12px 14px; font-size: .87rem; line-height: 1.5;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-left: 4px solid var(--border-strong); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
}
.card-note strong { color: var(--text); }
.card-note.is-rule { background: var(--mid-bg); border-color: var(--mid-line); border-left-color: var(--mid); }
.card-note p { margin: 0; }

/* ---------- Datentabellen (Labor) ----------
   Unter 700px werden die Zeilen zu beschrifteten Bloecken. Die ARIA-Rollen im
   HTML halten die Tabellen-Semantik aufrecht, obwohl display umgestellt wird. */
.data-table {
  width: 100%; border-collapse: collapse; margin: 18px 0 10px;
  font-size: .92rem;
}
.data-table caption {
  caption-side: bottom; text-align: left; font-size: .83rem; color: var(--text-muted);
  padding: 10px 0 0; line-height: 1.5;
}
.data-table thead { display: none; }
.data-table tbody tr {
  display: block; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; margin-bottom: 10px; background: #fff;
}
.data-table tbody tr.is-winner { border-color: var(--accent-dark); background: var(--winner-bg); }
.data-table tbody tr.is-alarm { border-left: 5px solid var(--bad-line); }
.data-table td, .data-table th {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 4px 0; border: 0; text-align: left;
}
.data-table tbody th[scope="row"] {
  font-weight: 700; font-size: 1.02rem; padding-bottom: 8px; margin-bottom: 6px;
  border-bottom: 1px solid var(--border); display: block;
}
.data-table td::before {
  content: attr(data-label); flex: 0 0 auto;
  color: var(--text-muted); font-size: .84rem;
}
.data-table td.cell-link { padding-top: 8px; }
.data-table td.cell-link::before { content: none; }
.data-table td b { font-variant-numeric: tabular-nums; }
.val-good { color: var(--good); font-weight: 700; }
.val-bad { color: var(--bad); font-weight: 700; }
.val-mid { color: var(--mid); font-weight: 700; }

/* ---------- Tabellen allgemein ---------- */
.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: var(--radius);
  margin: 18px 0 8px; max-width: 100%;
}
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
caption {
  caption-side: top; text-align: left; font-size: .85rem; color: var(--text-muted);
  padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--bg-soft);
}
.table-scroll th, .table-scroll td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-scroll thead th { background: var(--bg-soft); font-size: .8rem; }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-hint { font-size: .84rem; color: var(--text-muted); margin: 0 0 1.2em; }
.report-link { font-size: .87rem; }

/* ---------- Testsieger-Kasten ---------- */
.winner-box {
  margin: 34px 0 8px; padding: 26px 20px 22px;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
}
.winner-box .wb-mark { width: 168px; margin-bottom: 22px; }
.winner-box .kicker { margin-bottom: 6px; }
.winner-box h2 { margin: 0 0 .35em; font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.35rem); }
.winner-box .wb-lead { font-size: 1rem; color: var(--text-muted); margin-bottom: 0; }
.wb-stars { margin: 16px 0 0; }
.wb-figure { margin: 20px 0 20px; position: relative; }
.wb-figure img.wb-photo { width: 100%; border-radius: 2px; border: 1px solid var(--border); }
.wb-badge {
  position: absolute; right: 3.5%; bottom: 5%;
  width: 34%; max-width: 190px; height: auto; border: 0; border-radius: 50%;
  filter: drop-shadow(0 2px 8px rgba(22, 32, 43, .28));
}
.wb-foot { font-size: .8rem; color: var(--text-muted); margin: 14px 0 0; }

/* Aufmerksamkeits-Impuls auf dem Knopf. Ruhiger Grundpuls, dazu einmalig ein
   Ring beim Hereinscrollen. Beides aus bei prefers-reduced-motion. */
@keyframes wb-breathe {
  0%, 88%, 100% { transform: scale(1); }
  93% { transform: scale(1.014); }
}
@keyframes wb-ring {
  0% { opacity: .85; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.09); }
}
.btn-attention { animation: wb-breathe 6s ease-in-out infinite; will-change: transform; }
.btn-attention::after {
  content: ""; position: absolute; inset: -3px; border-radius: 8px;
  border: 2px solid var(--accent); opacity: 0; pointer-events: none;
}
.btn-attention.is-pulsing::after { animation: wb-ring 1.5s ease-out 3; }

@media (prefers-reduced-motion: reduce) {
  .btn-attention, .btn-attention.is-pulsing::after { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Einwaende / Akkordeon ---------- */
.faq-list { margin: 20px 0; }
.faq-list details {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 9px; background: #fff;
}
.faq-list summary {
  cursor: pointer; list-style: none; padding: 14px 46px 14px 16px;
  font-weight: 600; position: relative; font-size: .99rem; line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 17px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--accent); line-height: 1;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details[open] summary { border-bottom: 1px solid var(--border); }
.faq-body { padding: 14px 16px 2px; font-size: .95rem; }
.faq-body ul { margin-bottom: 1em; }
.faq-body p:last-child { margin-bottom: 1em; }

/* ---------- Fussnoten / Quellen ---------- */
.fn {
  font-size: .72em; vertical-align: super; line-height: 0;
  text-decoration: none; font-weight: 700; padding: 0 1px;
}
.fn:hover { text-decoration: underline; }
.sources { font-size: .86rem; color: var(--text-muted); }
.sources ol { padding-left: 2.2em; margin-top: 14px; }
.sources li { margin-bottom: .6em; }
.sources li:target { background: #fdf6e3; }
.sources-toggle {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 16px; margin: 16px 0 14px; background: #fff;
}
.sources-toggle > summary {
  cursor: pointer; list-style: none; padding: 13px 0; font-weight: 600;
  color: var(--accent); font-size: .93rem;
}
.sources-toggle > summary::-webkit-details-marker { display: none; }
.sources-toggle > summary::before { content: "+ "; font-weight: 400; }
.sources-toggle[open] > summary::before { content: "\2212 "; }
.sources-toggle[open] > summary { border-bottom: 1px solid var(--border); }
.sources-toggle ol { padding-bottom: 6px; }

.section-note {
  font-size: .85rem; color: var(--text-muted); background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin: 20px 0;
}
.section-note p:last-child { margin-bottom: 0; }

/* ---------- Berichts-Ansicht ---------- */
/* Auch hier keine padding-Kurzform, siehe Hinweis beim Hero. */
.report-view { padding-top: 20px; padding-bottom: 8px; }
.report-back { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 0 0 18px; }
.report-sheet {
  margin: 0 0 20px; border: 1px solid var(--border-strong); border-radius: var(--radius);
  background: var(--bg-soft); padding: 8px;
}
.report-sheet img { width: 100%; max-width: 900px; margin: 0 auto; background: #fff; }
.report-facts {
  list-style: none; padding: 0; margin: 0 0 20px;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.report-facts li {
  margin: 0; padding: 10px 14px; font-size: .9rem;
  display: flex; flex-wrap: wrap; gap: 3px 12px; border-bottom: 1px solid var(--border);
}
.report-facts li:last-child { border-bottom: 0; }
.report-facts span { color: var(--text-muted); min-width: 130px; }
.report-facts b { font-weight: 700; }
.amp {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; line-height: 1.3; padding: 3px 9px;
  border: 1px solid; border-radius: 99px;
}
.amp i { font-style: normal; font-weight: 400; }
.amp-gut { color: var(--good); background: var(--good-bg); border-color: var(--good-line); }
.amp-teilweise { color: var(--mid); background: var(--mid-bg); border-color: var(--mid-line); }
.amp-fehlt { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }

/* ---------- Fusszeile ---------- */
.site-footer {
  margin-top: 40px; background: var(--bg-soft); border-top: 1px solid var(--border);
  padding: 28px 0 32px; font-size: .87rem; color: var(--text-muted);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.site-footer h2 {
  font-family: var(--sans); font-size: .76rem; text-transform: uppercase;
  letter-spacing: .09em; margin: 0 0 10px; color: var(--text); font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-brand { margin-bottom: 12px; }
.footer-brand img { width: 168px; height: auto; }
.ruo-note, .disclosure {
  margin-top: 18px; padding: 13px 16px; background: #fff;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  font-size: .85rem; color: var(--text);
}
.copyline { margin-top: 18px; font-size: .82rem; }

/* ---------- Rabatt-Hinweis unter dem Knopf ---------- */
.promo {
  margin: 14px 0 0; padding: 11px 14px;
  background: var(--bg-soft); border: 1px dashed var(--border-strong);
  border-radius: var(--radius); font-size: .87rem; color: var(--text);
  line-height: 1.55;
}
.promo-code {
  display: inline-block; margin: 0 3px; padding: 3px 9px;
  font: 600 .92em/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .04em; color: var(--accent-dark);
  background: #fff; border: 1px solid var(--border-strong);
  border-radius: 4px; cursor: pointer;
}
.promo-code:hover { border-color: var(--accent); }
.promo-code:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.promo-code.is-copied { color: var(--good); border-color: var(--good-line); background: var(--good-bg); }
.promo-code.is-copied::after { content: " \2713"; }

/* ---------- Klebende CTA-Leiste (nur Mobil) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: #fff; border-top: 1px solid var(--border-strong);
  padding: 7px var(--gutter) calc(7px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 10px rgba(22, 32, 43, .08);
  /* Erst sichtbar, wenn der Leser die Anbieter erreicht hat */
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform .32s ease, opacity .32s ease;
}
.sticky-cta.is-visible { transform: translateY(0); opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }
.sticky-cta .btn { width: 100%; padding: 11px 16px; font-size: .95rem; }

/* ================= ab 620px ================= */
@media (min-width: 620px) {
  :root { --gutter: 34px; }
  .rank-head { grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
  .logo-box { height: 62px; padding: 8px 16px; min-width: 132px; }
  .logo-box img { max-height: 42px; }
  .winner-box { padding: 34px 34px 28px; }
  .brand img { width: 196px; }
  .rank-table .stars-value small {
    position: static; width: auto; height: auto; clip: auto; clip-path: none;
  }
}

/* ================= ab 760px ================= */
@media (min-width: 760px) {
  .figure-desktop { display: block; }
  .pro-contra { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 26px; }
  .btn-cta { width: auto; min-width: 340px; }
  .winner-box .btn-cta { width: 100%; }
}

/* ================= ab 700px: Datentabellen werden echte Tabellen ================= */
@media (min-width: 700px) {
  .data-table thead { display: table-header-group; }
  .data-table tbody tr {
    display: table-row; border: 0; border-bottom: 1px solid var(--border);
    border-radius: 0; padding: 0; margin: 0; background: transparent;
  }
  .data-table tbody tr.is-winner { background: var(--winner-bg); }
  .data-table tbody tr.is-alarm { border-left: 0; }
  .data-table thead th {
    display: table-cell; padding: 10px 12px; background: var(--bg-soft);
    font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
    color: var(--text-muted); border-bottom: 1px solid var(--border-strong);
  }
  .data-table td, .data-table tbody th[scope="row"] {
    display: table-cell; padding: 11px 12px; border: 0;
    border-bottom: 1px solid var(--border); vertical-align: middle;
    margin: 0; font-size: inherit;
  }
  .data-table tbody th[scope="row"] { font-size: .95rem; }
  .data-table td::before { content: none; }
  .data-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
  .data-table thead th.num { text-align: right; }
}

/* ================= ab 900px: Desktop ================= */
@media (min-width: 900px) {
  :root { --gutter: 40px; }
  body { font-size: 18px; line-height: 1.7; padding-bottom: 0; }
  html { scroll-padding-top: 92px; }

  .site-header { position: sticky; top: 0; z-index: 40; }
  .hero { padding-top: 40px; padding-bottom: 6px; }
  .byline { margin: 24px 0 28px; padding: 11px 0; }
  h2 { margin-top: 2.1em; }
  .sticky-cta { display: none; }
  .site-footer { margin-top: 58px; padding: 38px 0 44px; }
  .winner-box { padding: 44px 44px 34px; margin: 44px 0 10px; }
  .wb-figure { margin: 26px 0 26px; }
}

@media print {
  .site-header, .btn, .sticky-cta { display: none; }
  body { font-size: 11pt; padding-bottom: 0; }
}
