/* Shop-Demo-Experiment — Startseite nach Aufbau der Vorlage (Ferm Living), eigene Inhalte. */

@font-face {
  font-family: 'Newsreader';
  src: url('../fonts/newsreader-latin-opsz-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --papier: #fffefa;
  --tinte: #383838;
  --tinte-leise: #6b6a66;
  --kachel: #f6f4ee;
  --band: #f4f2ec;
  --linie: rgba(56, 56, 56, 0.15);
  --laden: #1f6f8b;
  --laden-dunkel: #17566c;
  --laden-hell: #e4eef1;
  --abdunkeln: rgba(24, 21, 17, 0.38);
  --gruen: #2f7a4d;          /* nur Bedeutung „geöffnet“, keine Akzentfarbe */
  --toast-aktion: #9fd3e3;   /* helle Ladenfarbe auf dunklem Hinweis (Kontrast 7:1) */
  --weiss: #fffefa;
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --rand: 24px;
  --luecke: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
/* hidden muss immer gewinnen, auch gegen display-Regeln (sonst blockiert ein verstecktes Fenster die Seite) */
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--laden); outline-offset: 3px; }

.sprung {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--tinte); color: var(--weiss); padding: 10px 14px;
}
.sprung:focus { left: 8px; }

/* ---------- Hinweisleiste ---------- */
.hinweis {
  position: relative; z-index: 3;
  background: var(--laden);
  color: var(--weiss);
  font-size: 14px; line-height: 16px;
  text-align: center;
  padding: 8px var(--rand);
}
.hinweis a { margin-left: 6px; text-underline-offset: 3px; }

/* ---------- Kopf ---------- */
.oben--ueber { position: absolute; left: 0; right: 0; top: 0; z-index: 3; color: var(--weiss); }
.kopf {
  position: relative;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--rand);
}
.kopf-nav { margin-left: auto; }
.kopf-aktionen { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.kopf-aktionen a { text-decoration: none; }
.korb-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.symbol {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 8px; background: none; border: 0; cursor: pointer; color: inherit;
}
.symbol svg { width: 18px; height: 18px; }
.kopf-aktionen .menue-knopf { display: none; }

.marke {
  font-family: var(--serif);
  font-size: 19px; line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
}
.marke small { display: block; font-size: 19px; font-weight: 400; }

.kopf-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.kopf-nav a { text-decoration: none; }
.kopf-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Hero ---------- */
.held {
  position: relative;
  height: 450px;
  color: var(--weiss);
  overflow: hidden;
}
.held img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 60%;
  filter: brightness(0.9) saturate(0.9);
}
.held::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 21, 17, 0.62) 0%, rgba(24, 21, 17, 0.35) 45%, rgba(24, 21, 17, 0.05) 75%),
    linear-gradient(180deg, rgba(24, 21, 17, 0.6) 0%, rgba(24, 21, 17, 0.12) 30%, rgba(24, 21, 17, 0.35) 100%);
}
.held-text {
  position: absolute; left: var(--rand); bottom: 24px; z-index: 1;
  max-width: 760px;
}
.held h1 {
  margin: 0 0 32px;
  font: 500 48px/56px var(--serif);
  letter-spacing: -0.01em;
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 48px; padding: 0 14px;
  border: 1px solid currentColor; background: transparent;
  font: 500 14px/1 var(--sans);
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.knopf--hell { color: var(--weiss); }
.knopf--hell:hover { background: var(--weiss); color: var(--tinte); }
.knopf--dunkel { color: var(--tinte); }
.knopf--dunkel:hover { background: var(--laden); border-color: var(--laden); color: var(--weiss); }
.knopf--voll { width: 100%; }
.knopf--laden { justify-content: center; background: var(--laden); border-color: var(--laden); color: var(--weiss); min-height: 52px; font-size: 15px; }
.knopf--laden:hover { background: var(--laden-dunkel); border-color: var(--laden-dunkel); }
/* ---------- Bausteine nach 21st.dev (siehe js/extras.js) ---------- */
/* Knopf „In den Warenkorb“ nach bidyut10: sinkt ein, blendet über „lädt“ in „Im Warenkorb“ */
.korb-knopf { position: relative; overflow: hidden; transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.15s; }
.korb-knopf-text { display: inline-flex; align-items: center; gap: 8px; transition: opacity 0.18s, transform 0.18s; }
.korb-knopf-text svg { width: 14px; height: 14px; }
.korb-knopf::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%;
  opacity: 0; transition: opacity 0.18s;
}
.korb-knopf.laedt { transform: translateY(1px) scale(0.985); box-shadow: inset 0 2px 6px rgba(24, 21, 17, 0.12); }
.korb-knopf.laedt .korb-knopf-text { opacity: 0; transform: translateY(-4px); }
.korb-knopf.laedt::after { opacity: 1; animation: drehen 0.7s linear infinite; }
.knopf[aria-pressed='true'] { background: var(--laden-hell); border-color: var(--laden); color: var(--laden-dunkel); }
.knopf--laden[aria-pressed='true'] { background: var(--laden-dunkel); border-color: var(--laden-dunkel); color: var(--weiss); }
.korb-knopf.frisch .korb-knopf-text { animation: einrasten 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.3); }
@keyframes drehen { to { transform: rotate(360deg); } }
@keyframes einrasten { from { opacity: 0; transform: translateY(6px) scale(0.96); } }
[data-korb-zahl] { display: inline-block; }
[data-korb-zahl].huepf { animation: huepfen 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes huepfen { 40% { transform: translateY(-3px) scale(1.25); } }
.ohne-scroll { overflow: hidden; }

/* Warenkorb-Seitenleiste nach „Drawer / Shopping Cart“ (Efferd) */
.schublade { position: fixed; inset: 0; z-index: 50; }
.schublade-hinter {
  position: absolute; inset: 0; background: var(--abdunkeln);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 0.3s;
}
.schublade-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: var(--papier); color: var(--tinte);
  box-shadow: -12px 0 40px rgba(24, 21, 17, 0.12);
  transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.schublade.offen .schublade-hinter { opacity: 1; }
.schublade.offen .schublade-panel { transform: none; }
.schublade-kopf { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid var(--linie); }
.schublade-kopf h2 { margin: 0; font: 400 26px/32px var(--serif); }
.schublade-inhalt { flex: 1; overflow-y: auto; padding: 0 24px; }
.schublade-inhalt ul { list-style: none; margin: 0; padding: 0; }
.schublade-leer { padding: 32px 0; font-size: 15px; }
.lade-zeile { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.lade-zeile img { width: 72px; height: 90px; object-fit: cover; background: var(--kachel); }
.lade-zeile a { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 500; text-decoration: none; }
.lade-zeile span { display: block; font-size: 12px; color: var(--tinte-leise); }
.lade-zeile button { margin-top: 10px; padding: 0; background: none; border: 0; font-size: 12px; text-decoration: underline; cursor: pointer; color: inherit; }
.lade-zeile .lade-preis { font-size: 14px; color: var(--tinte); }
.lade-zeile--neu { animation: neu-hinterlegt 1.6s ease-out; }
@keyframes neu-hinterlegt { from { background: var(--laden-hell); } }
.schublade-fuss { padding: 18px 24px 24px; border-top: 1px solid var(--linie); background: var(--band); }
.lade-summe { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.lade-hinweis { margin: 0 0 16px; font-size: 13px; color: var(--tinte-leise); }
.lade-weiter { display: block; width: 100%; margin-top: 10px; padding: 10px; background: none; border: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: inherit; }

/* Suchfenster nach „Search Modal“ (Efferd) */
.suchfenster { position: fixed; inset: 0; z-index: 60; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.suchfenster-hinter { position: absolute; inset: 0; background: var(--abdunkeln); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.2s; }
.suchfenster-box {
  position: relative; width: min(620px, 100%); max-height: 70vh; display: flex; flex-direction: column;
  background: var(--papier); color: var(--tinte); border: 1px solid var(--linie);
  box-shadow: 0 24px 60px rgba(24, 21, 17, 0.2);
  opacity: 0; transform: translateY(-8px) scale(0.98); transition: opacity 0.2s, transform 0.2s;
}
.suchfenster.offen .suchfenster-hinter { opacity: 1; }
.suchfenster.offen .suchfenster-box { opacity: 1; transform: none; }
.suchfenster-kopf { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--linie); }
.suchfenster-kopf svg { width: 20px; height: 20px; flex: none; color: var(--tinte-leise); }
.suchfenster-kopf input { flex: 1; min-width: 0; height: 60px; border: 0; background: transparent; font: 400 20px/1 var(--serif); color: inherit; outline: none; }
.suchfenster-kopf input::placeholder { color: var(--tinte-leise); }
.suchfenster-esc { padding: 4px 8px; border: 1px solid var(--linie); background: var(--kachel); font-size: 12px; cursor: pointer; color: inherit; }
.suchfenster-status { margin: 0; padding: 12px 16px 4px; font-size: 12px; color: var(--tinte-leise); min-height: 32px; }
.suchfenster-liste { list-style: none; margin: 0; padding: 0 8px 8px; overflow-y: auto; }
.suchfenster-liste [role='option'] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 10px; cursor: pointer; }
.suchfenster-liste [role='option'][aria-selected='true'] { background: var(--laden-hell); }
.suchfenster-liste img { width: 44px; height: 54px; object-fit: cover; background: var(--kachel); }
.treffer-name { font-size: 15px; font-weight: 500; }
.treffer-name small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--tinte-leise); }
.treffer-kat { grid-column: 1 / 3; font: 400 20px/1.2 var(--serif); }
.treffer-meta { font-size: 13px; color: var(--tinte-leise); }
.treffer-leer { padding: 16px 10px 20px; font-size: 15px; }
.suchfenster-fuss { display: flex; gap: 18px; margin: 0; padding: 10px 16px; border-top: 1px solid var(--linie); font-size: 12px; color: var(--tinte-leise); background: var(--band); }

/* ---------- Zweite Runde nach 21st.dev (js/extras2.js, shop.js, seiten.js) ---------- */
.korb-kurz { display: none; }

/* Karte: Bildbereich trägt Herz und Schnellansicht */
.stueck-kopf { position: relative; }
.raster--drei .stueck:first-child .stueck-kopf { height: 100%; min-height: 0; }

/* Merkliste-Herz nach „Heart Button“ (Ozan) */
.herz {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 254, 250, 0.9); color: var(--tinte);
}
.herz svg { width: 19px; height: 19px; fill: transparent; transition: fill 0.2s, stroke 0.2s, transform 0.2s; overflow: visible; }
.herz:hover svg { transform: scale(1.08); }
.herz[aria-pressed='true'] svg { fill: var(--laden); stroke: var(--laden); }
.herz::after {
  content: ''; position: absolute; inset: 50% auto auto 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border: 2px solid var(--laden); border-radius: 50%; opacity: 0; pointer-events: none;
}
.herz.ploppt svg { animation: herz-ploppt 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
.herz.ploppt::after { animation: herz-ring 0.5s ease-out; }
@keyframes herz-ploppt { 35% { transform: scale(1.35); } }
@keyframes herz-ring { from { opacity: 0.7; transform: scale(0.5); } to { opacity: 0; transform: scale(1.6); } }
.herz--gross { position: relative; top: auto; right: auto; flex: none; width: 52px; height: 52px; border: 1px solid var(--linie); background: var(--papier); }
.herz--gross svg { width: 22px; height: 22px; }
.pdp-knoepfe { display: flex; gap: 8px; }
.pdp-knoepfe .korb-knopf { flex: 1; width: auto; }

/* Kopf: Merkliste mit kleiner Zahl */
.merk-link { position: relative; }
.merk-zahl {
  position: absolute; top: 1px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--laden); color: var(--weiss); font: 600 10px/16px var(--sans); text-align: center;
}

/* Schnellansicht-Knopf erscheint beim Darüberfahren (nur mit Maus) */
.schnell-knopf {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; min-height: 44px;
  border: 1px solid var(--tinte); background: var(--papier); color: var(--tinte);
  font: 500 14px/1 var(--sans); cursor: pointer;
  opacity: 0; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s, background-color 0.2s, color 0.2s;
}
.stueck-kopf:hover .schnell-knopf, .schnell-knopf:focus-visible { opacity: 1; transform: none; }
.schnell-knopf:hover { background: var(--tinte); color: var(--weiss); }
@media (hover: none) { .schnell-knopf { display: none; } }

/* Filter-Reiter mit gleitendem Strich nach „Animated Tabs“ (Edu Calvo) */
.filter-reiter { position: relative; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.filter-reiter a { padding-bottom: 6px; border-bottom: 0; color: var(--tinte-leise); transition: color 0.2s; }
.filter-reiter a:hover, .filter-reiter a[aria-current='true'] { color: var(--tinte); border-bottom: 0; }
.filter-strich {
  position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--laden); pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.2, 1), width 0.35s cubic-bezier(0.3, 0.7, 0.2, 1);
}

/* „Jetzt geöffnet“ nach „Status Badge“ (Serafim) */
.offen-status { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; line-height: 18px; }
.offen-punkt { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tinte-leise); }
.offen-status--auf .offen-punkt { background: var(--gruen); }
.offen-status--auf .offen-punkt::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--gruen);
  animation: puls 2.4s ease-out infinite;
}
@keyframes puls { from { opacity: 0.8; transform: scale(0.6); } to { opacity: 0; transform: scale(1.4); } }
.fuss .offen-status { margin-bottom: 10px; }

/* Hinweis unten nach „Animated Toast“ (shejanmahamud) */
.toasts {
  position: fixed; z-index: 70;
  left: max(24px, env(safe-area-inset-left, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transition: bottom 0.3s;
}
.toast {
  display: flex; align-items: center; gap: 14px; max-width: 460px;
  padding: 10px 8px 10px 16px; background: var(--tinte); color: var(--papier);
  font-size: 14px; line-height: 20px; box-shadow: 0 12px 32px rgba(24, 21, 17, 0.25);
  animation: toast-rein 0.25s cubic-bezier(0.3, 0.7, 0.2, 1);
  transition: opacity 0.2s, transform 0.2s;
}
.toast.geht { opacity: 0; transform: translateY(8px); }
.toast-aktion { flex: none; padding: 6px 8px; background: none; border: 0; color: var(--toast-aktion); font: 600 14px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.toast-zu { flex: none; display: inline-flex; width: 30px; height: 30px; padding: 6px; background: none; border: 0; color: inherit; cursor: pointer; opacity: 0.75; }
.toast-zu:hover { opacity: 1; }
@keyframes toast-rein { from { opacity: 0; transform: translateY(12px); } }
.mit-kaufleiste .toasts { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }

/* Schnellansicht nach dem Detail-Fenster der „Product Rail Gallery“ (dhxwhy) */
.schnellansicht { position: fixed; inset: 0; z-index: 55; display: flex; align-items: center; justify-content: center; padding: 24px; }
.schnellansicht-hinter { position: absolute; inset: 0; background: var(--abdunkeln); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.schnellansicht-box {
  position: relative; width: min(940px, 100%); max-height: calc(100vh - 48px); overflow: auto;
  background: var(--papier); color: var(--tinte); box-shadow: 0 24px 60px rgba(24, 21, 17, 0.22);
  animation: schnell-rein 0.25s cubic-bezier(0.3, 0.7, 0.2, 1);
}
@keyframes schnell-rein { from { opacity: 0; transform: translateY(10px) scale(0.985); } }
.schnellansicht-zu { position: absolute; top: 8px; right: 8px; z-index: 2; background: var(--papier); }
.schnellansicht-inhalt { display: grid; grid-template-columns: 1fr 1fr; }
.schnell-bild { position: relative; display: flex; align-items: center; justify-content: center; min-height: 460px; background: var(--kachel); }
.schnell-bild img { width: 100%; height: 100%; max-width: 600px; max-height: 560px; object-fit: contain; }
.schnell-bild.stueck-bild--frei img { padding: 12%; }
.schnell-info { display: flex; flex-direction: column; padding: 44px 40px 36px; }
.schnell-kat { margin: 0 0 6px; font-size: 13px; color: var(--tinte-leise); }
.schnell-info h2 { margin: 0 0 8px; font: 400 32px/38px var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.schnell-text { margin: 12px 0 10px; font-size: 14px; line-height: 21px; }
.schnell-versand { margin: 0 0 20px; font-size: 13px; color: var(--tinte-leise); }
.schnell-mehr { align-self: flex-start; margin-top: 16px; font-size: 14px; text-underline-offset: 3px; }

/* Mitlaufende Kaufleiste (Produktseite) */
.kaufleiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 10px max(24px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
  background: var(--papier); border-top: 1px solid var(--linie); box-shadow: 0 -8px 24px rgba(24, 21, 17, 0.08);
  transform: translateY(110%); visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.2, 1), visibility 0s linear 0.3s;
}
.kaufleiste.sichtbar { transform: none; visibility: visible; transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.2, 1); }
.kaufleiste img { width: 48px; height: 60px; object-fit: cover; background: var(--kachel); }
.kaufleiste-text { min-width: 0; }
.kaufleiste-text strong { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kaufleiste-text span { display: block; font-size: 12px; color: var(--tinte-leise); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kaufleiste-knopf .knopf { min-width: 260px; }
.mit-kaufleiste body { padding-bottom: 84px; }

/* ---------- Kategorie-Reihe ---------- */
.reihe { padding: 40px 0 48px; }
.reihe-pfeile { display: flex; justify-content: flex-end; gap: 4px; padding: 0 var(--rand) 16px; }
.reihe-pfeile button {
  width: 32px; height: 32px; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.reihe-pfeile button:disabled { opacity: 0.3; cursor: default; }
.reihe-pfeile svg { width: 16px; height: 16px; }
.reihe-spur {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--rand) - 4 * var(--luecke)) / 4.2);
  gap: var(--luecke);
  padding: 0 var(--rand);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--rand);
  scrollbar-width: none;
}
.reihe-spur::-webkit-scrollbar { display: none; }
.kat {
  position: relative; display: block; aspect-ratio: 309 / 475;
  overflow: hidden; scroll-snap-align: start;
  color: var(--weiss); text-decoration: none;
  background: var(--kachel);
}
.kat img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.kat::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(20, 18, 15, 0.5)); }
.kat span {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font: 400 32px/1.1 var(--serif);
}
.kat:hover img { transform: scale(1.03); }

/* ---------- Geteilter Abschnitt ---------- */
.geteilt {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--luecke);
  padding: 0 var(--rand) 72px;
  align-items: start;
}
.geteilt h2 {
  margin: 40px 0 24px;
  font: 400 64px/72px var(--serif);
  letter-spacing: -0.015em;
  max-width: 13ch;
}
.geteilt-bild { aspect-ratio: 684 / 700; overflow: hidden; background: var(--kachel); }
.geteilt-bild img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Produktraster ---------- */
.raster {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px var(--luecke);
  padding: 0 var(--rand) 52px;
}
.raster--drei { grid-template-columns: 2fr 1fr 1fr; }
.stueck { display: flex; flex-direction: column; }
.stueck-bild {
  position: relative; display: block; aspect-ratio: 330 / 438;
  background: var(--kachel); overflow: hidden;
}
.raster--drei .stueck:first-child .stueck-bild { aspect-ratio: auto; height: 100%; min-height: 0; }
.stueck-bild img { width: 100%; height: 100%; object-fit: cover; }
/* Fotos mit weißem Grund: freigestellt auf der Kachel, wie die Produktbilder der Vorlage */
.stueck-bild--frei img { object-fit: contain; padding: 12%; mix-blend-mode: multiply; }
.marke-stueck {
  position: absolute; left: 14px; top: 14px;
  background: var(--tinte); color: var(--weiss);
  font: 400 12px/1 var(--sans); padding: 8px 6px;
}
.marke-stueck--auf { background: var(--laden); }
.stueck h3 { margin: 22px 0 4px; font: 500 14px/20px var(--sans); }
.stueck h3 a { text-decoration: none; }
.stueck .preis { display: flex; gap: 10px; margin: 0 0 24px; font-size: 12px; line-height: 16px; color: var(--tinte-leise); }
.stueck .knopf { margin-top: auto; }

/* ---------- Bildband ---------- */
.band-bild {
  position: relative; margin: 0 var(--rand) 48px; height: 482px; overflow: hidden; color: var(--weiss);
}
.band-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.band-bild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 21, 17, 0) 25%, rgba(24, 21, 17, 0.5) 50%, rgba(24, 21, 17, 0.72)); }
.band-text { position: absolute; left: calc(50% + 12px); top: 50%; transform: translateY(-38%); z-index: 1; max-width: 520px; }
.band-text h2 { margin: 0 0 32px; font: 500 48px/56px var(--serif); letter-spacing: -0.01em; }

/* ---------- Text rechts ---------- */
.text-rechts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--luecke); padding: 48px var(--rand) 72px; }
.text-rechts > div { grid-column: 2; }
.text-rechts h2 { margin: 0 0 24px; font: 400 48px/56px var(--serif); letter-spacing: -0.01em; max-width: 16ch; }

/* ---------- Linkspalten ---------- */
.spalten { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--luecke); padding: 40px var(--rand) 96px; }
.spalten h3 { margin: 0 0 12px; font: 500 14px/20px var(--sans); }
.spalten ul { list-style: none; margin: 0; padding: 0; }
.spalten li { font-size: 13px; line-height: 23px; }
.spalten a { text-underline-offset: 3px; }

/* ---------- Für das Team im Laden ---------- */
.team {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--luecke);
  margin: 0 var(--rand) 72px; padding: 56px 48px;
  background: var(--laden); color: var(--weiss);
}
.team h2 { margin: 0 0 16px; font: 400 40px/48px var(--serif); letter-spacing: -0.01em; max-width: 14ch; }
.team-kopf p { margin: 0; max-width: 40ch; font-size: 15px; line-height: 22px; opacity: 0.88; }
.team-schritte { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.team-schritte li {
  counter-increment: schritt;
  display: grid; grid-template-columns: 44px 1fr; column-gap: 12px;
  padding: 18px 0; border-top: 1px solid rgba(255, 254, 250, 0.28);
}
.team-schritte li:last-child { border-bottom: 1px solid rgba(255, 254, 250, 0.28); }
.team-schritte li::before { content: counter(schritt); grid-row: span 2; font: 400 32px/1 var(--serif); }
.team-schritte h3 { margin: 2px 0 4px; font: 500 16px/22px var(--sans); }
.team-schritte p { margin: 0; font-size: 14px; line-height: 20px; opacity: 0.88; }

/* ---------- Seitenkopf (Sortiment) ---------- */
.seiten-titel { padding: 40px var(--rand) 36px; }
.seiten-titel h1 { margin: 0; font: 400 64px/72px var(--serif); letter-spacing: -0.015em; }
.seiten-titel p { margin: 10px 0 0; color: var(--tinte-leise); font-size: 14px; }
.filter {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  margin: 0 var(--rand) 40px; padding-top: 24px; border-top: 1px solid var(--linie);
  font-size: 14px;
}
.filter a { text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.filter a:hover, .filter a[aria-current='true'] { border-bottom-color: currentColor; }
.filter-rechts { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.suche-feld {
  width: 220px; height: 40px; padding: 0 12px;
  border: 1px solid var(--linie); background: var(--papier); font: inherit; font-size: 14px; color: inherit;
}
.suche-feld:focus { border-color: var(--tinte); outline: none; }
.sortieren { height: 40px; border: 0; background: transparent; font: inherit; font-size: 14px; color: inherit; cursor: pointer; }
.leer { grid-column: 1 / -1; padding: 48px 0; font-size: 15px; }
.leer button { margin-left: 8px; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* ---------- Produktseite ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: var(--luecke); padding: 20px var(--rand) 80px; align-items: start; }
.pdp-bild { position: relative; background: var(--kachel); aspect-ratio: 684 / 720; overflow: hidden; }
.pdp-bild { display: flex; align-items: center; justify-content: center; }
/* Kleine Fotos (600 px) ganz zeigen statt aufzuziehen: bleibt scharf, wirkt wie die freigestellten Bilder der Vorlage */
.pdp-bild img { width: 100%; height: 100%; max-width: 600px; object-fit: contain; }
.pdp-bild.stueck-bild--frei img { padding: 14%; }
.zurueck { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; font-weight: 500; text-decoration: none; }
.zurueck svg { width: 18px; height: 18px; }
.pdp-info { max-width: 448px; position: sticky; top: 24px; }
.pdp-info h1 { margin: 6px 0 8px; font: 400 34px/40px var(--serif); letter-spacing: -0.01em; }
.pdp-preis { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.pdp-kurz { margin: 0 0 24px; color: var(--tinte-leise); font-size: 14px; }
.pdp-zeile { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--linie); font-size: 14px; }
.pdp-zeile:last-of-type { border-bottom: 1px solid var(--linie); margin-bottom: 20px; }
.pdp-zeile span:first-child { color: var(--tinte-leise); }
.pdp-hinweis { margin: 12px 0 20px; font-size: 13px; color: var(--tinte-leise); }
.haken { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 0 0 8px; padding: 18px 0; border-top: 1px solid var(--linie); font-size: 14px; font-weight: 500; }
.haken li { display: grid; grid-template-columns: 16px 1fr; gap: 6px; line-height: 18px; }
.haken svg { width: 14px; height: 14px; margin-top: 2px; }
.klapp { border-top: 1px solid var(--linie); }
.klapp:last-child { border-bottom: 1px solid var(--linie); }
.klapp summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none;
}
.klapp summary::-webkit-details-marker { display: none; }
.klapp summary::after { content: '+'; font-size: 20px; font-weight: 400; line-height: 1; }
.klapp[open] summary::after { content: '–'; }
.klapp div { padding: 0 0 18px; font-size: 14px; line-height: 21px; }
.klapp p { margin: 0 0 8px; }
.mehr-titel { margin: 0; padding: 0 var(--rand) 24px; font: 400 32px/40px var(--serif); }

/* ---------- Warenkorb ---------- */
.korb { display: grid; grid-template-columns: 1fr 400px; gap: 48px; padding: 0 var(--rand) 96px; align-items: start; }
.korb-liste { border-top: 1px solid var(--linie); }
.korb-zeile { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.korb-zeile img { width: 96px; height: 120px; object-fit: cover; background: var(--kachel); }
.korb-zeile h2 { margin: 0 0 4px; font: 500 15px/20px var(--sans); }
.korb-zeile h2 a { text-decoration: none; }
.korb-zeile p { margin: 0; font-size: 13px; color: var(--tinte-leise); }
.korb-zeile .entfernen { margin-top: 8px; padding: 0; background: none; border: 0; font-size: 13px; text-decoration: underline; cursor: pointer; }
.korb-preis { font-size: 15px; }
.kasse { background: var(--kachel); padding: 28px; position: sticky; top: 24px; }
.kasse h2 { margin: 0 0 18px; font: 400 26px/32px var(--serif); }
.wahl { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; border: 0; }
.wahl legend { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.wahl label { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 14px; border: 1px solid var(--linie); background: var(--papier); font-size: 14px; cursor: pointer; }
.wahl label:has(input:checked) { border-color: var(--tinte); }
.wahl label:has(input:disabled) { opacity: 0.55; cursor: not-allowed; }
.wahl input { margin: 2px 0 0; accent-color: var(--laden); }
.wahl small { display: block; color: var(--tinte-leise); font-size: 13px; margin-top: 2px; }
.summe { display: flex; justify-content: space-between; padding: 16px 0; margin-bottom: 16px; border-top: 1px solid var(--linie); font-size: 16px; font-weight: 600; }
.bestaetigt { margin: 16px 0 0; padding: 14px; background: var(--papier); border-left: 3px solid var(--laden); font-size: 14px; line-height: 20px; }

/* ---------- Vorteile-Band ---------- */
.vorteile { background: var(--band); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--luecke); padding: 84px var(--rand); }
.vorteile h3 { margin: 0 0 6px; font: 400 26px/32px var(--serif); }
.vorteile p { margin: 0; font-size: 14px; line-height: 20px; }

/* ---------- Fuß ---------- */
.fuss { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--luecke); padding: 64px var(--rand) 72px; font-size: 13px; line-height: 22px; }
.fuss h3 { margin: 0 0 20px; font: 500 18px/24px var(--sans); }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss p { margin: 0 0 10px; }
.fuss-unten { display: flex; justify-content: space-between; gap: 24px; padding: 20px var(--rand) 28px; font-size: 12px; color: var(--tinte-leise); }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  .held h1, .held .knopf { animation: auftauchen 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .held .knopf { animation-delay: 0.15s; }
  @keyframes auftauchen { from { opacity: 0; transform: translateY(12px); } }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- Handy ---------- */
@media (max-width: 900px) {
  :root { --rand: 16px; --luecke: 12px; }
  .hinweis { font-size: 13px; }
  .hinweis .lang { display: none; }
  .stueck .preis { flex-direction: column; gap: 2px; }
  .stueck h3 { margin-top: 14px; }
  .vorteile { grid-template-columns: 1fr; }
  .vorteile h3 { font-size: 24px; line-height: 30px; }
  .vorteile p a, .vorteile p { white-space: normal; }
  .kopf { gap: 8px; }
  .marke, .marke small { font-size: 17px; }
  .kopf-nav { display: none; }
  .kopf-aktionen { margin-left: auto; gap: 4px; }
  .kopf-aktionen .menue-knopf { display: inline-flex; }
  .kopf--offen { background: var(--papier); color: var(--tinte); flex-wrap: wrap; }
  .kopf--offen .kopf-nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    order: 3; width: 100%; margin: 8px 0 0; border-top: 1px solid var(--linie);
  }
  .kopf--offen .kopf-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--linie); font: 400 24px/1.2 var(--serif); }
  .team { grid-template-columns: 1fr; margin: 0 0 56px; padding: 40px var(--rand); }
  .team h2 { font-size: 32px; line-height: 38px; }
  .seiten-titel h1 { font-size: 44px; line-height: 50px; }
  .filter-rechts { margin-left: 0; width: 100%; flex-wrap: wrap; }
  .suche-feld { flex: 1; width: auto; }
  .pdp { grid-template-columns: 1fr; padding-top: 8px; }
  .pdp-info { position: static; max-width: none; }
  .pdp-info h1 { font-size: 28px; line-height: 34px; }
  .haken { grid-template-columns: 1fr; }
  .korb { grid-template-columns: 1fr; gap: 32px; }
  .kasse { position: static; padding: 22px var(--rand); margin: 0 calc(-1 * var(--rand)); }
  .korb-zeile { grid-template-columns: 72px 1fr auto; gap: 14px; }
  .korb-zeile img { width: 72px; height: 90px; }
  /* Handy: Warenkorb kommt von unten, wie es der Drawer-Leitfaden von 21st.dev für Telefone empfiehlt */
  .schublade-panel {
    top: auto; left: 0; right: 0; width: 100%; max-height: 85vh;
    transform: translateY(100%); box-shadow: 0 -12px 40px rgba(24, 21, 17, 0.14);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .schublade-kopf, .schublade-inhalt, .schublade-fuss { padding-left: var(--rand); padding-right: var(--rand); }
  .suchfenster { padding: 8px; }
  .suchfenster-box { max-height: 82vh; }
  .suchfenster-kopf input { font-size: 18px; height: 54px; }
  .suchfenster-fuss { display: none; }
  .korb-wort { display: none; }
  .korb-kurz { display: inline; }
  .raster--drei .stueck:first-child .stueck-kopf { height: auto; }
  .herz { top: 6px; right: 6px; width: 34px; height: 34px; }
  .toasts { left: 12px; right: 12px; }
  .toast { max-width: none; }
  .schnellansicht { padding: 8px; align-items: flex-end; }
  .schnellansicht-inhalt { grid-template-columns: 1fr; }
  .schnell-bild { min-height: 0; aspect-ratio: 4 / 3; }
  .schnell-info { padding: 20px var(--rand) 24px; }
  .schnell-info h2 { font-size: 26px; line-height: 32px; }
  .kaufleiste { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .kaufleiste img { width: 40px; height: 50px; }
  .kaufleiste-knopf .knopf { min-width: 0; padding: 0 14px; }
  .mit-kaufleiste .toasts { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .held { height: 560px; }
  .held h1 { font-size: 36px; line-height: 42px; }
  .reihe-spur { grid-auto-columns: 62%; }
  .kat span { font-size: 26px; }
  .geteilt, .text-rechts { grid-template-columns: 1fr; }
  .text-rechts > div { grid-column: 1; }
  .geteilt h2 { font-size: 40px; line-height: 46px; margin-top: 0; }
  .text-rechts h2 { font-size: 34px; line-height: 40px; }
  .raster, .raster--drei { grid-template-columns: 1fr 1fr; gap: 32px var(--luecke); }
  .raster--drei .stueck:first-child { grid-column: 1 / -1; }
  .raster--drei .stueck:first-child .stueck-bild { aspect-ratio: 4 / 3; height: auto; }
  .band-bild { height: 420px; }
  .band-text { left: var(--rand); right: var(--rand); top: auto; bottom: 24px; transform: none; }
  .band-text h2 { font-size: 34px; line-height: 40px; }
  .band-bild::after { background: linear-gradient(180deg, transparent 30%, rgba(20, 18, 15, 0.6)); }
  .spalten, .fuss { grid-template-columns: 1fr 1fr; }
  .vorteile { padding: 48px var(--rand); row-gap: 32px; }
  .fuss-unten { flex-direction: column; gap: 6px; }
}
