:root {
  --ink:#141528;
  --paper:#f5f5fc;
  --primary:#211bb8;
  --hero:#241cc6;
  --hero-text:#fff;
  --accent:#e8ff75;
  --border:#dcdcf0;
}
* {box-sizing:border-box}
body {margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 "Instrument Sans","Segoe UI",sans-serif}
header,main,footer {width:min(74rem,calc(100% - 3rem));margin-inline:auto}
header {padding-top:1.1rem}
nav {display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.1rem}
nav a {padding:.55rem 1rem;border-radius:99rem;color:var(--ink);text-decoration:none;font-weight:650}
nav a:hover {text-decoration:underline;text-underline-offset:.23em}
nav a[aria-current="page"] {color:white;background:var(--primary)}
.hero {position:relative;display:grid;isolation:isolate;grid-template-columns:1.06fr 1fr;min-height:27rem;overflow:hidden;border-radius:1.6rem;background:var(--hero);color:var(--hero-text)}
.hero-copy {align-self:center;z-index:1;padding:clamp(1.35rem,4.4vw,4rem)}
.hero h1 {font-family:"Bricolage Grotesque","Arial Black","Segoe UI",sans-serif;font-size:clamp(2.7rem,6.5vw,6.5rem);letter-spacing:-.085em;line-height:.94;margin:0 0 1.15rem}
.hero h1 span {color:var(--accent)}
.hero p {font-size:clamp(1rem,1.5vw,1.22rem);max-width:26ch;margin:0}
.hero-image {position:absolute;inset:0 0 0 auto;width:53%;height:100%;object-fit:cover}
.hero::after {content:"";position:absolute;inset:0 0 0 45%;background:linear-gradient(90deg,var(--hero),transparent 28%);pointer-events:none}
.overview-bar {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;padding:1.4rem 0 .9rem}
.overview-caption {font-weight:650;margin:0}
form {display:flex;flex-wrap:wrap;align-items:end;gap:.5rem}
label {display:grid;gap:.25rem;font-size:.84rem;font-weight:650}
input,button {font:inherit;border-radius:.65rem;min-height:2.85rem;padding:.5rem .85rem}
input {width:9.4rem;border:1px solid #606078;background:white;color:var(--ink)}
button,.buy {background:var(--primary);color:white;border:0;cursor:pointer;text-decoration:none;font-weight:700}
button:hover,.buy:hover {filter:brightness(.89)}
:focus-visible {outline:3px solid var(--primary);outline-offset:3px}
ol {list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,15.5rem),1fr));gap:.8rem}
li {display:grid;align-content:start;align-items:start;gap:.45rem;min-height:8.35rem;scroll-margin:1rem;border:1px solid var(--border);border-radius:1rem;background:#fff;padding:1rem 1.1rem}
li:nth-child(4n+2) {background:#eceaff}
li:nth-child(4n+3) {background:#f2f8dd}
li:nth-child(4n+4) {background:#e7f4ff}
li:target,li:focus {outline:3px solid var(--primary);outline-offset:2px}
.number {margin:0;width:fit-content;color:var(--primary);font-size:.82rem;font-weight:850}
h2 {font-family:"Bricolage Grotesque","Segoe UI",sans-serif;font-size:1.22rem;line-height:1.14;letter-spacing:-.025em}
h2,p {margin:0}
.buy {width:fit-content;padding:.55rem .8rem;border-radius:.4rem}
footer {padding:1.1rem 0 2rem;font-size:.86rem}
.gifts {--ink:#321a35;--paper:#fff2f1;--primary:#73214f;--hero:#63234e;--accent:#ffc193;--border:#ecd3dd}
.gifts li:nth-child(4n+2) {background:#ffe4df}
.gifts li:nth-child(4n+3) {background:#f0e4fc}
.gifts li:nth-child(4n+4) {background:#ffe8ce}
.gifts li {min-height:10rem}
@media(max-width:700px) {
  header,main,footer {width:calc(100% - 1.4rem)}
  .hero {display:flex;flex-direction:column;min-height:0;border-radius:1.15rem}
  .hero-copy {align-self:start}
  .hero-image {position:relative;width:100%;height:auto;max-height:15rem;aspect-ratio:1.9;object-position:center}
  .hero::after {display:none}
  .overview-bar {align-items:start}
}

.wordmark {display:inline-block;color:var(--ink);text-decoration:none;font:850 1.2rem/1.15 'Bricolage Grotesque','Segoe UI',sans-serif;letter-spacing:-.05em;margin:.35rem 0 .8rem}

[hidden] {display:none!important}
.overview-caption a {color:var(--primary);text-underline-offset:.2em}
footer nav {margin-top:.5rem}

/* Ein Produkt pro Zeile, mit Platz für das zum Angebot gehörende Foto. */
#products {grid-template-columns:minmax(0,1fr);gap:.85rem}
#products li {min-height:0;gap:1.3rem;align-items:center;padding:clamp(1rem,3vw,1.6rem)}
#products li.has-image {grid-template-columns:clamp(6rem,19vw,11rem) minmax(0,1fr)}
.product-image {display:block;width:100%;aspect-ratio:1;object-fit:contain;background:white;border-radius:.7rem;padding:.45rem}
.product-details {display:grid;gap:.4rem;justify-items:start;min-width:0}
.product-details h2 {font-size:clamp(1.12rem,2.5vw,1.48rem);overflow-wrap:anywhere}
.product-rank {font-size:.9rem}
.product-details .buy {margin-top:.3rem;max-width:100%}
@media(max-width:420px) {
  #products li.has-image {gap:.7rem;grid-template-columns:4.5rem minmax(0,1fr)}
  .product-details .buy {font-size:.84rem}
}
