/* ==========================================================================
   WerkstattWiesel – Spar-Sets auf der Startseite (Entwurf kachel-start.html, abgenommen 29.10.2026)
   ========================================================================== */

/* Grundausstattung groß: Bild links auf Weiß, Text rechts auf Anthrazit */
.ww-set-gross { display: grid; gap: 0; padding: 0; overflow: hidden; }
@media (min-width: 48em) { .ww-set-gross { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.ww-set-gross__bild { display: grid; place-items: center; background: #fff; padding: 1rem; }
.ww-set-gross__bild img { width: 100%; height: auto; max-height: 360px; object-fit: contain; }
.ww-set-gross__text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 2rem; }
.ww-set-gross .ww-eyebrow { color: #ff8a7d; }
.ww-set-gross__titel { margin: 0 0 .75rem; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.05; text-transform: uppercase; hyphens: manual; }
.ww-set-gross__titel a { color: #fff; text-decoration: none; }
.ww-set-gross__titel a:hover { text-decoration: underline; color: #fff; }
.ww-set-gross__inhalt { color: #c4c4c4; font-size: .9375rem; margin: 0 0 1rem; }
.ww-set-gross__preis { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .6rem; margin: 0; color: #c4c4c4; }
.ww-set-gross__preis strong { font-size: 2.1rem; color: var(--preis-hell); line-height: 1.1; }
.ww-set-gross__pflicht { font-size: .75rem; color: #c4c4c4; margin: .35rem 0 1.25rem; }
.ww-set-gross__pflicht a { color: inherit; }
.ww-set-gross .ww-btn { border-radius: 999px; min-height: 50px; padding-inline: 1.5rem; }
.ww-set__spar { display: inline-block; background: var(--rot-text); color: #fff; font-size: .78rem; font-weight: 700; padding: .2rem .55rem; border-radius: 6px; white-space: nowrap; }

/* Set-Kacheln: höchstens drei nebeneinander */
.ww-sets__kopf { margin-bottom: 1.25rem; }
.ww-sets__kopf .ww-eyebrow { margin-bottom: .35rem; }
.ww-sets__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 36em) { .ww-sets__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60em) { .ww-sets__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.ww-set { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--linie); border-radius: 14px; overflow: hidden; }
.ww-set:hover { border-color: var(--anthrazit); }
.ww-set__bild { position: relative; display: grid; place-items: center; padding: 2.3rem .75rem .75rem; border-bottom: 2px solid var(--linie); background: #fff; }
.ww-set__bild img { width: 100%; height: 170px; object-fit: contain; }
.ww-set__marke { position: absolute; top: .6rem; left: .6rem; background: var(--anthrazit); color: #fff; font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .55rem; border-radius: 4px; }
.ww-set__text { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.25rem 1.25rem; }
.ww-set__einsatz { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--rot-text); }
.ww-set__name { margin: .2rem 0 .7rem; font: 800 italic 1.1875rem/1.1 var(--schrift); text-transform: uppercase; }
.ww-set__name a { color: var(--text); text-decoration: none; }
.ww-set__name a:hover { text-decoration: underline; color: var(--text); }
.ww-set__teile { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .8125rem; }
.ww-set__teile li { display: flex; gap: .5rem; padding: .32rem 0; border-top: 1px dashed #d6d4cf; line-height: 1.3; }
.ww-set__teile li:last-child { border-bottom: 1px dashed #d6d4cf; }
.ww-set__n { flex: none; width: 1.9rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.ww-set__kasse { margin-top: auto; }
.ww-set__preiszeile { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.ww-set__preiszeile strong { font-size: 1.5rem; line-height: 1; color: var(--preis); }
.ww-set__pflicht { margin: .35rem 0 .8rem; font-size: .6875rem; color: var(--text-2); }
.ww-set__pflicht > span { display: block; white-space: nowrap; }
.ww-set__pflicht a { color: inherit; }
.ww-set .ww-btn { width: 100%; min-height: 44px; border-radius: 999px; gap: .45rem; white-space: nowrap; }

/* Mengenstaffel */
.ww-staffel { border: 0; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
.ww-staffel legend { grid-column: 1 / -1; padding: 0; margin-bottom: .45rem; font-size: .8125rem; color: var(--text-2); }
.ww-staffel label { position: relative; cursor: pointer; }
.ww-staffel input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ww-staffel span { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .55rem .25rem; border: 2px solid var(--linie); border-radius: 10px; text-align: center; line-height: 1.15; cursor: pointer; }
.ww-staffel b { font-size: .9375rem; }
.ww-staffel small { font-size: .75rem; font-weight: 700; color: var(--rot-text); }
.ww-staffel input:checked + span { background: var(--anthrazit); border-color: var(--anthrazit); color: #fff; }
.ww-staffel input:checked + span small { color: #ffb3aa; }
.ww-staffel input:focus-visible + span { outline: 3px solid var(--rot-text); outline-offset: 2px; }

/* Rote Kachel „Alle Spar-Sets“ */
.ww-set--alle { background: var(--rot-text); border-color: var(--rot-text); }
.ww-set--alle:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); }
.ww-set--alle a { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem; height: 100%; min-height: 12rem; padding: 1.5rem; color: #fff; text-decoration: none; }
.ww-set--alle__kopf { display: flex; align-items: baseline; gap: .75rem; }
.ww-set--alle__zahl { font: 800 italic clamp(3.5rem, 6vw, 5rem)/1 var(--schrift); }
.ww-set--alle__titel { font: 800 italic clamp(1.5rem, 2.4vw, 2rem)/1 var(--schrift); text-transform: uppercase; }
.ww-set--alle__text { font-size: .9375rem; color: #ffe1dd; max-width: 30ch; }
.ww-set--alle__link { background: #fff; color: var(--rot-text); padding: .75rem 1.25rem; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.ww-set--alle:hover .ww-set--alle__link { background: var(--anthrazit); color: #fff; }
