/* ============================================================
   Kreativbeads Store V2 – WP8 Manrope & Editorial-Proportionen (Preview)
   Source of Truth: freigegebener Entwurf (Referenzbild).
   Hauptcharakter: kühles Anthrazit, Anker --store-bg = #171A21 (am Referenzbild gemessen),
   Pill-CTAs, schlanker Header, Sidebar als Teil des Rasters, dichte Abfolge
   Hero → Highlights → Editorial → Marken. Orange ist Fokusfarbe (CTA, aktive Zustände, Badge)
   und erscheint an großen Flächen nur als feine Verlaufskante (.st-edge).
   Klassen-Präfix: st-   |   Eigenständig – kein Shared-CSS wird angefasst.

   SCHRIFT: Manrope (Variable Font, 200–800), vollständig lokal aus ./fonts/ ausgeliefert.
   Keine externen Font-Requests. Inter (lokal, /assets/fonts/inter.css) ist nur noch Fallback.
   ============================================================ */

/* Manrope – self-hosted. Quelle: mitgelieferte Variable Font (OFL, Lizenztext liegt in ./fonts/).
   Eine Datei deckt alle Gewichte ab; benötigt werden 400/500/600/700/800. */
@font-face {
    font-family: "Manrope";
    src: url("./fonts/Manrope-VariableFont_wght.ttf") format("truetype");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* --- Flächen: kühl-neutrales Anthrazit rund um den Anker #171A21
           (nicht braun, nicht violett, kein leuchtendes Blau) --- */
    --store-bg: #171A21;                 /* Anker: Haupt-Hintergrund */
    --store-bg-deep: #12151B;            /* Header, Footer: etwas dunkler */
    --store-surface: #1F232C;            /* Flächen (Bildfläche, leere Zustände) */
    --store-surface-soft: #1B1F27;       /* sehr leichte Flächen (Drawer, Eingabefelder) */
    --store-surface-elevated: #262B35;   /* erhöhte Flächen */

    /* --- Text: Off-White und warmes Grau --- */
    --store-text: #F2F2EF;
    --store-text-muted: #A8A39D;
    --store-text-faint: #77747A;

    /* --- Linien: nur dezent --- */
    --store-border-subtle: rgba(255, 255, 255, 0.07);
    --store-border: rgba(255, 255, 255, 0.14);

    /* --- Akzent: Orange (nur Fokus).
           VORLÄUFIG – übernommen aus dem bestehenden Kreativbeads-Dark-Theme
           (public/assets/css/style.css: #f97316). Kein dokumentierter CI-Wert. --- */
    --store-accent: #F97316;
    --store-accent-hover: #FB8A3C;
    --store-accent-ink: #1D0E03;
    --store-accent-soft: rgba(249, 115, 22, 0.13);

    /* --- Kanal-Tokens für transparente Überlagerungen --- */
    --store-bg-rgb: 23, 26, 33;
    --store-bg-deep-rgb: 18, 21, 27;
    --store-text-rgb: 242, 242, 239;
    --store-accent-rgb: 249, 115, 22;
    --store-wash-rgb: 255, 255, 255;

    /* --- Flächenverläufe (alle kühl, Basis #171A21) --- */
    --store-page-top: #1B1F28;
    --store-page-bottom: #14171D;
    --store-bar: #0F1217;
    --store-hero-from: #20242E;
    --store-hero-via: #1A1E26;
    --store-hero-to: #161920;
    --store-kb-from: #181B22;
    --store-kb-via: #20242D;
    --store-kb-to: #171A21;
    --store-originals-from: #232832;
    --store-originals-via: #1D212A;
    --store-originals-to: #191C23;
    --store-media-from: #252A35;
    --store-media-to: #1B1F27;
    --store-swatch-fallback: #8B8A88;
    /* abstrakte Bergsilhouette (Editorial A, solange kein Lifestylebild vorliegt) – kühl, dunkel */
    --store-ridge-far: #1E222B;
    --store-ridge-near: #13161C;
    --store-sky-top: #1B1F28;
    --store-sky-bottom: #232832;

    /* --- Statusfarbe (Fehlermeldung Zugangsseite) --- */
    --store-danger-bg: rgba(239, 68, 68, 0.12);
    --store-danger-text: #FECACA;

    /* --- Radien (differenziert nach Komponente) --- */
    --store-radius-pill: 999px;   /* CTA primär/sekundär, Suchfeld, Chips, Badges */
    --store-radius-xl: 24px;      /* Hero, Editorial-Flächen (eine Radius-Familie) */
    --store-radius-lg: 16px;      /* Produktbild, Gate */
    --store-radius-control: 14px; /* Filter-Button, Formularfelder: weich, aber keine Pill */
    --store-radius-md: 10px;      /* kleine Controls */
    --store-radius-sm: 8px;       /* Sidebar-Einträge */

    /* --- Schatten (nur Drawer/Gate) --- */
    --store-shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.28);

    /* --- Layout --- */
    --store-max: 1560px;
    --store-gutter: 28px;
    --store-gap: 18px;
    --store-sidebar-w: 250px;
    --store-header-h: 84px;
    --store-section-gap: 34px;
    --store-font: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* --- Typografie-Gewichte (Manrope variabel: alle fünf Stufen echt verfügbar) --- */
    --store-fw-body: 400;
    --store-fw-medium: 500;      /* Navigation, Sidebar-Einträge, Chips */
    --store-fw-semibold: 600;    /* Produktname, aktive Zustände, Filtertitel */
    --store-fw-bold: 700;        /* Buttons, Kicker, Preis */
    --store-fw-head: 800;        /* Headlines */
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--store-header-h) + 16px); }

.st-body {
    margin: 0;
    font-family: var(--store-font);
    background: linear-gradient(180deg, var(--store-page-top) 0, var(--store-bg) 520px, var(--store-page-bottom) 100%);
    background-color: var(--store-bg);
    color: var(--store-text);
    font-weight: var(--store-fw-body);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word;
}
.st-body.st-noscroll { overflow: hidden; }
/* WP12: beim Öffnen des Warenkorb-Drawers (Scrollsperre) die Scrollbar-Spur behalten → kein seitlicher Layout-Sprung */
html.st-lock-gutter { scrollbar-gutter: stable; }

.st-body a { color: inherit; text-decoration: none; }
.st-body img { max-width: 100%; height: auto; display: block; }
.st-body h1, .st-body h2, .st-body h3, .st-body h4, .st-body p, .st-body ul { margin: 0; }
.st-body ul { padding: 0; list-style: none; }

.st-body .st-kb-mark { fill: currentColor; }

.st-wrap { width: 100%; max-width: var(--store-max); margin: 0 auto; padding-left: var(--store-gutter); padding-right: var(--store-gutter); }

/* ---------- Preview-Leiste ---------- */
.st-preview-bar {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 6px 16px; background: var(--store-bar); color: var(--store-text-faint);
    font-size: 0.7rem; letter-spacing: 0.06em; text-align: center;
}
.st-preview-bar__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--store-accent); flex: 0 0 auto; }

/* ---------- Header: Logo links, kompakte Navigation, schlanke Icons ---------- */
.st-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(var(--store-bg-deep-rgb), 0.88);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--store-border-subtle);
}
.st-header__inner { display: flex; align-items: center; gap: 56px; min-height: var(--store-header-h); }

.st-brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; flex: 0 0 auto; }
.st-brand__mark { width: 84px; height: auto; color: var(--store-text); }
.st-brand__text { display: flex; align-items: baseline; gap: 0.7em; line-height: 1; white-space: nowrap; }
.st-brand__name { font-weight: 700; letter-spacing: 0.24em; font-size: 0.54rem; }
.st-brand__sub { font-weight: 500; letter-spacing: 0.24em; font-size: 0.54rem; color: var(--store-text-faint); }

.st-nav { display: flex; align-items: stretch; gap: 8px; align-self: stretch; }
.st-nav a {
    position: relative; display: flex; align-items: center; padding: 0 14px;
    font-size: 0.93rem; font-weight: var(--store-fw-medium); color: var(--store-text);
    opacity: 0.82; transition: opacity .15s ease;
}
.st-nav a:hover, .st-nav a:focus-visible { opacity: 1; outline: none; }
.st-nav a.is-active { opacity: 1; font-weight: var(--store-fw-semibold); }
/* Orange-Unterstrich knapp unter dem Text (wie im Referenzbild) */
.st-nav a.is-active::after {
    content: ""; position: absolute; left: 14px; right: 14px; top: calc(50% + 15px); height: 2px; border-radius: 2px; background: var(--store-accent);
}

.st-header__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }

/* Suchfeld: Pill wie im Referenzbild – nur visuell, noch ohne Funktion (deaktiviert, gedämpft) */
.st-search {
    display: flex; align-items: center; gap: 10px; width: clamp(160px, 21vw, 300px); height: 42px; padding: 0 18px;
    border-radius: var(--store-radius-pill); border: 1px solid var(--store-border-subtle); background: rgba(var(--store-wash-rgb), 0.025);
    color: var(--store-text-faint); cursor: not-allowed;
}
.st-search input {
    flex: 1; min-width: 0; border: 0; padding: 0; background: transparent; color: var(--store-text-muted);
    font: inherit; font-size: 0.85rem; cursor: not-allowed;
}
.st-search input::placeholder { color: var(--store-text-faint); }
.st-search input:focus { outline: none; }

.st-cart {
    appearance: none; border: 0; padding: 0; margin: 0; background: transparent; font: inherit; cursor: pointer;
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; color: var(--store-text);
    transition: background .15s ease;
}
.st-cart:hover, .st-cart:focus-visible { background: rgba(var(--store-wash-rgb), 0.07); outline: none; }
.st-cart svg { stroke-width: 1.5; }
.st-cart__count {
    position: absolute; top: -2px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--store-accent); color: var(--store-accent-ink); font-size: 0.64rem; font-weight: 800; line-height: 1;
}

.st-nav-toggle {
    display: none; width: 40px; height: 40px; border-radius: 50%; padding: 0; cursor: pointer;
    border: 0; background: rgba(var(--store-wash-rgb), 0.06);
    flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.st-nav-toggle span { display: block; width: 16px; height: 1.5px; border-radius: 2px; background: var(--store-text); }

/* ---------- Typografie ---------- */
.st-eyebrow, .st-kicker {
    font-size: 0.68rem; font-weight: var(--store-fw-bold); letter-spacing: 0.28em; text-transform: uppercase; color: var(--store-accent);
}
.st-h2 { font-size: clamp(1.3rem, 1.75vw, 1.6rem); font-weight: var(--store-fw-head); letter-spacing: -0.03em; line-height: 1.15; }
.st-lead { font-size: 1.05rem; color: var(--store-text); opacity: 0.9; }
.st-text { color: var(--store-text-muted); }
.st-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: var(--store-fw-bold); color: var(--store-text); white-space: nowrap; transition: color .15s ease; }
.st-body .st-link:hover { color: var(--store-accent-hover); }

/* ---------- Buttons: Pill / Capsule wie im Referenzbild ---------- */
.st-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 44px; padding: 0 24px; border-radius: var(--store-radius-pill); cursor: pointer;
    font: inherit; font-weight: var(--store-fw-bold); font-size: 0.86rem; letter-spacing: 0.005em; line-height: 1; border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.st-arrow { flex: 0 0 auto; transition: transform .15s ease; }
.st-btn:hover .st-arrow, .st-link:hover .st-arrow { transform: translateX(3px); }
.st-btn:hover { transform: translateY(-1px); }
.st-btn--sm { min-height: 42px; padding: 0 22px; font-size: 0.84rem; }
.st-body .st-btn--accent { background: var(--store-accent); color: var(--store-accent-ink); }
.st-body .st-btn--accent:hover { background: var(--store-accent-hover); }
.st-body .st-btn--primary { background: var(--store-text); color: var(--store-bg); }
.st-body .st-btn--primary:hover { background: rgb(var(--store-wash-rgb)); }
.st-body .st-btn--ghost { background: rgba(var(--store-bg-deep-rgb), 0.35); color: var(--store-text); border-color: var(--store-border); }
.st-body .st-btn--ghost:hover { border-color: rgba(var(--store-wash-rgb), 0.38); background: rgba(var(--store-wash-rgb), 0.05); }
.st-btn:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 3px; }
.st-btn[disabled], .st-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Shell: Sidebar + Inhalt ---------- */
.st-shell {
    display: grid; grid-template-columns: var(--store-sidebar-w) minmax(0, 1fr); gap: 34px;
    align-items: start; padding-top: 22px; padding-bottom: 64px;
}
.st-content { min-width: 0; display: flex; flex-direction: column; }
.st-content > * + * { margin-top: var(--store-section-gap); }
.st-content > .st-toolbar + * { margin-top: 0; }
.st-page { padding-top: 28px; padding-bottom: 72px; }

.st-toolbar { display: none; }

/* ---------- Sidebar: Teil des Rasters, kaum Fläche ---------- */
.st-sidebar {
    position: sticky; top: calc(var(--store-header-h) + 18px);
    max-height: calc(100vh - var(--store-header-h) - 36px); overflow-y: auto; overscroll-behavior: contain;
    padding: 4px 4px 16px 0; border-radius: var(--store-radius-md);
    scrollbar-width: thin; scrollbar-color: rgba(var(--store-wash-rgb), 0.14) transparent;
}
.st-sidebar__head { display: none; }
.st-backdrop { display: none; }

.st-filter { padding: 0 0 18px; margin-bottom: 18px; border-bottom: 1px solid var(--store-border-subtle); }
.st-filter:last-of-type { border-bottom: 0; margin-bottom: 0; }
.st-filter > summary {
    display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none;
    padding: 0 0 12px; font-size: 0.95rem; font-weight: var(--store-fw-semibold); letter-spacing: -0.005em; color: var(--store-text);
}
.st-filter > summary::-webkit-details-marker { display: none; }
.st-filter > summary::after {
    content: ""; width: 7px; height: 7px; margin-right: 6px;
    border-right: 1.5px solid var(--store-text-muted); border-bottom: 1.5px solid var(--store-text-muted);
    transform: rotate(-135deg); transition: transform .2s ease;
}
.st-filter:not([open]) > summary::after { transform: rotate(45deg); }
.st-filter > summary:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 2px; border-radius: 4px; }

.st-filter__list { display: flex; flex-direction: column; gap: 0; }
.st-filter__item {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 7px 14px 7px 18px; margin-left: 0; border-radius: 0 var(--store-radius-sm) var(--store-radius-sm) 0;
    font-size: 0.86rem; font-weight: var(--store-fw-medium); color: var(--store-text-muted); transition: color .15s ease, background .15s ease;
}
.st-filter__item:hover, .st-filter__item:focus-visible { color: var(--store-text); background: rgba(var(--store-wash-rgb), 0.04); outline: none; }
.st-filter__item.is-active { color: var(--store-accent); font-weight: var(--store-fw-semibold); box-shadow: inset 3px 0 0 var(--store-accent); }
.st-filter__item.is-empty { opacity: 0.45; }
.st-filter__count { font-size: 0.78rem; color: var(--store-text-faint); font-variant-numeric: tabular-nums; }
.st-filter__item.is-active .st-filter__count { color: var(--store-accent); opacity: 0.85; }
.st-sidebar__note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--store-border-subtle); font-size: 0.75rem; color: var(--store-text-faint); padding-left: 18px; }

/* ---------- Gradient-Outline (.st-edge): feine Verlaufskante für große Campaign-Flächen ----------
   Kein harter Orange-Rahmen: 1px-Kante aus neutralem Anthrazit-Hairline, Orange nur an einer Ecke
   (Radial-Verlauf, läuft nach ~70 % aus). Technik: Pseudo-Element + Mask (content-box XOR border-box),
   erbt border-radius – stabil auf allen Breakpoints. Ohne Mask-Unterstützung bleibt der Hairline-Schatten. */
.st-edge { --edge-gradient: linear-gradient(rgba(var(--store-wash-rgb), 0.07), rgba(var(--store-wash-rgb), 0.07)); }
@supports ((-webkit-mask-composite: xor) or (mask-composite: exclude)) {
    .st-hero.st-edge, .st-banner.st-edge { box-shadow: none; }
    .st-edge::before {
        content: ""; position: absolute; inset: 0; z-index: 3; padding: 1px; border-radius: inherit; pointer-events: none;
        background: var(--edge-gradient);
        -webkit-mask: linear-gradient(rgb(0 0 0) 0 0) content-box, linear-gradient(rgb(0 0 0) 0 0);
        -webkit-mask-composite: xor;
        mask: linear-gradient(rgb(0 0 0) 0 0) content-box, linear-gradient(rgb(0 0 0) 0 0);
        mask-composite: exclude;
    }
}
/* Hero: warme Kante unten rechts (passt zum Licht im Hintergrund), nur ein Hauch oben rechts */
.st-edge--hero {
    --edge-gradient:
        radial-gradient(50% 130% at 100% 100%, rgba(var(--store-accent-rgb), 0.58), rgba(var(--store-accent-rgb), 0) 72%),
        radial-gradient(30% 90% at 100% 0%, rgba(var(--store-accent-rgb), 0.24), rgba(var(--store-accent-rgb), 0) 72%),
        linear-gradient(rgba(var(--store-wash-rgb), 0.075), rgba(var(--store-wash-rgb), 0.045));
}
/* Editorial A (Campaign): etwas kräftiger, Kante läuft unter der Sonne entlang */
.st-edge--campaign {
    --edge-gradient:
        radial-gradient(44% 120% at 80% 100%, rgba(var(--store-accent-rgb), 0.55), rgba(var(--store-accent-rgb), 0) 72%),
        radial-gradient(26% 80% at 0% 0%, rgba(var(--store-accent-rgb), 0.14), rgba(var(--store-accent-rgb), 0) 72%),
        linear-gradient(rgba(var(--store-wash-rgb), 0.075), rgba(var(--store-wash-rgb), 0.045));
}
/* Editorial B (Marke): zurückhaltender */
.st-edge--story {
    --edge-gradient:
        radial-gradient(64% 90% at 100% 0%, rgba(var(--store-accent-rgb), 0.3), rgba(var(--store-accent-rgb), 0) 72%),
        linear-gradient(rgba(var(--store-wash-rgb), 0.065), rgba(var(--store-wash-rgb), 0.045));
}
/* KB/-Kachel: nur ein Hauch */
.st-edge--tile {
    --edge-gradient:
        radial-gradient(50% 120% at 0% 100%, rgba(var(--store-accent-rgb), 0.2), rgba(var(--store-accent-rgb), 0) 72%),
        linear-gradient(rgba(var(--store-wash-rgb), 0.06), rgba(var(--store-wash-rgb), 0.045));
}

/* ---------- Hero: Text links, Bildfläche rechts (Bildplatz vorbereitet) ---------- */
.st-hero {
    position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
    min-height: clamp(300px, 23vw, 340px);
    border-radius: var(--store-radius-xl); background: var(--store-surface-soft);
    box-shadow: inset 0 0 0 1px var(--store-border-subtle);
}
.st-hero__bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(560px 320px at 90% 112%, rgba(var(--store-accent-rgb), 0.22), transparent 70%),
        radial-gradient(420px 220px at 80% -12%, rgba(var(--store-accent-rgb), 0.07), transparent 70%),
        linear-gradient(110deg, var(--store-hero-from) 0%, var(--store-hero-via) 50%, var(--store-hero-to) 100%);
}
/* Campaign-Bild (WP9): Zustandsklassen am Container – .st-bg--img = Desktop-Bild vorhanden, .st-bg--img-m = nur Mobile-Bild.
   Das Lesbarkeits-Overlay greift nur, wenn wirklich ein Bild angezeigt wird; ohne Asset bleibt der CSS-Fallback unverändert. */
.st-hero__bg.st-bg--img::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(var(--store-bg-rgb), 0.95) 0%, rgba(var(--store-bg-rgb), 0.72) 42%, rgba(var(--store-bg-rgb), 0.04) 100%);
}
/* KB/-Zeichen: nur ein leiser Outline-Hinweis, bis ein Campaign-Bild gesetzt ist */
.st-body .st-hero__mark {
    position: absolute; z-index: 1; right: 6%; inset-block: 0; margin-block: auto;
    width: min(32%, 380px); height: auto; fill: none; stroke: rgba(var(--store-text-rgb), 0.13); stroke-width: 1.2; color: transparent;
    filter: drop-shadow(0 0 22px rgba(var(--store-accent-rgb), 0.14));
}
.st-hero__content {
    position: relative; z-index: 2; max-width: 48%; padding: clamp(26px, 3.2vw, 46px);
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.st-hero__title { font-size: clamp(2.1rem, 3.5vw, 3.5rem); font-weight: var(--store-fw-head); letter-spacing: -0.04em; line-height: 1.02; overflow-wrap: normal; }
.st-hero__title span { display: block; color: var(--store-accent); }
.st-hero__text { text-wrap: balance; max-width: 40ch; color: var(--store-text-muted); font-size: clamp(0.88rem, 1vw, 0.96rem); line-height: 1.5; }
.st-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

/* ---------- Produktbereich ---------- */
.st-block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.st-block__head--spaced { margin-top: 32px; }
.st-block__sub { margin-top: 4px; font-size: 0.85rem; color: var(--store-text-faint); }

.st-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px var(--store-gap); }

/* Produktkarte: offen und leicht – Bildfläche + kompakter Text, keine Hülle */
.st-card { min-width: 0; }
.st-card__link {
    display: flex; flex-direction: column; gap: 11px; height: 100%; border-radius: var(--store-radius-lg);
    transition: transform .25s ease;
}
.st-card__link:hover { transform: translateY(-2px); }
.st-card__link:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 5px; }

.st-media { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--store-radius-lg); background: var(--store-surface); }
.st-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s ease; }
.st-card__link:hover .st-media img { transform: scale(1.035); filter: brightness(1.06); }
.st-media--empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, var(--store-media-from), var(--store-media-to)); }
.st-media__ph { width: 34%; height: auto; color: var(--store-text); opacity: 0.1; }

.st-badges { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 5px; max-width: calc(100% - 20px); }
.st-badge {
    padding: 3px 9px; border-radius: var(--store-radius-pill); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    background: rgba(var(--store-bg-deep-rgb), 0.74); color: var(--store-text);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.st-badge--new { background: var(--store-accent); color: var(--store-accent-ink); }
.st-badge--featured { background: rgba(var(--store-text-rgb), 0.92); color: var(--store-bg); }

/* Swatches: direkt am Bild, ohne Kapsel – nur ein dunkler Kontrastring */
.st-swatches { position: absolute; left: 11px; bottom: 11px; display: inline-flex; align-items: center; gap: 6px; }
.st-swatch {
    width: 13px; height: 13px; border-radius: 50%; background: var(--swatch, var(--store-swatch-fallback));
    box-shadow: 0 0 0 1.5px rgba(var(--store-text-rgb), 0.7), 0 0 0 3px rgba(var(--store-bg-deep-rgb), 0.45);
}

.st-card__body { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; min-width: 0; }
.st-card__eyebrow { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--store-text-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-card__title { font-size: 0.95rem; font-weight: var(--store-fw-semibold); letter-spacing: -0.01em; line-height: 1.3; }
.st-price { font-weight: var(--store-fw-bold); font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.st-card__body .st-price { margin-top: 2px; color: var(--store-text); opacity: 0.92; }
.st-price--lg { font-size: 1.5rem; font-weight: var(--store-fw-bold); letter-spacing: -0.01em; opacity: 1; }

/* ---------- Gefilterte Ansicht ---------- */
.st-block__head--results { align-items: flex-start; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 22px; }
.st-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--store-radius-pill);
    font-size: 0.8rem; font-weight: var(--store-fw-medium); background: rgba(var(--store-wash-rgb), 0.06); color: var(--store-text);
    transition: background .15s ease;
}
.st-body .st-chip:hover { background: rgba(var(--store-wash-rgb), 0.1); }
.st-chip span { color: var(--store-text-faint); }

/* ---------- Editorial: A (Campaign, breit) + B (Marke, kompakt), darunter Marken-Kacheln ---------- */
.st-editorial { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: var(--store-gap); }
.st-editorial--single { grid-template-columns: minmax(0, 1fr); }
.st-content > .st-editorial + .st-editorial { margin-top: var(--store-gap); }
.st-editorial--brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-editorial--brands.st-editorial--single { grid-template-columns: minmax(0, 1fr); }

.st-banner {
    position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
    min-height: 240px; border-radius: var(--store-radius-xl); box-shadow: inset 0 0 0 1px var(--store-border-subtle);
}
.st-banner--tile { min-height: 168px; }
.st-banner__bg { position: absolute; inset: 0; z-index: -1; }
/* Text steht links → Lesbarkeits-Overlay läuft von links (dunkel) nach rechts (Motiv) */
.st-banner__bg.st-bg--img::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(var(--store-bg-rgb), 0.92) 0%, rgba(var(--store-bg-rgb), 0.7) 40%, rgba(var(--store-bg-rgb), 0.06) 100%);
}

/* ---------- Campaign-Assets (WP9): <picture> füllt den Container, Ausschnitt je Slot über object-position ----------
   <picture> erzeugt keine eigene Box; das <img> liegt absolut im Hintergrund-Container (Hero / Banner).
   --st-pos = Desktop-Ausschnitt, --st-pos-m = Ausschnitt, sobald das Mobile-Bild (≤640px) geliefert wird.
   Positionswerte: siehe Asset Specification v1.1 (Motivschwerpunkt rechts, Textzone links). */
.st-asset { display: contents; }
.st-asset img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--st-pos, 50% 50%); }
.st-asset--hero  { --st-pos: 72% 50%; --st-pos-m: 70% 30%; }
.st-asset--edit-a { --st-pos: 70% 50%; --st-pos-m: 70% 40%; }
.st-asset--edit-b { --st-pos: 70% 50%; --st-pos-m: 70% 50%; }
.st-asset--brand { --st-pos: 65% 50%; --st-pos-m: 65% 50%; }
/* Mobile-Ausschnitt gilt nur, wenn das Mobile-Bild geliefert wird – Hero bis 640px, Editorial/Marken bis 959px (siehe storeAssetSlots) */
@media (max-width: 640px) {
    .st-asset--hero.st-asset--has-mobile img { object-position: var(--st-pos-m, 50% 50%); }
}
@media (max-width: 959px) {
    .st-asset--edit-a.st-asset--has-mobile img, .st-asset--edit-b.st-asset--has-mobile img, .st-asset--brand.st-asset--has-mobile img { object-position: var(--st-pos-m, 50% 50%); }
    /* nur Mobile-Bild vorhanden: Editorial/Marken zeigen bis 959px das Bild (Fallback ausgeblendet, Overlay aktiv) */
    .st-banner__bg.st-bg--img-m::after {
        content: ""; position: absolute; inset: 0;
        background: linear-gradient(90deg, rgba(var(--store-bg-rgb), 0.92) 0%, rgba(var(--store-bg-rgb), 0.7) 40%, rgba(var(--store-bg-rgb), 0.06) 100%);
    }
    .st-body .st-banner__bg.st-bg--img-m .st-banner__mark, .st-banner__bg.st-bg--img-m .st-scene { display: none; }
}
.st-banner__content { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: clamp(20px, 2vw, 30px) clamp(22px, 2.4vw, 36px); max-width: 540px; }
.st-banner__title { font-size: clamp(1.45rem, 2vw, 1.9rem); font-weight: var(--store-fw-head); letter-spacing: -0.04em; line-height: 1.04; }
.st-banner__text { color: var(--store-text-muted); font-size: 0.9rem; max-width: 42ch; }
.st-banner .st-btn { margin-top: 6px; }
/* WP14.5: Status statt Link, wenn eine Marke noch keine sichtbaren Produkte hat – bewusst kein Button/Link-Look */
.st-banner__status { margin-top: 6px; font-size: 0.85rem; font-weight: var(--store-fw-semibold); color: var(--store-text-faint); letter-spacing: 0.02em; }
.st-banner__status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: currentColor; opacity: 0.6; vertical-align: middle; }
.st-body .st-banner__mark {
    position: absolute; right: 7%; top: 50%; margin-top: -58px; width: min(30%, 250px); height: auto;
    fill: none; stroke: rgba(var(--store-text-rgb), 0.1); stroke-width: 1.3; color: transparent;
}

/* A – Campaign: größer, emotionaler; abstrakte Bergsilhouette mit warmem Licht, bis ein eigenes Lifestylebild vorliegt */
.st-banner--campaign { background: linear-gradient(180deg, var(--store-sky-top) 0%, var(--store-sky-bottom) 100%); }
.st-banner--campaign .st-banner__title { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.st-banner--campaign .st-banner__text { font-size: 0.95rem; color: var(--store-text); opacity: 0.82; }
.st-scene {
    position: absolute; inset: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 6%, rgba(0, 0, 0, 1) 50%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 6%, rgba(0, 0, 0, 1) 50%);
}
.st-scene__sun {
    position: absolute; right: 8%; bottom: 14%; width: 52%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--store-accent-rgb), 0.3) 0%, rgba(var(--store-accent-rgb), 0.1) 38%, rgba(var(--store-accent-rgb), 0) 66%);
}
.st-scene__ridge { position: absolute; left: 0; right: 0; bottom: 0; }
.st-scene__ridge--far {
    height: 68%;
    background: linear-gradient(180deg, rgba(var(--store-wash-rgb), 0.06), rgba(var(--store-wash-rgb), 0) 45%), var(--store-ridge-far);
    clip-path: polygon(0 74%, 10% 56%, 20% 64%, 36% 26%, 49% 50%, 61% 18%, 75% 46%, 88% 32%, 100% 54%, 100% 100%, 0 100%);
}
.st-scene__ridge--near {
    height: 40%;
    background: var(--store-ridge-near);
    clip-path: polygon(0 62%, 16% 42%, 33% 64%, 52% 30%, 70% 60%, 86% 40%, 100% 58%, 100% 100%, 0 100%);
}

/* B – Marke: kompakter, ruhiger, Story-Charakter */
.st-banner--story { background: linear-gradient(135deg, var(--store-originals-from) 0%, var(--store-originals-via) 58%, var(--store-originals-to) 100%); }
.st-banner--story .st-banner__bg::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(340px 230px at 100% -10%, rgba(var(--store-accent-rgb), 0.13), transparent 70%);
}
.st-banner--story .st-banner__title { font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.1; }
.st-body .st-banner--story .st-banner__mark { top: 20px; right: 22px; margin-top: 0; width: 60px; stroke: rgba(var(--store-text-rgb), 0.12); }
.st-points { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.st-points li { position: relative; padding-left: 24px; font-size: 0.88rem; line-height: 1.4; font-weight: var(--store-fw-semibold); color: var(--store-text); }
.st-points li::before {
    content: ""; position: absolute; left: 4px; top: 0.3em; width: 6px; height: 11px; border: solid var(--store-accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Marken-Kacheln: KB/ Core und Originals – kompakter Brand-Charakter, gleiche Basis */
.st-banner--tile .st-banner__title { font-size: clamp(1.25rem, 1.7vw, 1.55rem); }
.st-banner--tile .st-banner__content { gap: 4px; padding-top: clamp(18px, 1.8vw, 26px); padding-bottom: clamp(18px, 1.8vw, 26px); }
.st-banner--kb { background: linear-gradient(120deg, var(--store-kb-from) 0%, var(--store-kb-via) 60%, var(--store-kb-to) 100%); }
.st-banner--kb .st-banner__bg::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(420px 240px at 100% 112%, rgba(var(--store-accent-rgb), 0.16), transparent 70%);
}
.st-banner--kb .st-kicker { color: var(--store-accent); }
.st-banner--originals { background: linear-gradient(135deg, var(--store-originals-from) 0%, var(--store-originals-via) 58%, var(--store-originals-to) 100%); }
.st-banner--originals .st-kicker { color: var(--store-text-muted); }

/* ---------- Story (klein, ohne Box) ---------- */
.st-story {
    display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 6px 32px; align-items: center;
    padding-top: 26px; border-top: 1px solid var(--store-border-subtle);
}
.st-story .st-kicker { grid-column: 1; color: var(--store-text-faint); }
.st-story__title { grid-column: 1; font-size: 1.15rem; font-weight: var(--store-fw-head); letter-spacing: -0.02em; }
.st-story__text { grid-column: 2; grid-row: 1 / span 2; color: var(--store-text-muted); }

/* ---------- Story-Bereich der Startseite (WP14.4): nur Typografie, keine Bilder ---------- */
.st-tale {
    padding: clamp(36px, 6vw, 88px) 0 clamp(28px, 5vw, 72px);
    border-top: 1px solid var(--store-border-subtle);
}
.st-tale__inner { max-width: 40rem; margin: 0 auto; }
.st-tale .st-kicker { color: var(--store-text-faint); }
.st-tale__headline {
    margin: 10px 0 clamp(28px, 3.6vw, 42px);
    font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: var(--store-fw-head);
    letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance;
}
.st-tale__body p { margin: 0 0 1.15em; font-size: clamp(1rem, 1.15vw, 1.08rem); line-height: 1.7; color: var(--store-text-muted); }
.st-tale__body .st-tale__lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.35; font-weight: var(--store-fw-head); letter-spacing: -0.02em; color: var(--store-text); margin-top: 1.5em; }
.st-tale__closing { margin: 2em 0 0; padding-top: 1.4em; border-top: 1px solid var(--store-border-subtle); }
.st-tale__body .st-tale__closing { color: var(--store-text); font-weight: var(--store-fw-semibold); line-height: 1.5; }
.st-tale__closing span { display: block; }
.st-tale__closing span + span { color: var(--store-text-muted); font-weight: 500; }

/* ---------- Leere Zustände / Hinweise ---------- */
.st-empty {
    padding: 34px 28px; border-radius: var(--store-radius-lg); background: rgba(var(--store-wash-rgb), 0.03);
    color: var(--store-text-muted); display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.st-note {
    padding: 2px 0 2px 16px; border-left: 2px solid var(--store-accent); color: var(--store-text-muted); font-size: 0.93rem; max-width: 46ch;
}
.st-note strong { color: var(--store-text); font-weight: 600; }

/* ---------- Produktseite: Brotkrumen ---------- */
.st-crumbs { font-size: 0.8rem; color: var(--store-text-faint); }
.st-body .st-crumbs { margin-bottom: 24px; }
.st-body .st-crumbs a:hover { color: var(--store-text); }
/* ---------- Produktdetailseite (WP11) ----------
   Zwei Spalten (Galerie ≈ 57 % / Info ≈ 43 %); ab 959px einspaltig (vorhandener Store-Breakpoint).
   Galerie: Produktmockups sind 5:4 → Bühne 5:4 mit object-fit: contain = vollständig sichtbar, kein Crop. */
.st-pdp { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.st-pdp__gallery { min-width: 0; }
.st-pdp__stage { position: relative; margin: 0; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--store-radius-xl); background: var(--store-surface); }
.st-pdp__stage::after, .st-pdp__thumb-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--store-border-subtle); pointer-events: none; }
.st-pdp__img { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-pdp__ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, var(--store-media-from), var(--store-media-to)); }
.st-pdp__ph[hidden], .st-pdp__img[hidden], .st-pdp__thumbs[hidden] { display: none; }
.st-pdp__thumbs { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.st-body .st-pdp__thumbs { margin: 16px 0 0; }
.st-pdp__thumb { appearance: none; border: 0; padding: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; font: inherit; color: var(--store-text-muted); }
.st-pdp__thumb-img { position: relative; display: block; width: 104px; aspect-ratio: 5 / 4; border-radius: 12px; overflow: hidden; background: var(--store-surface); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .15s ease; }
.st-pdp__thumb-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-pdp__thumb-label { font-size: 0.74rem; font-weight: var(--store-fw-semibold); letter-spacing: 0.04em; }
.st-pdp__thumb:hover .st-pdp__thumb-img { outline-color: rgba(var(--store-text-rgb), 0.3); }
.st-pdp__thumb[aria-pressed="true"] { color: var(--store-text); }
.st-pdp__thumb[aria-pressed="true"] .st-pdp__thumb-img { outline-color: var(--store-accent); }
.st-pdp__thumb:focus-visible { outline: none; }
.st-pdp__thumb:focus-visible .st-pdp__thumb-img { outline: 2px solid var(--store-text); outline-offset: 3px; }

/* U6: Galerie blättern (Pfeile, Zähler), Hinweis bei Farben ohne eigene Fotos, Highlights */
.st-pdp__stage:focus-visible { outline: 2px solid var(--store-text); outline-offset: 3px; }
.st-pdp__nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--store-border); border-radius: 50%; background: rgba(12, 12, 14, 0.55); color: var(--store-text); cursor: pointer; backdrop-filter: blur(6px); transition: background .15s ease, opacity .15s ease; opacity: .85; }
.st-pdp__nav:hover { background: rgba(12, 12, 14, 0.8); opacity: 1; }
.st-pdp__nav:focus-visible { outline: 2px solid var(--store-text); outline-offset: 2px; opacity: 1; }
.st-pdp__nav--prev { left: 14px; }
.st-pdp__nav--next { right: 14px; }
.st-pdp__nav[hidden], .st-pdp__count[hidden], .st-pdp__colornote[hidden] { display: none; }
.st-pdp__count { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(12, 12, 14, 0.6); color: var(--store-text); font-size: 0.78rem; font-weight: var(--store-fw-semibold); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.st-pdp__colornote { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--store-border); color: var(--store-text-muted); font-size: 0.88rem; line-height: 1.45; }
.st-pdp__highlights { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.st-pdp__highlights li { display: flex; align-items: flex-start; gap: 10px; color: var(--store-text); font-size: 0.95rem; line-height: 1.4; }
.st-pdp__highlights svg { flex: none; margin-top: 2px; color: var(--store-accent); }
@media (hover: none) { .st-pdp__nav { opacity: 1; } }
@media (max-width: 640px) { .st-pdp__nav { width: 40px; height: 40px; } .st-pdp__nav--prev { left: 10px; } .st-pdp__nav--next { right: 10px; } }

.st-pdp__info { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.st-pdp__title { font-size: clamp(1.9rem, 2.9vw, 2.7rem); font-weight: var(--store-fw-head); letter-spacing: -0.04em; line-height: 1.05; }
.st-pdp__pricebar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.st-pdp__badges { display: inline-flex; gap: 6px; }
.st-pdp__info .st-lead { font-size: 1rem; }

.st-pdp__field { border: 0; margin: 0; padding: 0; min-width: 0; }
.st-pdp__field legend { padding: 0; margin: 0 0 12px; font-size: 0.86rem; font-weight: var(--store-fw-medium); color: var(--store-text-muted); }
.st-pdp__field legend strong { color: var(--store-text); font-weight: var(--store-fw-semibold); }
.st-pdp__swatches { display: flex; flex-wrap: wrap; gap: 6px; margin: -4px; }
/* Klickfläche 44px (Touch), sichtbare Farbscheibe 34px mit Rand (Weiß/Schwarz bleiben auf dunklem Grund sichtbar) */
.st-swatchbtn { appearance: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.st-swatchbtn::before {
    content: ""; position: absolute; inset: 5px; border-radius: 50%;
    background: var(--swatch, var(--store-swatch-fallback)); border: 1px solid rgba(var(--store-text-rgb), 0.45);
    transition: box-shadow .15s ease;
}
.st-swatchbtn:hover::before { box-shadow: 0 0 0 2px var(--store-bg), 0 0 0 3px rgba(var(--store-text-rgb), 0.35); }
.st-swatchbtn[aria-pressed="true"]::before { box-shadow: 0 0 0 2px var(--store-bg), 0 0 0 4px var(--store-accent); }
.st-swatchbtn:focus-visible { outline: 2px solid var(--store-text); outline-offset: 1px; }

.st-pdp__sizes { display: flex; flex-wrap: wrap; gap: 10px; }
.st-size {
    appearance: none; min-width: 56px; min-height: 46px; padding: 0 14px; border-radius: var(--store-radius-control);
    border: 1px solid var(--store-border); background: transparent; color: var(--store-text); cursor: pointer;
    font: inherit; font-size: 0.9rem; font-weight: var(--store-fw-semibold); transition: border-color .15s ease, background .15s ease;
}
.st-size:hover:not(:disabled) { border-color: rgba(var(--store-text-rgb), 0.5); }
.st-size[aria-pressed="true"] { border-color: var(--store-accent); background: var(--store-accent-soft); }
.st-size:disabled { opacity: 0.38; cursor: not-allowed; text-decoration: line-through; }
.st-size:focus-visible { outline: 2px solid var(--store-text); outline-offset: 3px; }

.st-pdp__buy { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.st-pdp__cta { width: 100%; min-height: 54px; font-size: 0.95rem; }
.st-pdp__status { min-height: 1.3em; font-size: 0.86rem; color: var(--store-text-muted); }

/* E6.1 – Produkt teilen: schmale Aktionsleiste unter dem Kaufbereich; im Nicht-Live-Zustand sichtbar, aber deaktiviert (ohne Nutzlast) */
.st-share { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--store-border-subtle); }
.st-share__title { margin: 0; font-size: 0.78rem; font-weight: var(--store-fw-bold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--store-text); }
.st-share__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.st-share__actions .st-btn { text-decoration: none; }
.st-share__hint, .st-share__status { margin: 0; font-size: 0.84rem; color: var(--store-text-muted); }
.st-share__status { min-height: 1.2em; }
.st-share__manual { margin: 0; display: grid; gap: 4px; font-size: 0.84rem; color: var(--store-text-muted); }
.st-share__manual input { width: 100%; min-height: 40px; padding: 0 12px; border-radius: var(--store-radius-pill); border: 1px solid var(--store-border); background: transparent; color: var(--store-text); font: inherit; }
.st-share__actions .st-btn[hidden], .st-share__manual[hidden] { display: none; }
.st-share--disabled .st-btn[disabled] { opacity: 0.42; }
/* E6.2C – Instagram-Motivansicht im Teilen-Bereich (nur öffentlicher Live-Shop mit Schalter EIN und freigegebenem Beitragsbild) */
.st-igdlg { padding: 0; border: 1px solid var(--store-border); border-radius: var(--store-radius-lg); background: var(--store-bg-deep); color: var(--store-text); width: min(94vw, 560px); max-height: 92vh; overflow: auto; }
.st-igdlg::backdrop { background: rgba(0, 0, 0, 0.62); }
.st-igdlg:target:not([open]) { display: block; position: fixed; inset: 4vh 0 auto; margin: 0 auto; z-index: 95; } /* ohne JavaScript: Anker #st-ig-dialog */
.st-igdlg [hidden] { display: none !important; }
.st-igdlg__box { display: grid; gap: 16px; padding: 18px 20px 20px; }
.st-igdlg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.st-igdlg__title { margin: 0; font-size: 1.1rem; font-weight: var(--store-fw-head); letter-spacing: -0.02em; }
.st-igdlg__close { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: rgba(var(--store-wash-rgb), 0.07); color: var(--store-text); font-size: 1.4rem; line-height: 1; text-decoration: none; }
.st-igdlg__intro, .st-igdlg__small { margin: 0; font-size: 0.86rem; line-height: 1.5; color: var(--store-text-muted); }
.st-igdlg__sec { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--store-border-subtle); }
.st-igdlg__sec h4 { margin: 0; font-size: 0.9rem; font-weight: var(--store-fw-bold); }
.st-igdlg__fmt { font-weight: 400; color: var(--store-text-muted); font-size: 0.8rem; }
.st-igdlg__fig { margin: 0; width: min(100%, 240px); overflow: hidden; border-radius: var(--store-radius-md); background: var(--store-surface-soft); }
.st-igdlg__fig--post { aspect-ratio: 4 / 5; }
.st-igdlg__fig--story { aspect-ratio: 9 / 16; width: min(100%, 180px); }
.st-igdlg__fig img { display: block; width: 100%; height: 100%; object-fit: contain; }
.st-igdlg__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-igdlg__actions .st-btn { text-decoration: none; }
.st-igdlg__color { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--store-text-muted); }
.st-igdlg__caption { width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; color: var(--store-text); background: transparent; border: 1px solid var(--store-border); border-radius: var(--store-radius-md); resize: vertical; }
.st-igdlg__foot { display: flex; justify-content: flex-end; }
@media (max-width: 520px) {
    .st-igdlg { width: 100vw; max-width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; border: 0; }
    .st-igdlg__actions .st-btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 520px) { .st-share__actions .st-btn { flex: 1 1 100%; justify-content: center; } }
.st-pdp__meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 0.82rem; color: var(--store-text-faint); }
.st-pdp__more, .st-pdp__section { padding-top: 16px; border-top: 1px solid var(--store-border-subtle); color: var(--store-text-muted); font-size: 0.92rem; }
.st-pdp__more summary { cursor: pointer; font-weight: var(--store-fw-semibold); color: var(--store-text); }
.st-pdp__more p { margin-top: 10px; }
.st-pdp__section h2 { margin: 0 0 8px; font-size: 0.78rem; font-weight: var(--store-fw-bold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--store-text); }

/* Store-Warenkorb-Drawer (WP12: zentral im Layout, auf allen Store-Seiten) – zeigt den bestehenden Merch-Warenkorb */
.st-cartdrawer__backdrop { display: block; position: fixed; inset: 0; z-index: 84; background: rgba(0, 0, 0, 0.6); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.st-cart-open .st-cartdrawer__backdrop { opacity: 1; pointer-events: auto; }
.st-cartdrawer {
    position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(92vw, 420px); display: flex; flex-direction: column;
    background: var(--store-bg-deep); box-shadow: var(--store-shadow-soft); border-radius: var(--store-radius-lg) 0 0 var(--store-radius-lg);
    transform: translateX(104%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s;
}
.st-cart-open .st-cartdrawer { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
.st-cartdrawer:focus { outline: none; }
.st-cartdrawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 14px; border-bottom: 1px solid var(--store-border-subtle); }
.st-cartdrawer__head h2 { font-size: 1.1rem; font-weight: var(--store-fw-head); letter-spacing: -0.02em; }
.st-cartdrawer__close, .st-cartdrawer__remove {
    appearance: none; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; flex: 0 0 auto;
    background: rgba(var(--store-wash-rgb), 0.07); color: var(--store-text); font-size: 1.4rem; line-height: 1;
}
.st-cartdrawer__close:hover, .st-cartdrawer__remove:hover { background: rgba(var(--store-wash-rgb), 0.14); }
.st-cartdrawer__close:focus-visible, .st-cartdrawer__remove:focus-visible,
.st-cartdrawer__qty button:focus-visible, .st-cartdrawer__clear:focus-visible, .st-cartdrawer__empty .st-btn:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 2px; }
.st-cartdrawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 22px; }
.st-cartdrawer__empty { padding: 24px 0; color: var(--store-text-muted); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.st-cartdrawer__unavailable { padding: 24px 0; color: var(--store-text-muted); }
.st-cartdrawer__empty[hidden], .st-cartdrawer__foot[hidden], .st-cartdrawer__unavailable[hidden] { display: none; }
.st-cartdrawer__items { margin: 0; padding: 0; list-style: none; }
.st-cartdrawer__item { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--store-border-subtle); }
.st-cartdrawer__thumb { width: 72px; height: 58px; flex: 0 0 auto; border-radius: 10px; background: var(--store-surface); display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--store-text-faint); }
.st-cartdrawer__thumb img { width: 100%; height: 100%; object-fit: contain; }
.st-cartdrawer__thumb svg { width: 28px; height: 28px; }
.st-cartdrawer__item-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.st-cartdrawer__item-body strong { font-weight: var(--store-fw-semibold); }
.st-cartdrawer__item-meta, .st-cartdrawer__item-unit { font-size: 0.82rem; color: var(--store-text-muted); }
.st-cartdrawer__item-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.st-cartdrawer__item-total { font-size: 0.95rem; font-weight: var(--store-fw-semibold); font-variant-numeric: tabular-nums; color: var(--store-text); }
.st-cartdrawer__qty { display: inline-flex; align-items: center; border: 1px solid var(--store-border); border-radius: 999px; }
.st-cartdrawer__qty button { appearance: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--store-text); font-size: 1.15rem; line-height: 1; cursor: pointer; }
.st-cartdrawer__qty button:hover:not(:disabled) { background: rgba(var(--store-wash-rgb), 0.08); }
.st-cartdrawer__qty button:disabled { opacity: 0.35; cursor: default; }
.st-cartdrawer__qty-val { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; font-size: 0.92rem; }
.st-cartdrawer__foot { padding: 16px 22px calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--store-border-subtle); display: flex; flex-direction: column; gap: 10px; }
.st-cartdrawer__sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; }
.st-cartdrawer__sum strong { font-size: 1.15rem; font-weight: var(--store-fw-bold); font-variant-numeric: tabular-nums; }
.st-cartdrawer__note { margin: 0; font-size: 0.78rem; color: var(--store-text-faint); }
.st-cartdrawer__checkout { width: 100%; }
.st-cartdrawer__clear { appearance: none; align-self: center; min-height: 40px; padding: 0 14px; border: 0; background: transparent; color: var(--store-text-muted); font: inherit; font-size: 0.82rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; border-radius: 8px; }
.st-cartdrawer__clear:hover { color: var(--store-text); }
.st-cartdrawer__clear.is-confirm { color: var(--store-accent); }
.st-cartdrawer__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Footer: etwas dunkler als die Seite ---------- */
.st-footer { border-top: 1px solid var(--store-border-subtle); background: var(--store-bg-deep); padding: 42px 0 50px; }
.st-footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.st-footer__brand { display: flex; align-items: center; gap: 16px; max-width: 380px; }
.st-footer__mark { width: 60px; height: auto; color: var(--store-text); opacity: 0.85; flex: 0 0 auto; }
.st-footer__brand strong { font-weight: 600; }
.st-footer__brand p { color: var(--store-text-faint); font-size: 0.84rem; margin-top: 3px; }
.st-footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.84rem; color: var(--store-text-faint); }
.st-body .st-footer__links a:hover { color: var(--store-text); }

/* ---------- Filter-Button (nur Tablet/Mobil) ---------- */
.st-filter-btn {
    display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 20px; border-radius: var(--store-radius-control); cursor: pointer;
    font: inherit; font-weight: var(--store-fw-semibold); font-size: 0.88rem; color: var(--store-text);
    background: rgba(var(--store-wash-rgb), 0.06); border: 1px solid var(--store-border-subtle);
}
.st-filter-btn:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 2px; }
.st-filter-btn__count {
    min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: var(--store-accent); color: var(--store-accent-ink); font-size: 0.7rem; font-weight: 800;
}

/* ---------- Zugangsseite / Hinweisseite (store-preview.php, store-layout.php) ---------- */
.st-body--center { min-height: 100vh; display: flex; }
.st-gate { margin: auto; padding: 32px 20px; width: 100%; }
.st-gate__box {
    max-width: 420px; margin: 0 auto; padding: 40px 32px; text-align: center;
    border-radius: var(--store-radius-xl); background: var(--store-surface);
    box-shadow: var(--store-shadow-soft); display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.st-gate__mark { width: 80px; height: auto; color: var(--store-text); }
.st-gate__logo { display: block; height: 96px; width: auto; max-width: 100%; object-fit: contain; } /* SP141: Header-Logo des Shops */
.st-gate__text { color: var(--store-text-muted); }
.st-gate__error {
    width: 100%; padding: 12px 14px; border-radius: var(--store-radius-md);
    background: var(--store-danger-bg); color: var(--store-danger-text); font-size: 0.92rem;
}
.st-gate__form { width: 100%; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.st-gate__form label { font-size: 0.85rem; color: var(--store-text-muted); }
.st-gate__form input {
    width: 100%; min-height: 44px; padding: 0 16px; border-radius: var(--store-radius-control);
    border: 1px solid var(--store-border); background: var(--store-surface-soft); color: var(--store-text); font: inherit;
}
.st-gate__form input:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 1px; }
.st-gate__alt { font-size: 0.88rem; color: var(--store-text-muted); }
.st-gate__alt a { color: var(--store-text); text-decoration: underline; text-underline-offset: 3px; }
.st-gate__legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 16px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--store-border-subtle); width: 100%; font-size: 0.84rem; }
.st-gate__legal a { display: inline-block; padding: 4px 0; min-height: 24px; box-sizing: border-box; color: var(--store-text-muted); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Responsive
   ≥1200: Sidebar permanent, Grid 4 Spalten
   1024–1199: Sidebar kompakter, Grid 3 Spalten
   <1024: Sidebar als Drawer (Filter-Button), Grid 3 → 2 → 1 Spalten
   ============================================================ */
@media (max-width: 1199px) {
    :root { --store-sidebar-w: 224px; --store-gutter: 22px; }
    .st-shell { gap: 28px; }
    .st-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .st-header__inner { gap: 36px; }
    .st-hero__content { max-width: 56%; }
    .st-search { width: clamp(140px, 16vw, 210px); }
}

@media (max-width: 1023px) {
    :root { --store-header-h: 74px; --store-section-gap: 30px; }

    .st-brand__mark { width: 72px; }
    .st-shell { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
    .st-toolbar { display: flex; }
    .st-content > .st-toolbar + * { margin-top: 16px; }

    /* Sidebar -> Drawer */
    .st-sidebar {
        position: fixed; z-index: 80; top: 0; left: 0; bottom: 0; width: min(88vw, 330px); max-height: none;
        padding: 0 22px 28px; border-radius: 0 var(--store-radius-lg) var(--store-radius-lg) 0;
        background: var(--store-bg-deep); box-shadow: var(--store-shadow-soft);
        transform: translateX(-104%); visibility: hidden;
        transition: transform .25s ease, visibility 0s linear .25s;
    }
    .st-filters-open .st-sidebar { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
    .st-sidebar__head {
        display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1;
        padding: 18px 0 14px; margin-bottom: 14px; background: var(--store-bg-deep); font-size: 1.05rem; border-bottom: 1px solid var(--store-border-subtle);
    }
    .st-sidebar__close {
        width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(var(--store-wash-rgb), 0.07);
        color: var(--store-text); font-size: 1.5rem; line-height: 1; cursor: pointer;
    }
    .st-backdrop {
        display: block; position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, 0.6);
        opacity: 0; pointer-events: none; transition: opacity .25s ease;
    }
    .st-filters-open .st-backdrop { opacity: 1; pointer-events: auto; }

    .st-filter__item { padding-top: 10px; padding-bottom: 10px; } /* größere Touch-Flächen */

    .st-hero__content { max-width: 74%; }
}

@media (max-width: 959px) {
    .st-header__inner { gap: 14px; }
    .st-search { display: none; } /* Suchfeld (noch ohne Funktion) ausblenden statt abzuschneiden */
    .st-nav-toggle { display: inline-flex; }
    .st-cart, .st-nav-toggle { width: 44px; height: 44px; } /* Touch-Flächen */
    .st-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
        gap: 2px; margin: 0; padding: 8px var(--store-gutter) 16px;
        background: rgba(var(--store-bg-deep-rgb), 0.98); border-bottom: 1px solid var(--store-border-subtle);
    }
    .st-header.is-open .st-nav { display: flex; }
    .st-nav a { padding: 13px 4px; font-size: 1rem; }
    .st-nav a.is-active::after { left: 4px; right: auto; width: 20px; top: auto; bottom: 6px; }

    .st-editorial { grid-template-columns: minmax(0, 1fr); }
    .st-editorial--brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .st-editorial--brands.st-editorial--single { grid-template-columns: minmax(0, 1fr); }
    .st-banner--campaign, .st-banner--story { min-height: 180px; }
    .st-story { grid-template-columns: minmax(0, 1fr); }
    .st-story__text { grid-column: 1; grid-row: auto; }
    .st-pdp { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 760px) {
    .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
}

@media (max-width: 640px) {
    /* Hero ist hier gestapelt (Text über der ganzen Fläche): Overlay von unten, Mobile-only-Zustand aktiviert Overlay erst hier */
    .st-hero__bg.st-bg--img::before, .st-hero__bg.st-bg--img-m::before {
        content: ""; position: absolute; inset: 0; z-index: 1;
        background: linear-gradient(0deg, rgba(var(--store-bg-rgb), 0.94) 0%, rgba(var(--store-bg-rgb), 0.78) 60%, rgba(var(--store-bg-rgb), 0.35) 100%);
    }
    .st-banner__bg.st-bg--img::after, .st-banner__bg.st-bg--img-m::after {
        content: ""; position: absolute; inset: 0;
        background: linear-gradient(90deg, rgba(var(--store-bg-rgb), 0.9) 0%, rgba(var(--store-bg-rgb), 0.7) 60%, rgba(var(--store-bg-rgb), 0.3) 100%);
    }
    /* Nur Mobile-Bild vorhanden: Desktop zeigt weiter den CSS-Fallback, hier verdeckt das Bild ihn */
    .st-body .st-bg--img-m .st-hero__mark { display: none; }
    :root { --store-gutter: 16px; --store-header-h: 66px; --store-section-gap: 28px; }

    .st-brand__mark { width: 60px; }
    .st-content { --store-gap: 14px; }

    .st-hero { min-height: 340px; align-items: flex-end; }
    .st-hero__content { max-width: 100%; padding: 24px 20px; }
    .st-body .st-hero__mark { right: -8%; width: 56%; stroke: rgba(var(--store-text-rgb), 0.08); }
    .st-hero__actions .st-btn { min-height: 42px; padding: 0 22px; }

    .st-card__link { gap: 10px; }
    .st-card__title { font-size: 0.9rem; }
    .st-banner--campaign, .st-banner--story { min-height: 180px; }
    .st-banner--tile { min-height: 0; }
    .st-editorial--brands { grid-template-columns: minmax(0, 1fr); }
    .st-scene { opacity: 0.7; }
    .st-preview-bar { font-size: 0.64rem; padding: 6px 12px; }
    .st-pdp__thumb-img { width: 88px; }
    .st-size { min-width: 52px; min-height: 48px; }
    .st-cartdrawer { width: 100vw; border-radius: 0; }
    .st-footer { padding: 34px 0 42px; }
    .st-footer__inner { flex-direction: column; }
}

@media (max-width: 340px) {
    .st-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .st-btn, .st-card__link, .st-media img, .st-sidebar, .st-backdrop, .st-cartdrawer, .st-cartdrawer__backdrop, .st-swatchbtn, .st-size, .st-pdp__thumb-img { transition: none; }
    .st-card__link:hover { transform: none; }
    .st-card__link:hover .st-media img { transform: none; }
}

/* ============================================================
   Checkout (WP13B) – One-Page, gleiche Tokens wie der Store (Anthrazit, Manrope, Orange nur als Akzent)
   ============================================================ */
.st-co__title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: var(--store-fw-head); letter-spacing: -0.03em; line-height: 1.1; margin: 6px 0 22px; }
.st-co__grid {
    display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "form sum";
    gap: 28px; align-items: start;
}
.st-co__form { grid-area: form; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.st-co__summary { grid-area: sum; min-width: 0; position: sticky; top: calc(var(--store-header-h) + 16px); }

.st-co__card, .st-co__summary {
    background: var(--store-surface-soft); border: 1px solid var(--store-border-subtle); border-radius: var(--store-radius-lg);
    padding: 24px; margin: 0;
}
.st-co__card h2, .st-co__card legend, .st-co__summary h2 {
    display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 0;
    font-size: 1.05rem; font-weight: var(--store-fw-head); letter-spacing: -0.02em; color: var(--store-text);
}
.st-co__card legend { float: left; width: 100%; margin-bottom: 16px; }
.st-co__card legend + * { clear: both; }
.st-co__fieldset { min-width: 0; }
.st-co__num {
    display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 auto;
    border-radius: 50%; background: var(--store-accent-soft); color: var(--store-accent); font-size: 0.82rem; font-weight: var(--store-fw-bold);
}

.st-co__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.st-co__row--zip { grid-template-columns: 150px 1fr; }
.st-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.st-field label { font-size: 0.85rem; color: var(--store-text-muted); font-weight: var(--store-fw-medium); }
.st-req { color: var(--store-accent); }
.st-field input, .st-field textarea {
    width: 100%; min-height: 46px; padding: 0 16px; border-radius: var(--store-radius-control);
    border: 1px solid var(--store-border); background: var(--store-bg); color: var(--store-text); font: inherit; font-size: 1rem;
}
.st-field textarea { padding: 12px 16px; min-height: 110px; resize: vertical; line-height: 1.5; }
.st-field input::placeholder, .st-field textarea::placeholder { color: var(--store-text-faint); }
.st-field input:focus-visible, .st-field textarea:focus-visible, .st-check input:focus-visible, .st-ship__opt input:focus-visible,
.st-co__sumtoggle:focus-visible, .st-co__alerts:focus-visible, .st-co__card:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 2px; }
.st-field.has-error input, .st-field.has-error textarea { border-color: var(--store-danger-text); }
.st-field__error { margin: 0; font-size: 0.86rem; color: var(--store-danger-text); }
.st-field__error::before { content: "Fehler: "; font-weight: var(--store-fw-bold); }
.st-field__error[hidden] { display: none; }

/* Versandarten als Auswahlkarten (echte Radios; Auswahl nicht nur über Farbe: Radio-Punkt + Rahmen) */
.st-ship { display: flex; flex-direction: column; gap: 10px; }
.st-ship__opt {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; cursor: pointer;
    padding: 14px 16px; min-height: 56px; border: 1px solid var(--store-border); border-radius: var(--store-radius-control); background: var(--store-bg);
}
.st-ship__opt:hover { border-color: rgba(var(--store-wash-rgb), 0.3); }
.st-ship__opt:has(input:checked) { border-color: var(--store-accent); background: var(--store-accent-soft); }
.st-ship__opt input, .st-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--store-accent); flex: 0 0 auto; }
.st-ship__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-ship__main small { color: var(--store-text-muted); font-size: 0.82rem; }
.st-ship__price { font-weight: var(--store-fw-bold); font-variant-numeric: tabular-nums; white-space: nowrap; }

.st-co__pay { margin: 0 0 16px; color: var(--store-text-muted); font-size: 0.92rem; line-height: 1.55; }
.st-co__pay strong { color: var(--store-text); }
.st-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; margin-bottom: 14px; }
.st-check input { margin-top: 3px; }
.st-check label { font-size: 0.92rem; line-height: 1.5; color: var(--store-text); }
.st-check label a, .st-co__fine a { text-decoration: underline; text-underline-offset: 3px; }
.st-check .st-field__error { grid-column: 2; }
.st-co__fine { margin: 0 0 14px; font-size: 0.8rem; color: var(--store-text-faint); line-height: 1.5; }
.st-co__actions { margin-top: 8px; }
.st-co__submit { width: 100%; min-height: 52px; font-size: 0.95rem; }
.st-co__hint { margin: 10px 0 0; font-size: 0.85rem; color: var(--store-text-muted); min-height: 1.2em; }

/* Zusammenfassung (Inhalte vom Server geprüft) */
.st-co__sumhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-co__sumhead h2 { margin: 0 0 16px; }
.st-co__sumtoggle {
    display: none; align-items: center; gap: 10px; min-height: 44px; margin: -6px 0 10px; padding: 0 14px; cursor: pointer;
    border: 1px solid var(--store-border); border-radius: var(--store-radius-pill); background: transparent; color: var(--store-text); font: inherit; font-size: 0.82rem; font-weight: var(--store-fw-bold);
}
.st-co__sumtoggle-label { color: var(--store-text-muted); font-weight: var(--store-fw-medium); }
.st-co__sumtoggle[aria-expanded="true"] .st-co__sumtoggle-label::after { content: " ausblenden"; }
.st-co__sumtoggle[aria-expanded="false"] .st-co__sumtoggle-label::after { content: " anzeigen"; }
.st-co__state { margin: 0 0 14px; color: var(--store-text-muted); }
.st-co__state[hidden], .st-co__items[hidden], .st-co__totals[hidden], .st-co__fine[hidden], .st-co__notice[hidden], .st-co__alerts[hidden], .st-co__sumbody[hidden] { display: none; }
.st-co__items { list-style: none; margin: 0 0 16px; padding: 0; }
.st-co__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--store-border-subtle); }
.st-co__item--text { grid-template-columns: 1fr auto; } /* Engine-Kasse (E3): Positionen ohne Bildspalte */
.st-co__item:first-child { padding-top: 0; }
.st-co__thumb { width: 64px; height: 51px; border-radius: var(--store-radius-md); background: var(--store-surface); overflow: hidden; display: block; }
.st-co__thumb img { width: 100%; height: 100%; object-fit: contain; }
.st-co__item-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.st-co__item-body strong { font-weight: var(--store-fw-semibold); overflow-wrap: anywhere; }
.st-co__item-meta { font-size: 0.82rem; color: var(--store-text-muted); }
.st-co__item-total { font-weight: var(--store-fw-semibold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-co__totals { margin: 0 0 14px; }
.st-co__totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.st-co__totals dt { color: var(--store-text-muted); }
.st-co__totals dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.st-co__total { border-top: 1px solid var(--store-border); margin-top: 6px; padding-top: 12px !important; }
.st-co__total dt { color: var(--store-text); font-weight: var(--store-fw-bold); }
.st-co__total dd { font-size: 1.25rem; font-weight: var(--store-fw-bold); }
.st-co__back { margin: 14px 0 0; }

.st-co__notice { margin: 0 0 14px; padding: 12px 14px; border-radius: var(--store-radius-md); border: 1px solid var(--store-border); font-size: 0.88rem; line-height: 1.5; background: rgba(var(--store-wash-rgb), 0.04); }
.st-co__notice--test { border-color: rgba(var(--store-accent-rgb), 0.5); background: var(--store-accent-soft); }
.st-co__notice--warn { border-color: var(--store-danger-text); background: var(--store-danger-bg); color: var(--store-danger-text); }
.st-co__notice a { text-decoration: underline; text-underline-offset: 3px; }
.st-co__alerts { margin: 0 0 20px; padding: 16px 20px; border-radius: var(--store-radius-md); border: 1px solid var(--store-danger-text); background: var(--store-danger-bg); color: var(--store-danger-text); }
.st-co__alerts p { margin: 0 0 6px; }
.st-co__alerts ul { margin: 0; padding-left: 20px; }
.st-co__alerts a { text-decoration: underline; text-underline-offset: 3px; }
.st-co__trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Erfolgsseite */
.st-co__done { max-width: 640px; margin: 24px auto 0; padding: 36px 32px; border-radius: var(--store-radius-xl); border: 1px solid var(--store-border-subtle); background: var(--store-surface-soft); }
.st-co__done .st-co__title { margin-bottom: 14px; outline: none; }
.st-co__tick { color: var(--store-accent); margin-bottom: 10px; }
.st-co__ordernum-line { font-size: 1.05rem; }
.st-co__ordernum { display: inline-block; padding: 2px 10px; border-radius: var(--store-radius-md); background: var(--store-accent-soft); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.st-co__sub { margin: 22px 0 8px; font-size: 1rem; font-weight: var(--store-fw-head); }
.st-co__steps { margin: 0 0 24px; padding-left: 20px; color: var(--store-text-muted); line-height: 1.6; }

@media (max-width: 1023px) {
    .st-co__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sum" "form"; gap: 18px; }
    .st-co__summary { position: static; }
    .st-co__sumtoggle { display: inline-flex; }
    .st-co__sumhead h2 { margin-bottom: 12px; }
}
@media (max-width: 640px) {
    .st-co__card, .st-co__summary { padding: 18px; }
    .st-co__row { grid-template-columns: 1fr; }
    .st-co__row--zip { grid-template-columns: 120px 1fr; }
    .st-co__sumhead { flex-direction: column; align-items: stretch; gap: 0; }
    .st-co__sumtoggle { width: 100%; justify-content: space-between; margin: 0 0 12px; white-space: nowrap; }
    .st-co__done { padding: 26px 20px; }
    .st-co__actions { position: sticky; bottom: 0; z-index: 5; margin: 8px -18px -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(var(--store-bg-rgb), 0), var(--store-surface-soft) 28%); }
}

/* ---------- WP14: Herstellerangaben (GPSR) – Ausgabe von renderGpsrBlock(…, 'store') im Store-Stil ---------- */
.gpsr-block--store { padding-top: 16px; border-top: 1px solid var(--store-border-subtle); color: var(--store-text-muted); font-size: 0.92rem; }
.gpsr-block--store .gpsr-block__summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--store-text); list-style-position: inside; }
.gpsr-block--store .gpsr-block__label { font-weight: var(--store-fw-semibold); }
.gpsr-block--store .gpsr-block__hint { font-size: 0.8rem; color: var(--store-text-faint); }
.gpsr-block--store .gpsr-block__summary:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 3px; border-radius: 4px; }
.gpsr-block--store .gpsr-block__content { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; line-height: 1.55; }
.gpsr-block--store .gpsr-block__row { display: flex; flex-direction: column; gap: 2px; }
.gpsr-block--store .gpsr-block__row-label, .gpsr-block--store .gpsr-block__entity-label {
    font-size: 0.74rem; font-weight: var(--store-fw-bold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--store-text); margin-bottom: 2px;
}
.gpsr-block--store .gpsr-block__row-value, .gpsr-block--store .gpsr-block__entity-line { overflow-wrap: anywhere; }
.gpsr-block--store .gpsr-block__entity-line strong { color: var(--store-text); font-weight: var(--store-fw-semibold); }
.gpsr-block--store .gpsr-block__brand { color: var(--store-text-faint); }
.gpsr-block--store a { text-decoration: underline; text-underline-offset: 3px; color: var(--store-text); }
.gpsr-block--store .gpsr-block__warnings p { margin: 0; }
.gpsr-block--store .gpsr-block__footer { font-size: 0.8rem; color: var(--store-text-faint); }

/* ---------- WP14.1: Größentabelle, Pflege-Liste, Herstellerangaben-Seite ---------- */
.st-sizechart-wrap { margin: -6px 0 18px; }
.st-sizechart__toggle {
    appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; margin: 0;
    background: none; border: 0; cursor: pointer; font: inherit; font-size: 0.88rem; font-weight: var(--store-fw-semibold);
    color: var(--store-text-muted); text-decoration: underline; text-underline-offset: 4px;
}
.st-sizechart__toggle:hover, .st-sizechart__toggle[aria-expanded="true"] { color: var(--store-text); }
.st-sizechart__toggle:focus-visible, .st-sizechart__scroll:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 3px; border-radius: 6px; }
.st-sizechart { margin-top: 8px; padding: 16px; border: 1px solid var(--store-border-subtle); border-radius: var(--store-radius-lg); background: var(--store-surface-soft); }
.st-sizechart[hidden] { display: none; }
.st-sizechart__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--store-radius-md); max-width: 100%; }
.st-sizechart__table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.st-sizechart__table caption { text-align: left; padding: 0 0 10px; color: var(--store-text-muted); font-size: 0.82rem; }
.st-sizechart__table th, .st-sizechart__table td { padding: 9px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--store-border-subtle); }
.st-sizechart__table thead th { color: var(--store-text); font-weight: var(--store-fw-bold); }
.st-sizechart__table th[scope="row"], .st-sizechart__table thead th:first-child {
    text-align: left; position: sticky; left: 0; z-index: 1; background: var(--store-surface-soft); font-weight: var(--store-fw-semibold); color: var(--store-text);
}
.st-sizechart__table tbody th[scope="row"] { color: var(--store-text-muted); }
.st-sizechart__unit { font-weight: var(--store-fw-body); color: var(--store-text-faint); font-size: 0.8rem; margin-left: 2px; }
.st-sizechart__table .is-selected { background: var(--store-accent-soft); color: var(--store-text); }
.st-sizechart__table thead th.is-selected { border-bottom: 2px solid var(--store-accent); }
.st-sizechart__notes { margin: 14px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.84rem; color: var(--store-text-muted); line-height: 1.5; }
.st-sizechart__notes dt, .st-sizechart__notes dd { display: inline; margin: 0; }
.st-sizechart__notes dt { color: var(--store-text); font-weight: var(--store-fw-semibold); }
.st-sizechart__disclaimer { margin: 12px 0 0; font-size: 0.84rem; color: var(--store-text); font-weight: var(--store-fw-medium); }

.st-pdp__list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }

.st-legal__title { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: var(--store-fw-head); letter-spacing: -0.03em; line-height: 1.1; margin: 6px 0 12px; }
.st-legal__lead, .st-legal__empty { color: var(--store-text-muted); max-width: 60ch; margin-bottom: 22px; }
.st-legal__list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); margin-bottom: 26px; }
.st-legal__card { padding: 22px; border: 1px solid var(--store-border-subtle); border-radius: var(--store-radius-lg); background: var(--store-surface-soft); }
.st-legal__card .gpsr-block__entity + .gpsr-block__entity { margin-top: 14px; }
.st-legal__back { margin-top: 8px; }

/* WP16: einmaliger Hinweis nach der Warenkorb-Bereinigung (alter KB-Shop → Store) */
.st-cartnotice { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; width: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--store-border); border-left: 3px solid var(--store-accent); border-radius: var(--store-radius-lg, 12px); background: var(--store-surface-soft); color: var(--store-text); }
.st-cartnotice p { margin: 0; flex: 1; line-height: 1.5; }
.st-cartnotice__close { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--store-text-muted); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.st-cartnotice__close:hover { color: var(--store-text); background: var(--store-surface-elevated); }
.st-cartnotice__close:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 2px; }

/* ============================================================
   E4/WP3 – Gestaltete Shops (gemeinsamer Renderer, alle Vorlagen)
   Gilt nur unter .st-design (Shops mit veröffentlichter Gestaltung bzw. Admin-Entwurfsvorschau).
   Farben ausschließlich über die Variablen der Farbwelt (engineThemeCss). Bilder unverändert: cover für
   Stimmungsbilder, contain für Logos, Wappen und Sponsoren (kein Zuschnitt, keine Umfärbung).
   ============================================================ */
.st-design h1, .st-design h2, .st-design h3, .st-design .sd-brand__name { font-family: var(--d-font-head); }
.st-design .st-link:hover, .st-design .sd-link { color: var(--d-link); }
.st-design .sd-btn { background: var(--d-btn-bg); color: var(--d-btn-text); }
.st-design .sd-btn:hover { background: var(--d-btn-bg-hover); }
.st-design .sd-btn--inverse { background: var(--store-accent-ink); color: var(--store-accent); }
.sd-main { display: flex; flex-direction: column; padding-bottom: 72px; }
.sd-main > .sd-block { margin-top: clamp(44px, 6vw, 76px); }
.sd-main > .sd-hero + .sd-block { margin-top: clamp(36px, 5vw, 60px); }
.sd-h2 { font-size: clamp(1.45rem, 2.3vw, 2.1rem); font-weight: var(--store-fw-head); letter-spacing: -0.03em; line-height: 1.12; margin: 0; }
.sd-h3 { font-size: 1.05rem; font-weight: var(--store-fw-bold); letter-spacing: -0.01em; margin: 0; }
.sd-lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.65; color: var(--store-text); opacity: 0.92; max-width: 68ch; }

/* Leisten */
.sd-draftbar { padding: 9px 16px; background: #fde68a; color: #1f1a05; font-size: 0.8rem; text-align: center; line-height: 1.45; }
.sd-draftbar a { color: #1f1a05; text-decoration: underline; font-weight: 700; }
.sd-issue { margin: 14px auto 0; width: min(calc(100% - 2 * var(--store-gutter)), var(--store-max)); padding: 12px 16px; border: 2px dashed #f59e0b;
    border-radius: var(--store-radius-md); background: rgba(245, 158, 11, 0.12); color: var(--store-text); font-size: 0.86rem; }
.sd-notice { padding: 8px 16px; background: var(--store-accent); color: var(--store-accent-ink); font-size: 0.82rem; font-weight: var(--store-fw-semibold); text-align: center; }

/* Kopfzeile: classic | minimal | centered_logo */
.st-design .sd-header { background: rgba(var(--d-header-bg-rgb), 0.94); border-bottom: 1px solid var(--d-header-line); color: var(--d-header-text); }
.st-design .sd-header .st-nav a, .st-design .sd-header .st-cart { color: var(--d-header-text); }
.st-design .sd-header .st-nav-toggle span { background: var(--d-header-text); }
.sd-header__inner { display: flex; align-items: center; gap: 40px; min-height: var(--store-header-h); }
.sd-brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; color: var(--d-header-text); }
.st-design .sd-brand__logo { display: block; height: 52px; width: auto; max-width: 180px; object-fit: contain; }
.sd-brand__name { font-weight: var(--store-fw-head); font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 34ch; }
.sd-header--minimal .sd-header__inner { gap: 28px; min-height: 68px; }
.st-design .sd-header--minimal .sd-brand__logo { height: 40px; }
.sd-header--minimal .sd-nav { margin-left: auto; }
.sd-header--minimal .st-header__actions { margin-left: 0; }
.sd-header--centered_logo .sd-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-areas: "space brand actions" "nav nav nav"; gap: 6px 20px; padding-top: 14px; }
.sd-header--centered_logo .sd-brand { grid-area: brand; flex-direction: column; gap: 6px; text-align: center; }
.st-design .sd-header--centered_logo .sd-brand__logo { height: 66px; max-width: 220px; }
.sd-header--centered_logo .sd-nav { grid-area: nav; justify-content: center; min-height: 48px; }
.sd-header--centered_logo .st-header__actions { grid-area: actions; justify-self: end; }

/* Hero */
.sd-hero { position: relative; }
.sd-hero__title { font-size: clamp(2rem, 4.6vw, 3.9rem); font-weight: var(--store-fw-head); letter-spacing: -0.035em; line-height: 1.03; margin: 10px 0 0; max-width: 18ch; }
.sd-hero__text { margin-top: 16px; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; max-width: 52ch; opacity: 0.94; }
.sd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sd-hero--image { min-height: clamp(440px, 62vh, 680px); display: flex; align-items: flex-end; overflow: hidden; background: linear-gradient(135deg, var(--store-hero-from), var(--store-hero-to)); }
.sd-hero--image .sd-hero__media, .sd-slide .sd-hero__media { position: absolute; inset: 0; }
.sd-hero--image .sd-hero__media img, .sd-slide .sd-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-hero--image .sd-hero__content, .sd-slide .sd-hero__content { position: relative; z-index: 2; padding-top: 72px; padding-bottom: clamp(40px, 6vw, 76px); }
.sd-hero--image:not(.sd-hero--noimage) .sd-hero__content, .sd-slide .sd-hero__content { color: var(--d-on-image); }
.sd-hero--image:not(.sd-hero--noimage) .st-kicker, .sd-slide .st-kicker { color: var(--d-on-image); opacity: 0.9; }
.sd-hero--image:not(.sd-hero--noimage)::after, .sd-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.sd-ov--soft:not(.sd-hero--noimage)::after, .sd-ov--soft .sd-slide::after { background: linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.34) 46%, rgba(0,0,0,0.04) 100%), linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0) 55%); }
.sd-ov--strong:not(.sd-hero--noimage)::after, .sd-ov--strong .sd-slide::after { background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.25) 100%); }
.sd-hero--slider { min-height: clamp(440px, 62vh, 680px); overflow: hidden; background: var(--store-surface); }
.sd-slider__track, .sd-slide { position: absolute; inset: 0; }
.sd-slide { display: flex; align-items: flex-end; }
.sd-slide[hidden] { display: none; }
.sd-slider__controls { position: absolute; z-index: 3; right: var(--store-gutter); bottom: 22px; display: flex; align-items: center; gap: 10px; }
.sd-slider__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5); background: rgba(0,0,0,0.35); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.sd-slider__btn:focus-visible, .sd-slider__dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sd-slider__dots { display: flex; gap: 8px; }
.sd-slider__dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.sd-slider__dot[aria-current="true"] { background: #fff; }
.sd-hero--crest { padding: clamp(48px, 7vw, 96px) 0; background:
    radial-gradient(70% 120% at 50% 0%, rgba(var(--store-accent-rgb), 0.22), rgba(var(--store-accent-rgb), 0) 70%),
    linear-gradient(180deg, var(--store-hero-from), var(--store-bg)); border-bottom: 1px solid var(--store-border-subtle); }
.sd-hero__crestwrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.sd-hero__crest img { display: block; width: auto; height: clamp(120px, 16vw, 200px); max-width: min(70vw, 320px); object-fit: contain; }
.sd-hero__content--center { display: flex; flex-direction: column; align-items: center; }
.sd-hero__content--center .sd-hero__title { max-width: 22ch; }
.sd-hero__content--center .sd-hero__actions { justify-content: center; }
.sd-hero--split { padding: clamp(36px, 5vw, 64px) 0 0; }
.sd-hero__split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.sd-hero__portrait .sd-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--store-radius-xl); }

/* Einleitung */
.sd-intro__inner { max-width: 880px; }
.sd-intro--center .sd-intro__inner { margin-left: auto; margin-right: auto; text-align: center; }
.sd-intro--center .sd-lead { margin-left: auto; margin-right: auto; }
.sd-intro .sd-h2 { margin: 8px 0 14px; }

/* Produkte */
.sd-products .st-block__head { margin-bottom: 22px; }
.sd-products__group { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 30px 0 14px; }
.sd-products__group:first-of-type { margin-top: 6px; }

/* Kollektionen und Kategorien */
.sd-tiles__grid { display: grid; gap: var(--store-gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sd-tiles__grid--editorial.sd-tiles__grid--n3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(200px, 1fr)); }
.sd-tiles__grid--editorial.sd-tiles__grid--n3 .sd-tile:first-child { grid-row: span 2; }
.sd-tiles__grid--n1 { grid-template-columns: minmax(0, 1fr); }
.sd-tiles__grid--n2, .sd-tiles__grid--n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sd-tile { position: relative; display: flex; align-items: flex-end; min-height: 240px; border-radius: var(--store-radius-xl); overflow: hidden; color: var(--store-text);
    background: radial-gradient(80% 120% at 100% 100%, rgba(var(--store-accent-rgb), 0.32), rgba(var(--store-accent-rgb), 0) 70%), linear-gradient(135deg, var(--store-surface-elevated), var(--store-surface)); }
.sd-tile__media { position: absolute; inset: 0; }
.sd-tile__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.sd-tile:hover .sd-tile__media img { transform: scale(1.03); }
.sd-tile:has(.sd-tile__media)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.66), rgba(0,0,0,0.05) 60%); }
.sd-tile:has(.sd-tile__media) { color: #fff; }
.sd-tile__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.sd-tile__title { font-family: var(--d-font-head); font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: var(--store-fw-head); letter-spacing: -0.02em; line-height: 1.15; }
.sd-tile__text { font-size: 0.9rem; opacity: 0.9; max-width: 40ch; }
.sd-tile__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 0.85rem; font-weight: var(--store-fw-bold); }
.sd-tile:focus-visible, .sd-cat:focus-visible { outline: 3px solid var(--store-accent); outline-offset: 3px; }
.sd-cats__grid { display: grid; gap: var(--store-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.sd-cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; padding: 18px; border-radius: var(--store-radius-lg); overflow: hidden;
    background: var(--store-surface); border: 1px solid var(--store-border-subtle); color: var(--store-text); }
.sd-cat__media { position: absolute; inset: 0; }
.sd-cat__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-cat:has(.sd-cat__media) { color: #fff; min-height: 220px; }
.sd-cat:has(.sd-cat__media)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.62), rgba(0,0,0,0) 60%); }
.sd-cat__title { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font-weight: var(--store-fw-bold); font-size: 1.02rem; }

/* Geschichte: a = Bild/Text, b = Editorial, c = nur Text */
.sd-story__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.sd-story--img-left .sd-story__media { order: 0; }
.sd-story--img-right .sd-story__media { order: 2; }
.sd-story__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--store-radius-xl); }
.sd-story__text p { color: var(--store-text-muted); line-height: 1.7; margin: 14px 0 0; max-width: 62ch; }
.sd-story__text .sd-h2 { margin-top: 8px; }
.sd-story__actions { margin-top: 24px; }
.sd-story--b .sd-story__inner { grid-template-columns: minmax(0, 1fr); position: relative; }
.sd-story--b .sd-story__media { order: 0; }
.sd-story--b .sd-story__text { order: 1; }
.sd-story--b .sd-story__media img { aspect-ratio: 21 / 9; }
.sd-story--b .sd-story__text { position: relative; margin: -90px clamp(16px, 6vw, 80px) 0; padding: clamp(22px, 3vw, 40px); background: var(--store-surface-elevated); border-radius: var(--store-radius-xl); border: 1px solid var(--store-border-subtle); }
.sd-story--c .sd-story__inner, .sd-story--noimage .sd-story__inner { grid-template-columns: minmax(0, 1fr); max-width: 860px; }

/* Aktionsbanner */
.sd-cta { position: relative; overflow: hidden; border-radius: var(--store-radius-xl); padding: clamp(28px, 4.5vw, 60px); }
.sd-cta--surface { background: var(--store-surface); border: 1px solid var(--store-border-subtle); }
.sd-cta--accent { background: var(--store-accent); color: var(--store-accent-ink); }
.sd-cta--accent .st-kicker { color: var(--store-accent-ink); }
.sd-cta__media { position: absolute; inset: 0; }
.sd-cta__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-cta--image { color: #fff; min-height: 300px; display: flex; align-items: center; }
.sd-cta--image .st-kicker { color: #fff; }
.sd-cta--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.7), rgba(0,0,0,0.15)); }
.sd-cta__content { position: relative; z-index: 1; max-width: 640px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sd-cta__content p { margin: 0; line-height: 1.6; opacity: 0.95; }
.sd-cta__content .st-btn { margin-top: 8px; }

/* Info-Karten, Social, Sponsoren */
.sd-info__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--store-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.sd-info__card { padding: 24px; border-radius: var(--store-radius-lg); background: var(--store-surface); border: 1px solid var(--store-border-subtle); display: flex; flex-direction: column; gap: 10px; }
.sd-info__card p { margin: 0; color: var(--store-text-muted); line-height: 1.6; font-size: 0.92rem; }
.sd-icon { color: var(--store-accent); }
.sd-socialblock__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.sd-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sd-social a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--store-radius-pill); border: 1px solid var(--store-border); font-size: 0.86rem; font-weight: var(--store-fw-semibold); }
.sd-social a:hover { border-color: var(--store-accent); }
.sd-sponsors__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.sd-sponsor { display: flex; align-items: center; justify-content: center; min-height: 110px; padding: 18px; border-radius: var(--store-radius-lg); background: #fff; border: 1px solid var(--store-border-subtle); }
.sd-sponsor a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.sd-sponsor img { display: block; max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }

/* Fußzeile mit festem Verkäufer- und Rechtsteil */
.sd-footer { margin-top: auto; background: var(--d-footer-bg); color: var(--d-footer-text); border-top: 1px solid var(--d-footer-line); }
.sd-footer a { color: var(--d-footer-text); }
.sd-footer a:hover, .sd-footer a:focus-visible { text-decoration: underline; }
.sd-footer__inner { display: flex; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; padding-top: 42px; padding-bottom: 30px; }
.sd-footer__brand { display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.sd-footer__brand strong { font-family: var(--d-font-head); font-size: 1.05rem; }
.sd-footer__brand p { margin: 0; font-size: 0.88rem; line-height: 1.55; }
.sd-footer__contact { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sd-footer .sd-social a { border-color: var(--d-footer-line); min-height: 36px; padding: 0 14px; }
.sd-footer__links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.86rem; align-content: flex-start; max-width: 560px; }
.sd-footer__seller { padding-top: 16px; padding-bottom: 26px; border-top: 1px solid var(--d-footer-line); font-size: 0.84rem; }
.sd-footer__seller p { margin: 0; }

@media (max-width: 1023px) {
    .sd-header--centered_logo .sd-header__inner { grid-template-columns: auto 1fr; grid-template-areas: "brand actions"; padding-top: 0; }
    .sd-header--centered_logo .sd-brand { flex-direction: row; text-align: left; }
    .st-design .sd-header--centered_logo .sd-brand__logo { height: 48px; }
    .sd-tiles__grid, .sd-tiles__grid--editorial.sd-tiles__grid--n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
    .sd-tiles__grid--editorial.sd-tiles__grid--n3 .sd-tile:first-child { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 959px) {
    .sd-header__inner { gap: 14px; }
    .st-design .sd-header .st-nav { background: rgba(var(--d-header-bg-rgb), 0.98); border-bottom-color: var(--d-header-line); }
    .sd-header--centered_logo .sd-nav { min-height: 0; justify-content: stretch; }
    .sd-hero__split, .sd-story__inner { grid-template-columns: minmax(0, 1fr); }
    .sd-story--img-right .sd-story__media { order: 0; }
    .sd-story--b .sd-story__text { margin: -40px 12px 0; }
}
@media (max-width: 640px) {
    .st-design .sd-brand__logo, .st-design .sd-header--minimal .sd-brand__logo { height: 38px; max-width: 130px; }
    .st-design .sd-header--centered_logo .sd-brand__logo { height: 40px; }
    .sd-brand__name { font-size: 0.96rem; max-width: 20ch; }
    .sd-hero--image, .sd-hero--slider { min-height: 480px; }
    .sd-ov--soft:not(.sd-hero--noimage)::after, .sd-ov--soft .sd-slide::after { background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.12) 100%); }
    .sd-hero--slider .sd-hero__content { padding-bottom: 86px; }
    .sd-slider__controls { left: 0; right: 0; justify-content: center; }
    .sd-hero__crest img { height: 112px; }
    .sd-tiles__grid, .sd-tiles__grid--n2, .sd-tiles__grid--n4, .sd-tiles__grid--editorial.sd-tiles__grid--n3 { grid-template-columns: minmax(0, 1fr); }
    .sd-tiles__grid--editorial.sd-tiles__grid--n3 .sd-tile:first-child { grid-column: auto; }
    .sd-tile { min-height: 200px; }
    .sd-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sd-story--b .sd-story__media img { aspect-ratio: 4 / 3; }
    .sd-story--b .sd-story__text { margin: 12px 0 0; }
    .sd-footer__inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .sd-tile__media img { transition: none; }
    .sd-tile:hover .sd-tile__media img { transform: none; }
}
.st-design .sd-nav { gap: 2px; min-width: 0; }
.st-design .sd-nav a { white-space: nowrap; padding: 0 11px; }
/* Gestaltete Shops: Menü mit Umschalter schon unter 1200 px (die automatische Navigation passt sonst nicht neben Logo/Name) */
@media (max-width: 1199px) {
    .st-design .sd-header .st-nav-toggle { display: inline-flex; width: 44px; height: 44px; }
    .st-design .sd-header .st-nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
        gap: 2px; margin: 0; padding: 8px var(--store-gutter) 16px;
        background: rgba(var(--d-header-bg-rgb), 0.98); border-bottom: 1px solid var(--d-header-line);
    }
    .st-design .sd-header.is-open .st-nav { display: flex; }
    .st-design .sd-header .st-nav a { padding: 13px 4px; font-size: 1rem; }
    .st-design .sd-header .st-nav a.is-active::after { left: 4px; right: auto; width: 20px; top: auto; bottom: 6px; }
    .st-design .sd-header .st-header__actions { margin-left: auto; }
    .st-design .sd-header--centered_logo .sd-header__inner { grid-template-columns: auto 1fr; grid-template-areas: "brand actions"; padding-top: 0; }
    .st-design .sd-header--centered_logo .sd-brand { flex-direction: row; text-align: left; }
}
/* Titelvideo (E-7): Poster/Video wie Titelbild, Steuerung immer sichtbar */
.sd-hero--video .sd-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-video__toggle { position: absolute; z-index: 3; right: var(--store-gutter); bottom: 22px; min-height: 44px; padding: 0 18px; border-radius: var(--store-radius-pill);
    border: 1px solid rgba(255,255,255,0.6); background: rgba(0,0,0,0.45); color: #fff; font: inherit; font-size: 0.85rem; font-weight: var(--store-fw-semibold); cursor: pointer; }
.sd-video__toggle:hover { background: rgba(0,0,0,0.65); }
.sd-video__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Erfolge & Meilensteine */
.sd-miles__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--store-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: mile; }
.sd-mile { position: relative; padding: 24px 22px 22px; border-radius: var(--store-radius-lg); background: var(--store-surface); border: 1px solid var(--store-border-subtle); display: flex; flex-direction: column; gap: 8px; }
.sd-mile::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--store-accent); }
.sd-mile__year { font-family: var(--d-font-head); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: var(--store-fw-head); letter-spacing: -0.03em; color: var(--store-accent); line-height: 1; }
.sd-mile p { margin: 0; color: var(--store-text-muted); font-size: 0.92rem; line-height: 1.6; }
@media (max-width: 640px) {
    .sd-video__toggle { left: 50%; right: auto; transform: translateX(-50%); bottom: 16px; }
    .sd-hero--video .sd-hero__content { padding-bottom: 84px; }
}
/* Firmenvorstellung: Text + optionales Bild, Eckdaten als ruhige Kennzahlenzeile */
.sd-company__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.sd-company--noimage .sd-company__inner { grid-template-columns: minmax(0, 1fr); }
.sd-company__text { max-width: 62ch; }
.sd-company__text .sd-h2 { margin: 0 0 6px; }
.sd-company__text p { color: var(--store-text-muted); line-height: 1.7; margin: 14px 0 0; }
.sd-company__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--store-radius-xl); }
.sd-company__facts { grid-column: 1 / -1; margin: 0; display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    background: var(--store-border-subtle); border: 1px solid var(--store-border-subtle); border-radius: var(--store-radius-lg); overflow: hidden; }
.sd-fact { margin: 0; padding: 20px 22px; background: var(--store-surface); display: flex; flex-direction: column-reverse; gap: 6px; }
.sd-fact dt { margin: 0; color: var(--store-text-muted); font-size: 0.86rem; }
.sd-fact dd { margin: 0; font-family: var(--d-font-head); font-weight: var(--store-fw-head); font-size: clamp(1.15rem, 1.8vw, 1.45rem); letter-spacing: -0.02em; color: var(--store-text); overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 959px) {
    .sd-company__inner { grid-template-columns: minmax(0, 1fr); }
}

/* Termine (events): Ticketkarten mit Datumsfeld und Abrisskante; vergangene Termine gedämpft, ohne Kaufknopf */
.sd-events__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sd-event { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: clamp(16px, 2.5vw, 32px);
    padding: 20px clamp(18px, 2.5vw, 28px); border-radius: var(--store-radius-lg); background: var(--store-surface); border: 1px solid var(--store-border-subtle); }
.sd-event::after { content: ""; position: absolute; top: 14px; bottom: 14px; left: calc(96px + clamp(18px, 2.5vw, 28px) + clamp(8px, 1.25vw, 16px)); border-left: 2px dashed var(--store-border); }
.sd-event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: var(--store-radius-md);
    background: var(--store-accent); color: var(--store-accent-ink); line-height: 1; }
.sd-event__day { font-family: var(--d-font-head); font-weight: var(--store-fw-head); font-size: 2.2rem; letter-spacing: -0.04em; }
.sd-event__month { margin-top: 4px; font-size: 0.74rem; font-weight: var(--store-fw-bold); letter-spacing: 0.18em; text-transform: uppercase; }
.sd-event__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sd-event__when { margin: 0; font-size: 0.82rem; font-weight: var(--store-fw-semibold); letter-spacing: 0.04em; color: var(--store-accent); }
.sd-event .sd-h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); overflow-wrap: break-word; }
.sd-event__where { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--store-text); font-size: 0.92rem; }
.sd-event__where .sd-icon { width: 18px; height: 18px; flex: none; color: var(--store-text-muted); }
.sd-event__text { margin: 2px 0 0; color: var(--store-text-muted); font-size: 0.92rem; line-height: 1.6; }
.sd-event__action { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.sd-event__price { font-family: var(--d-font-head); font-weight: var(--store-fw-head); font-size: 1.15rem; }
.sd-event__past { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--store-border); color: var(--store-text-muted); font-size: 0.8rem; font-weight: var(--store-fw-semibold); }
.sd-event.is-past .sd-event__date { background: var(--store-surface-elevated); color: var(--store-text-muted); }
.sd-event.is-past .sd-event__when { color: var(--store-text-muted); }
@media (max-width: 719px) {
    .sd-event { grid-template-columns: 64px minmax(0, 1fr); align-items: start; }
    .sd-event::after { display: none; }
    .sd-event__day { font-size: 1.6rem; }
    .sd-event__month { font-size: 0.66rem; letter-spacing: 0.12em; }
    .sd-event__action { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 2px dashed var(--store-border); text-align: left; }
}

/* Countdown: nur mit gepflegtem künftigem Termin (Server); bei Ablauf ausgeblendet (store-design.js) */
.sd-countdown[hidden] { display: none; }
.sd-countdown__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px clamp(24px, 4vw, 56px);
    padding: clamp(22px, 3.5vw, 40px); border-radius: var(--store-radius-xl); background: var(--store-surface); border: 1px solid var(--store-border-subtle);
    background-image: radial-gradient(420px 220px at 100% 0%, rgba(var(--store-accent-rgb), 0.18), transparent 70%); }
.sd-countdown__info { min-width: min(100%, 260px); flex: 1 1 320px; }
.sd-countdown__info .sd-h2 { margin: 6px 0 10px; }
.sd-countdown__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--store-text-muted); font-size: 0.95rem; }
.sd-countdown__meta time { color: var(--store-text); font-weight: var(--store-fw-semibold); }
.sd-countdown__clock { display: grid; grid-template-columns: repeat(4, minmax(64px, 1fr)); gap: 10px; flex: 0 1 auto; }
.sd-countdown__unit { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border-radius: var(--store-radius-md);
    background: var(--store-surface-elevated); border: 1px solid var(--store-border-subtle); }
.sd-countdown__unit span { font-family: var(--d-font-head); font-weight: var(--store-fw-head); font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.03em;
    line-height: 1; color: var(--store-accent); font-variant-numeric: tabular-nums; }
.sd-countdown__unit small { font-size: 0.72rem; font-weight: var(--store-fw-semibold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--store-text-muted); }
@media (max-width: 479px) {
    .sd-countdown__clock { width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .sd-countdown__unit { padding: 12px 4px; }
}

/* Häufige Fragen: native details/summary (Tastatur ohne JavaScript) */
.sd-faq__inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.sd-faq__list { display: grid; gap: 10px; }
.sd-faq__item { border-radius: var(--store-radius-md); background: var(--store-surface); border: 1px solid var(--store-border-subtle); }
.sd-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 20px; font-weight: var(--store-fw-semibold); line-height: 1.4; }
.sd-faq__item summary::-webkit-details-marker { display: none; }
.sd-faq__item summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--store-accent); }
.sd-faq__item[open] summary::after { content: "–"; }
.sd-faq__item summary:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 2px; border-radius: var(--store-radius-md); }
.sd-faq__answer { padding: 0 20px 16px; color: var(--store-text-muted); line-height: 1.65; }
.sd-faq__answer p { margin: 0 0 10px; }
.sd-faq__answer p:last-child { margin-bottom: 0; }
@media (max-width: 859px) {
    .sd-faq__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- E4/WP3 Phase 4: Feinschliff (nur gestaltete Shops) ---------- */
/* Gegliederte Produktabschnitte: Kategorien mit 1–2 Artikeln teilen sich ab 1200 px eine Zeile, statt eine halbe Zeile leer zu lassen.
   Spaltenabstand = Rasterabstand, damit die Karten exakt auf den Spalten der vollen Abschnitte liegen. */
.sd-products__sects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px var(--store-gap); margin-top: 6px; }
.sd-products__sect { grid-column: 1 / -1; min-width: 0; }
.sd-products__sects .sd-products__group { margin: 0 0 14px; }
@media (min-width: 1200px) {
    .sd-products__sect--few { grid-column: span 2; }
    .sd-products__sect--few .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Deaktivierte Kauftaste („Größe auswählen“): statt halbtransparenter Akzentfarbe (kontrastarm) eine klar als inaktiv erkennbare,
   gut lesbare Fläche. Semantik unverändert: disabled + aria-disabled setzt weiterhin store.js. */
.st-design .st-pdp__cta:disabled, .st-design .st-pdp__cta[aria-disabled="true"] {
    opacity: 1; background: rgba(var(--store-text-rgb), 0.06); color: var(--store-text); border: 1px dashed rgba(var(--store-text-rgb), 0.45); box-shadow: none;
}

/* ---------- E4/WP3 Phase 5: neutraler Transaktionsrahmen (nur Engine-Kasse und Danke-Seite, body.st-tx) ----------
   Fest hell und in allen Shoptypen gleich – keine Shop-Farbwelt (die Kasse lädt kein Theme-CSS). Nur Token-Werte und
   eigene .st-tx__*-Klassen; andere Seiten tragen die Klasse nicht. Werte wie „Hell & klar“ (WCAG-geprüft). */
body.st-tx {
    --store-bg: #f6f6f4; --store-bg-deep: #ffffff; --store-surface: #ffffff; --store-surface-soft: #fbfbfa; --store-surface-elevated: #ffffff;
    --store-text: #16181d; --store-text-muted: #555a65; --store-text-faint: #555a65;
    --store-border-subtle: #e6e7ea; --store-border: #c9ccd3;
    --store-accent: #2450d6; --store-accent-hover: #1d42b3; --store-accent-ink: #ffffff; --store-accent-soft: rgba(36, 80, 214, 0.10);
    --store-bg-rgb: 246, 246, 244; --store-bg-deep-rgb: 255, 255, 255; --store-text-rgb: 22, 24, 29; --store-accent-rgb: 36, 80, 214; --store-wash-rgb: 0, 0, 0;
    --store-page-top: #f6f6f4; --store-page-bottom: #f6f6f4; --store-bar: #ffffff;
    --store-danger-bg: rgba(220, 38, 38, 0.08); --store-danger-text: #a61b1b;
    color-scheme: light;
    min-height: 100vh; display: flex; flex-direction: column;
}
body.st-tx > main { flex: 1 0 auto; width: 100%; }
.st-tx__inner { width: 100%; max-width: var(--store-max); margin: 0 auto; padding-left: var(--store-gutter); padding-right: var(--store-gutter); box-sizing: border-box; }
.st-tx__head { background: #ffffff; border-bottom: 1px solid var(--store-border-subtle); }
.st-tx__head .st-tx__inner { display: flex; align-items: center; gap: 12px 20px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.st-tx__shop { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--store-text); text-decoration: none; }
body.st-tx .st-tx__logo { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex: none; }
.st-tx__name { font-weight: 700; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; min-width: 0; }
.st-tx__ctx { padding: 3px 10px; border-radius: 999px; background: var(--store-accent-soft); color: var(--store-accent); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; }
.st-tx__back { margin-left: auto; color: var(--store-text); font-weight: 600; font-size: 0.92rem; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.st-tx__shop:focus-visible, .st-tx__back:focus-visible, .st-tx__foot a:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 3px; border-radius: 4px; }
.st-tx__foot { margin-top: 48px; border-top: 1px solid var(--store-border-subtle); background: #ffffff; color: var(--store-text-muted); font-size: 0.88rem; }
.st-tx__footinner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-top: 20px; padding-bottom: 24px; }
.st-tx__seller { margin: 0; color: var(--store-text); }
.st-tx__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.st-tx__foot a { color: var(--store-text); text-underline-offset: 3px; }
/* Portal Paket F1: ausreichend große Zielfläche (WCAG 2.5.8, mind. 24 px) für die rechtlichen Fußlinks und den Sendungslink, ohne die Optik zu ändern */
.st-tx__legal a { display: inline-block; padding: 4px 0; min-height: 24px; box-sizing: border-box; }
.st-po__kv a { display: inline-block; padding: 3px 0; min-height: 24px; box-sizing: border-box; }
.st-tx__shop { min-height: 24px; }
.st-tx__back { display: inline-block; padding: 2px 0; min-height: 24px; box-sizing: border-box; }
body.st-tx .st-co__submit:disabled, body.st-tx .st-co__submit[aria-disabled="true"] { opacity: 1; background: #e9eaed; color: #4b505b; border: 1px dashed #9aa0aa; }
/* Versandarten, die die Kasse für diesen Warenkorb ausblendet (engine-checkout.js setzt hidden, z. B. DHL bei reinem Ticketkorb) */
body.st-tx .st-ship__opt[hidden] { display: none; }
@media (max-width: 640px) {
    .st-tx__head .st-tx__inner { min-height: 60px; }
    .st-tx__shop { flex: 1 1 100%; }
    body.st-tx .st-tx__logo { height: 32px; max-width: 120px; }
    .st-tx__ctx { order: 3; }
    .st-tx__back { margin-left: auto; font-size: 0.88rem; }
    .st-tx__footinner { flex-direction: column; align-items: flex-start; }
}

/* ---------- E4/WP3 Phase 5.1: Aktionscode im Warenkorb-Drawer und in der Kasse (nur neue Klassen) ---------- */
.st-cartdrawer__promo { display: grid; gap: 6px; padding: 0 0 12px; margin-bottom: 12px; border-bottom: 1px solid var(--store-border-subtle); }
.st-cartdrawer__promo[hidden], .st-cartdrawer__promoform[hidden], .st-cartdrawer__promook[hidden] { display: none; }
.st-cartdrawer__promoform label { font-size: 0.82rem; font-weight: var(--store-fw-semibold); color: var(--store-text); }
.st-cartdrawer__promorow { display: flex; gap: 8px; }
.st-cartdrawer__promoform { min-width: 0; }
.st-cartdrawer__promorow input { flex: 1 1 0; width: 0; min-width: 0; min-height: 40px; padding: 0 12px; border-radius: var(--store-radius-control); border: 1px solid var(--store-border); background: var(--store-surface-soft); color: var(--store-text); font: inherit; text-transform: uppercase; }
.st-cartdrawer__promorow input:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 2px; }
.st-cartdrawer__promorow .st-btn { flex: 0 0 auto; }
.st-cartdrawer__promoclear { flex: 0 0 40px; width: 40px; min-height: 40px; padding: 0; border-radius: var(--store-radius-control); border: 1px solid var(--store-border); background: var(--store-surface); color: var(--store-text); font: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.st-cartdrawer__promoclear[hidden] { display: none; }
.st-cartdrawer__promoclear:hover { background: var(--store-surface-soft); }
.st-cartdrawer__promoclear:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 2px; }
.st-cartdrawer__promoclear:disabled, .st-cartdrawer__promoremove:disabled { opacity: 0.55; cursor: default; }
.st-cartdrawer__promook { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 0.88rem; }
.st-cartdrawer__promoremove { background: none; border: 0; padding: 4px 0; color: var(--store-text); font: inherit; font-weight: var(--store-fw-semibold); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.st-cartdrawer__promoremove:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 2px; border-radius: 4px; }
.st-cartdrawer__promomsg { margin: 0; min-height: 1.2em; font-size: 0.82rem; color: var(--store-text-muted); }
.st-cartdrawer__promomsg.is-error { color: var(--store-danger-text); }
.st-cartdrawer__sum[hidden], .st-cartdrawer__note[hidden] { display: none; }
.st-cartdrawer__sum--disc strong { color: var(--store-text); }
.st-cartdrawer__sum--net { font-weight: var(--store-fw-semibold); }
.st-co__promorow { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.st-co__promorow input { flex: 1 1 180px; min-width: 0; }
.st-co__promorow .st-btn { flex: 0 0 auto; }
.st-co__promorow .st-btn[hidden] { display: none; }
.st-co__promostatus { margin: 6px 0 0; min-height: 1.2em; font-size: 0.86rem; color: var(--store-text-muted); }

/* ---------- Portal Paket B: Bestellportal der Engine (nur neue Klassen; Rahmen, Tokens, Karten, Buttons kommen aus body.st-tx / .st-co__*) ---------- */
.st-po { padding-top: 28px; padding-bottom: 8px; }
.st-po__title { margin-bottom: 8px; }
.st-po__meta { margin: 0 0 24px; color: var(--store-text-muted); }
.st-po__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "main side"; gap: 28px; align-items: start; }
.st-po__main { grid-area: main; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.st-po__side { grid-area: side; position: sticky; top: 16px; }
.st-po__track { list-style: none; margin: 0 0 18px; padding: 0; display: flex; }
.st-po__node { flex: 1 1 0; min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.st-po__node::before { content: ""; position: absolute; top: 13px; right: 50%; width: 100%; height: 2px; background: var(--store-border-subtle); }
.st-po__node:first-child::before { display: none; }
.st-po__node--done::before, .st-po__node--current::before { background: var(--store-accent); }
.st-po__dot {
    position: relative; z-index: 1; flex: 0 0 28px; width: 28px; height: 28px; box-sizing: border-box; border-radius: 50%; border: 2px solid var(--store-border); background: var(--store-surface);
    display: inline-flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: var(--store-fw-bold); color: var(--store-accent-ink);
}
.st-po__node--done .st-po__dot { background: var(--store-accent); border-color: var(--store-accent); }
.st-po__node--current .st-po__dot { border-color: var(--store-accent); box-shadow: 0 0 0 4px var(--store-accent-soft); }
.st-po__nodetext { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding: 0 4px; }
.st-po__nodelabel { font-size: 0.86rem; font-weight: var(--store-fw-semibold); line-height: 1.25; overflow-wrap: break-word; hyphens: manual; }
.st-po__node--todo .st-po__nodelabel { color: var(--store-text-muted); font-weight: var(--store-fw-medium); }
.st-po__nodestate { font-size: 0.78rem; color: var(--store-text-muted); }
.st-po__now { padding: 14px 16px; border: 1px solid var(--store-border-subtle); border-radius: var(--store-radius-md); background: var(--store-surface); }
.st-po__nowtitle { margin: 0 0 4px; }
.st-po__nowtext { margin: 0; color: var(--store-text-muted); }
.st-po__kv--now { margin-top: 10px; }
/* Zahlungsstatus (Paket C, SP76): Häkchen + Text, nie nur Farbe; Kontrast dunkelgrün auf hellgrün > 7:1 */
.st-po__badge, .st-po__status { --st-po-ok: #14633a; --st-po-ok-soft: #e6f4ec; --st-po-ok-line: #9fd2b4; }
.st-po__badge { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 4px 12px 4px 10px; border-radius: var(--store-radius-pill); border: 1px solid var(--st-po-ok-line); background: var(--st-po-ok-soft); color: var(--st-po-ok); font-size: 0.85rem; font-weight: var(--store-fw-bold); letter-spacing: 0; white-space: nowrap; }
.st-po__status { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 12px 14px; border-radius: var(--store-radius-md); border: 1px solid var(--st-po-ok-line); background: var(--st-po-ok-soft); color: var(--st-po-ok); font-size: 1.05rem; font-weight: var(--store-fw-bold); line-height: 1.3; }
.st-po__ic { flex: 0 0 auto; }
.st-po__shared { margin: 10px 0 0; font-size: 0.92rem; line-height: 1.5; }
.st-po__status .st-po__ic { width: 22px; height: 22px; }
.st-po__big { margin: 0 0 6px; font-size: 1.15rem; font-weight: var(--store-fw-bold); }
.st-po__fine { margin: 10px 0 0; font-size: 0.85rem; color: var(--store-text-muted); line-height: 1.5; }
.st-po__kv { margin: 0; }
.st-po__kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--store-border-subtle); }
.st-po__kv > div:last-child { border-bottom: 0; }
.st-po__kv dt { color: var(--store-text-muted); }
.st-po__kv dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.st-po__card a:focus-visible, .st-po__kv a:focus-visible { outline: 2px solid var(--store-accent); outline-offset: 3px; border-radius: 4px; }
.st-po__h3 { margin: 20px 0 6px; font-size: 0.95rem; font-weight: var(--store-fw-semibold); }
.st-po__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.st-po__qr { display: flex; justify-content: center; margin: 14px 0 6px; padding: 12px; background: #ffffff; border: 1px solid var(--store-border-subtle); border-radius: var(--store-radius-md); min-height: 0; }
.st-po__qr:empty { display: none; }
.st-po__qr img, .st-po__qr canvas { max-width: 100%; height: auto; }
.st-po__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1023px) {
    .st-po__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side"; gap: 18px; }
    .st-po__side { position: static; }
}
@media (max-width: 640px) {
    /* kompakte Liste statt horizontalem Verlauf: eine Zeile je Stufe, Zustand als Text rechts */
    .st-po__track { flex-direction: column; margin-bottom: 14px; }
    .st-po__node { flex-direction: row; align-items: center; text-align: left; gap: 12px; padding: 0 0 12px; }
    .st-po__node:last-child { padding-bottom: 0; }
    .st-po__node::before { display: block; top: 28px; right: auto; left: 13px; width: 2px; height: 100%; }
    .st-po__node:first-child::before { display: block; }
    .st-po__node:last-child::before { display: none; }
    .st-po__node--done::before { background: var(--store-accent); }
    .st-po__node--current::before, .st-po__node--todo::before { background: var(--store-border-subtle); }
    .st-po__nodetext { flex: 1 1 auto; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0; }
    .st-po__nodelabel { font-size: 0.95rem; }
    .st-po__nodestate { white-space: nowrap; }
}
@media (max-width: 480px) {
    .st-po { padding-top: 20px; }
    .st-po__kv > div { flex-direction: column; gap: 2px; }
    .st-po__kv dd { text-align: left; }
}

/* Elektronische Widerrufsfunktion (SP126): "Vertrag widerrufen" im Shop-Fuss als gut sichtbare, auch mobil treffbare Schaltflaeche; Ziel unveraendert /merch/widerruf.php */
.st-footer__links a[href^="/merch/widerruf.php"],
.st-tx__legal a[href^="/merch/widerruf.php"],
.st-gate__legal a[href^="/merch/widerruf.php"],
.sd-footer__links a[href^="/merch/widerruf.php"] {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    box-sizing: border-box;
    border: 2px solid currentColor;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}

.st-footer__links a[href^="/merch/widerruf.php"]:hover,
.st-tx__legal a[href^="/merch/widerruf.php"]:hover,
.st-gate__legal a[href^="/merch/widerruf.php"]:hover,
.sd-footer__links a[href^="/merch/widerruf.php"]:hover {
    background: rgba(127, 127, 127, 0.18);
}

.st-body .st-footer__links a[href^="/merch/widerruf.php"],
.st-gate__legal a[href^="/merch/widerruf.php"],
.st-tx__legal a[href^="/merch/widerruf.php"] {
    color: var(--store-text);
}
