/* ════════════════════════════════════════════════════════════════
   gravlux – Stylesheet
   ════════════════════════════════════════════════════════════════
   Aufbau:
    1. Schriften          9. Hero & Animation     17. Produktseite
    2. Farben & Maße     10. Versprechen          18. Live-Vorschau
    3. Grundlagen        11. Produktkarten        19. Konfigurator
    4. Layout            12. So funktioniert's    20. Warenkorb
    5. Typografie        13. Anlässe              21. Kasse
    6. Buttons & Links   14. Format               22. Danke, Kontakt, Rechtliches
    7. Kopfzeile         15. Kundenstimmen        23. Cookie-Hinweis, Entwicklerleiste
    8. Fußzeile          16. Shop & Filter        24. Animationen & Bewegung
   Farben und Schriften änderst du zentral in Abschnitt 2.
   ════════════════════════════════════════════════════════════════ */

/* ── 1. SCHRIFTEN (liegen auf dem eigenen Server) ─────────────── */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
/* Gravur-Schriften (nur auf Produktseiten geladen, wenn benutzt) */
@font-face { font-family: "Great Vibes"; font-weight: 400; font-display: swap; src: url("../fonts/great-vibes-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Josefin Sans"; font-weight: 300; font-display: swap; src: url("../fonts/josefin-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 500; font-display: swap; src: url("../fonts/caveat-latin-500-normal.woff2") format("woff2"); }

/* ── 2. FARBEN & MASSE ────────────────────────────────────────── */
:root {
  /* Markenfarben */
  --c-ink: #111214;          /* Anthrazit – dunkler Hintergrund */
  --c-ink-2: #17181b;        /* Karten auf Dunkel */
  --c-ink-3: #202125;
  --c-paper: #F5F2EC;        /* Off-White – helle Sektionen */
  --c-paper-2: #ECE7DE;
  --c-card-light: #FBF9F5;
  --c-gold: #E8B04B;         /* Lichtgold – Akzent */
  --c-gold-soft: #FFD68A;    /* leuchtende Gravur */
  --c-gold-ink: #8A5A12;     /* Gold für Text auf Hell (besser lesbar) */

  --c-text-on-dark: #ECE8E1;
  --c-muted-on-dark: #A7A39C;
  --c-text-on-light: #1A1B1E;
  --c-muted-on-light: #5E5B56;
  --c-line-dark: rgba(245, 242, 236, 0.12);
  --c-line-light: rgba(17, 18, 20, 0.12);
  --c-error: #E7765E;
  --c-error-ink: #B3412A;
  --c-success: #6FBF8E;

  /* Schriften */
  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Maße */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 10vw, 128px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 68px;

  /* Bewegung */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --glow: 0 0 0 1px rgba(232, 176, 75, 0.55), 0 18px 44px -14px rgba(232, 176, 75, 0.38);

  /* Standard: dunkle Sektion */
  --bg: var(--c-ink);
  --fg: var(--c-text-on-dark);
  --muted: var(--c-muted-on-dark);
  --line: var(--c-line-dark);
  --accent-text: var(--c-gold);
  --card: var(--c-ink-2);
  --input-bg: #18191c;
}

.section--dark, .site-header, .site-footer, .drawer__panel {
  --bg: var(--c-ink);
  --fg: var(--c-text-on-dark);
  --muted: var(--c-muted-on-dark);
  --line: var(--c-line-dark);
  --accent-text: var(--c-gold);
  --card: var(--c-ink-2);
  --input-bg: #18191c;
}
.section--light, .section--paper {
  --bg: var(--c-paper);
  --fg: var(--c-text-on-light);
  --muted: var(--c-muted-on-light);
  --line: var(--c-line-light);
  --accent-text: var(--c-gold-ink);
  --card: var(--c-card-light);
  --input-bg: #ffffff;
}
.section--paper { --bg: var(--c-paper-2); }

/* ── 3. GRUNDLAGEN ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--c-ink);
  color: var(--c-text-on-dark);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(232, 176, 75, 0.35); }
[hidden] { display: none !important; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--c-gold); color: var(--c-ink); padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── 4. LAYOUT ────────────────────────────────────────────────── */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }
.section { padding: var(--section-y) 0; }
.section--dark, .section--light, .section--paper { background: var(--bg); color: var(--fg); }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 0.3em; }
.section-head__lead { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-cta { margin: clamp(32px, 5vw, 48px) 0 0; text-align: center; }

/* ── 5. TYPOGRAFIE ────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.1; letter-spacing: -0.005em; margin: 0 0 0.5em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); font-weight: 500; }
strong { font-weight: 600; }
.eyebrow {
  font-family: var(--font-sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent-text); margin: 0 0 1.1em;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }

/* ── 6. BUTTONS & LINKS ───────────────────────────────────────── */
.btn {
  --btn-bg: transparent; --btn-fg: var(--fg); --btn-border: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.75em 1.6em;
  border: 1px solid var(--btn-border); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.35s var(--ease), transform 0.25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--c-gold); --btn-fg: var(--c-ink); --btn-border: var(--c-gold); }
.btn--primary:hover { box-shadow: 0 0 0 4px rgba(232, 176, 75, 0.18), 0 10px 30px -8px rgba(232, 176, 75, 0.6); }
.btn--ghost { --btn-border: var(--line); }
.btn--ghost:hover { --btn-border: var(--c-gold); }
.btn--outline { --btn-border: var(--fg); }
.btn--outline:hover { --btn-bg: var(--fg); --btn-fg: var(--bg); }
.btn--small { min-height: 38px; padding: 0.5em 1.1em; font-size: 0.88rem; }
.btn--lg { min-height: 54px; padding: 0.85em 1.9em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: 0.6; pointer-events: none; }

.text-link {
  display: inline-flex; gap: 0.4em; align-items: center;
  color: var(--accent-text); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: transparent; }
.text-button {
  background: none; border: 0; padding: 0; color: var(--accent-text);
  font-size: 0.9rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}
.text-button:hover { text-decoration: none; }

.icon-button {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  background: none; border: 0; border-radius: 50%; color: inherit; position: relative;
  transition: background 0.2s;
}
.icon-button:hover { background: rgba(255, 255, 255, 0.07); }

/* ── 7. KOPFZEILE ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 18, 20, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  color: var(--fg);
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.site-header__actions { display: flex; align-items: center; gap: 4px; }

.logo {
  font-family: var(--font-serif); font-size: 1.95rem; font-weight: 500; line-height: 1;
  letter-spacing: 0.02em; text-decoration: none; color: var(--c-text-on-dark);
}
.logo__x {
  color: var(--c-gold);
  text-shadow: 0 0 10px rgba(232, 176, 75, 0.65), 0 0 22px rgba(232, 176, 75, 0.3);
  animation: logo-glow 4.5s ease-in-out infinite;
}
@keyframes logo-glow { 50% { text-shadow: 0 0 6px rgba(232, 176, 75, 0.45), 0 0 14px rgba(232, 176, 75, 0.15); } }

.cart-button__count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--c-gold); color: var(--c-ink);
  font-size: 0.7rem; font-weight: 600; line-height: 18px; text-align: center;
}
.cart-button.is-bumped .cart-button__count { animation: bump 0.5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Mobile Navigation */
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; height: calc(100dvh - var(--header-h));
  background: var(--c-ink); padding: 24px var(--gutter);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.site-nav__list { list-style: none; display: grid; gap: 4px; }
.site-nav__link {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 1.9rem; text-decoration: none;
}
.site-nav__link[aria-current="page"] { color: var(--c-gold); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; height: auto; padding: 0; background: none;
    opacity: 1; visibility: visible; transform: none;
    margin-left: auto;
  }
  .site-nav__list { display: flex; gap: 32px; }
  .site-nav__link {
    padding: 6px 0; border: 0; font-family: var(--font-sans); font-size: 0.92rem;
    color: var(--muted); position: relative; transition: color 0.2s;
  }
  .site-nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--c-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
  }
  .site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--fg); }
  .site-nav__link:hover::after, .site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
  .site-header__actions { margin-left: 16px; }
}

/* ── 8. FUSSZEILE ─────────────────────────────────────────────── */
.site-footer { background: var(--c-ink); color: var(--fg); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 0.92rem; }
.site-footer__grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
.site-footer__slogan { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; margin: 14px 0 6px; }
.site-footer__meta { color: var(--muted); max-width: 32ch; }
.site-footer__heading { font-family: var(--font-sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-gold); margin-bottom: 14px; }
.site-footer__col ul { list-style: none; display: grid; gap: 8px; }
.site-footer__col a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.site-footer__col a:hover { color: var(--fg); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem;
}
.site-footer__bottom p { margin: 0; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ── 9. HERO & ANIMATION ──────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 88px);
  background:
    radial-gradient(60% 60% at 78% 55%, rgba(232, 176, 75, 0.09), transparent 70%),
    var(--c-ink);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__title { margin-bottom: 0.35em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 34em; margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { max-width: 520px; width: 100%; justify-self: center; }
.hero__caption { margin: 12px 0 0; text-align: center; font-size: 0.85rem; color: var(--muted); }
.hero__caption a { color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--line); }
.hero__caption a:hover { border-bottom-color: var(--c-gold); }
@media (min-width: 900px) {
  .hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .hero__inner { grid-template-columns: 1.05fr 1fr; }
  .hero__media { justify-self: end; }
}

.hero-visual { margin: 0; }
.hero-visual__svg { width: 100%; height: auto; overflow: visible; }
.hero-visual__rail { stroke: rgba(255, 255, 255, 0.12); stroke-width: 1; opacity: 0; transition: opacity 0.6s; }
.hero-visual__plate { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; }
.hero-visual__plate-light { opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-visual__sheen { fill: rgba(255, 255, 255, 0.045); }
.hero-visual__edge { stroke: var(--c-gold-soft); stroke-width: 1.4; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-visual__engraving { color: rgba(236, 232, 225, 0.8); transition: color 1.6s var(--ease); }
.hero-visual__glow { color: var(--c-gold); opacity: 0; transition: opacity 2s var(--ease); }
.hero-visual__ambient, .hero-visual__floor { opacity: 0; transition: opacity 2.2s var(--ease); }
.hero-visual__led { fill: var(--c-gold); opacity: 0.16; transition: opacity 0.6s; }
.hero-visual__led-glow { fill: var(--c-gold); opacity: 0; transition: opacity 1.2s; }
.hero-visual__switch { fill: #4a4540; transition: fill 0.4s; }
.hero-visual__laser { opacity: 0; transition: opacity 0.5s; }
.hero-visual__head { fill: #2a2b30; stroke: rgba(255, 255, 255, 0.28); stroke-width: 0.8; }
.hero-visual__lens { fill: var(--c-gold); }
.hero-visual__beam { stroke: rgba(255, 214, 140, 0.8); stroke-width: 0.8; transition: opacity 0.12s; }
.hero-visual__spark { fill: var(--c-gold-soft); opacity: 0.9; transition: opacity 0.12s; }
.hero-visual__dot { fill: #fff; transition: opacity 0.12s; }
.hero-visual__laser.is-off .hero-visual__beam,
.hero-visual__laser.is-off .hero-visual__spark,
.hero-visual__laser.is-off .hero-visual__dot { opacity: 0; }

.hero-visual.is-engraving .hero-visual__rail,
.hero-visual.is-engraving .hero-visual__laser { opacity: 1; }
.hero-visual.is-lit .hero-visual__engraving { color: var(--c-gold-soft); }
.hero-visual.is-lit .hero-visual__glow { opacity: 0.95; animation: glow-breathe 6s ease-in-out 2.5s infinite; }
.hero-visual.is-lit .hero-visual__plate-light,
.hero-visual.is-lit .hero-visual__ambient { opacity: 1; }
.hero-visual.is-lit .hero-visual__edge { opacity: 0.7; }
.hero-visual.is-lit .hero-visual__floor { opacity: 0.55; }
.hero-visual.is-lit .hero-visual__led { opacity: 1; }
.hero-visual.is-lit .hero-visual__led-glow { opacity: 0.9; }
.hero-visual.is-lit .hero-visual__switch { fill: var(--c-gold); }
@keyframes glow-breathe { 50% { opacity: 0.65; } }

/* ── 10. VERSPRECHEN ──────────────────────────────────────────── */
.usp { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usp__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.usp__item {
  display: flex; align-items: center; gap: 10px; padding: 18px 8px;
  font-size: 0.86rem; color: var(--muted); line-height: 1.35;
}
.usp__item svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--c-gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 900px) {
  .usp__list { grid-template-columns: repeat(4, 1fr); }
  .usp__item { justify-content: center; padding: 22px 12px; }
}

/* ── 11. PRODUKTKARTEN ────────────────────────────────────────── */
.product-grid { display: grid; gap: clamp(16px, 2.5vw, 28px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 560px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, 1fr); } .product-grid--three, .product-grid--shop { grid-template-columns: repeat(3, 1fr); } }

.product-card { height: 100%; }
.product-card__link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--card); color: var(--fg); text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.product-card__link:hover, .product-card__link:focus-visible {
  transform: translateY(-6px); border-color: transparent; box-shadow: var(--glow);
}
.product-card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--c-paper-2); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product-card__link:hover .product-card__media img { transform: scale(1.04); }
.product-card__badge {
  position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px;
  background: rgba(17, 18, 20, 0.75); color: var(--c-gold-soft); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.product-card__category { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 6px; font-weight: 500; }
.product-card__title { font-size: 1.4rem; margin: 0 0 6px; }
.product-card__short { color: var(--muted); font-size: 0.9rem; line-height: 1.5; margin: 0 0 14px; }
.product-card__price { margin: auto 0 0; font-weight: 500; font-size: 1rem; }
.product-card__from { color: var(--muted); font-weight: 400; font-size: 0.85rem; margin-right: 2px; }

/* ── 12. SO FUNKTIONIERT'S ────────────────────────────────────── */
.steps { list-style: none; display: grid; gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}
.step__number { position: absolute; top: 22px; right: 26px; font-family: var(--font-serif); font-size: 2.6rem; line-height: 1; color: rgba(232, 176, 75, 0.35); }
.step__icon { width: 48px; height: 48px; fill: none; stroke: var(--c-gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 22px; }
.step__title { margin-bottom: 0.4em; }
.step p { color: var(--muted); margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 56px; right: -29px; width: 30px; height: 1px;
    background: linear-gradient(90deg, var(--c-gold), transparent);
  }
}

/* ── 13. ANLÄSSE ──────────────────────────────────────────────── */
.occasion-grid { list-style: none; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .occasion-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .occasion-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.occasion-card {
  display: flex; flex-direction: column; height: 100%; padding: 30px 26px 26px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--card);
  text-decoration: none; color: var(--fg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.occasion-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--glow); }
.occasion-card__icon { width: 54px; height: 54px; color: var(--c-gold-ink); margin-bottom: 22px; stroke-width: 2.4; }
.occasion-card__title { margin-bottom: 0.3em; }
.occasion-card__text { color: var(--muted); font-size: 0.93rem; margin-bottom: 20px; }
.occasion-card__more { margin-top: auto; font-size: 0.9rem; font-weight: 500; color: var(--accent-text); }

/* ── 14. FORMAT ───────────────────────────────────────────────── */
.format { background: radial-gradient(50% 70% at 25% 50%, rgba(232, 176, 75, 0.07), transparent 70%), var(--c-ink); }
.format__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.format__visual { max-width: 420px; width: 100%; justify-self: center; }
.format__text p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.format__text strong { color: var(--fg); font-weight: 500; }
.format__facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 28px 0 0; }
@media (min-width: 480px) { .format__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
.format__facts div { padding: 16px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.format__facts dt { font-family: var(--font-serif); font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--c-gold); line-height: 1.1; }
.format__facts dd { margin: 4px 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
@media (min-width: 900px) { .format__inner { grid-template-columns: 1fr 1.1fr; gap: 72px; } }

.format-graphic { width: 100%; height: auto; overflow: visible; }
.format-graphic__dim line { stroke: rgba(232, 176, 75, 0.7); stroke-width: 1; }
.format-graphic__dim text, .format-graphic__label { fill: var(--muted); font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.12em; }
.format-graphic__outer { fill: rgba(255, 255, 255, 0.04); stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.2; }
.format-graphic__inner { fill: none; stroke: var(--c-gold); stroke-width: 1; stroke-dasharray: 4 5; opacity: 0.8; }
.format-graphic__motif { fill: none; stroke: var(--c-gold-soft); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(232, 176, 75, 0.6)); }
.format-graphic__value { fill: var(--c-gold-soft); font-family: var(--font-serif); font-size: 20px; }

/* ── 15. KUNDENSTIMMEN ────────────────────────────────────────── */
.reviews { display: grid; gap: 20px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.review { position: relative; margin: 0; padding: 32px 28px 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.review__quote { margin: 0 0 20px; }
.review__quote p { font-family: var(--font-serif); font-size: 1.32rem; line-height: 1.4; margin: 0; }
.review__author { color: var(--muted); font-size: 0.88rem; }
.review__author strong { color: var(--fg); font-weight: 500; }
.review__badge {
  position: absolute; top: -10px; right: 18px; padding: 2px 10px; border-radius: 999px;
  background: var(--c-paper-2); border: 1px dashed var(--c-gold-ink); color: var(--c-gold-ink);
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.reviews__notice { margin: 28px auto 0; max-width: 720px; text-align: center; color: var(--muted); font-size: 0.82rem; }

/* ── ÜBER MICH / STORY ────────────────────────────────────────── */
.about-teaser__inner, .story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.about-teaser__media img, .story__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-teaser__media { max-width: 440px; }
.about-teaser__text p:not(.eyebrow), .story__text p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
@media (min-width: 900px) {
  .about-teaser__inner { grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
  .story { grid-template-columns: 1.2fr 0.8fr; gap: 80px; }
}
.story__media { margin: 0; }
.story__media figcaption, .workshop figcaption { margin-top: 12px; color: var(--muted); font-size: 0.88rem; }
.values { list-style: none; display: grid; gap: 20px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.value { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.value__title { color: var(--c-gold); }
.value p { color: var(--muted); margin: 0; }
.workshop { margin: 0 0 clamp(48px, 8vw, 96px); }
.workshop img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.cta-band { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-band p { color: var(--muted); }

/* ── SEITENKOPF & BROTKRUMEN ──────────────────────────────────── */
.page-hero { padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); background: radial-gradient(50% 80% at 85% 0%, rgba(232, 176, 75, 0.08), transparent 70%), var(--c-ink); }
.page-hero--compact { padding-bottom: clamp(28px, 4vw, 48px); }
.page-hero__title { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 0.25em; }
.page-hero__lead { color: var(--muted); font-size: 1.08rem; max-width: 40em; margin: 0; }
.page-hero__note {
  display: inline-flex; align-items: center; gap: 8px; margin: 20px 0 0; padding: 6px 14px;
  border: 1px solid rgba(232, 176, 75, 0.4); border-radius: 999px; color: var(--c-gold-soft); font-size: 0.86rem;
}
.page-hero__note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 8px var(--c-gold); }

.breadcrumb { margin-bottom: 20px; font-size: 0.82rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--fg); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--fg); }

/* ── 16. SHOP & FILTER ────────────────────────────────────────── */
.format-banner {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; margin-bottom: 32px;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
.format-banner svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--c-gold-ink); stroke-width: 1.3; }
.format-banner p { margin: 0; font-size: 0.93rem; color: var(--muted); }
.format-banner strong { color: var(--fg); font-weight: 500; }

.filters { display: grid; gap: 16px; margin-bottom: 20px; }
.filters__group { display: grid; gap: 8px; align-content: start; }
.filters__label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.chips { list-style: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-size: 0.88rem; text-decoration: none; color: var(--fg);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.chip:hover { border-color: var(--c-gold-ink); }
.chip[aria-current] { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
@media (min-width: 900px) { .filters { grid-template-columns: auto 1fr; column-gap: 40px; } .chips { flex-wrap: wrap; overflow: visible; } }

.shop__count { color: var(--muted); font-size: 0.88rem; margin: 0 0 20px; }
.shop__empty { text-align: center; padding: 48px 0; color: var(--muted); }
.shop__legal { margin: 40px 0 0; font-size: 0.82rem; color: var(--muted); text-align: center; }
.product-card.is-filtering-in { animation: card-in 0.5s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } }

/* ── 17. PRODUKTSEITE ─────────────────────────────────────────── */
.product { padding: 24px 0 var(--section-y); }
.product__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 960px) {
  .product__layout { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 56px; }
  .product__media { position: sticky; top: calc(var(--header-h) + 20px); }
}
.product__title { font-size: clamp(2.1rem, 4.5vw, 3.1rem); margin-bottom: 0.2em; }
.product__price { font-size: 1.5rem; font-weight: 500; margin: 0; font-variant-numeric: tabular-nums; }
.product__price-note { color: var(--muted); font-size: 0.8rem; margin: 2px 0 18px; }
.product__price-note a { color: var(--muted); }
.product__description { color: var(--muted); margin-bottom: 28px; }

.stage-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.stage-thumb {
  width: 64px; height: 64px; padding: 0; overflow: hidden; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); color: var(--muted);
  font-size: 0.66rem; transition: border-color 0.2s;
}
.stage-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stage-thumb svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; margin: 0 auto 2px; }
.stage-thumb[aria-pressed="true"] { border-color: var(--c-gold); color: var(--c-gold); }
.stage-thumb:hover { border-color: rgba(232, 176, 75, 0.6); }

.format-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.84rem; color: var(--muted); line-height: 1.45;
}
.format-note svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--c-gold); stroke-width: 1.3; margin-top: 1px; }
.format-note strong { color: var(--fg); font-weight: 500; }

/* ── 18. LIVE-VORSCHAU ────────────────────────────────────────── */
.stage {
  --engrave: rgba(240, 238, 232, 0.66);
  --engrave-glow: none;
  --size-factor: 1;
  position: relative; aspect-ratio: 1; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: radial-gradient(110% 90% at 50% 35%, #202126 0%, #0c0d0f 72%);
  container-type: inline-size;
}
/* Helle „Tischfläche“ für Schiefer, Holz und Metall */
.stage[data-material="schiefer"], .stage[data-material="holz"], .stage[data-material="holz-hell"], .stage[data-material="metall"] {
  background: radial-gradient(90% 80% at 50% 35%, #f3efe7 0%, #ddd6c9 100%);
}
.stage__preview { position: absolute; inset: 0; }
.stage__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__badge {
  position: absolute; left: 14px; top: 14px; z-index: 3; padding: 4px 11px; border-radius: 999px;
  background: rgba(17, 18, 20, 0.7); color: var(--c-text-on-dark); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.stage.is-showing-photo .stage__preview, .stage.is-showing-photo .stage__badge, .stage.is-showing-photo .light-switch { visibility: hidden; }

/* Das Stück selbst */
.piece {
  position: absolute; left: 50%; top: 50%;
  width: 66%; aspect-ratio: var(--ratio, 1);
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease), aspect-ratio 0.5s var(--ease);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.28));
}
.piece::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--piece-bg); }
.piece__surface { position: absolute; inset: 8%; }
.piece__hole { display: none; }
.led-base { display: none; }

/* Formen */
.stage[data-shape="platte"] .piece { width: calc(44% + 24% * var(--size-factor)); aspect-ratio: 1; top: auto; bottom: 20%; transform: translateX(-50%); filter: none; }
.stage[data-shape="quadrat"] .piece { width: calc(46% + 24% * var(--size-factor)); }
.stage[data-shape="karte"] .piece { width: 78%; aspect-ratio: 85 / 54; border-radius: 4.5%; }
.stage[data-shape="karte"] .piece__surface { inset: 11% 9%; }
.stage[data-shape="anhaenger"] .piece { width: 70%; aspect-ratio: 5 / 3; border-radius: 16% / 26%; }
.stage[data-shape="anhaenger"] .piece__surface { inset: 13% 9% 13% 25%; }
.stage[data-shape="anhaenger"] .piece__hole { display: block; position: absolute; left: 9%; top: 50%; width: 9%; aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: #ddd6c9; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35); }
.stage[data-shape="rund"] .piece { width: 62%; aspect-ratio: 1; border-radius: 50%; }
.stage[data-shape="rund"] .piece__surface { inset: 17% 15% 13%; }
.stage[data-shape="rund"] .piece__hole { display: block; position: absolute; left: 50%; top: 5%; width: 6%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #ddd6c9; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35); }
.stage[data-shape="rund"][data-material="holz-hell"] .piece__hole::after {
  content: ""; position: absolute; left: 50%; bottom: 50%; width: 2px; height: 520%; transform: translateX(-50%);
  background: linear-gradient(#b8443a, #9c3027); border-radius: 2px;
}

/* Materialien */
.stage[data-material="acryl"] .piece::before {
  border-radius: 3px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025) 45%, rgba(255, 255, 255, 0.07));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.stage[data-material="acryl"] .piece::after {
  content: ""; position: absolute; inset: 0; border-radius: 3px; pointer-events: none;
  background: linear-gradient(0deg, rgba(232, 176, 75, 0.32), rgba(232, 176, 75, 0.06) 55%, transparent);
  opacity: 0; transition: opacity 0.9s var(--ease);
}
.stage[data-material="acryl"] .led-base { display: block; position: absolute; left: 50%; bottom: 10%; width: 78%; height: 12%; transform: translateX(-50%); border-radius: 8px; background: linear-gradient(180deg, #2b2723, #121110); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 20px 40px -10px rgba(0, 0, 0, 0.7); }
.led-base__light { position: absolute; left: 9%; right: 9%; top: -2px; height: 3px; border-radius: 2px; background: var(--c-gold); opacity: 0.18; transition: opacity 0.5s, box-shadow 0.8s; }
.stage[data-material="acryl"][data-lit="true"] { --engrave: var(--c-gold-soft); --engrave-glow: drop-shadow(0 0 3px rgba(255, 196, 92, 0.9)) drop-shadow(0 0 14px rgba(232, 176, 75, 0.55)); background: radial-gradient(70% 60% at 50% 62%, rgba(232, 176, 75, 0.18), transparent 70%), radial-gradient(110% 90% at 50% 35%, #202126 0%, #0c0d0f 72%); }
.stage[data-material="acryl"][data-lit="true"] .piece::after { opacity: 1; }
.stage[data-material="acryl"][data-lit="true"] .led-base__light { opacity: 1; box-shadow: 0 0 12px 2px rgba(232, 176, 75, 0.85), 0 0 40px 8px rgba(232, 176, 75, 0.35); }

.stage[data-material="schiefer"] { --engrave: rgba(226, 222, 214, 0.93); }
.stage[data-material="schiefer"] .piece::before {
  border-radius: 2px;
  clip-path: polygon(0.8% 1.6%, 18% 0.4%, 41% 1.2%, 63% 0%, 84% 1%, 99.2% 0.6%, 100% 22%, 99.2% 47%, 100% 71%, 99.4% 98.8%, 77% 100%, 52% 99.2%, 28% 100%, 1.2% 99.4%, 0% 76%, 0.8% 51%, 0% 27%);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #3a3d41 0%, #2b2d30 55%, #26282b 100%);
}

.stage[data-material="holz"] { --engrave: rgba(66, 38, 18, 0.88); }
.stage[data-material="holz"] .piece::before {
  border-radius: 3px;
  background:
    repeating-linear-gradient(1deg, rgba(120, 76, 36, 0.09) 0 2px, transparent 2px 11px),
    repeating-linear-gradient(-2deg, rgba(96, 60, 28, 0.07) 0 1px, transparent 1px 27px),
    linear-gradient(180deg, #dcc197 0%, #cfae80 100%);
  box-shadow: inset 0 0 0 1px rgba(110, 72, 36, 0.25);
}
.stage[data-material="holz-hell"] { --engrave: rgba(82, 50, 26, 0.88); }
.stage[data-material="holz-hell"] .piece::before {
  background:
    repeating-radial-gradient(circle at 30% 40%, rgba(150, 110, 60, 0.07) 0 2px, transparent 2px 9px),
    linear-gradient(160deg, #f0dfc2 0%, #e2c9a2 100%);
  box-shadow: inset 0 0 0 1px rgba(140, 100, 50, 0.25), inset 0 0 0 5px rgba(205, 170, 120, 0.35);
}

.stage[data-material="metall"] { --engrave: rgba(248, 248, 246, 0.96); }
.stage[data-material="metall"] .piece::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 40%, rgba(0, 0, 0, 0.18)),
    var(--piece-color, #1f2023);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.stage[data-material="metall"][data-light-piece="true"] { --engrave: #ffffff; }
.stage[data-material="metall"][data-light-piece="true"] .engraving { text-shadow: 0 0 1px rgba(0, 0, 0, 0.45); }

/* Gravur-Inhalt */
.engraving {
  position: absolute; inset: 0; container-type: size;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4cqmin;
  color: var(--engrave); filter: var(--engrave-glow); text-align: center;
  transition: color 0.8s var(--ease), filter 0.8s var(--ease);
}
.engraving__motif { width: 46cqmin; aspect-ratio: 1; flex: none; }
.engraving__motif svg { width: 100%; height: 100%; stroke-width: 2.1; }
.engraving__upload {
  width: 62cqmin; aspect-ratio: var(--upload-ratio, 1); max-height: 60cqh; flex: none;
  background: currentColor;
  -webkit-mask: var(--upload-mask) center / contain no-repeat;
  mask: var(--upload-mask) center / contain no-repeat;
}
.engraving__lines { display: flex; flex-direction: column; align-items: center; gap: 1.5cqmin; width: 100%; }
.engraving__line {
  margin: 0; max-width: 100%; white-space: nowrap; line-height: 1.12;
  font-family: var(--engrave-font, var(--font-serif)); font-weight: var(--engrave-weight, 500); letter-spacing: var(--engrave-spacing, 0);
  transition: opacity 0.3s;
}
.engraving__line:empty { display: none; }
.engraving__line.is-wrapping { white-space: normal; overflow-wrap: anywhere; }
.engraving__line.is-placeholder { opacity: 0.45; }
.engraving__line--1 { font-size: calc(14cqmin * var(--engrave-scale, 1)); }
.engraving__line--2 { font-size: calc(7.5cqmin * var(--engrave-scale, 1)); }
.engraving__line--3 { font-size: calc(6cqmin * var(--engrave-scale, 1)); }
.stage[data-shape="karte"] .engraving__motif, .stage[data-shape="anhaenger"] .engraving__motif { width: 34cqmin; }
.stage[data-shape="karte"] .engraving__line--1 { font-size: calc(17cqmin * var(--engrave-scale, 1)); }
.stage[data-shape="karte"] .engraving__line--2 { font-size: calc(10cqmin * var(--engrave-scale, 1)); }
.stage[data-shape="karte"] .engraving__line--3 { font-size: calc(8.5cqmin * var(--engrave-scale, 1)); }
.stage[data-shape="anhaenger"] .engraving { flex-direction: row; gap: 6cqmin; }
.stage[data-shape="anhaenger"] .engraving__line--1 { font-size: calc(26cqmin * var(--engrave-scale, 1)); }
.stage[data-shape="anhaenger"] .engraving__line--2 { font-size: calc(13cqmin * var(--engrave-scale, 1)); }

/* Licht-Schalter */
.light-switch {
  position: absolute; right: 14px; top: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
  background: rgba(17, 18, 20, 0.72); color: var(--c-text-on-dark); font-size: 0.82rem;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.light-switch__track { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #3a3b40; transition: background 0.3s; }
.light-switch__thumb { position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #c9c5be; transition: transform 0.3s var(--ease), background 0.3s, box-shadow 0.3s; }
.light-switch[aria-checked="true"] .light-switch__track { background: rgba(232, 176, 75, 0.45); }
.light-switch[aria-checked="true"] .light-switch__thumb { transform: translateX(14px); background: var(--c-gold-soft); box-shadow: 0 0 10px var(--c-gold); }

/* ── 19. KONFIGURATOR ─────────────────────────────────────────── */
.configurator { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.field-group { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 12px; }
.field-group__legend { padding: 0; margin-bottom: 12px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field-group__value { color: var(--fg); letter-spacing: 0.04em; text-transform: none; font-size: 0.9rem; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill input, .swatch input, .font-option input, .motif-option input { position: absolute; opacity: 0; pointer-events: none; }
.pill__body {
  display: inline-flex; flex-direction: column; align-items: flex-start; min-width: 108px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
  cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; line-height: 1.3;
}
.pill__body small { color: var(--muted); font-size: 0.8rem; }
.pill input:checked + .pill__body { border-color: var(--c-gold); background: rgba(232, 176, 75, 0.08); box-shadow: 0 0 0 1px var(--c-gold) inset; }
.pill input:focus-visible + .pill__body, .swatch input:focus-visible + .swatch__dot,
.font-option input:focus-visible ~ .font-option__sample, .motif-option input:focus-visible + .motif-option__icon { outline: 2px solid var(--c-gold); outline-offset: 2px; }

.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { position: relative; cursor: pointer; }
.swatch__dot {
  display: block; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent 50%, rgba(0, 0, 0, 0.2)), var(--swatch);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 0 0 3px var(--bg), 0 0 0 4px var(--line);
  transition: box-shadow 0.2s;
}
.swatch input:checked + .swatch__dot { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2) inset, 0 0 0 3px var(--bg), 0 0 0 5px var(--c-gold); }

.field { position: relative; display: grid; gap: 6px; }
.field__label { font-size: 0.9rem; font-weight: 500; }
.field__required { color: var(--accent-text); }
.field__optional { color: var(--muted); font-weight: 400; font-size: 0.85em; letter-spacing: 0; text-transform: none; }
.field__input {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--input-bg); color: var(--fg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.section--dark .field__input, .product .field__input { border-color: rgba(255, 255, 255, 0.16); }
.field__input::placeholder { color: var(--muted); opacity: 0.7; }
.field__input:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(232, 176, 75, 0.2); }
.field__input[aria-invalid="true"] { border-color: var(--c-error); }
textarea.field__input { resize: vertical; min-height: 110px; }
select.field__input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field__counter { position: absolute; right: 12px; bottom: 14px; font-size: 0.72rem; color: var(--muted); pointer-events: none; }
.field__hint { margin: 0; font-size: 0.8rem; color: var(--muted); }
.field__error { margin: 0; font-size: 0.84rem; color: var(--c-error); }
.section--light .field__error { color: var(--c-error-ink); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 140px 1fr; } }

.font-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.font-option { position: relative; cursor: pointer; }
.font-option__sample {
  display: flex; align-items: center; justify-content: center; height: 68px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
  font-size: calc(1.45rem * var(--scale, 1)); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.font-option__label { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--muted); text-align: center; }
.font-option input:checked ~ .font-option__sample { border-color: var(--c-gold); background: rgba(232, 176, 75, 0.08); box-shadow: 0 0 0 1px var(--c-gold) inset; color: var(--c-gold-soft); }
.font-option input:checked ~ .font-option__label { color: var(--fg); }

.motif-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.motif-option { position: relative; cursor: pointer; text-align: center; }
.motif-option__icon {
  display: grid; place-items: center; aspect-ratio: 1; padding: 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); color: var(--fg);
  transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.motif-option__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3.4; stroke-linecap: round; }
.motif-option__icon--upload { padding: 6px; background-size: contain; background-position: center; background-repeat: no-repeat; background-origin: content-box; }
.motif-option__label { display: block; margin-top: 6px; font-size: 0.76rem; color: var(--muted); }
.motif-option input:checked + .motif-option__icon { border-color: var(--c-gold); color: var(--c-gold-soft); background: rgba(232, 176, 75, 0.08); box-shadow: 0 0 0 1px var(--c-gold) inset; }
.motif-option:hover .motif-option__icon { border-color: rgba(232, 176, 75, 0.6); }

.upload { display: grid; gap: 10px; }
.upload__drop {
  display: grid; justify-items: center; gap: 4px; padding: 22px 16px; text-align: center; cursor: pointer;
  border: 1px dashed rgba(255, 255, 255, 0.25); border-radius: var(--radius); background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, background 0.2s;
}
.upload__drop svg { width: 28px; height: 28px; fill: none; stroke: var(--c-gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.upload__drop:hover, .upload__drop.is-dragover { border-color: var(--c-gold); background: rgba(232, 176, 75, 0.06); }
#upload-input:focus-visible + .upload__file, .upload:focus-within .upload__drop { border-color: var(--c-gold); }
.upload__title { font-weight: 500; }
.upload__meta { font-size: 0.78rem; color: var(--muted); }
.upload__file { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.88rem; }
.upload__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload__hint { margin: 0; font-size: 0.82rem; color: var(--muted); }
.upload__hint strong { color: var(--fg); font-weight: 500; }

.config-note { margin: 0; padding: 12px 16px; border-left: 2px solid var(--c-gold); background: rgba(232, 176, 75, 0.06); font-size: 0.88rem; color: var(--muted); }

.add-to-cart { display: flex; gap: 12px; align-items: stretch; }
.add-to-cart__button { flex: 1; min-width: 0; white-space: normal; text-align: center; }
.add-to-cart__button.is-added { --btn-bg: #f3d9a4; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; }
.section--light .qty, .drawer .qty { border-color: var(--line); }
.qty__btn { width: 40px; height: 100%; min-height: 40px; background: none; border: 0; font-size: 1.15rem; color: inherit; }
.qty__input { width: 36px; text-align: center; background: none; border: 0; padding: 0; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--small .qty__btn { width: 32px; min-height: 32px; font-size: 1rem; }
.qty--small .qty__input { width: 26px; font-size: 0.9rem; }

.trust-list { list-style: none; display: grid; gap: 6px; font-size: 0.85rem; color: var(--muted); }
.trust-list li { display: flex; gap: 10px; align-items: baseline; }
.trust-list li::before { content: ""; flex: none; width: 10px; height: 6px; border-left: 1.5px solid var(--c-gold); border-bottom: 1.5px solid var(--c-gold); transform: rotate(-45deg) translateY(-2px); }

.details { border-top: 1px solid var(--line); margin-top: 28px; }
.details + .details { margin-top: 0; }
.details:last-child { border-bottom: 1px solid var(--line); }
.details summary, .faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0;
  cursor: pointer; list-style: none; font-weight: 500;
}
.details summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.details summary::after, .faq__item summary::after { content: "+"; font-family: var(--font-sans); font-weight: 300; font-size: 1.4rem; line-height: 1; color: var(--accent-text); transition: transform 0.3s var(--ease); }
.details[open] summary::after, .faq__item[open] summary::after { transform: rotate(45deg); }
.details ul { padding: 0 0 18px 1.1em; color: var(--muted); display: grid; gap: 4px; }
.details p { color: var(--muted); padding-bottom: 18px; margin: 0; }
.details a { color: var(--fg); }

/* ── 20. WARENKORB (Schublade) ────────────────────────────────── */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; transition: visibility 0s linear 0.45s; }
.drawer.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(8, 9, 10, 0.6); opacity: 0; transition: opacity 0.45s var(--ease); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column;
  background: var(--c-ink-2); color: var(--fg); border-left: 1px solid var(--line);
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.6);
  transform: translateX(100%); transition: transform 0.45s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel:focus { outline: none; }
.drawer__header { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.drawer__title { font-size: 1.8rem; margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer__empty { color: var(--muted); padding: 32px 0; text-align: center; }
.drawer__footer { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__shipping-hint { margin: 0; font-size: 0.84rem; color: var(--c-gold-soft); }
.drawer__tax { margin: 0; font-size: 0.75rem; color: var(--muted); }

.cart-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item__image { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; background: var(--c-paper-2); }
.cart-item__head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.cart-item__name { font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.2; margin: 0; }
.cart-item__name a { text-decoration: none; }
.cart-item__remove { flex: none; width: 30px; height: 30px; margin: -4px -6px 0 0; }
.cart-item__meta { margin: 4px 0 0; font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.cart-item__meta span { display: block; overflow-wrap: anywhere; }
.cart-item__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.cart-item__price { font-weight: 500; font-variant-numeric: tabular-nums; }

.totals { margin: 0; display: grid; gap: 6px; }
.totals__row { display: flex; justify-content: space-between; gap: 16px; }
.totals__row dt, .totals__row dd { margin: 0; }
.totals__row dd { font-variant-numeric: tabular-nums; }
.totals__row--muted { color: var(--muted); font-size: 0.92rem; }
.totals__row--total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--font-serif); font-size: 1.45rem; }

/* ── 21. KASSE ────────────────────────────────────────────────── */
.checkout { padding-top: clamp(28px, 5vw, 56px); }
.checkout__title { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.checkout__empty { text-align: center; padding: 48px 0; color: var(--muted); }
.checkout__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 960px) {
  .checkout__layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; }
  .checkout__summary { position: sticky; top: calc(var(--header-h) + 20px); }
}
.checkout__fields { display: grid; gap: 20px; }
.form-section { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 24px 20px; margin: 0; display: grid; gap: 16px; min-width: 0; }
.form-section__title { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-family: var(--font-serif); font-size: 1.5rem; }
.form-section__title + * { clear: both; }
@media (min-width: 600px) { .form-section { padding: 28px; } }

.choice { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--input-bg); }
.choice.is-selected { border-color: var(--c-gold-ink); box-shadow: 0 0 0 1px var(--c-gold-ink) inset; }
.choice svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--c-gold-ink); stroke-width: 1.4; }
.choice p { margin: 2px 0 0; font-size: 0.86rem; color: var(--muted); }

.summary { border-radius: var(--radius); background: var(--c-ink); color: var(--c-text-on-dark); padding: 26px 22px; display: grid; gap: 16px;
  --fg: var(--c-text-on-dark); --muted: var(--c-muted-on-dark); --line: var(--c-line-dark); --accent-text: var(--c-gold); }
@media (min-width: 600px) { .summary { padding: 30px 28px; } }
.summary__head { display: flex; justify-content: space-between; align-items: baseline; }
.summary__title { font-size: 1.7rem; margin: 0; }
.summary__items { list-style: none; display: grid; }
.summary-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.summary-item__image { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: var(--c-paper-2); }
.summary-item__name { margin: 0; font-weight: 500; font-size: 0.95rem; line-height: 1.35; }
.summary-item__meta { margin: 2px 0 0; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.summary-item__meta span { display: block; overflow-wrap: anywhere; }
.summary-item__price { font-variant-numeric: tabular-nums; font-size: 0.95rem; white-space: nowrap; }
.summary__tax, .summary__small { margin: 0; font-size: 0.76rem; color: var(--muted); }

.notice { padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: 0.84rem; line-height: 1.55; color: var(--muted); }
.notice strong { color: var(--fg); }
.notice a { color: var(--fg); }
.notice--error { border-color: var(--c-error); color: var(--fg); background: rgba(231, 118, 94, 0.08); }
.section--light .notice--error { color: var(--c-error-ink); }
.notice--success { border-color: var(--c-success); color: var(--fg); background: rgba(111, 191, 142, 0.1); }
.notice--dark { margin: 24px auto 0; max-width: 560px; }
.checkout__notice { margin: 0 0 24px; border-color: var(--c-gold-ink); }
.choice + .notice { margin-top: 12px; }
.thanks__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 0.88rem; line-height: 1.5; cursor: pointer; }
.checkbox input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--c-gold); cursor: pointer; }
.checkbox a { color: var(--accent-text); }

/* ── 22. DANKE, KONTAKT, RECHTLICHES, FEHLER ──────────────────── */
.thanks { min-height: 70vh; display: flex; align-items: center; background: radial-gradient(50% 50% at 50% 30%, rgba(232, 176, 75, 0.12), transparent 70%), var(--c-ink); }
.thanks__inner { text-align: center; max-width: 720px; }
.thanks__icon { width: 84px; height: 84px; margin: 0 auto 24px; fill: none; stroke: var(--c-gold-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(232, 176, 75, 0.6)); }
.thanks__icon circle { opacity: 0.4; }
.thanks__icon path { stroke-dasharray: 70; stroke-dashoffset: 70; animation: draw 1.2s var(--ease) 0.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks__lead { font-size: 1.2rem; color: var(--muted); }
.thanks__facts { display: grid; gap: 12px; margin: 32px 0 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-align: left; }
.thanks__facts div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.thanks__facts dt { color: var(--muted); }
.thanks__facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.thanks__steps { list-style: none; display: grid; gap: 16px; margin: 40px 0; text-align: left; counter-reset: s; }
.thanks__steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.93rem; }
.thanks__steps li::before { content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--c-gold); color: var(--c-gold); display: grid; place-items: center; font-family: var(--font-serif); font-size: 1.1rem; }
.thanks__steps strong { color: var(--fg); font-weight: 500; display: block; }
.thanks__contact { color: var(--muted); }
@media (min-width: 700px) { .thanks__steps { grid-template-columns: repeat(3, 1fr); } .thanks__facts { grid-template-columns: repeat(3, 1fr); text-align: center; } .thanks__facts div { flex-direction: column; gap: 2px; } }

.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
@media (min-width: 960px) { .contact { grid-template-columns: 1.4fr 1fr; gap: 64px; } .contact__box { position: sticky; top: calc(var(--header-h) + 20px); } }
.faq { display: grid; gap: 40px; }
.faq__title { font-size: 1.7rem; margin-bottom: 8px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__answer { padding-bottom: 18px; color: var(--muted); }
.faq__answer p { margin: 0; }
.faq__answer a { color: var(--accent-text); }
.contact__box { padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 4px; }
.contact__title { font-size: 1.9rem; }
.contact__box > p { color: var(--muted); }
.contact__direct a { color: var(--accent-text); font-weight: 500; }
.contact-form { display: grid; gap: 16px; margin-top: 8px; }

.prose { font-size: 1rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.2em; margin-bottom: 1em; }
.prose a { color: var(--accent-text); }
.placeholder-note { display: inline-block; padding: 4px 12px; border: 1px dashed var(--c-gold-ink); border-radius: 999px; color: var(--c-gold-ink) !important; font-size: 0.82rem; }

.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page__inner { max-width: 640px; }
.error-page__title { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.error-page p:not(.eyebrow) { color: var(--muted); }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.error-page__debug { white-space: pre-wrap; padding: 16px; border-radius: var(--radius-sm); background: #000; color: #f88; font-size: 0.8rem; text-align: left; }

/* ── 23. COOKIE-HINWEIS & ENTWICKLERLEISTE ────────────────────── */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between;
  max-width: 720px; margin: 0 auto; padding: 18px 20px;
  background: rgba(23, 24, 27, 0.96); color: var(--c-text-on-dark);
  border: 1px solid var(--c-line-dark); border-radius: var(--radius);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: slide-up 0.6s var(--ease) both;
}
.cookie-banner__text { flex: 1 1 320px; margin: 0; font-size: 0.85rem; color: var(--c-muted-on-dark); }
.cookie-banner__text a { color: var(--c-gold); }
@keyframes slide-up { from { opacity: 0; transform: translateY(20px); } }

.debug-bar { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; padding: 8px var(--gutter); background: #2b2410; color: #f3d9a4; font-size: 0.78rem; border-bottom: 1px solid #5c4a1c; }
.debug-bar code { background: rgba(0, 0, 0, 0.3); padding: 0 4px; border-radius: 3px; }
.debug-bar__problems { width: 100%; }
.debug-bar__problems summary { cursor: pointer; color: #ffb4a3; font-weight: 600; }
.debug-bar__problems ul { padding-left: 1.2em; margin: 6px 0; }

/* ── 24. ANIMATIONEN & BEWEGUNG ───────────────────────────────── */
/* Sanftes Einblenden beim Scrollen (nur wenn JavaScript aktiv ist) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* „Bewegung reduzieren“ in den Systemeinstellungen → keine Animationen */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .product-card__link:hover, .occasion-card:hover, .btn:hover { transform: none; }
  .product-card__link:hover .product-card__media img { transform: none; }
  .logo__x { animation: none; }
}

/* Schutz gegen horizontales Scrollen auf kleinen Bildschirmen */
.product__media, .product__config, .checkout__fields, .checkout__summary, .faq, .contact__box { min-width: 0; }
/* Cookie-Hinweis nicht über dem geöffneten Handymenü */
.nav-open .cookie-banner { display: none; }

/* ── 25. INDIVIDUELLE GESCHENKE (Foto-Upload, Extras) ─────────── */
/* Upload als Hauptschritt bei Foto-Produkten */
.upload--featured .upload__drop { padding: 28px 18px; border-color: rgba(232, 176, 75, 0.55); background: rgba(232, 176, 75, 0.05); }
.upload--featured .upload__drop svg { width: 34px; height: 34px; }
.upload--featured .upload__title { font-size: 1.05rem; }
.upload__file { justify-content: flex-start; }
.upload__file .upload__name { flex: 1; min-width: 0; }
.upload__thumb { flex: none; width: 40px; height: 40px; border-radius: 6px; background: #fff center / cover no-repeat; box-shadow: inset 0 0 0 1px var(--line); }
.upload__rights { margin: 0; font-size: 0.74rem; color: var(--muted); opacity: 0.85; }
.upload__drop.is-busy { opacity: 0.6; pointer-events: none; }

/* Platzhalter in der Vorschau, solange noch kein Bild hochgeladen ist */
.engraving__placeholder {
  width: 58cqmin; aspect-ratio: 4 / 3; flex: none;
  display: grid; place-items: center; align-content: center; gap: 2cqmin;
  border: 1.5px dashed currentColor; border-radius: 3cqmin; opacity: 0.55;
  font-family: var(--font-sans); font-size: 5cqmin; letter-spacing: 0.08em; text-transform: uppercase;
}
.engraving__placeholder svg { width: 14cqmin; height: 14cqmin; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* Fotos bekommen in der Vorschau mehr Platz als Zeichnungen */
.stage[data-upload-kind="foto"] .engraving__upload { width: 82cqmin; max-height: 68cqh; }
.stage[data-upload-kind="foto"][data-shape="anhaenger"] .engraving__upload { width: 70cqmin; max-height: 88cqh; }

/* Extras zum Ankreuzen */
.extras { display: grid; gap: 10px; }
.extra-option {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.product .extra-option { border-color: rgba(255, 255, 255, 0.14); }
.extra-option input { position: absolute; opacity: 0; pointer-events: none; }
.extra-option__box {
  width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: 5px;
  display: grid; place-items: center; transition: background 0.2s, border-color 0.2s;
}
.extra-option__box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid var(--c-ink); border-bottom: 2px solid var(--c-ink); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.extra-option input:checked ~ .extra-option__box { background: var(--c-gold); border-color: var(--c-gold); }
.extra-option input:checked ~ .extra-option__box::after { opacity: 1; }
.extra-option:has(input:checked) { border-color: rgba(232, 176, 75, 0.6); background: rgba(232, 176, 75, 0.06); }
.extra-option input:focus-visible ~ .extra-option__box { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.extra-option__text { display: grid; gap: 2px; }
.extra-option__label { font-weight: 500; font-size: 0.93rem; }
.extra-option__description { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.extra-option__price { font-size: 0.86rem; color: var(--c-gold-soft); white-space: nowrap; }

/* Kasten „Eigene Idee?“ auf Kategorieseiten */
.category-cta {
  display: grid; gap: 16px; align-items: center; margin-top: clamp(40px, 6vw, 64px); padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius-lg); background: var(--c-ink); color: var(--c-text-on-dark);
  background-image: radial-gradient(60% 120% at 100% 0%, rgba(232, 176, 75, 0.14), transparent 70%);
}
.category-cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0 0 0.3em; }
.category-cta p { margin: 0; color: var(--c-muted-on-dark); max-width: 46em; }
@media (min-width: 800px) { .category-cta { grid-template-columns: 1fr auto; gap: 40px; } }

/* Startseite: Sektion „Individuelle Geschenke“ */
.individual__head { display: grid; gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); }
.individual__head .section-head { margin-bottom: 0; }
.mini-steps { list-style: none; display: grid; gap: 14px; counter-reset: ms; align-content: center; }
.mini-steps li { counter-increment: ms; display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.mini-steps li::before {
  content: counter(ms); flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(232, 176, 75, 0.6); color: var(--c-gold); display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 1.05rem;
}
.mini-steps strong { display: block; color: var(--fg); font-weight: 500; }
@media (min-width: 960px) { .individual__head { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; } }

/* „So funktioniert's“ auf hellem Grund */
.section--paper .step, .section--light .step { background: var(--card); }
.section--paper .step__icon, .section--light .step__icon { stroke: var(--c-gold-ink); }
.section--paper .step__number, .section--light .step__number { color: rgba(138, 90, 18, 0.35); }

/* ── 26. HINWEIS „OHNE LED-SOCKEL“ ───────────────────────────── */
.led-notice {
  display: flex; gap: 12px; align-items: flex-start; margin: -8px 0 28px; padding: 14px 16px;
  border: 1px solid rgba(232, 176, 75, 0.45); border-radius: var(--radius-sm); background: rgba(232, 176, 75, 0.07);
  font-size: 0.88rem; line-height: 1.55; color: var(--muted);
}
.led-notice svg { flex: none; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--c-gold); stroke-width: 1.6; stroke-linecap: round; }
.led-notice p { margin: 0; }
.led-notice strong { color: var(--fg); font-weight: 600; }
.led-notice a { color: var(--c-gold-soft); white-space: nowrap; }
.stage__caption {
  position: absolute; left: 50%; bottom: 3.2%; z-index: 2; transform: translateX(-50%);
  width: max-content; max-width: 92%; padding: 3px 10px; border-radius: 10px; background: rgba(17, 18, 20, 0.6);
  color: var(--c-muted-on-dark); font-size: 0.7rem; line-height: 1.35; letter-spacing: 0.02em; text-align: center;
}
.stage.is-showing-photo .stage__caption { visibility: hidden; }

/* ── 27. QR-CODE-SCHILDER ─────────────────────────────────────── */
.engraving__qr { width: 50cqmin; aspect-ratio: 1; flex: none; transition: opacity 0.3s; }
.engraving__qr svg { display: block; width: 100%; height: 100%; }
.engraving__qr.is-placeholder { opacity: 0.35; }
/* Überschrift über dem Code, zweite Zeile darunter */
.stage[data-qr] .engraving { gap: 3cqmin; }
.stage[data-qr] .engraving__lines { display: contents; }
.stage[data-qr] .engraving__line--1 { order: -1; font-size: calc(10cqmin * var(--engrave-scale, 1)); }
.stage[data-qr] .engraving__line--2 { font-size: calc(6.5cqmin * var(--engrave-scale, 1)); }
.qr-fields__tip {
  display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 14px;
  border-radius: var(--radius-sm); background: rgba(232, 176, 75, 0.07); font-size: 0.84rem; color: var(--muted);
}
.qr-fields__tip svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--c-gold); stroke-width: 1.6; stroke-linecap: round; }

/* Rechtstexte */
.prose .notice { margin: 0 0 1.6em; }
.prose .notice strong { color: var(--fg); }
