/* kwp-baumarkt.de - Layout C, barrierefrei (WCAG AA), responsive.
   Farben kontrastgeprüft: Buttons/Text nutzen die dunkleren Töne. */
:root{
  --ink:#2b2723; --muted:#6a6157; --line:#e7e1d8; --bg:#fbf9f5; --paper:#fff;
  --green:#3f7d54; --green-d:#2f6040; --terra:#c26a3d; --terra-d:#9c4a24; --sand:#f2ece1;
  --maxw:1120px; --radius:12px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"Iowan Old Style",Georgia,"Times New Roman",serif;color:var(--ink);
  background:var(--bg);line-height:1.6;font-size:17px;-webkit-font-smoothing:antialiased}
.sans,nav,button,.btn,.card-p,.tile-p,.pbox-brand,.pbox-note,.kicker,.badge-soon,.badge-saison{font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
img{max-width:100%;height:auto;display:block}
a{color:var(--green-d)}
a:hover{color:var(--ink)}
:focus-visible{outline:3px solid var(--green-d);outline-offset:2px;border-radius:3px}
.skip{position:absolute;left:-9999px;top:0;background:var(--green-d);color:#fff;padding:10px 16px;z-index:100}
.skip:focus{left:8px;top:8px}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}
h1,h2,h3{font-weight:400;line-height:1.2}

/* Header + Nav */
.site-header{background:var(--paper);border-bottom:1px solid var(--line)}
.hbar{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:74px;flex-wrap:wrap}
.logo{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink)}
.logo-mark{height:46px;width:auto;display:block}
.logo-text{font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:700;color:var(--green-d);line-height:1.05}
.logo-text small{display:block;font-family:system-ui,sans-serif;font-size:10px;font-weight:600;color:var(--muted);letter-spacing:.16em;text-transform:uppercase;margin-top:3px}
@media(max-width:520px){.logo-mark{height:38px}.logo-text{font-size:21px}}
.mainnav ul{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:4px}
.mainnav a,.mainnav .soon{display:inline-block;padding:8px 14px;font-size:15px;font-weight:600;color:var(--muted);text-decoration:none;border-radius:8px}
.mainnav a:hover{color:var(--green-d);background:var(--sand)}
.mainnav a[aria-current]{color:var(--green-d);background:var(--sand)}
.mainnav .soon{color:#a49a8d;cursor:default}
.badge-soon{font-size:10px;background:var(--line);color:var(--muted);padding:1px 6px;border-radius:8px;text-transform:uppercase;letter-spacing:.03em;vertical-align:middle}

/* Breadcrumb */
.breadcrumb{padding:16px 0 0}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;font-family:system-ui,sans-serif;font-size:13.5px;color:var(--muted)}
.breadcrumb li+li::before{content:"›";margin-right:6px;color:#bdb4a6}
.breadcrumb a{color:var(--green-d);text-decoration:none}

/* Section-Head */
section{padding:40px 0}
.sec-h{margin-bottom:22px}
.sec-h h2{font-size:27px;display:inline-block;border-bottom:2px solid var(--terra);padding-bottom:6px}
.sec-h a{font-family:system-ui,sans-serif;float:right;color:var(--green-d);font-weight:600;font-size:14px;margin-top:10px;text-decoration:none}
.sec-h a:hover{text-decoration:underline}

/* Hero */
.hero{padding:52px 0 34px;border-bottom:1px solid var(--line)}
.kicker{font-size:13px;letter-spacing:.16em;text-transform:uppercase;color:var(--terra-d);font-weight:700;margin-bottom:12px}
.hero h1{font-size:46px;line-height:1.08;max-width:20ch}
.hero .claim{font-size:23px;color:var(--ink);max-width:60ch;margin-top:14px}
.hero .claim b{color:var(--green-d);font-weight:600}
.hero .sub{font-family:system-ui,sans-serif;font-size:16px;color:var(--muted);max-width:58ch;margin-top:8px}

/* Bereich-Kacheln */
.tiles{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.tile{display:flex;flex-direction:column;gap:4px;background:var(--sand);border-radius:var(--radius);padding:22px;text-decoration:none;color:var(--ink);height:100%;position:relative;transition:background .15s,transform .15s}
a.tile:hover{background:#ece4d5;transform:translateY(-2px)}
.tile-ic{font-size:30px}
.tile-h{font-size:18px;font-weight:700}
.tile-p{font-size:13px;color:var(--muted)}
.tile.soon{opacity:.72}
.tile .badge-soon{position:absolute;top:14px;right:14px;background:#fff}

/* Karten (Produktgruppen) */
.cards{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;text-decoration:none;color:var(--ink);height:100%;transition:border-color .15s,box-shadow .15s}
a.card:hover{border-color:var(--green);box-shadow:0 8px 22px rgba(43,39,35,.08)}
.card-img{display:block;height:120px;background:linear-gradient(135deg,#eaf1ea,#d6e5d9);position:relative;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover;display:block}
.card-b{padding:15px 16px;display:flex;flex-direction:column;gap:4px}
.card-h{font-size:19px}
.card-p{font-size:13.5px;color:var(--muted)}
.card.soon{opacity:.75}
.card.soon .card-img{background:repeating-linear-gradient(45deg,#efe9df,#efe9df 11px,#f6f2ea 11px,#f6f2ea 22px)}
.badge-saison{position:absolute;top:10px;left:10px;background:var(--terra-d);color:#fff;font-size:11px;font-weight:700;padding:2px 8px;border-radius:6px}

/* Produktbox */
.pbox{display:grid;grid-template-columns:200px 1fr auto;gap:22px;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:20px;align-items:center}
.pbox-img{height:170px;background:repeating-linear-gradient(45deg,#f0ece3,#f0ece3 12px,#fbf9f5 12px,#fbf9f5 24px);border-radius:8px;position:relative}
.pflag{position:absolute;top:10px;left:10px;background:var(--green-d);color:#fff;font-family:system-ui,sans-serif;font-size:11px;font-weight:700;padding:3px 9px;border-radius:6px}
.pbox-brand{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700;margin-bottom:2px}
.pbox-title{font-size:22px;margin-bottom:10px}
.pbox-merkmale{list-style:none;display:grid;gap:5px;font-family:system-ui,sans-serif;font-size:14px}
.pbox-merkmale li{padding-left:22px;position:relative}
.pbox-merkmale li::before{content:"✓";position:absolute;left:0;color:var(--green-d);font-weight:700}
.pbox-eignung{font-family:system-ui,sans-serif;font-size:13.5px;color:var(--muted);margin-top:10px}
.pbox-cta{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:180px}
.btn{display:inline-block;background:var(--green-d);color:#fff;font-weight:700;padding:12px 20px;border-radius:8px;text-decoration:none;font-size:15px;text-align:center;border:0;cursor:pointer;width:100%}
.btn:hover{background:#254c33;color:#fff}
.btn-off{background:#c9c2b7;cursor:not-allowed}
.btn-off:hover{background:#c9c2b7}
.pbox-hint{font-family:system-ui,sans-serif;font-size:12px;color:var(--terra-d)}
.pbox-note{font-family:system-ui,sans-serif;font-size:11px;color:var(--muted)}

/* Affiliate-Hinweis */
.aff-hinweis{background:var(--sand);border:1px solid var(--line);border-radius:10px;padding:2px 16px;margin:18px 0;font-family:system-ui,sans-serif}
.aff-hinweis summary{cursor:pointer;font-weight:600;font-size:14px;padding:12px 0;color:var(--ink)}
.aff-hinweis p{font-size:13.5px;color:var(--muted);padding-bottom:14px;max-width:80ch}

/* Fließtext */
.prose{max-width:72ch}
.prose p{margin:0 0 15px}
.prose h2{font-size:26px;border-bottom:1px solid var(--line);padding-bottom:6px;margin:30px 0 12px}
.prose h3{font-size:20px;margin:22px 0 8px}
.prose ul,.prose ol{margin:0 0 15px 22px}

/* Definitionslisten als Karten mit farbiger Akzentleiste oben (eckig, kein Links-Balken).
   Grün = erklärend, Terra (--wahl) = Entscheidungen. */
.prose .deflist{margin:16px 0 26px;padding:0;display:grid;gap:14px;list-style:none}
.prose .deflist>div{background:var(--paper);border:1px solid var(--line);
  border-top:4px solid var(--green);border-radius:var(--radius);padding:14px 17px 15px}
.prose .deflist dt{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;
  font-weight:700;font-size:14.5px;color:var(--green-d);margin-bottom:5px;line-height:1.3}
.prose .deflist dd{margin:0;color:#413c35;font-size:16px;line-height:1.55}
.prose .deflist--wahl>div{border-top-color:var(--terra)}
.prose .deflist--wahl dt{color:var(--terra-d)}
@media(min-width:640px){.prose .deflist--cols2{grid-template-columns:1fr 1fr}}

/* Story (Collage) */
.story{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--paper)}
.story .simg{min-height:260px;width:100%;height:100%;object-fit:cover}
.story .sb{padding:34px}
.story h2{font-size:26px;margin-bottom:10px}
.story p{color:var(--muted);font-size:16px}
.story .btn{width:auto;margin-top:16px}

/* FAQ */
.faq details{border:1px solid var(--line);border-radius:10px;margin-bottom:10px;background:var(--paper)}
.faq summary{cursor:pointer;font-weight:600;padding:14px 16px;font-size:16px}
.faq details[open] summary{border-bottom:1px solid var(--line)}
.faq .fa{padding:14px 16px;font-family:system-ui,sans-serif;font-size:14.5px;color:#4a453e}

/* Footer */
.site-footer{background:var(--ink);color:#d7d1c8;margin-top:34px;padding:34px 0 22px;font-family:system-ui,sans-serif;font-size:14px}
.fcols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:26px}
.fcols .logo{font-size:19px}
.fcols p{color:#b3ada3;margin-top:8px;max-width:46ch}
.fcols strong{display:block;color:#fff;margin-bottom:8px}
.fcols a{display:block;padding:3px 0;color:#c9e6d3;text-decoration:none}
.fcols a:hover{color:#fff;text-decoration:underline}
.copy{margin-top:24px;padding-top:14px;border-top:1px solid #3c3833;color:#9a948b;font-size:12.5px}

@media(max-width:900px){
  .tiles{grid-template-columns:repeat(2,1fr)}
  .cards{grid-template-columns:repeat(2,1fr)}
  .pbox{grid-template-columns:1fr;text-align:left}
  .pbox-img{height:200px}
  .pbox-cta{align-items:stretch}
  .story{grid-template-columns:1fr}
  .story .simg{min-height:220px}
  .hero h1{font-size:32px}
  .fcols{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
  .tiles,.cards{grid-template-columns:1fr}
  .fcols{grid-template-columns:1fr}
  .sec-h a{float:none;display:block;margin-top:6px}
}
@media(prefers-reduced-motion:reduce){
  *{transition:none!important;scroll-behavior:auto!important}
}

/* ===== Amazon-Modul Produktbox (.ab-*) - kwp-Palette, WCAG-AA ===== */
:root{
  --ab-accent:#2f6040; --ab-accent-dark:#254c33; --ab-price-color:#2f6040;
  --ab-pro-color:#2f6040; --ab-con-color:#b3261d; --ab-bg:#fff; --ab-border:var(--line);
  --ab-radius:12px; --ab-font:system-ui,-apple-system,"Segoe UI",sans-serif; --ab-font-head:system-ui,sans-serif;
}
.ab-product{display:flex;gap:1.5rem;background:var(--ab-bg);border:1px solid var(--ab-border);
  border-radius:var(--ab-radius);padding:1.4rem;margin:1.25rem 0;font-family:var(--ab-font)}
.ab-product:hover{border-color:var(--green)}
.ab-product__image{flex-shrink:0;width:170px;display:flex;align-items:flex-start;justify-content:center;position:relative}
.ab-product__badge{position:absolute;top:0;left:0;z-index:1;background:var(--terra-d);color:#fff;
  font-family:system-ui,sans-serif;font-size:11.5px;font-weight:700;letter-spacing:.02em;
  padding:4px 10px;border-radius:6px 0 6px 0}
.ab-product__badge--nobild{position:static;display:inline-block;margin-bottom:8px;border-radius:6px}
.ab-product__image img{max-width:170px;max-height:170px;width:auto;height:auto;border-radius:6px}
.ab-product__body{flex:1;min-width:0}
.ab-product__title{font-family:var(--ab-font-head);font-size:1.15rem;font-weight:700;line-height:1.3;margin-bottom:.3rem}
.ab-product__title a{color:var(--ink);text-decoration:none}
.ab-product__title a:hover{color:var(--ab-accent-dark)}
.ab-product__brand{display:inline-block;font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;
  color:#fff;background:var(--ab-accent);padding:.15rem .5rem;border-radius:4px;margin-bottom:.5rem}
.ab-product__price{font-family:var(--ab-font-head);font-size:1.35rem;font-weight:800;color:var(--ab-price-color);margin-bottom:.7rem}
.ab-product__desc{font-size:.92rem;line-height:1.6;margin-bottom:.75rem;color:#3f3a34}
.ab-product__proscons{display:flex;gap:1.5rem;flex-wrap:wrap;margin-bottom:.75rem;font-size:.85rem}
.ab-product__pros,.ab-product__cons{flex:1;min-width:180px}
.ab-product__pros-label{color:var(--ab-pro-color);font-weight:700}
.ab-product__cons-label{color:var(--ab-con-color);font-weight:700}
.ab-product__proscons ul{list-style:none;margin:.3rem 0 0;padding:0}
.ab-product__proscons li{padding:.15rem 0 .15rem 1rem;position:relative;line-height:1.5}
.ab-product__proscons li::before{content:"";position:absolute;left:0;top:.55rem;width:6px;height:6px;border-radius:50%}
.ab-product__pros li::before{background:var(--ab-pro-color)}
.ab-product__cons li::before{background:var(--ab-con-color)}
.ab-product__feedback{font-size:.9rem;line-height:1.55;margin-bottom:.75rem}
.ab-product__verdict{font-size:.9rem;line-height:1.55;background:var(--sand);padding:.7rem .9rem;border-radius:8px;margin-bottom:.85rem}
.ab-product__cta{display:inline-block;font-family:var(--ab-font-head);font-weight:700;font-size:.95rem;
  padding:.7rem 1.6rem;background:var(--ab-accent);color:#fff;border-radius:8px;text-decoration:none;border:2px solid var(--ab-accent)}
.ab-product__cta:hover{background:var(--ab-accent-dark);border-color:var(--ab-accent-dark);color:#fff}
.ab-product__disclaimer{margin:.25rem 0 0;font-size:.72rem;color:var(--muted)}
@media(max-width:640px){
  .ab-product{flex-direction:column}
  .ab-product__image{width:100%}
}

/* Kompaktzeile (Weitere Modelle) */
.ab-kurz{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);
  border-radius:10px;padding:12px 14px;margin:10px 0;font-family:system-ui,sans-serif}
.ab-kurz:hover{border-color:var(--green)}
.ab-kurz__img{flex:none;width:66px;height:66px;display:flex;align-items:center;justify-content:center}
.ab-kurz__img img{max-width:66px;max-height:66px;width:auto;height:auto;border-radius:6px}
.ab-kurz__body{flex:1;min-width:0}
.ab-kurz__title{font-size:16px;font-weight:700;line-height:1.25;margin:0}
.ab-kurz__title a{color:var(--ink);text-decoration:none}
.ab-kurz__title a:hover{color:var(--green-d)}
.ab-kurz__desc{font-size:13px;color:var(--muted);margin:3px 0 0}
.ab-kurz__cta{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:5px;min-width:120px}
.ab-kurz__price{font-weight:800;color:var(--green-d);font-size:16px}
.ab-kurz__btn{background:var(--green-d);color:#fff;font-weight:700;font-size:13px;padding:8px 14px;
  border-radius:7px;text-decoration:none;white-space:nowrap}
.ab-kurz__btn:hover{background:#254c33;color:#fff}
@media(max-width:560px){
  .ab-kurz{flex-wrap:wrap}
  .ab-kurz__cta{flex-direction:row;align-items:center;width:100%;justify-content:space-between;min-width:0}
}
