/* lists: section, world, guide, search and 404 pages, product cards, home. Tokens come from site.css (:root, dark mode). New classes carry the l- prefix.
   Style rule: flat and calm. Hairlines instead of boxes and shadows, facts as a text line, one accent per view. */

/* ---------- tokens (light + dark) ---------- */
:root {
  --l-card: #fff;
  --l-tint: color-mix(in srgb, var(--accent) 9%, var(--bg));
  --l-hi: #0f6e43;   /* meta score 80+ */
  --l-mid: #a16207;  /* 65-79 */
  --l-lo: #b4341c;   /* below 65 */
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --l-card: #14161a; --l-hi: #4fd193; --l-mid: #e9b84a; --l-lo: #ff8a6b; }
}
:root[data-theme="dark"] { --l-card: #14161a; --l-hi: #4fd193; --l-mid: #e9b84a; --l-lo: #ff8a6b; }

/* ---------- small building blocks ---------- */
.l-ico { flex: none; display: block; }
.l-eyebrow { margin: 0 0 .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-t); }
.l-head-note { max-width: 46ch; margin: 0; }
.l-note { max-width: 68ch; margin: -.8rem 0 1.2rem; }
.block-head > div > .h2 { margin: 0; }
.block-head .h2 a:hover { color: var(--accent-t); }

/* page head: clear title, facts as one text line, short text */
.l-head { padding-bottom: .4rem; }
.l-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.05; max-width: 24ch; }
.l-facts { display: flex; flex-wrap: wrap; gap: .15rem 1.1rem; margin: .9rem 0 0; font-size: .92rem; color: var(--muted); }
.l-facts strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.l-lead { max-width: 68ch; margin: 1rem 0 0; font-size: 1.05rem; line-height: 1.6; }
/* long intros: three lines first, "Mehr lesen" shows the rest (full text stays in the DOM) */
.l-lead:has(+ .l-readmore:not([open])) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.l-readmore { max-width: 68ch; }
.l-readmore p { margin: .6rem 0 0; font-size: 1.05rem; line-height: 1.6; color: var(--ink-2); }
.l-readmore > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-size: .92rem; font-weight: 600; color: var(--accent-t); }
.l-readmore > summary::-webkit-details-marker { display: none; }
.l-readmore > summary::after { content: ""; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; }
.l-readmore[open] > summary::after { rotate: 225deg; translate: 0 2px; }
.l-readmore .l-rm-less, .l-readmore[open] .l-rm-more { display: none; }
.l-readmore[open] .l-rm-less { display: inline; }
.l-guide-link { margin: .2rem 0 0; font-size: .95rem; }
.l-guide-link a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
.l-guide-link a .l-ico { color: var(--muted); }
.l-guide-link button { display: block; appearance: none; border: 0; background: none; padding: 0; margin-left: calc(22px + .4rem); font: inherit; font-weight: 600; color: inherit; min-height: 44px; cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .2em; }

/* ---------- product cards: flat, picture tile + text ---------- */
.grid { gap: 2rem 1.1rem; }
.card { min-width: 0; height: 100%; }
.card-link { display: flex; flex-direction: column; height: 100%; border-radius: 14px; }
.card-img { position: relative; border-radius: 14px; padding: 1rem; }
.card-body { flex: 1; gap: .12rem; padding: .7rem .1rem 0; }
.card-brand { font-size: .68rem; letter-spacing: .1em; }
.card-name { font-size: .95rem; font-weight: 500; line-height: 1.35; }
.card-link:hover { color: inherit; }
.card-link:hover .card-name { color: var(--accent-t); }
.card-price { margin-top: .3rem; font-size: 1.2rem; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.card-price small { font-size: .78rem; font-weight: 400; }
.card-meta { line-height: 1.35; }
.card-meta em { font-weight: 500; }
.card-meta em::before { content: "· "; color: var(--muted); }

/* meta score ring: number in the middle, colour by tier */
.l-ring { --t: var(--l-hi); position: absolute; top: .55rem; left: .55rem; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--l-card); }
.l-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.l-ring circle { fill: none; stroke-width: 4; }
.l-ring-bg { stroke: color-mix(in srgb, var(--t) 20%, var(--l-card)); }
.l-ring-arc { stroke: var(--t); stroke-linecap: round; }
.l-ring b { position: relative; font-size: .95rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.l-mid { --t: var(--l-mid); }
.l-lo { --t: var(--l-lo); }

/* ranked rows: the buying list on section pages and under guides */
.l-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: l-rank; }
.l-row { border-bottom: 1px solid var(--line); counter-increment: l-rank; }
.l-row-link { display: grid; grid-template-columns: 84px minmax(0, 1fr) 52px 11rem; grid-template-areas: "img main score price"; gap: .15rem 1.2rem; align-items: center; padding: .85rem 0; }
.l-row-link:hover { color: inherit; }
.l-row-link:hover .l-row-name { color: var(--accent-t); }
.l-row-img { grid-area: img; position: relative; display: block; aspect-ratio: 1; padding: .4rem; border-radius: 12px; background: var(--img-bg); }
.l-row-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
ol.l-rows .l-row-img::before { content: counter(l-rank); position: absolute; top: .3rem; left: .3rem; z-index: 1; min-width: 1.35rem; height: 1.35rem; display: grid; place-items: center; border-radius: 50%; background: #101114; color: #fff; font-size: .72rem; font-weight: 700; }
.l-row-main { grid-area: main; display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.l-row-label { font-size: .8rem; font-weight: 600; color: var(--accent-t); }
.l-row-name { font-size: 1.02rem; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.l-row-score { grid-area: score; display: grid; place-items: center; }
.l-row-score .l-ring { position: relative; top: 0; left: 0; }
.l-row-price { grid-area: price; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.l-row-price strong { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.l-row-price strong small { font-size: .78rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.l-row-price > span { font-size: .8rem; color: var(--muted); }
.l-row-price em { font-style: normal; color: var(--good); font-weight: 500; }
.l-thin { color: var(--muted); }
.l-rows-more { margin: 1rem 0 0; }
.l-rows-more a, .l-rows-more button { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
.l-rows-more a:hover, .l-rows-more button:hover { color: var(--accent-t); }

.hero-feature { padding: 1rem 1rem 1.1rem; border-radius: 26px; background: var(--bg-soft); }
.hero-feature .card-img { border-radius: 14px; }

/* ---------- home ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.6rem, 4vw, 3rem); background: radial-gradient(60% 90% at 88% 0%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%); }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: 1; max-width: none; letter-spacing: -0.05em; }
.hero .lead { max-width: 34rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: 1.6rem 0 0; font-size: .9rem; color: var(--muted); }
.hero-facts strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-facts span + span::before { content: "·"; margin-right: 1.4rem; color: var(--muted); }
.tested-more { margin-top: 1.4rem; }
.tested-more .tested-links { margin-top: 0; }

.l-worlds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: .9rem; }
.l-world { display: flex; flex-direction: column; gap: .7rem; padding: 1.1rem 1.2rem; background: var(--l-card); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s; }
.l-world:hover, .l-world:focus-within { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.l-world-main { position: relative; display: grid; grid-template-columns: auto 1fr auto; column-gap: .9rem; row-gap: .2rem; align-items: center; }
.l-world-icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--l-tint); color: var(--accent-t); border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); }
.l-world-icon .l-ico { width: 26px; height: 26px; }
.l-world-title { grid-column: 2; align-self: end; font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.l-world-count { grid-column: 2; align-self: start; font-size: .82rem; color: var(--muted); }
.l-world-count strong { color: var(--ink); font-weight: 700; }
.l-world-tag { display: none; }
.l-world-go { grid-row: 1 / span 2; grid-column: 3; color: var(--muted); transition: color .2s, translate .2s; }
.l-world-main:hover .l-world-go { color: var(--accent-t); translate: 3px 0; }
.l-world-main:hover { color: inherit; }
.l-world-subs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .15rem .9rem; }
.l-world-subs a { display: inline-block; font-size: .85rem; padding-block: .2rem; color: var(--muted); }
.l-world-subs a span { display: none; }
.l-world-subs a:hover { color: var(--accent-t); }
.l-world-subs a.l-more-chip { color: var(--ink-2); font-weight: 500; }

/* guide lists: hairlines instead of cards */
.l-guides { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); column-gap: 2.4rem; }
.l-guide { display: flex; flex-direction: column; gap: .3rem; height: 100%; padding: 1rem 0 1.1rem; border-top: 1px solid var(--line); }
.l-guide:hover { color: inherit; }
.l-guide:hover .l-guide-title { color: var(--accent-t); }
.l-guide-no, .l-guide-go { display: none; }
.l-guide-title { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.l-guide-desc { color: var(--muted); font-size: .92rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.l-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 2.2rem; }
.principles .l-principle-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--l-tint); color: var(--accent-t); border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); margin-bottom: .8rem; }
.principles .l-principle .n { display: none; }
.principles .l-principle h3 { margin-bottom: .45rem; }
.principles .l-principle p { font-size: .95rem; line-height: 1.55; }

/* ---------- world page ---------- */
.l-sublinks { display: flex; flex-wrap: wrap; gap: .1rem 1.2rem; margin-top: 1rem; font-size: .95rem; }
.l-sublinks a { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; font-weight: 500; color: var(--ink-2); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: .18em; }
.l-sublinks a:hover, .l-sublinks button:hover { color: var(--accent-t); }
.l-sublinks button { appearance: none; border: 0; background: none; padding: 0; font: inherit; display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; font-weight: 500; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); }
.l-sublinks span { font-size: .8rem; color: var(--muted); }

/* ---------- section page ---------- */
.l-check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); column-gap: 2.4rem; }
.l-check li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .7rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.l-check-no { font-size: .95rem; font-weight: 700; color: var(--accent-t); font-variant-numeric: tabular-nums; line-height: 1.4; }
.l-check h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; margin: 0 0 .25rem; }
.l-check p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }

/* comparison table: flat, sticky first column, keyboard-scrollable */
#tabelle .cmp-wrap { margin-top: 0; }
#tabelle .cmp { min-width: 620px; font-size: .94rem; }
#tabelle .cmp th, #tabelle .cmp td { padding: .75rem 1rem; }
#tabelle .cmp thead th { font-size: .82rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--ink-2); vertical-align: bottom; }
#tabelle .cmp thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--bg); }
#tabelle .cmp thead th:first-child, #tabelle .cmp tbody th { padding-left: 0; }
#tabelle .cmp tbody th { min-width: 15rem; font-weight: 500; white-space: normal; box-shadow: 1px 0 0 var(--line); }
#tabelle .cmp tbody th a { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
#tabelle .cmp td { white-space: normal; min-width: 5.5rem; }
#tabelle .cmp .l-td-price { font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.l-td-score b { font-weight: 700; font-variant-numeric: tabular-nums; }
.l-td-score span { color: var(--muted); }
#tabelle .cmp-wrap + .small { margin-top: .8rem; }

/* list tools: sorting, filter and brand, comfortable on phones without side-scrolling */
.l-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; padding: 0 0 1.2rem; }
.l-tool { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .6rem; }
.l-tool-l { font-size: .85rem; color: var(--muted); }
.l-seg { display: flex; flex-wrap: wrap; gap: .15rem; }
/* Controls a crawler should not follow are buttons of a small form; they look and sit like the links next to them. */
.l-ctl { display: contents; }
.l-seg button, .l-brandlist button, .l-rows-more button, button.l-toggle { appearance: none; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.l-seg a, .l-seg button, .l-toggle, .l-brandf > summary, .l-brandlist a, .l-brandlist button { display: inline-flex; align-items: center; min-height: 38px; padding: .3rem .75rem; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink-2); }
.l-seg a:hover, .l-seg button:hover, .l-toggle:hover, .l-brandf > summary:hover, .l-brandlist a:hover, .l-brandlist button:hover { background: var(--bg-soft); color: var(--ink); }
.l-seg [aria-current], .l-seg [aria-current]:hover, .l-brandlist [aria-current], .l-brandlist [aria-current]:hover { background: var(--ink); color: var(--bg); }
.l-toggle { gap: .45rem; box-shadow: inset 0 0 0 1px var(--line); }
.l-toggle::before { content: ""; flex: none; width: .95rem; height: .95rem; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--muted); }
.l-toggle[aria-current]::before { background: var(--good); box-shadow: none; }
.l-toggle[aria-current] { box-shadow: inset 0 0 0 1.5px var(--good); color: var(--ink); }
.l-toggle span, .l-brandlist a span, .l-brandlist button span { font-size: .78rem; color: var(--muted); }
.l-brandlist a span, .l-brandlist button span { margin-left: .3rem; }
.l-brandlist [aria-current] span { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.l-brandf > summary { cursor: pointer; list-style: none; gap: .45rem; box-shadow: inset 0 0 0 1px var(--line); }
.l-brandf > summary::-webkit-details-marker { display: none; }
.l-brandf > summary::after { content: ""; flex: none; width: .42rem; height: .42rem; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; }
.l-brandf[open] > summary::after { rotate: 225deg; translate: 0 2px; }
.l-brandf > summary b { font-weight: 600; color: var(--ink); }
.l-brandf[open] { flex-basis: 100%; }
.l-brandlist { display: flex; flex-wrap: wrap; gap: .15rem; padding-top: .5rem; }
.l-brandrest > summary { display: inline-flex; align-items: center; min-height: 38px; margin-top: .15rem; padding: .3rem .75rem; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--ink-2); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.l-brandrest > summary:hover { background: var(--bg-soft); color: var(--ink); }
.list-count { margin: 0 0 1.2rem; }

.pager > a { border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.2rem; min-height: 44px; display: inline-flex; align-items: center; }
.pager > a:hover { border-color: var(--ink); }
.pages a, .pages span { min-width: 44px; height: 44px; }

/* FAQ: flat, hairlines from site.css, readable width */
.l-faq .faq { max-width: 820px; }
.l-faq .faq summary { min-height: 44px; }
.l-faq .faq p { max-width: 68ch; line-height: 1.65; }

/* ---------- guide ---------- */
.l-guide-head h1 { max-width: 26ch; }
.l-guides-lg { margin: .8rem 0 2rem; }
.l-guide-layout { display: grid; grid-template-columns: minmax(0, 68ch) minmax(190px, 260px); justify-content: space-between; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-top: 1.2rem; }
.l-guide-main { min-width: 0; font-size: 1.08rem; }
.l-guide-toc { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow: auto; font-size: .9rem; }
.l-toc-h { margin: 0 0 .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.l-guide-toc ol, .l-toc-m ol { list-style: none; margin: 0; padding: 0; }
.l-guide-toc a { display: block; padding: .4rem 0 .4rem .8rem; border-left: 2px solid var(--line); line-height: 1.35; color: var(--ink-2); }
.l-guide-toc a:hover { color: var(--ink); border-left-color: var(--ink-2); }
.l-guide-toc a.is-on { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }
/* phones: a closed table of contents instead of a long list above the text */
.l-toc-m { display: none; margin: .4rem 0 0; border-block: 1px solid var(--line); }
.l-toc-m > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .5rem; min-height: 48px; font-weight: 600; }
.l-toc-m > summary::-webkit-details-marker { display: none; }
.l-toc-m > summary span { font-weight: 400; font-size: .85rem; color: var(--muted); }
.l-toc-m > summary::after { content: ""; flex: none; margin-left: auto; width: .5rem; height: .5rem; border: solid currentColor; border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; }
.l-toc-m[open] > summary::after { rotate: 225deg; translate: 0 2px; }
.l-toc-m a { display: flex; align-items: center; min-height: 44px; padding: .3rem 0; line-height: 1.3; color: var(--ink-2); border-top: 1px solid var(--line); }

.l-prose { padding: 0 0 1rem; min-width: 0; }
.l-prose > :first-child { margin-top: 0; }
.l-prose h2 { margin: 2.6rem 0 .8rem; font-size: clamp(1.4rem, 2.6vw, 1.75rem); letter-spacing: -0.03em; line-height: 1.2; }
.l-prose ul, .l-prose ol { margin: 1rem 0; padding-left: 1.3rem; }
.l-prose li { margin: .45rem 0; padding-left: .2rem; }
.l-prose ul > li::marker { color: var(--accent-t); }
.l-prose ol > li::marker { color: var(--accent-t); font-weight: 700; }
.l-prose a { color: var(--ink); }
/* a soft shadow marks the side that still has columns; the page-coloured covers scroll with the table and hide it at the ends */
.l-prose .tbl-wrap { overflow-x: auto; margin: 1.4rem 0; background: linear-gradient(to right, var(--bg) 40%, transparent) left / 2.5rem 100% no-repeat local, linear-gradient(to left, var(--bg) 40%, transparent) right / 2.5rem 100% no-repeat local, radial-gradient(farthest-side at 0 50%, color-mix(in srgb, var(--ink) 22%, transparent), transparent) left / .8rem 100% no-repeat scroll, radial-gradient(farthest-side at 100% 50%, color-mix(in srgb, var(--ink) 22%, transparent), transparent) right / .8rem 100% no-repeat scroll; }
.l-prose table { margin: 0; min-width: 480px; font-size: .95rem; }
/* two columns fit a phone: no sideways scrolling for them */
.l-prose table:not(:has(th:nth-child(3))) { min-width: 0; }
.l-prose th, .l-prose td { padding: .7rem 1rem .7rem 0; vertical-align: top; line-height: 1.45; }
.l-prose thead th { font-size: .82rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--ink-2); }
.l-prose tbody td:first-child, .l-prose tbody th:first-child { font-weight: 600; color: var(--ink); }
/* notes: editors write a blockquote or start a paragraph with "Wichtig:", "Tipp:", "Hinweis:" or "Achtung:" */
.l-prose blockquote, .l-prose .l-hint { margin: 1.4rem 0; padding: .9rem 1.1rem; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--bg-soft); color: var(--ink); }
.l-prose blockquote p { margin: 0 0 .5rem; color: var(--ink); }
.l-prose blockquote p:last-child { margin-bottom: 0; }
.l-sources { margin: 1.4rem 0 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.l-sources ul { margin: 0 0 .6rem; padding-left: 1.2rem; font-size: .95rem; line-height: 1.5; }
.l-sources li { margin: .3rem 0; }
.l-sources a { overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
.l-sources p { margin: 0; }

/* ---------- search + 404 ---------- */
.l-search-head h1 { overflow-wrap: anywhere; }
.l-didyou { margin: 0 0 1rem; font-size: 1.05rem; }
.l-didyou a, .l-partial a, .l-facts a { text-decoration: underline; text-underline-offset: .18em; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.l-didyou a { font-weight: 600; }
.l-found { list-style: none; margin: .4rem 0 1.8rem; padding: 0; border-top: 1px solid var(--line); }
.l-found li { border-bottom: 1px solid var(--line); }
.l-found a { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .8rem; min-height: 48px; padding: .7rem 0; }
.l-found-k { flex: 0 0 5rem; font-size: .8rem; color: var(--muted); }
.l-found-t { flex: 1 1 14rem; font-weight: 600; }
.l-found a:hover .l-found-t { color: var(--accent-t); }
.l-found a:hover { color: inherit; }
.l-found-n { font-size: .85rem; color: var(--muted); }
.l-partial { margin: 0 0 1.2rem; }
.l-empty.block { padding-top: .4rem; }
.l-empty .hero-search { margin-top: 1.2rem; }
.l-links { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem 1.4rem; }
.l-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: .18em; }
.l-links a:hover { color: var(--accent-t); }
.l-empty h2.mt { margin-top: 2rem; }

@media (max-width: 900px) {
  .l-guide-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .l-guide-toc { display: none; }
  .l-toc-m { display: block; }
}
/* phones: long German words (Marktstammdatenregister) stay inside the margin */
@media (max-width: 640px) {
  .l-guide-head h1 { hyphens: auto; overflow-wrap: break-word; }
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
  .grid { gap: 1.5rem .8rem; }
  .card-img { padding: .7rem; }
  .card-price { font-size: 1.1rem; }
  .card-meta em { display: block; }
  .card-meta em::before { content: none; }
  .l-ring { width: 40px; height: 40px; top: .4rem; left: .4rem; }
  .l-ring b { font-size: .85rem; }
  .l-row-link { grid-template-columns: 68px minmax(0, 1fr) 42px; grid-template-areas: "img main score" "img price score"; column-gap: .8rem; padding: .75rem 0; }
  .l-row-img { align-self: start; padding: .3rem; }
  .l-row-name { font-size: .95rem; }
  .l-row-price { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 .5rem; text-align: left; }
  .l-row-price strong { font-size: 1.05rem; }
  .l-tools { align-items: stretch; flex-direction: column; gap: .5rem; }
  .l-tool { flex-direction: column; align-items: flex-start; }
  .l-seg { margin-inline: -.5rem; }
  .l-seg a, .l-seg button, .l-toggle, .l-brandf > summary, .l-brandlist a, .l-brandlist button, .l-brandrest > summary { min-height: 44px; }
  .l-toggle, .l-brandf > summary { width: 100%; justify-content: space-between; }
  .l-toggle::before { order: 2; margin-left: auto; }
  .l-sublinks a, .l-sublinks button { min-height: 44px; }
  #tabelle .cmp { min-width: 0; width: max-content; font-size: .88rem; }
  #tabelle .cmp tbody th { position: sticky; left: 0; min-width: 8.5rem; max-width: 8.5rem; font-size: .85rem; padding-right: .7rem; }
  #tabelle .cmp thead th:first-child { min-width: 8.5rem; }
  #tabelle .cmp td, #tabelle .cmp thead th:not(:first-child) { padding-inline: .7rem .3rem; max-width: 9.5rem; }
  .hero-facts { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: .35rem 1.6rem; }
  .hero-facts span + span::before { display: none; }
}

/* phones: the filter and brand controls reach the full 44 px as well */
@media (max-width: 640px) { .l-sublinks a, .l-seg a, .l-toggle, .l-brandf > summary, .l-brandlist a, .l-brandrest > summary { min-height: 44px; } }
