/* Schubica Shop – Design aus dem Design-System „Schubica“ */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --surface: #ffffff; --surface-alt: #f4f3f1;
  --ink: #1c1c1c; --ink-muted: #5f5f5f;
  --line: #e3e1dd; --line-strong: #8a8a8a;
  --action: #1c1c1c; --on-action: #ffffff; --focus: #0057c8;
  --danger: #b3261e; --success: #1d6f37;
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --breite: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; margin: 0; font-family: var(--font-sans); font-size: 15px; line-height: 1.6; background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--ink-muted); }
h1, h2, h3 { font-weight: 500; line-height: 1.2; text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.container { width: 100%; max-width: var(--breite); margin: 0 auto; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .container { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprung { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--action); color: var(--on-action); padding: 10px 16px; }
.sprung:focus { top: 16px; color: var(--on-action); }

/* Buttons */
.btn { font: inherit; font-size: 15px; font-weight: 500; min-height: 56px; padding: 0 36px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background-color .15s, border-color .15s; }
.btn-primaer { background: var(--action); color: var(--on-action); border-color: var(--action); }
.btn-primaer:hover { background: var(--ink-muted); border-color: var(--ink-muted); color: var(--on-action); }
.btn-primaer:disabled { background: var(--surface-alt); border-color: var(--surface-alt); color: var(--ink-muted); cursor: wait; }
.btn-block { width: 100%; }
.pfeil { flex: none; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; background: var(--surface); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 0; cursor: pointer; }
.pfeil:hover { border-color: var(--ink); }
.pfeil-hell { width: 64px; height: 112px; border: 0; background: none; color: #555; }
.pfeil-hell:hover { background: none; color: #111; }

/* Kopf */
.kopf { background: rgb(248, 248, 248); position: sticky; top: 0; z-index: 20; transition: background-color .2s; }
.kopf-ueber { position: fixed; top: 0; left: 0; right: 0; background: transparent; }
.kopf-ueber.ist-gescrollt, .kopf-ueber.menue-offen { background: rgb(248, 248, 248); }
html { scroll-padding-top: 76px; }
.kopf-innen { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.menue-knopf { width: 44px; height: 44px; margin-left: -9px; padding: 0; display: grid; place-items: center; background: none; border: 0; color: var(--ink); cursor: pointer; }
.menue-knopf .ikon-zu, .menue-knopf[aria-expanded="true"] .ikon-auf { display: none; }
.menue-knopf[aria-expanded="true"] .ikon-zu { display: block; }
.logo { justify-self: center; display: block; padding: 13px 0; }
.logo img { display: block; width: 190px; height: auto; filter: brightness(.55); transition: filter .3s; }
.menue-warenkorb { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -9px; justify-self: end; }
.wk-zahl { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.wk-zahl[hidden] { display: none; }
.menue { position: absolute; top: 100%; left: 0; right: 0; background: rgb(248, 248, 248); padding: 4px 0 12px; z-index: 6; }
.menue[hidden] { display: none; }
.menue a { display: flex; align-items: center; min-height: 48px; font-size: 16px; text-decoration: none; }
@media (max-width: 760px) { .logo img { width: 150px; } }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1200px; overflow: hidden; display: flex; align-items: center; background: var(--surface-alt); }
.hero-spur { position: absolute; inset: 0; display: flex; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hero-folie { flex: 0 0 100%; min-width: 0; height: 100%; }
.hero-folie img { width: 100%; height: 100%; object-fit: cover; }
.hero-verlauf { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.3) 0, rgba(0,0,0,0) 140px), linear-gradient(180deg, rgba(var(--s-oben), calc(.3 * var(--k-oben, 1))) 0, rgba(var(--s-oben),0) 160px), linear-gradient(90deg, rgba(var(--s-text), calc(.55 * var(--k-text, 1))) 0%, rgba(var(--s-text), calc(.25 * var(--k-text, 1))) 38%, rgba(var(--s-text),0) 68%); }
.hero-inhalt { position: relative; padding-top: 120px; padding-bottom: 96px; }
.hero-text { --ink-muted: #3f3f3f; color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 520px; }
.hero-text[hidden] { display: none; }
.zeile { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.hero-titel { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; font-weight: 500; letter-spacing: -.02em; }
.hero-beschreibung { font-size: 17px; line-height: 28px; color: var(--ink-muted); min-height: 56px; }
.hero-pfeile { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 16px; pointer-events: none; z-index: 2; }
.hero-pfeile .pfeil { pointer-events: auto; }
.hero-zeitleiste { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; gap: 8px; z-index: 2; }
.hero-balken { flex: 1; height: 4px; background: rgba(255,255,255,.45); position: relative; overflow: hidden; }
.hero-balken span { position: absolute; inset: 0 auto 0 0; width: 0; background: #ffffff; }
.hero-balken.ist-fertig span { width: 100%; }
.hero-balken.ist-aktiv span { animation: hero-lauf 6s linear forwards; }
.hero.ist-pausiert .hero-balken.ist-aktiv span { animation-play-state: paused; }
@keyframes hero-lauf { from { width: 0; } to { width: 100%; } }
@media (max-width: 760px) {
  .hero-verlauf { background: linear-gradient(0deg, rgba(0,0,0,.3) 0, rgba(0,0,0,0) 140px), linear-gradient(90deg, rgba(var(--s-text), calc(.5 * var(--k-text, 1))) 0%, rgba(var(--s-text), calc(.25 * var(--k-text, 1))) 100%); }
  .hero-pfeile { top: auto; bottom: 48px; transform: none; }
  .hero-pfeile .pfeil-hell { width: 40px; height: 56px; }
  .hero-pfeile .pfeil-hell svg { width: 24px; height: 48px; }
  .hero-inhalt { padding-bottom: 120px; }
  .hero-titel { min-height: calc(2 * 1.05em); }
  .hero-beschreibung { min-height: 84px; color: var(--ink); }
}
/* Hochformat-Tablets (z. B. iPad): Pfeile unten wie auf dem Handy, nicht über dem Text */
@media (max-width: 1100px) and (orientation: portrait) {
  .hero-pfeile { top: auto; bottom: 48px; transform: none; }
  .hero-pfeile .pfeil-hell { width: 40px; height: 56px; }
  .hero-pfeile .pfeil-hell svg { width: 24px; height: 48px; }
  .hero-inhalt { padding-bottom: 120px; }
}
/* Farbton passend zum Bildhintergrund: script.js setzt .ton-hell, wenn das Bild dort dunkel ist */
.hero { --s-oben: 255,255,255; --s-text: 255,255,255; --k-oben: 1; --k-text: 1; }
.hero-text.ton-hell { --ink: #ffffff; --ink-muted: rgba(255,255,255,.92); --action: #ffffff; --on-action: #1c1c1c; }
.pfeil-hell.ton-hell { color: #f2f2f2; }
.pfeil-hell.ton-hell:hover { color: #ffffff; }
.kopf-ueber:not(.ist-gescrollt):not(.menue-offen) .logo img { filter: brightness(.2); }
.kopf-ueber:not(.ist-gescrollt):not(.menue-offen) .ton-hell { --ink: #ffffff; --ink-muted: rgba(255,255,255,.8); }
.kopf-ueber:not(.ist-gescrollt):not(.menue-offen) .logo.ton-hell img { filter: brightness(0) invert(1); }
.kopf-ueber:not(.ist-gescrollt):not(.menue-offen) .ton-hell .wk-zahl { background: #ffffff; color: #1c1c1c; }
@media (prefers-reduced-motion: reduce) {
  .hero-spur { transition: none; }
  .hero-balken.ist-aktiv span { animation: none; width: 100%; }
}

/* Scroll-Animationen (script.js setzt .anim, beim Erscheinen .anim-an) */
@media (prefers-reduced-motion: no-preference) {
  .anim { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
  .anim.anim-an { opacity: 1; transform: none; }
  .hero-inhalt { transform: translateY(calc(var(--scroll-p, 0) * 56px)); opacity: calc(1 - var(--scroll-p, 0) * 1.15); }
  .hero-pfeile, .hero-zeitleiste { opacity: calc(1 - var(--scroll-p, 0) * 1.4); }
}

/* Kategorien und Karten */
.kategorie { padding: 64px 0 32px; }
.kategorie:has(+ .faq) { padding-bottom: 96px; }
.kategorie h2 { font-size: 24px; line-height: 32px; letter-spacing: -.01em; margin-bottom: 32px; }
.raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
@media (max-width: 1099px) { .raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 559px) { .raster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 8px; } }
.karte { display: flex; flex-direction: column; gap: 14px; padding-bottom: 16px; background: rgb(248, 248, 248); border-radius: 16px; overflow: hidden; text-decoration: none; }
.karte-bild { aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.karte-bild img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.karte:hover .karte-bild img { transform: scale(1.03); }
.karte-text { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 8px; padding: 15px 8px; text-align: center; }
.karte-name { font-weight: 800; letter-spacing: .1em; }
.karte-preis { font-variant-numeric: tabular-nums; }
.karte-name + .karte-preis::before { content: "·"; margin-right: 8px; }
@media (max-width: 559px) { .karte-text { flex-direction: column; align-items: center; gap: 4px; font-size: 14px; padding: 0 4px; } .karte-name { letter-spacing: .02em; } .karte-name + .karte-preis::before { content: none; } }

/* Produktseite */
.produkt { padding-top: 32px; padding-bottom: 96px; }
.brotkrumen { font-size: 14px; color: var(--ink-muted); margin-bottom: 18px; }
.brotkrumen a { color: var(--ink-muted); display: inline-block; padding: 14px 0; }
.produkt-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 64px; align-items: start; }
.galerie { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.galerie-haupt { aspect-ratio: 1 / 1; background: rgb(248, 248, 248); border-radius: 16px; display: grid; place-items: center; }
.galerie-haupt { overflow: hidden; }
.galerie-haupt img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.galerie-leiste { display: flex; align-items: center; gap: 8px; }
.galerie-thumbs { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.thumb { aspect-ratio: 1 / 1; padding: 0; display: grid; place-items: center; background: rgb(248, 248, 248); border: 0; border-radius: 12px; cursor: pointer; }
.thumb { overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.galerie-leiste .pfeil { border: 0; background: none; }
.galerie-leiste .pfeil:hover { color: var(--ink-muted); }
.thumb[aria-current="true"] { outline: 1px solid var(--ink); outline-offset: 3px; }
.produkt-info { min-width: 0; display: flex; flex-direction: column; gap: 16px; max-width: 480px; }
.produkt-titel { overflow-wrap: anywhere; font-size: clamp(22px, 2.6vw, 32px); font-weight: 400; letter-spacing: .16em; text-transform: uppercase; line-height: 1.1; }
.produkt-preis { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums; }
.produkt-kurz { color: var(--ink-muted); }
.kauf { display: flex; flex-direction: column; gap: 24px; margin-top: 16px; }
.wahl { border: 0; margin: 0; padding: 0; }
.wahl legend { font-size: 14px; color: var(--ink-muted); padding: 0; margin-bottom: 12px; }
.wahl legend b, .wahl-fest b { color: var(--ink); font-weight: 500; }
.wahl-fest { font-size: 14px; color: var(--ink-muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { position: relative; width: 36px; height: 36px; cursor: pointer; }
.swatch input { position: absolute; inset: -4px; width: 44px; height: 44px; opacity: 0; margin: 0; cursor: pointer; }
.swatch-farbe { display: block; width: 100%; height: 100%; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.swatch-bunt { background: conic-gradient(#c8150a 0 25%, #f5cd2f 0 50%, #0057c8 0 75%, #00913d 0); }
.swatch input:checked + .swatch-farbe { outline: 1px solid var(--ink); outline-offset: 3px; }
.swatch input:focus-visible + .swatch-farbe { outline: 2px solid var(--focus); outline-offset: 3px; }
.menge-feld { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-muted); }
.menge { display: inline-flex; align-self: flex-start; outline: 1px solid var(--line); outline-offset: -1px; border-radius: 12px; overflow: hidden; background: #fff; }
.menge button { width: 60px; height: 60px; border: 0; background: var(--surface); font: inherit; font-size: 18px; cursor: pointer; color: var(--ink); }
.menge input { width: 60px; height: 60px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: inherit; color: var(--ink); -moz-appearance: textfield; }
.menge input::-webkit-outer-spin-button, .menge input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kauf-meldung { min-height: 24px; font-size: 14px; }
.kauf-meldung a { font-weight: 500; }
.hinweis { font-size: 13px; color: var(--ink-muted); }

/* Vollbild für das Produktbild */
.galerie-haupt { position: relative; cursor: zoom-in; }
.vollbild-knopf { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: #fff; color: var(--ink); border: 0; border-radius: 12px; cursor: pointer; }
.vollbild-knopf:hover { background: var(--surface-alt); }
.vollbild-offen { overflow: hidden; }
.vollbild { position: fixed; inset: 0; z-index: 100; background: rgb(248, 248, 248); display: grid; place-items: center; padding: 72px 16px; cursor: zoom-out; }
.vollbild img { position: absolute; inset: 72px 16px; width: calc(100% - 32px); height: calc(100% - 144px); object-fit: contain; object-position: center; mix-blend-mode: multiply; }
.vollbild-zu { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; background: #fff; color: var(--ink); border: 0; border-radius: 12px; cursor: pointer; }
.vollbild-pfeil { position: absolute; top: 50%; transform: translateY(-50%); width: 64px; height: 112px; display: grid; place-items: center; padding: 0; background: none; border: 0; color: #555; cursor: pointer; }
.vollbild-pfeil:hover { color: #111; }
.vollbild-links { left: 8px; }
.vollbild-rechts { right: 8px; }
@media (max-width: 759px) { .vollbild-pfeil { top: auto; bottom: 8px; transform: none; height: 64px; } .vollbild img { inset: 72px 8px 80px; width: calc(100% - 16px); height: calc(100% - 152px); } }

/* Warenkorb */
.seite-schmal { max-width: 880px; padding-top: 48px; padding-bottom: 96px; }
.seite-schmal h1 { font-size: 32px; margin-bottom: 32px; }
.seite-warenkorb { max-width: var(--breite); }
[data-warenkorb]:has(.wk-gesamt) { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 32px; align-items: start; }
.wk-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.wk-zeile { position: relative; display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 8px 28px; padding: 20px; background: rgb(248, 248, 248); border-radius: 16px; align-items: start; }
.wk-bild { width: 160px; height: 160px; align-self: start; background: #fff; border-radius: 12px; overflow: hidden; display: grid; place-items: center; }
.wk-bild img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.wk-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; align-self: stretch; }
.wk-name { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.wk-varianten, .wk-einzel { font-size: 14px; color: var(--ink-muted); }
.wk-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: auto; padding-top: 12px; }
.wk-zeile .menge button, .wk-zeile .menge input { width: 60px; height: 60px; }
.wk-zeile .menge { background: #fff; border-radius: 12px; overflow: hidden; }
.wk-zeile .menge button, .wk-zeile .menge input { background: #fff; }
.wk-zeile .menge button:hover { background: var(--surface-alt); }
.wk-entfernen { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; background: none; border: 0; border-radius: 10px; color: var(--danger); cursor: pointer; transition: background-color .15s; }
.wk-entfernen:hover { background: rgba(179, 38, 30, .1); }
.wk-summe { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wk-gesamt { position: sticky; top: 92px; background: rgb(248, 248, 248); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.wk-gesamt div { display: flex; justify-content: space-between; gap: 16px; font-variant-numeric: tabular-nums; }
.wk-gesamt .wk-total { font-size: 19px; font-weight: 600; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 6px; }
.wk-gesamt .btn { margin-top: 12px; }
.wk-gesamt .wk-land { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; margin-bottom: 10px; }
.wk-land select { font: inherit; font-size: 17px; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; min-height: 60px; width: 100%; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; cursor: pointer; }
.wk-land textarea { font: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; width: 100%; resize: vertical; min-height: 88px; }
.wk-fehler { color: var(--danger); font-size: 14px; }
.kasse-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: start; }
.kasse-uebersicht .wk-gesamt { position: sticky; top: 92px; }
.kasse-formular { background: rgb(248, 248, 248); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 320px; }
.kasse-formular .hinweis { font-size: 13px; color: var(--ink-muted); }
.kasse-liste { list-style: none; margin: 0 0 6px; padding: 0 0 6px; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--line); }
.kasse-zeile { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.kasse-zeile > .wk-summe { align-self: start; }
.kasse-bild { width: 64px; height: 64px; background: #fff; border-radius: 12px; overflow: hidden; display: grid; place-items: center; }
.kasse-bild img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.kasse-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 15px; }
.kasse-summe .wk-name { font-size: 14px; }
.wk-gesamt .kasse-text { justify-content: flex-start; gap: 2px; }
.wk-gesamt .kasse-bild { justify-content: center; }
@media (max-width: 900px) {
  .kasse-raster { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .kasse-uebersicht .wk-gesamt { position: static; }
  .kasse-formular { padding: 16px; }
}
.wk-leer { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 40px; background: rgb(248, 248, 248); border-radius: 16px; }
@media (max-width: 900px) {
  [data-warenkorb]:has(.wk-gesamt) { grid-template-columns: minmax(0, 1fr); }
  .wk-gesamt { position: static; }
}
@media (max-width: 559px) {
  .wk-zeile { grid-template-columns: 104px minmax(0, 1fr); padding: 14px; gap: 8px 14px; }
  .wk-zeile .menge button, .wk-zeile .menge input { width: 52px; height: 52px; }
  .wk-bild { width: 104px; height: 104px; border-radius: 10px; }
  .wk-summe { grid-column: 2; }
  .wk-gesamt { padding: 20px; }
}

/* Textseiten */
.text p { max-width: 65ch; margin-bottom: 16px; }
.text h2 { font-size: 22px; line-height: 30px; letter-spacing: -.01em; margin: 40px 0 16px; }
.text h3 { font-size: 16px; line-height: 24px; font-weight: 600; margin: 28px 0 12px; }
.text ul { max-width: 65ch; margin: 0 0 16px; padding-left: 20px; }
.text li { margin-bottom: 8px; }
.text a { overflow-wrap: anywhere; }

/* Danke-Seite und 404 */
.meldungskarte { background: rgb(248, 248, 248); border-radius: 16px; padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.meldungskarte p { max-width: none; margin: 0; }
@media (max-width: 559px) { .meldungskarte { padding: 24px; } }

/* Rechtstexte über die volle Breite, in Blöcke gegliedert */
.seite-schmal.seite-breit { max-width: var(--breite); }
.recht-vorspann { margin-bottom: 24px; }
.recht-vorspann p { max-width: none; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.recht-block { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 3fr); gap: 16px 48px; background: rgb(248, 248, 248); border-radius: 16px; padding: 32px 40px; margin-bottom: 16px; }
.recht-block > h2 { margin: 0; font-size: 20px; line-height: 28px; letter-spacing: -.01em; position: sticky; top: 92px; align-self: start; }
.recht-inhalt > :first-child { margin-top: 0; }
.recht-inhalt > :last-child { margin-bottom: 0; }
.recht-inhalt p, .recht-inhalt li { max-width: none; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.recht-inhalt ul { max-width: none; }
.recht-inhalt h3 { margin: 28px 0 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.recht-inhalt h3:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.recht-inhalt .btn { hyphens: none; }
p.adressbox { background: rgb(248, 248, 248); border-radius: 16px; padding: 24px 28px; max-width: 420px; text-align: left !important; line-height: 1.7; }
@media (max-width: 859px) {
  .recht-block { grid-template-columns: minmax(0, 1fr); padding: 24px 20px; }
  .recht-block > h2 { position: static; }
}
.tabelle { width: 100%; max-width: 640px; border-collapse: separate; border-spacing: 0 8px; margin: -8px 0 16px; }
.tabelle th, .tabelle td { text-align: left; padding: 16px 20px; vertical-align: top; }
.tabelle th { padding-top: 4px; padding-bottom: 4px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); }
.tabelle tbody td { background: rgb(248, 248, 248); }
.tabelle tbody td:first-child { border-radius: 12px 0 0 12px; }
.tabelle tbody td:last-child { border-radius: 0 12px 12px 0; }

/* Formular (Widerruf) */
.formular { display: flex; flex-direction: column; gap: 20px; max-width: 640px; margin: 0 0 20px; }
.formular label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.formular input, .formular textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; min-height: 60px; width: 100%; }
.formular textarea { resize: vertical; min-height: 120px; }
.formular .btn { min-height: 56px; }
.formular input:focus-visible, .formular textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.formular .btn { align-self: flex-start; }
.formular-meldung { min-height: 24px; margin: 0; font-size: 14px; }
.formular-meldung.fehler { color: var(--danger); }
.formular-meldung.ok { color: var(--success); }

/* Beschreibung (Produktseite) */
.beschreibung { background: rgb(248, 248, 248); padding: 72px 0; }
.beschreibung-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 48px 64px; align-items: start; }
.beschreibung h2 { font-size: 24px; line-height: 32px; letter-spacing: -.01em; margin-bottom: 20px; }
.beschreibung h3 { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 32px 0 12px; }
.beschreibung-text p { color: var(--ink-muted); max-width: 65ch; margin-bottom: 14px; }
.beschreibung-text ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.beschreibung-text li { position: relative; padding-left: 20px; color: var(--ink-muted); }
.beschreibung-text li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--ink); }
.beschreibung-daten { background: #ffffff; border-radius: 16px; padding: 8px 24px 16px; }
.beschreibung-daten h3 { margin-top: 20px; }
.beschreibung-daten dl { margin: 0; }
.beschreibung-daten dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }
.beschreibung-daten dt { color: var(--ink-muted); }
.beschreibung-daten dd { margin: 0; text-align: right; font-weight: 500; }

/* FAQ */
.faq { background: rgb(248, 248, 248); padding: 72px 0; }
.faq h2 { margin-bottom: 32px; }
.faq-liste { max-width: 760px; display: flex; flex-direction: column; gap: 8px; }
.faq details { background: #ffffff; border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 20px; color: var(--ink-muted); max-width: 65ch; }

/* Vorteile */
.vorteile-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px 32px; padding-top: 56px; padding-bottom: 56px; }
.vorteil { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.vorteil h2 { font-size: 17px; line-height: 24px; }
.vorteil p { color: var(--ink-muted); }

/* Fuß */
main { flex: 1 0 auto; }
.fuss { background: rgb(248, 248, 248); }
.fuss-innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.fuss nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 24px; font-size: 14px; }
.fuss nav a { color: var(--ink-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.fuss nav a:hover { color: var(--ink); }
.fuss-innen { flex-direction: column; gap: 0; }

/* Feinschliff Handy */
@media (max-width: 559px) {
  .produkt { padding-bottom: 40px; }
  .produkt-titel { font-size: 22px; letter-spacing: .1em; overflow-wrap: anywhere; }
  .beschreibung, .faq { padding: 48px 0; }
  .kategorie { padding-top: 48px; }
  .vorteile-raster { gap: 28px 24px; padding-top: 40px; padding-bottom: 40px; }
  .fuss nav { gap: 0 14px; font-size: 13px; }
}
@media (max-width: 359px) {
  .menue { font-size: 12px; gap: 0 8px; }
}

/* Produktsicherheit (GPSR) */
.sicherheit { padding: 72px 0; }
.sicherheit h2 { font-size: 24px; line-height: 32px; letter-spacing: -.01em; margin-bottom: 24px; }
.sicherheit h3 { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.sicher-warnung { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; border-radius: 16px; background: #fff3d6; border: 1px solid #e8c36a; margin-bottom: 24px; max-width: 880px; }
.sicher-warnung strong { font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.sicher-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-bottom: 24px; max-width: 880px; }
.sicher-karte { background: rgb(248, 248, 248); border-radius: 16px; padding: 20px 24px; }
.sicher-karte p { margin: 0; color: var(--ink-muted); overflow-wrap: anywhere; }
.sicher-bereich { max-width: 880px; background: rgb(248, 248, 248); border-radius: 16px; margin-bottom: 8px; }
.sicher-bereich summary { cursor: pointer; padding: 16px 24px; min-height: 48px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sicher-bereich summary::-webkit-details-marker { display: none; }
.sicher-bereich summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--ink-muted); }
.sicher-bereich[open] summary::after { content: "–"; }
.sicher-bereich ul { margin: 0; padding: 0 24px 20px; list-style: none; display: flex; flex-direction: column; gap: 10px; color: var(--ink-muted); }
.sicher-schutz { display: block; color: var(--ink); }
.sicherheit .hinweis { margin-top: 16px; max-width: 880px; }
@media (max-width: 559px) {
  .sicherheit { padding: 48px 0; }
  .sicher-bereich summary, .sicher-bereich ul { padding-left: 18px; padding-right: 18px; }
}


/* Cookie-Hinweis (dezent, unten mittig) */
.cookie-hinweis { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 90; width: calc(100% - 32px); max-width: 560px; display: flex; align-items: center; gap: 20px; padding: 16px 20px; background: rgb(248, 248, 248); border-radius: 16px; box-shadow: 0 4px 24px rgba(0, 0, 0, .12); opacity: 0; transform: translate(-50%, 12px); transition: opacity .3s ease, transform .3s ease; }
.cookie-hinweis.sichtbar { opacity: 1; transform: translate(-50%, 0); }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text h2 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.cookie-text p { font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.cookie-text a { color: var(--ink-muted); }
.cookie-text a:hover { color: var(--ink); }
.cookie-hinweis.mit-wahl { flex-direction: column; align-items: stretch; gap: 12px; }
.cookie-hinweis.mit-wahl .cookie-btns .cookie-btn { flex: 1; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn { font: inherit; font-size: 13px; font-weight: 500; min-height: 44px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--action); color: var(--on-action); cursor: pointer; flex-shrink: 0; transition: background-color .15s; }
.cookie-btn:hover { background: var(--ink-muted); }
@media (max-width: 559px) { .cookie-hinweis { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; } .cookie-btns .cookie-btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .cookie-hinweis { transition: none; } }

.fuss nav .cookie-einstellungen { font: inherit; background: none; border: 0; padding: 0; color: var(--ink-muted); cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; }
.fuss nav .cookie-einstellungen:hover { color: var(--ink); }
