/* ==========================================================================
   Shop-Design – dunkles Theme, Aurora-Akzente, Glassmorphism.
   Mobile first. Kontraste WCAG 2.1 AA. Keine externen Ressourcen.
   ========================================================================== */
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/static/fonts/space-grotesk-latin-wght.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0a0610;
  --bg-2: #120a1c;
  --surface: rgba(255, 255, 255, .055);
  --surface-2: rgba(255, 255, 255, .09);
  --border: rgba(255, 255, 255, .14);
  --border-strong: #7a6d92;
  --text: #f6f3fa;
  --muted: #bdb3cd;
  --link: #ff8fb3;
  --magenta: #ff2d78;
  --red: #ff3b30;
  --violet: #8b5cf6;
  --primary-a: #d6155a;
  --primary-b: #7c3aed;
  --success: #5ee0a0;
  --warn: #ffd166;
  --error: #ff8a8a;
  --info: #8ec5ff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --gutter: 16px;
  --maxw: 1180px;
  --text-strong: #ffffff;
  --text-soft: #e6e0ee;
  --accent-text: #ffb3cb;
  --icon: #ff8fb3;
  --focus: #ffffff;
  --input-bg: rgba(10, 6, 16, .7);
  --placeholder: #9c91b0;
  --flash-bg: #1b1226;
  --header-bg: rgba(10, 6, 16, .78);
  --header-bg-solid: rgba(10, 6, 16, .97);
  --chip-bg: rgba(20, 12, 30, .72);
  --aurora-opacity: 1;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  overflow-x: hidden; overflow-wrap: break-word;
}
/* Aurora-Hintergrund */
body::before {
  content: ""; position: fixed; inset: -20vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 15% 10%, rgba(255, 45, 120, .28), transparent 60%),
    radial-gradient(45vmax 45vmax at 85% 5%, rgba(139, 92, 246, .30), transparent 60%),
    radial-gradient(50vmax 40vmax at 60% 95%, rgba(255, 59, 48, .16), transparent 60%);
  animation: aurora 24s ease-in-out infinite alternate;
}
@keyframes aurora { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(3vmax, 2vmax, 0) scale(1.08); } }

main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 6.5vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--text-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px rgba(255, 45, 120, .7); }
::selection { background: var(--magenta); color: #fff; }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; background: #fff; color: #000; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 56px; }
.grid-2, .grid-3 { display: grid; gap: 20px; grid-template-columns: 1fr; }
.stack > * + * { margin-top: 1rem; }
.divider { border: 0; height: 1px; background: var(--border); margin: 2rem 0; }
@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .section { padding-block: 84px; }
}

/* ---- Typo ---- */
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .8rem; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.grad-text { background: linear-gradient(95deg, #ff5c8a 0%, #ff3b30 40%, #b184ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.kbd { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85em; background: var(--surface-2); border: 1px solid var(--border); border-bottom-width: 2px; padding: 1px 7px; border-radius: 6px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font: 600 1rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
}
.btn:hover { background: var(--surface-2); color: var(--text-strong); transform: translateY(-2px); }
.btn-primary { border-color: transparent; color: #fff; background: linear-gradient(110deg, var(--primary-a), var(--primary-b)); box-shadow: 0 12px 30px -10px rgba(214, 21, 90, .7); }
.btn-primary:hover { background: linear-gradient(110deg, #e8196a, #8f4ff5); box-shadow: 0 16px 40px -10px rgba(214, 21, 90, .9); }
.btn-ghost { background: transparent; }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .92rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.link-btn:hover { color: var(--text-strong); }

/* ---- Karten ---- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: var(--shadow);
}
.card-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; margin: 0 0 .6rem; }

/* ---- Formulare ---- */
.form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
input:not([type]), input[type="text"], input[type="url"], input[type="date"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--input-bg); color: var(--text); font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--placeholder); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; box-shadow: 0 0 0 5px rgba(255, 45, 120, .7); }
[aria-invalid="true"] { border-color: var(--error); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 6px 0; min-height: 44px; }
.checkbox input { width: 24px; height: 24px; flex: none; margin: 2px 0 0; accent-color: var(--magenta); }
.hint { font-size: .85rem; color: var(--muted); }
.error-text { font-size: .875rem; color: var(--error); font-weight: 600; }
.fieldset { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; margin: 0; min-width: 0; }
.fieldset legend { padding: 0 8px; font-weight: 700; }

/* ---- Hinweise ---- */
.alert { border-radius: var(--radius-sm); padding: 14px 18px; border: 1px solid; border-left-width: 5px; margin: 0 0 1.2rem; background: var(--surface); }
.alert-info { border-color: var(--info); }
.alert-success { border-color: var(--success); }
.alert-warn { border-color: var(--warn); }
.alert-error { border-color: var(--error); }
.flash { max-width: var(--maxw); margin: 14px auto 0; width: calc(100% - 2 * var(--gutter)); padding: 14px 18px; border-radius: var(--radius-sm); border: 1px solid; border-left-width: 5px; background: var(--flash-bg); font-weight: 500; }
.flash-success { border-color: var(--success); }
.flash-error { border-color: var(--error); }
.flash-info { border-color: var(--info); }

/* ---- Tabellen ---- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--surface); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; }

/* ---- Badges ---- */
.badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; border: 1px solid; line-height: 1.5; }
.badge-success { color: var(--success); border-color: var(--success); background: rgba(94, 224, 160, .1); }
.badge-warn { color: var(--warn); border-color: var(--warn); background: rgba(255, 209, 102, .1); }
.badge-error { color: var(--error); border-color: var(--error); background: rgba(255, 138, 138, .1); }
.badge-neutral { color: var(--text); border-color: var(--border-strong); background: var(--surface); }

/* ---- Summary / Steps ---- */
.summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.summary-row > :last-child { text-align: right; white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; margin-top: 6px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; }
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 28px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-size: .9rem; font-weight: 600; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); font-size: .8rem; }
.steps li.is-active { color: var(--text-strong); border-color: var(--magenta); background: rgba(255, 45, 120, .15); }
.steps li.is-active::before { background: linear-gradient(110deg, var(--primary-a), var(--primary-b)); }
.steps li.is-done { color: var(--success); border-color: var(--success); }
.steps li.is-done::before { content: "\2713"; background: rgba(94, 224, 160, .2); }

/* ---- Prose (Rechtstexte) ---- */
.prose { max-width: 78ch; }
.prose h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: .6em; }
.prose h2 { font-size: clamp(1.35rem, 3.4vw, 1.75rem); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose address { font-style: normal; margin: 0 0 1em; padding: 16px 20px; border-left: 4px solid var(--magenta); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; display: block; overflow-x: auto; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.prose th { background: var(--surface); }
.prose a { word-break: break-word; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; min-height: 44px; margin-right: auto; }
.brand:hover { color: var(--text-strong); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.site-nav { display: flex; flex-direction: column; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 12px 14px; min-height: 44px; display: flex; align-items: center; border-radius: 10px; }
.site-nav a:hover { background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--text-strong); background: rgba(255, 45, 120, .16); }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text); text-decoration: none; font-weight: 600; }
.cart-link:hover { background: var(--surface-2); color: var(--text-strong); }
.cart-link svg { width: 20px; height: 20px; }
.cart-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: linear-gradient(110deg, var(--primary-a), var(--primary-b)); color: #fff; font-size: .8rem; font-weight: 700; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.header-nav-wrap { position: absolute; left: 0; right: 0; top: 100%; background: var(--header-bg-solid); border-bottom: 1px solid var(--border); padding: 10px var(--gutter) 18px; }
.header-nav-wrap[hidden] { display: none; }
.no-js .header-nav-wrap[hidden], .header-nav-wrap.is-static { display: block; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .header-nav-wrap, .header-nav-wrap[hidden] { position: static; display: block !important; background: none; border: 0; padding: 0; }
  .site-nav { flex-direction: row; gap: 2px; }
  .site-nav a { padding: 8px 14px; }
  .header-inner { gap: 24px; }
  .brand { margin-right: 0; }
  .header-spacer { flex: 1; }
}

/* ---- Footer ---- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--border); background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .08)); }
.footer-grid { display: grid; gap: 32px; padding-block: 56px 32px; grid-template-columns: 1fr; }
.footer-col h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: .8rem; font-family: var(--font-body); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-block; padding: 9px 0; color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--link); text-decoration: underline; }
.footer-col .link-btn { color: var(--text); text-decoration: none; padding: 9px 0; }
.footer-col .link-btn:hover { color: var(--link); text-decoration: underline; }
.partner-box { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; background: var(--surface); }
.partner-box strong { display: block; margin-bottom: 4px; }
.partner-badge-slot { margin-top: 12px; min-height: 72px; border: 1px dashed var(--border-strong); border-radius: 10px; display: grid; place-items: center; color: var(--muted); font-size: .8rem; text-align: center; padding: 8px; }
.footer-legal { border-top: 1px solid var(--border); padding-block: 22px 34px; color: var(--muted); font-size: .85rem; }
.footer-legal p { margin: 0 0 .7em; max-width: 110ch; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.1fr 1fr 1fr 1.4fr; } }

/* ---- Hero ---- */
.hero { padding-block: 56px 40px; position: relative; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.hero-art { position: relative; min-height: 280px; display: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-1 { width: 300px; height: 300px; right: 10%; top: 0; background: radial-gradient(circle at 30% 30%, #ff5c8a, #d6155a 45%, #3a0d4d 100%); animation: float 9s ease-in-out infinite; box-shadow: 0 40px 100px -20px rgba(255, 45, 120, .6); }
.orb-2 { width: 170px; height: 170px; left: 8%; bottom: 0; background: radial-gradient(circle at 30% 30%, #c4a5ff, #7c3aed 55%, #1d0f45 100%); animation: float 11s ease-in-out infinite reverse; box-shadow: 0 30px 80px -20px rgba(139, 92, 246, .6); }
.orb-3 { width: 90px; height: 90px; right: 0; bottom: 12%; background: radial-gradient(circle at 30% 30%, #ff9a85, #ff3b30 60%, #4b0f0a 100%); animation: float 7s ease-in-out infinite; }
.hero-chip { position: absolute; left: 28%; top: 38%; padding: 14px 20px; border-radius: 16px; background: var(--chip-bg); border: 1px solid var(--border); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-weight: 600; box-shadow: var(--shadow); }
.hero-chip small { display: block; color: var(--muted); font-weight: 400; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@media (min-width: 960px) { .hero { padding-block: 96px 56px; } .hero-grid { grid-template-columns: 1.25fr 1fr; } .hero-art { display: block; min-height: 380px; } }

/* ---- Trust-Leiste ---- */
.trust { display: grid; gap: 12px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
.trust li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.trust svg { width: 28px; height: 28px; flex: none; color: var(--icon); }
@media (min-width: 640px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust { grid-template-columns: repeat(5, 1fr); } .trust li { flex-direction: column; text-align: center; } }

/* ---- Produktkarten ---- */
.product-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.pcard { --accent: #ff3b5c; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; overflow: hidden; }
.pcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); opacity: .9; }
.pcard::after { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%); opacity: .5; pointer-events: none; transition: opacity .3s; }
.pcard:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 70%, #fff 0%); box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--accent) 60%, transparent); }
.pcard:hover::after { opacity: .9; }
.pcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.glyph { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--bg)); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); flex: none; }
.glyph-lg { width: 84px; height: 84px; border-radius: 24px; font-size: 2rem; }
.pcard h3 { margin: 0; font-size: 1.25rem; position: relative; z-index: 1; }
.pcard h3 a { color: var(--text); text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: -200px -24px -400px -24px; } /* ganze Karte klickbar */
.pcard h3 a:focus-visible { outline-offset: 2px; }
.pcard p { margin: 0; color: var(--muted); font-size: .95rem; position: relative; z-index: 1; }
.pcard-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.price small { display: block; font-family: var(--font-body); font-size: .78rem; font-weight: 400; color: var(--muted); margin-top: 3px; }
.pcard .more { font-weight: 600; font-size: .9rem; color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text); text-decoration: none; font-weight: 600; background: var(--surface); }
.chip:hover { background: var(--surface-2); color: var(--text-strong); }
.chip[aria-current="true"] { background: linear-gradient(110deg, var(--primary-a), var(--primary-b)); border-color: transparent; color: #fff; }

/* ---- Schritte / Features ---- */
.how { counter-reset: how; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.how li { counter-increment: how; position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.how li::before { content: counter(how); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 14px; font: 700 1.3rem var(--font-head); background: linear-gradient(110deg, var(--primary-a), var(--primary-b)); color: #fff; }
.how h3 { margin-bottom: .4em; }
.how p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .how { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; flex-direction: column; gap: 8px; }
.feature svg { width: 32px; height: 32px; color: var(--icon); }
.feature h3 { margin: 0; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.cta-band { text-align: center; padding: 48px 24px; border-radius: 28px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(214, 21, 90, .35), rgba(124, 58, 237, .35)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.cta-band .lead { margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 600; list-style: none; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--icon); transition: transform .2s; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 20px 18px; color: var(--text-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---- Produktdetail ---- */
.product-detail { display: grid; gap: 28px; }
@media (min-width: 900px) { .product-detail { grid-template-columns: 1.5fr 1fr; align-items: start; } .buy-box { position: sticky; top: 92px; } }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 32px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(110deg, var(--primary-a), var(--primary-b)); }
.feature-list li::after { content: ""; position: absolute; left: 7px; top: calc(.3em + 4px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.price-lg { font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.price-gross { color: var(--muted); margin: 6px 0 14px; }

.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; background: var(--input-bg); }
.qty input { width: 64px; min-height: 48px; border: 0; border-radius: 0; text-align: center; background: transparent; padding-inline: 4px; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty button { width: 48px; min-height: 48px; border: 0; background: var(--surface-2); color: var(--text); font-size: 1.4rem; cursor: pointer; }
.qty button:hover { background: rgba(255, 45, 120, .3); }
.qty-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 14px 0; }

/* ---- Warenkorb ---- */
.cart-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1.7fr 1fr; align-items: start; } .cart-layout .summary { position: sticky; top: 92px; } }
.cart-item { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 20px 0; border-bottom: 1px solid var(--border); --accent: #ff3b5c; }
.cart-item .glyph { grid-row: span 3; }
.cart-item h3 { margin: 0; font-size: 1.1rem; }
.cart-item-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.cart-item .line-total { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-left: auto; }
.cart-item .qty input { width: 56px; }
.empty-state { text-align: center; padding: 56px 20px; }

/* ---- Fehlerseite ---- */
.error-page { text-align: center; min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.error-code { font-family: var(--font-head); font-size: clamp(5rem, 22vw, 11rem); font-weight: 700; line-height: 1; margin: 0; }

/* ---- Reveal (Progressive Enhancement) ---- */
.has-js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.has-js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .has-js .reveal { opacity: 1; transform: none; }
  .btn:hover, .pcard:hover { transform: none; }
}
@media (forced-colors: active) { .btn-primary, .cart-count, .chip[aria-current="true"] { border: 2px solid ButtonText; } }

/* ---- Utilities (statt style-Attribute wegen CSP) ---- */
.mt-m { margin-top: 24px; }
.mx-auto { margin-inline: auto; }
.m-0 { margin: 0; }
.h-sm { font-size: 1.4rem; }
.footer-col ul + h2 { margin-top: 1.4rem; }

/* ==========================================================================
   Helles Design – per Schalter (data-theme, siehe /static/js/theme.js)
   oder Systemeinstellung (Fallback ohne JavaScript)
   ========================================================================== */
:root[data-theme="light"] {
  --bg: #faf7fc;
  --bg-2: #f1ecf7;
  --surface: rgba(255, 255, 255, .78);
  --surface-2: #ffffff;
  --border: rgba(40, 16, 64, .14);
  --border-strong: #8a7ea0;
  --text: #1a1026;
  --text-strong: #0b0612;
  --text-soft: #30253f;
  --muted: #5a4f6b;
  --link: #b0124c;
  --accent-text: #b0124c;
  --icon: #c2185b;
  --focus: #1a1026;
  --success: #0f7a4a;
  --warn: #8a5a00;
  --error: #b42318;
  --info: #1d5fa8;
  --input-bg: #ffffff;
  --placeholder: #6f6482;
  --flash-bg: #ffffff;
  --header-bg: rgba(250, 247, 252, .82);
  --header-bg-solid: rgba(250, 247, 252, .98);
  --chip-bg: rgba(255, 255, 255, .85);
  --shadow: 0 20px 50px -24px rgba(60, 20, 90, .28);
  --aurora-opacity: .55;
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
  --bg: #faf7fc;
  --bg-2: #f1ecf7;
  --surface: rgba(255, 255, 255, .78);
  --surface-2: #ffffff;
  --border: rgba(40, 16, 64, .14);
  --border-strong: #8a7ea0;
  --text: #1a1026;
  --text-strong: #0b0612;
  --text-soft: #30253f;
  --muted: #5a4f6b;
  --link: #b0124c;
  --accent-text: #b0124c;
  --icon: #c2185b;
  --focus: #1a1026;
  --success: #0f7a4a;
  --warn: #8a5a00;
  --error: #b42318;
  --info: #1d5fa8;
  --input-bg: #ffffff;
  --placeholder: #6f6482;
  --flash-bg: #ffffff;
  --header-bg: rgba(250, 247, 252, .82);
  --header-bg-solid: rgba(250, 247, 252, .98);
  --chip-bg: rgba(255, 255, 255, .85);
  --shadow: 0 20px 50px -24px rgba(60, 20, 90, .28);
  --aurora-opacity: .55;
  color-scheme: light;
  }
}
body::before { opacity: var(--aurora-opacity); }
:root[data-theme="light"] .glyph { background: color-mix(in srgb, var(--accent) 12%, #fff); color: color-mix(in srgb, var(--accent) 70%, #000); }
:root[data-theme="light"] .cta-band { background: linear-gradient(135deg, rgba(214, 21, 90, .14), rgba(124, 58, 237, .14)); }
:root[data-theme="light"] .pcard { box-shadow: 0 10px 30px -20px rgba(60, 20, 90, .35); }
.theme-transition, .theme-transition *, .theme-transition *::before { transition: background-color .3s ease, color .3s ease, border-color .3s ease !important; }

/* Theme-Schalter */
.theme-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.theme-toggle:hover { background: var(--surface-2); color: var(--text-strong); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-reduced-motion: reduce) { .theme-transition, .theme-transition * { transition: none !important; } }

/* Rechtlich vorgeschriebene Buttons im Footer (Widerruf § 356a BGB, Kündigung § 312k BGB) – gut sichtbar */
.site-footer .footer-action { margin: 6px 0; }
.site-footer .footer-action .btn { padding: 8px 18px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; text-decoration: none; }

[data-waiver-boxes][hidden] { display: none; }
