/* Peptidvergleich — Stylesheet
   Nuechternes Vergleichsportal. Kein Framework, kein CDN, keine Webfonts von aussen, kein JS.
   Stand 25.07.2026, Fassung 3: MOBILE FIRST.
   Grundregeln dieser Fassung:
   - Basis-Regeln gelten fuer 390px. Alles Breitere kommt ueber min-width-Abfragen dazu.
   - Auf Mobil klebt NUR die untere CTA-Leiste, der Kopf scrollt mit weg.
   - Die Wertung laeuft auf Mobil als Karten, die Tabelle erscheint erst ab 900px.
   - Kein Status nur ueber Farbe: jedes Ampel-Element traegt Symbol plus Wort. */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --bg-tint: #eaf1f8;
  --border: #dde3ea;
  --border-strong: #c4ced9;
  --text: #1b2733;
  --text-muted: #47535f;
  --accent: #17558f;
  --accent-dark: #123f6d;
  --accent-tint: #eaf1f8;
  --winner-bg: #f6fafd;
  --warn-bg: #fdf6e3;
  --warn-border: #e3cf92;

  /* Ampel: gedeckte Toene, jeweils Text-, Flaechen- und Randfarbe. Kontrast AA geprueft. */
  --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: 1120px;
  --prose: 68ch;
  --cta-h: 54px;
  --shadow: 0 1px 2px rgba(27, 39, 51, .06), 0 4px 14px rgba(27, 39, 51, .05);
}

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

html {
  /* Mobil klebt kein Kopf, Anker duerfen also oben aufsetzen. Ab 900px kommt der
     sticky Header dazu, dann braucht der Sprung Vorlauf (siehe unten). */
  scroll-padding-top: 8px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
  /* Platz fuer die klebende CTA-Leiste. Ohne das verdeckt sie den letzten Absatz. */
  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, h4 { line-height: 1.22; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.55rem, 1.1rem + 2.2vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.75rem); margin-top: 1.7em; }
h3 { font-size: clamp(1.08rem, .98rem + .5vw, 1.28rem); margin-top: 1.4em; }
h4 { font-size: 1rem; margin-top: 1.1em; }
p { margin: 0 0 .95em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.9rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.prose { max-width: var(--prose); }
.prose-wide { max-width: 920px; }
.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; }

/* ---------- Header ----------
   Mobil bewusst NICHT sticky: die alte Fassung hat sich beim Scrollen ueber
   Tabelle und Text geschoben. Ab 900px ist genug Platz, dort klebt er wieder. */
.site-header {
  position: static;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 10px 12px;
  flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--text); font-weight: 700;
  font-size: 1rem; letter-spacing: -0.02em; margin-right: auto;
}
.brand img { width: 30px; height: 30px; border-radius: 5px; }
.brand span small { display: none; }
.site-nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: .87rem; order: 3; width: 100%; }
.site-nav a { color: var(--text-muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; }
.header-inner .btn-anchor { display: none; }

/* ---------- 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: 12px 18px; 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-anchor { white-space: nowrap; padding: 9px 14px; font-size: .88rem; }
.btn-cta { font-size: 1rem; padding: 14px 22px; width: 100%; }

.cta-block {
  margin: 1.4rem 0 0; padding: 16px; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.cta-block p { margin: 0 0 .8em; font-size: .93rem; color: var(--text-muted); }
.cta-note { font-size: .82rem; color: var(--text-muted); margin: .8em 0 0; }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 4px; }
.kicker {
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); margin: 0 0 9px;
}
.hero h1 { margin-bottom: .3em; }
.hero .standfirst { font-size: 1.03rem; color: var(--text-muted); max-width: var(--prose); }
.byline {
  font-size: .83rem; color: var(--text-muted); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 8px 0; margin: 14px 0 18px;
  display: flex; gap: 4px 16px; flex-wrap: wrap;
}
.hero-figure { margin: 0 0 20px; }
.hero-figure img { width: 100%; border-radius: var(--radius); }

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

/* Symbolbilder kosten auf dem Handy nur Hoehe. Sie erscheinen erst ab 760px.
   loading="lazy" plus display:none heisst: die Datei wird mobil gar nicht geladen. */
.figure-desktop { display: none; }

/* ---------- Callouts ---------- */
.callout {
  background: var(--bg-tint); border-left: 4px solid var(--accent);
  padding: 13px 15px; border-radius: 0 var(--radius) var(--radius) 0; margin: 18px 0;
  font-size: .93rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout-plain { background: var(--bg-soft); border-left-color: var(--border-strong); }

/* ---------- Kriterien-Liste ---------- */
.criteria { list-style: none; counter-reset: crit; padding: 0; margin: 16px 0; }
.criteria li {
  counter-increment: crit; position: relative;
  padding: 9px 12px 9px 46px; 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: 8px; top: 9px;
  width: 26px; height: 26px; 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;
}

/* ---------- Wertung: Karten (Mobil) ---------- */
.score-cards { margin: 16px 0 6px; display: grid; gap: 12px; }
.score-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; padding: 14px;
}
.score-card.is-winner {
  border: 2px solid var(--accent-dark); background: var(--winner-bg);
}
.sc-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 10px;
}
.sc-name { font-weight: 700; font-size: 1.06rem; line-height: 1.25; }
.sc-name .rank-place { margin-bottom: 4px; }
.sc-total { text-align: right; flex: 0 0 auto; line-height: 1.05; }
.sc-total b {
  display: block; font-size: 2.1rem; font-weight: 700; color: var(--accent-dark);
  font-variant-numeric: tabular-nums;
}
.score-card.is-winner .sc-total b { font-size: 2.5rem; }
.sc-total small { font-size: .78rem; color: var(--text-muted); white-space: nowrap; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sc-chips li { margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .78rem; line-height: 1.25; padding: 3px 8px;
  border: 1px solid; border-radius: 99px; white-space: nowrap;
}
.chip svg { flex: 0 0 auto; }
.chip b { font-weight: 700; font-variant-numeric: tabular-nums; }
.is-gut, .amp-gut { color: var(--good); background: var(--good-bg); border-color: var(--good-line); }
.is-teilweise, .amp-teilweise { color: var(--mid); background: var(--mid-bg); border-color: var(--mid-line); }
.is-fehlt, .amp-fehlt { color: var(--bad); background: var(--bad-bg); border-color: var(--bad-line); }

/* Legende: gilt fuer Karten und Tabelle */
.legend {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin: 12px 0 1em; font-size: .82rem; color: var(--text-muted); padding: 0; list-style: none;
}
.legend li { margin: 0; }
.legend .legend-title { font-weight: 700; color: var(--text); width: 100%; margin-bottom: 2px; }
.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 svg { flex: 0 0 auto; }
.amp b { font-weight: 700; }
.amp i { font-style: normal; font-weight: 400; }

/* Wertungstabelle: erst ab 900px */
.score-table { display: none; }

/* ---------- Testsieger-Banner ---------- */
.winner-banner {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  background: var(--accent-dark); color: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 10px 14px; margin: 22px 0 0;
}
.winner-banner svg { flex: 0 0 auto; }
.winner-banner b { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.winner-banner span { font-size: .85rem; color: #dbe7f2; }

/* ---------- Ranking-Karten ---------- */
.rank-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 14px; margin: 16px 0; background: #fff;
}
.rank-card.is-winner {
  border: 2px solid var(--accent-dark); border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--winner-bg); padding: 18px 16px; margin-top: 0;
}
.rank-head {
  display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: start;
  border-bottom: 1px solid var(--border); padding-bottom: 12px; margin-bottom: 13px;
}
.logo-box {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 6px 10px; grid-column: 1 / -1;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  width: fit-content; max-width: 100%;
}
.logo-box img { max-height: 34px; width: auto; object-fit: contain; }
.logo-box--dark { background: #1b2733; border-color: #1b2733; }
.logo-wordmark { font-weight: 700; font-size: .92rem; letter-spacing: -0.01em; white-space: nowrap; }
.rank-title h3 { margin: 0; font-size: 1.18rem; }
.rank-card.is-winner .rank-title h3 { font-size: 1.32rem; }
.rank-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: .83rem; color: var(--text-muted); margin: 4px 0 0; }
.rank-place {
  display: inline-block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; color: #fff; background: #55616e;
  padding: 3px 9px; border-radius: 3px; margin-bottom: 5px;
}
.rank-card.is-winner .rank-place, .score-card.is-winner .rank-place { background: var(--accent-dark); }
.rank-scorebox { text-align: right; }
.rank-scorebox b {
  display: block; font-size: 1.8rem; line-height: 1.1; font-weight: 700;
  color: var(--accent-dark); font-variant-numeric: tabular-nums;
}
.rank-card.is-winner .rank-scorebox b { font-size: 2.3rem; }
.rank-scorebox small { font-size: .78rem; color: var(--text-muted); white-space: nowrap; }
.rank-lead { font-size: .95rem; margin-bottom: 1em; }
.rank-card.is-winner .rank-lead { font-size: 1rem; }

/* PRO / CONTRA: auf Mobil untereinander */
.pro-contra { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 0 0 4px; }
.pc-col h4 {
  margin: 0 0 8px; font-size: .76rem; letter-spacing: .1em; 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: .6em; 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); }

/* Kriterien-Chips unter der Anbieter-Karte */
.status-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border);
}
.status-row .status-label {
  width: 100%; font-size: .76rem; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700; margin: 0 0 2px;
}

/* ---------- Sterilitaets-Rangliste ----------
   Fassung 3: keine Skala, keine Baender, keine logarithmische Achse.
   Vier Zeilen, Bestwert oben, Zahl gross, Ampelwort daneben, Link aufs Blatt. */
.ster-list { list-style: none; margin: 16px 0 10px; padding: 0; display: grid; gap: 8px; }
.ster-list li { margin: 0; }
.ster-row {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: baseline;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 11px 13px; background: #fff;
}
.ster-row.is-best { border-color: var(--good-line); background: var(--good-bg); }
/* Ampelfarbe auf der Zahl, das Wort steht immer daneben. Farbe traegt nie allein. */
.ster-row.is-best { border-left: 5px solid var(--good); }
.ster-row.is-mittel { border-left: 5px solid var(--mid-line); }
.ster-row.is-schlecht { border-left: 5px solid var(--bad-line); }
.ster-row.is-mittel .ster-value b { color: var(--mid); }
.ster-row.is-schlecht .ster-value b { color: var(--bad); }
.ster-rank {
  font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text-muted);
  font-size: .95rem;
}
.ster-name { font-weight: 700; font-size: .98rem; line-height: 1.3; }
.ster-value {
  grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin-top: 4px;
}
.ster-value b {
  font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1;
}
.ster-row.is-best .ster-value b { color: var(--good); }
.ster-unit { font-size: .82rem; color: var(--text-muted); }
.ster-links { grid-column: 2; font-size: .84rem; margin-top: 5px; }
.badge-best {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--good); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px;
}

/* ---------- Tabellen ---------- */
.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: var(--radius);
  margin: 16px 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);
}
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--bg-soft); font-size: .8rem; letter-spacing: .02em; }
thead th.num, thead th.amp-cell { text-align: center; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr.is-highlight { background: var(--accent-tint); }
tr.is-highlight th[scope="row"] { color: var(--accent-dark); }
.val-good { color: var(--good); font-weight: 700; }
.val-bad { color: var(--bad); font-weight: 700; }
.table-hint { font-size: .83rem; color: var(--text-muted); margin: 0 0 1.2em; }
.report-link { font-size: .85rem; }

/* Ampel-Zelle in der Wertungstabelle (Desktop) */
.cell-amp { display: flex; flex-direction: column; align-items: center; gap: 1px; line-height: 1.15; }
.cell-amp .cell-num { font-weight: 700; font-variant-numeric: tabular-nums; font-size: .96rem; }
.cell-amp .cell-word { font-size: .7rem; }
.cell-amp svg { display: block; }
td.amp-cell { text-align: center; vertical-align: middle; }
td.amp-cell.is-gut .cell-num, td.amp-cell.is-gut .cell-word, td.amp-cell.is-gut svg { color: var(--good); }
td.amp-cell.is-teilweise .cell-num, td.amp-cell.is-teilweise .cell-word, td.amp-cell.is-teilweise svg { color: var(--mid); }
td.amp-cell.is-fehlt .cell-num, td.amp-cell.is-fehlt .cell-word, td.amp-cell.is-fehlt svg { color: var(--bad); }
td.amp-cell { background: transparent; }

/* ---------- FAQ ---------- */
.faq-list { margin: 16px 0; }
.faq-list details {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 8px; background: #fff;
}
.faq-list summary {
  cursor: pointer; list-style: none; padding: 12px 42px 12px 14px;
  font-weight: 600; position: relative; font-size: .97rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; 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: 13px 14px 2px; font-size: .95rem; }
.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: .87rem; color: var(--text-muted); }
.sources ol { padding-left: 1.5em; }
.sources li { margin-bottom: .5em; }
.sources li:target { background: var(--warn-bg); }

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

/* ---------- Berichts-Ansicht ---------- */
.report-view { padding: 18px 0 8px; }
.report-back { display: flex; flex-wrap: wrap; gap: 9px 12px; align-items: center; margin: 0 0 16px; }
.report-sheet {
  margin: 0 0 18px; 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 18px;
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.report-facts li {
  margin: 0; padding: 9px 12px; font-size: .9rem;
  display: flex; flex-wrap: wrap; gap: 3px 10px; border-bottom: 1px solid var(--border);
}
.report-facts li:last-child { border-bottom: 0; }
.report-facts span { color: var(--text-muted); min-width: 120px; }
.report-facts b { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 34px; background: var(--bg-soft); border-top: 1px solid var(--border);
  padding: 24px 0 30px; font-size: .87rem; color: var(--text-muted);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.site-footer h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 9px; color: var(--text); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; font-weight: 700; color: var(--text); }
.footer-brand img { width: 28px; height: 28px; border-radius: 5px; }
.ruo-note, .disclosure {
  margin-top: 16px; padding: 12px 15px; background: #fff;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  font-size: .85rem; color: var(--text);
}
.copyline { margin-top: 16px; font-size: .82rem; }

/* ---------- Klebende CTA-Leiste (nur Mobil) ----------
   Sie schliesst unten sauber ab. Der Body traegt oben ein padding-bottom in
   exakt dieser Hoehe, damit sie keinen Inhalt verdeckt. */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: #fff; border-top: 1px solid var(--border-strong);
  padding: 6px 16px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 10px rgba(27, 39, 51, .08);
}
.sticky-cta .btn { width: 100%; padding: 10px 16px; font-size: .95rem; }

/* ================= ab 620px ================= */
@media (min-width: 620px) {
  .wrap { padding: 0 20px; }
  .rank-head { grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; }
  .logo-box { grid-column: auto; height: 60px; padding: 8px 14px; min-width: 130px; }
  .logo-box img { max-height: 40px; }
}

/* ================= ab 760px ================= */
@media (min-width: 760px) {
  .figure-desktop { display: block; }
  .pro-contra { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
  .btn-cta { width: auto; }
  .ster-row { grid-template-columns: auto minmax(200px, 1fr) auto; align-items: center; }
  .ster-value { grid-column: auto; margin-top: 0; justify-content: flex-end; }
  .ster-links { grid-column: 2 / -1; margin-top: 2px; }
}

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

  .site-header { position: sticky; top: 0; z-index: 40; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }
  .brand { font-size: 1.05rem; }
  .brand img { width: 34px; height: 34px; }
  .brand span small {
    display: block; font-size: .66rem; font-weight: 500; letter-spacing: .08em;
    text-transform: uppercase; color: var(--text-muted); line-height: 1.2;
  }
  .site-nav { order: 0; width: auto; gap: 18px; font-size: .92rem; }
  .header-inner .btn-anchor { display: inline-flex; }

  /* Wertung: jetzt Tabelle statt Karten */
  .score-cards { display: none; }
  .score-table { display: block; }

  .hero { padding: 30px 0 6px; }
  .byline { margin: 20px 0 24px; padding: 10px 0; }
  h2 { margin-top: 2em; }
  .sticky-cta { display: none; }
  .site-footer { margin-top: 52px; padding: 34px 0 40px; }
  .cta-block { padding: 20px; margin-top: 1.8rem; }
}

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