:root {
    color-scheme: light;
    font: 100%/1.5 "Segoe UI", system-ui, sans-serif;
    color: #202e28;
    background: #f7f6f1;
    --gruen: #263d32;
    --linie: #dbdcd2;
    --muted: #526057;
    --gold: #a66c20;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, dl, dd { margin: 0; }
header { background: #fff; border-bottom: 1px solid var(--linie); }
.kopf, main { width: min(1192px, calc(100% - clamp(2rem, 7vw, 7rem))); margin-inline: auto; }
.kopf, .abschnitt, .kartenaktionen { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.kopf { min-height: 3.8rem; }
.kopf strong { font: 700 1.65rem/1 Georgia, serif; letter-spacing: -.07em; color: var(--gruen); }
.kopf strong span { color: #855625; }
.kopf small, footer, .filter small, .ergebniskopf span { color: var(--muted); font-size: .82rem; }
main { padding-block: 1.4rem 2.5rem; }
.intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); overflow: hidden; border-radius: 6px; background: #26372e; color: #fff; }
.introtext { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.35rem, 3vw, 3rem); background: linear-gradient(110deg, #1d3129, #38453a); }
.introtext p { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #f4cf90; }
h1, h2 { font-family: Georgia, ui-serif, serif; font-weight: 500; letter-spacing: -.045em; line-height: 1.06; }
h1 { margin: .4rem 0 .65rem; font-size: clamp(2.4rem, 5.3vw, 4.65rem); }
.introtext div { color: #f4f2e9; font-size: clamp(.9rem, 1.55vw, 1.08rem); }
.intro img { display: block; width: 100%; height: clamp(145px, 17.5vw, 225px); object-fit: cover; object-position: 54% 54%; }
.auswahl { background: #fff; padding: clamp(1rem, 1.8vw, 1.55rem); border: 1px solid var(--linie); border-radius: 6px; margin-top: .75rem; }
h2 { font-size: clamp(1.65rem, 2.65vw, 2.25rem); }
.abschnitt { margin-bottom: .85rem; }
.auswahl h2, .klein h3 { font: 700 1rem/1.3 "Segoe UI", system-ui, sans-serif; letter-spacing: -.012em; }
.klein { margin: 1rem 0 .6rem; }
button, select, input { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
button { border: 1px solid var(--linie); border-radius: 6px; background: #fff; min-height: 42px; padding: .48rem .75rem; font-weight: 600; }
button:hover, a:hover { color: #704919; }
:where(a,button,summary,input,select):focus-visible { outline: 3px solid #98631d; outline-offset: 3px; }
.themenreihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(78px, 1fr)); gap: .45rem; }
.kachel { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; min-width: 0; padding: 0; overflow: hidden; text-align: center; background: #fbfaf6; }
.kachel img { width: 100%; height: clamp(54px, 5.5vw, 76px); display: block; object-fit: cover; }
.kachel span { padding: .4rem .1rem; margin-block: auto; overflow-wrap: anywhere; font-size: .79rem; line-height: 1.18; }
.kachel[aria-pressed=true], .kachel[aria-current=page] { border-color: #9d6621; box-shadow: inset 0 0 0 1px #9d6621; background: #fff1d2; }
.kachel:hover { border-color: var(--gold); }
.unterthemen { display: flex; flex-wrap: wrap; gap: .4rem; }
.unterthemen .kachel { flex-direction: row; align-items: center; padding: .2rem .65rem; gap: .35rem; min-height: 36px; }
.unterthemen .kachel img { width: 1.7rem; height: 1.7rem; object-fit: cover; border-radius: 6px; }
.unterthemen .kachel span { font-size: .84rem; }
.textknopf { min-height: 32px; border: 0; padding: .2rem .4rem; text-decoration: underline; }
.filter { margin-top: 1rem; padding-top: .65rem; border-top: 1px solid var(--linie); }
summary { font-weight: 650; color: var(--gruen); font-size: .94rem; padding-block: .4rem; }
.felder { display: grid; margin: .55rem 0; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.felder label { display: block; font-size: .85rem; font-weight: 600; }
.felder input, .felder select { width: 100%; min-width: 0; display: block; border: 1px solid #adb4a9; border-radius: 6px; background: white; padding: .6rem .45rem; margin-top: .25rem; min-height: 42px; font-size: 1rem; }
.paar { display: flex; gap: .25rem; }
.filter small { display: block; margin: .65rem 0; }
.primaer, .vergleich { background: var(--gruen); color: white; border-radius: 6px; }
.primaer:hover, .vergleich:hover { color: #fff; background: #35533f; }
#themen, #ergebnisse { scroll-margin-block: .8rem; }
#ergebnisse { margin-top: 1.7rem; }
.ergebniskopf { flex-wrap: wrap; }
.karten { display: grid; align-items: start; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; }
.karte { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--linie); border-top: 4px solid #58776a; border-radius: 6px; background: white; padding: clamp(.9rem,1.7vw,1.35rem); overflow-wrap: anywhere; }
.karte[data-klasse="High-End"] { border-top-color: #ab762f; }
.karte[data-klasse="Mittelklasse"] { border-top-color: #647d8e; }
.klasse { align-self: flex-start; font-size: .72rem; color: var(--muted); text-transform: uppercase; font-weight: 700; letter-spacing: .09em; }
.kartenbild { margin: .65rem 0 0; }
.kartenbild img { display: block; width: 100%; height: clamp(125px,14vw,176px); border-radius: 6px; object-fit: contain; background: #f5f2eb; }
.kartenbild figcaption { margin-top: .2rem; font-size: .72rem; color: var(--muted); }
.amazon { display: inline-flex; align-items: center; min-height: 42px; color: var(--gruen); font-size: .86rem; font-weight: 650; text-underline-offset: .15em; }
.typ { color: var(--muted); margin: 1rem 0 .1rem; font-size: .83rem; }
.karte h3 { font-size: clamp(1.19rem, 2vw, 1.5rem); line-height: 1.14; letter-spacing: -.032em; }
.preis:not(:empty) { font-weight: bold; margin-top: .35rem; }
.preisquelle { font-size: .78rem; color: var(--muted); }
.preisquelle a { color: inherit; }
dl { margin-top: 1rem; }
dl div { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: .5rem; padding: .35rem 0; border-top: 1px solid #e8e8e1; font-size: .85rem; }
dt { color: var(--muted); }
dd { font-weight: 600; text-align: right; }
.produktdetails { margin-top: .4rem; }
.produktdetails dl { margin: 0 0 .6rem; }
.kartenaktionen { flex-wrap: wrap; justify-content: flex-start; margin-top: 1rem; }
.vergleich { display: inline-flex; gap: .45rem; align-items: center; min-height: 42px; padding: .55rem .8rem; text-decoration: none; font-size: .86rem; font-weight: 650; }
.tauschen { font-size: .86rem; }
#undo { margin-top: 1rem; }
.meldung { padding: 1rem; border-radius: 6px; background: #f4e9d7; }
footer { margin-top: 1.8rem; border-top: 1px solid var(--linie); padding-top: .75rem; }
.rechtslinks { display: flex; flex-wrap: wrap; gap: .35rem 1.15rem; margin-top: .45rem; }
.rechtslinks a, .rechtstext a { color: var(--gruen); text-underline-offset: .15em; }
.rechtslinks a { padding-block: .35rem; }
.wortmarke { text-decoration: none; }
.rechtstext { max-width: 76ch; margin-inline: auto; padding: clamp(1.1rem, 3.8vw, 3rem); background: white; border: 1px solid var(--linie); border-radius: 6px; overflow-wrap: anywhere; }
.rechtstext h1 { margin: 0 0 1.4rem; font-size: clamp(1.8rem, 5vw, 3.1rem); }
.rechtstext h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 1.55rem 0 .6rem; }
.rechtstext p { margin: .6rem 0; }
.rechtstext address { font-style: normal; }
.sr { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 820px) {
    .themenreihe { display: flex; overflow-x: auto; padding: .2rem .15rem .45rem; scrollbar-width: thin; }
    .themenreihe .kachel { flex: 0 0 86px; }
    .themenreihe .kachel img { height: 62px; }
    .karten { gap: .5rem; }
}
@media (max-width: 680px) {
    .karten { grid-template-columns: 1fr; gap: .75rem; }
    .kopf { min-height: 3.1rem; }
    .kopf strong { font-size: 1.4rem; }
    main { padding-top: .85rem; }
    .intro { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); }
    .introtext { padding: 1.1rem; }
    .introtext p { font-size: .64rem; }
    h1 { font-size: clamp(2.05rem,7.8vw,2.85rem); }
    .intro img { height: 100%; min-height: 148px; }
    .unterthemen { flex-wrap: nowrap; overflow-x: auto; padding: .2rem .15rem .45rem; }
    .unterthemen .kachel { flex: 0 0 auto; max-width: 165px; }
    .felder { grid-template-columns: 1fr; }
    dl div { padding: .45rem 0; }
    .kartenaktionen { justify-content: space-between; }
}

.geschenkscore { margin-top: .55rem; font-size: .88rem; }
.dialog { scroll-margin-block: .75rem; }
.dialog h2 { font: 500 clamp(1.45rem,3vw,2rem)/1.15 Georgia,serif; }
.dialogkopf,.finderwege,.dialogaktionen,.genaufelder { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem; }
.dialogkopf { justify-content:space-between; }
.dialogkopf small,.antwortliste { color:var(--muted); font-size:.84rem; }
.finderwege,.dialogaktionen,.genaufelder { margin-top:.8rem; }
.symbolreihe { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.55rem; padding:0; border:0; margin:.85rem 0 0; max-width:42rem; }
.symbolwahl { position:relative; display:grid; place-content:center; justify-items:center; gap:.3rem; padding:.75rem .3rem; text-align:center; cursor:pointer; border:1px solid var(--linie); border-radius:6px; background:#fbfaf6; }
.symbolwahl input { position:absolute; opacity:0; width:1px; height:1px; }
.symbolwahl b { font-size:.9rem; overflow-wrap:anywhere; }
.symbolwahl span { font-size:1.75rem; line-height:1.2; }
.symbolwahl:has(:checked) { background:#fff1d2; border-color:#93601e; box-shadow:inset 0 0 0 1px #93601e; }
.symbolwahl:focus-within { outline:3px solid #98631d; outline-offset:2px; }
.genau { margin-top:.45rem; }
.genaufelder input[type=number] { width:7rem; }
.genaufelder input,.genaufelder select { padding:.35rem; min-height:42px; }
.dialogaktionen a { color:var(--gruen); }
.geschenkscore b { color: #295838; margin-inline-start: .25rem; }
.geschenkscore small { display: block; color: var(--muted); }
.direktvergleich { display: inline-block; margin: 1rem .75rem 0 0; color: var(--gruen); font-weight: 650; }
a.kachel { min-height: 42px; color: inherit; border: 1px solid var(--linie); border-radius: 6px; text-decoration: none; font-weight: 600; }
@media (min-width: 681px) {
    @supports (grid-template-rows: subgrid) {
        .karten { align-items: stretch; row-gap: 0; }
        .karte { display: grid; grid-row: span 13; grid-template-rows: subgrid; align-content: start; }
        .karte > .klasse { grid-row: 1; }
        .karte > .kartenbild { grid-row: 2; }
        .karte > .typ { grid-row: 3; }
        .karte > h3 { grid-row: 4; }
        .karte > .geschenkscore { grid-row: 5; }
        .karte > .preis { grid-row: 6; }
        .karte > .preisquelle { grid-row: 7; }
        .karte > .merkmale { grid-row: 8 / span 4; display: grid; grid-template-rows: subgrid; }
        .karte > .produktdetails { grid-row: 12; }
        .karte > .kartenaktionen { grid-row: 13; align-self: end; }
    }
}
