/* lisahochzwei Shop.
   Handschrift: Papier in Creme, Flächen in Beige und Rose, Kupfer für alles, was man antippt,
   Gold nur als Schmuck (Siegel, Anhänger, feine Linien). Signaturen: Schleife, Unikat-Siegel, Anhänger.
   Schriften kommen aus fonts.css. Kontraste nachgerechnet (Text auf Fläche jeweils >= 4,5:1):
   Tinte #3a2a24 auf Creme 12,6 · gedämpft #6b5548 auf Creme 6,4 / Beige 5,2 / Rose hell 5,6 ·
   Kupfer dunkel #8a4520 auf Creme 6,6 / Beige 5,3 · Creme auf Kupfer #9c4f26 5,7. Gold und Rose nie als Textfarbe auf hell. */
:root {
  --paper: #fbf5ea;
  --cream: #fffaf2;
  --beige: #ecdcc6;
  --sand: #f1e4d0;
  --gold: #c8a04a;
  --gold-soft: #f3e4bb;
  --copper: #9c4f26;
  --copper-d: #8a4520;
  --copper-dd: #6f3617;
  --rose: #e9c9c3;
  --rose-soft: #f6e3de;
  --ink: #3a2a24;
  --muted: #6b5548;
  --line: rgba(58, 42, 36, .14);
  --line-2: rgba(58, 42, 36, .3);
  --focus: #7a3f12;
  --err-bg: #fbe4e0;
  --err: #8a2a2a;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;
  --r-s: 12px; --r-m: 20px; --r-l: 28px;
  --r-xl: clamp(28px, 4.5vw, 48px);
  --sh-s: 0 1px 2px rgba(92, 52, 28, .06), 0 4px 12px -4px rgba(92, 52, 28, .12);
  --sh-m: 0 2px 4px rgba(92, 52, 28, .05), 0 16px 32px -12px rgba(92, 52, 28, .24);
  --sh-l: 0 4px 8px rgba(92, 52, 28, .05), 0 32px 60px -24px rgba(92, 52, 28, .36);
  --spring: cubic-bezier(.3, 1.45, .5, 1);
  --glide: cubic-bezier(.2, .8, .2, 1);
  --tabbar: 0px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
html.lock { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); -webkit-font-smoothing: antialiased; padding-bottom: var(--tabbar); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
main:focus, h1:focus, h2:focus, [tabindex="-1"]:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--cream); padding: .7rem 1.1rem; border-radius: 999px; text-decoration: none; transition: top .15s; }
.skip:focus { top: .75rem; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typografie ---------- */
.display, .title, .side-title, .pcard-name, .ctile-txt h3, .usp h3, .step h3, .excard h3, .line-name, .drawer-title, .lb-title, .sheet-title, .unikat-title, .form-h {
  font-family: var(--display); font-optical-sizing: auto; font-variation-settings: "SOFT" 100, "WONK" 0; font-weight: 560; letter-spacing: -.012em;
}
.display { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.04; text-wrap: balance; }
.hero-title { font-size: clamp(2.6rem, 10.5vw, 4.4rem); line-height: 1; letter-spacing: -.022em; hyphens: auto; overflow-wrap: break-word; }
.hero-title.long { font-size: clamp(2.2rem, 7.5vw, 3.6rem); line-height: 1.04; }
@media (min-width: 900px) { .hero-title { font-size: clamp(3.2rem, 5.2vw, 5.2rem); } .hero-title.long { font-size: clamp(2.8rem, 4.2vw, 4.2rem); } }
.title { font-size: clamp(1.85rem, 4vw, 2.9rem); line-height: 1.08; text-wrap: balance; }
.title-s { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.side-title { font-size: 1.35rem; line-height: 1.15; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--muted); max-width: 36em; text-wrap: pretty; }
.fine { font-size: .9rem; color: var(--muted); }
.hint { display: block; font-size: .9rem; color: var(--muted); margin-top: .25rem; font-weight: 400; }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 2.9rem; padding: .7rem 1.4rem; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 650; text-decoration: none; background: transparent; line-height: 1.2; text-align: center; transition: background .2s, color .2s, border-color .2s, box-shadow .3s, transform .35s var(--spring); }
.btn-primary { background: var(--copper); border-color: var(--copper); color: var(--cream); box-shadow: inset 0 1px 0 rgba(255, 250, 242, .22), 0 10px 20px -10px rgba(111, 54, 23, .7); }
.btn-primary:hover { background: var(--copper-dd); border-color: var(--copper-dd); }
.btn-ink { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--copper-dd); border-color: var(--copper-dd); }
.btn-ghost { background: var(--cream); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--gold-soft); }
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn-sm { min-height: 2.5rem; padding: .45rem 1rem; font-size: .95rem; }
.btn-lg { min-height: 3.3rem; padding: .85rem 1.7rem; font-size: 1.08rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn.done { background: var(--ink); border-color: var(--ink); }
.btn .ic { transition: transform .3s var(--spring); }
.btnrow { display: flex; flex-wrap: wrap; gap: .7rem; }
.textlink { font-weight: 650; color: var(--copper-d); text-underline-offset: .25em; text-decoration-thickness: 1.5px; }
.textlink:hover { color: var(--copper-dd); text-decoration-thickness: 2.5px; }
.linkbtn { background: none; border: 0; padding: .35rem 0; font-size: .92rem; color: var(--muted); text-decoration: underline; text-underline-offset: .2em; }
.linkbtn:hover { color: var(--copper-d); }
.iconbtn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--cream); transition: background .2s, border-color .2s; }
.iconbtn:hover { background: var(--gold-soft); border-color: var(--ink); }

/* ---------- Kopf ---------- */
.top { position: sticky; top: .5rem; z-index: 50; padding-inline: clamp(.5rem, 2.5vw, 2.5rem); margin-top: .5rem; pointer-events: none; }
.top-in { pointer-events: auto; max-width: var(--max); margin-inline: auto; display: flex; align-items: center; gap: .5rem; padding: .3rem .4rem .3rem .9rem; background: rgba(255, 250, 242, .82); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--line); border-radius: 999px; transition: box-shadow .3s, background .3s; }
.top.scrolled .top-in { background: rgba(255, 250, 242, .94); box-shadow: var(--sh-m); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; min-height: 3rem; border-radius: 999px; }
.brand-mark { height: 3rem; width: auto; margin-block: -.1rem; }
.brand-name { font: 600 .82rem/1 var(--body); letter-spacing: .14em; color: var(--muted); padding-top: .35rem; }
.mainnav { display: none; gap: .15rem; margin-right: .4rem; }
.mainnav a { text-decoration: none; padding: .55rem .95rem; border-radius: 999px; font-weight: 600; }
.mainnav a:hover { background: var(--sand); }
.mainnav a[aria-current="page"] { background: var(--beige); }
@media (min-width: 860px) { .mainnav { display: flex; } }
.cartbtn { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; background: var(--ink); color: var(--cream); border: 0; border-radius: 999px; padding: .5rem .55rem .5rem 1rem; font-weight: 650; transition: background .2s; }
.cartbtn:hover { background: var(--copper-dd); }
.cartbtn svg { width: 1.3rem; height: 1.3rem; }
.cartbtn-count { min-width: 1.7rem; height: 1.7rem; padding: 0 .4rem; display: grid; place-items: center; border-radius: 999px; background: rgba(255, 250, 242, .2); font-size: .9rem; }
.cartbtn-count.on { background: var(--gold-soft); color: var(--ink); }
.cartbtn-count.bump { animation: bump .5s ease; }
.cartbtn.catch { animation: catch .6s var(--spring); }
@keyframes catch { 30% { scale: 1.12 .9; } 60% { scale: .96 1.05; } }
@keyframes bump { 40% { transform: scale(1.4) rotate(-8deg); } }
.fly { position: fixed; z-index: 200; pointer-events: none; margin: 0; filter: drop-shadow(0 12px 14px rgba(58, 42, 36, .3)); object-fit: cover; border-radius: 18px; }
@media (max-width: 480px) { .cartbtn-label { display: none; } .cartbtn { padding-left: .8rem; } .brand-name { font-size: .74rem; letter-spacing: .1em; } .brand-mark { height: 2.4rem; } }

/* ---------- Leiste am Handy (Daumen) ---------- */
.tabbar { display: none; }
@media (max-width: 859px) {
  :root { --tabbar: calc(3.9rem + env(safe-area-inset-bottom, 0px)); }
  .tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: .3rem .5rem calc(.3rem + env(safe-area-inset-bottom, 0px)); background: rgba(255, 250, 242, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
  .tab { flex: 1 1 0; display: grid; justify-items: center; gap: .1rem; padding: .35rem .2rem .25rem; min-height: 3.2rem; border-radius: 16px; text-decoration: none; font-size: .78rem; font-weight: 600; color: var(--muted); }
  .tab .ic { width: 1.45rem; height: 1.45rem; }
  .tab[aria-current="page"] { color: var(--copper-d); background: var(--sand); }
  body[data-route="product"], body[data-route="checkout"] { --tabbar: 0px; }
  body[data-route="product"] .tabbar, body[data-route="checkout"] .tabbar { display: none; }
}

/* ---------- Bildflächen, Schleife, Anhänger ---------- */
.art { position: relative; background: var(--tint, var(--sand)); overflow: hidden; aspect-ratio: 4 / 3; }
.art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.art.photo > img { opacity: 0; transition: opacity .5s; }
.art.photo.ready > img { opacity: 1; }
.art.photo:not(.ready)::after, .sk { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(255, 250, 242, .6) 50%, transparent 80%) 0 0 / 220% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.motif { position: absolute; inset: 7%; width: 86%; height: 86%; }
.motif.pop { animation: pop .45s var(--spring); }
@keyframes pop { from { transform: scale(.94) rotate(-1.5deg); } }
.pstage { position: absolute; inset: 0; }
.pstage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; }
.pstage img.on { opacity: 1; }

/* ---------- Ebenen-Bühne (js/stage.js) ----------
   .stage füllt ihren Rahmen; .stage-sq ist das Quadrat, auf das sich alle Prozentwerte beziehen.
   Bei Fotos deckt das Quadrat den Rahmen (wie object-fit: cover), bei Zeichnungen passt es hinein. */
.stage { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; container-type: size; isolation: isolate; }
.stage-sq { position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 1; translate: -50% -50%; }
@supports (width: 1cqw) {
  .stage-sq { width: max(100cqw, 100cqh); }
  .stage:not(.has-photo) .stage-sq { width: min(100cqw, 100cqh); }
}
.stage-base, .stage-draw, .stage-layers { position: absolute; inset: 0; }
.stage-base img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.stage-base img.on { opacity: 1; }
.stage:not(.has-photo) .stage-base { visibility: hidden; }
.stage-draw .motif { inset: 6%; width: 88%; height: 88%; }
.stage-layers { pointer-events: none; }
.stage-layer { position: absolute; height: auto; max-width: none; translate: -50% -50%; user-select: none; filter: drop-shadow(0 .5cqw 1cqw rgba(72, 40, 22, .26)); }
.stage-live .stage-layer { transition: left .6s var(--glide), top .6s var(--glide), width .6s var(--glide), rotate .6s var(--glide), opacity .25s ease, scale .25s ease; }
.stage-layer.enter { animation: layer-in .55s var(--spring) both; }
.stage-layer.leave { opacity: 0; scale: .82; }
@keyframes layer-in { from { opacity: 0; scale: .55; } 45% { opacity: 1; } }
/* Etiketten: gewählt, aber nicht im Bild */
.stage-tags { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; z-index: 2; display: flex; flex-wrap: wrap-reverse; align-items: flex-end; gap: .3rem .35rem; pointer-events: none; }
.stage-tag { display: inline-flex; align-items: center; gap: .4rem; max-width: 100%; min-height: 1.8rem; padding: .18rem .7rem .18rem .28rem; background: rgba(255, 250, 242, .95); color: var(--ink); border-radius: 999px; font-size: .82rem; font-weight: 650; line-height: 1.15; box-shadow: 0 0 0 1px rgba(58, 42, 36, .16), 0 3px 8px -3px rgba(72, 40, 22, .4); }
.stage-tag > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-tag img, .stage-tag-sw { width: 1.35rem; height: 1.35rem; border-radius: 50%; flex: none; object-fit: cover; }
.stage-tag-sw { background: var(--c); box-shadow: inset 0 0 0 1px rgba(58, 42, 36, .28); }
.stage-tag.plain { padding-left: .5rem; }
.stage-tag.plain::before { content: ""; width: .5rem; height: .5rem; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--copper-d); }
.stage-tag.more { color: var(--muted); padding-left: .7rem; }
.stage-tag.more::before { display: none; }
.stage-tag.enter { animation: chip-in .4s var(--spring) both; }
@keyframes chip-in { from { transform: translateY(.5rem) scale(.8); opacity: 0; } }
.bow { width: 3.2rem; height: auto; flex: none; }
.bow.tie .bow-l, .bow.tie .bow-r, .bow.tie .bow-k, .bow.tie .bow-tails { transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  .bow.tie .bow-l { transform-origin: 100% 80%; animation: loop-in .7s .15s var(--spring) both; }
  .bow.tie .bow-r { transform-origin: 0 80%; animation: loop-in .7s .25s var(--spring) both; }
  .bow.tie .bow-k { transform-origin: 50% 50%; animation: loop-in .5s .05s var(--spring) both; }
  .bow.tie .bow-tails { transform-origin: 50% 0; animation: tails-in .6s .45s var(--glide) both; }
}
@keyframes loop-in { from { transform: scale(0); } }
@keyframes tails-in { from { transform: scaleY(0); opacity: 0; } }
.tag { position: relative; display: inline-flex; align-items: center; font: 600 1.05rem/1.1 var(--display); font-variation-settings: "SOFT" 100; background: var(--gold-soft); color: var(--ink); padding: .4rem .85rem .4rem 1.75rem; clip-path: polygon(.8rem 0, 100% 0, 100% 100%, .8rem 100%, 0 50%); white-space: nowrap; }
.tag::before { content: ""; position: absolute; left: .8rem; top: 50%; width: .44rem; height: .44rem; margin-top: -.22rem; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--copper-d); }
.tag-s { font-size: .98rem; padding-block: .3rem; }
.tag.ptick .tag-t { display: inline-block; animation: tick .4s var(--spring); }
@keyframes tick { from { transform: translateY(-.35em); opacity: .2; } }
.seal { width: 5.4rem; height: 5.4rem; flex: none; filter: drop-shadow(0 4px 6px rgba(92, 52, 28, .22)); rotate: -8deg; }
.unisticker { z-index: 2; position: absolute; right: .7rem; top: .7rem; padding: .28rem .7rem; border-radius: 999px; background: var(--cream); color: var(--copper-d); font: italic 600 .9rem/1 var(--display); rotate: 4deg; box-shadow: 0 2px 6px rgba(92, 52, 28, .22), inset 0 0 0 1.5px var(--gold); }
.badge { z-index: 2; position: absolute; left: .8rem; bottom: .8rem; background: var(--ink); color: var(--cream); padding: .3rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.caption { display: flex; align-items: flex-start; gap: .5rem; font-size: .86rem; line-height: 1.4; color: var(--muted); }
.caption .ic { width: 1.05rem; height: 1.05rem; margin-top: .12rem; color: var(--copper-d); }
.confetti { position: fixed; inset: 0; z-index: 300; pointer-events: none; overflow: hidden; }
.cf { position: absolute; display: block; }
.cf-strip { width: .5rem; height: 1.1rem; border-radius: 2px; }
.cf-dot { width: .55rem; height: .55rem; border-radius: 50%; }
.cf-heart { width: 1rem; height: 1rem; }

/* ---------- Startseite: Hero ---------- */
.home { overflow-x: clip; }
.hero { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(1.75rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.hero-txt { display: grid; gap: 1.3rem; justify-items: start; min-width: 0; }
.hero-act { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .3rem; }
.hero-claim { display: flex; align-items: center; gap: .7rem; font: italic 500 1.1rem/1.3 var(--display); color: var(--copper-d); margin-top: .4rem; }
.hero-bow { width: 2.4rem; }
@media (max-width: 599px) { .hero-act { flex-wrap: nowrap; width: 100%; gap: .5rem; } .hero-act .btn { flex: 1 1 auto; min-height: 3.1rem; padding: .7rem .8rem; font-size: .98rem; white-space: nowrap; } .hero-act .btn .ic { display: none; } .hero-claim { display: none; } .hero-txt { gap: 1rem; } }
.eye { position: relative; max-width: 30rem; width: 100%; margin-inline: auto; display: grid; gap: .9rem; }
.eye-stage { --eye: var(--rose-soft); position: relative; padding: 0 .9rem; }
.eye-arch { position: relative; aspect-ratio: 1 / 1.08; background: var(--eye); border-radius: 999px 999px var(--r-l) var(--r-l); overflow: hidden; box-shadow: var(--sh-l); transition: background .45s; }
.eye-stage::before { content: ""; position: absolute; inset: -.75rem .15rem .75rem .15rem; border: 1.5px solid var(--gold); border-radius: 999px 999px calc(var(--r-l) + 10px) calc(var(--r-l) + 10px); pointer-events: none; }
.eye-arch > .motif { inset: 12% 8% 6%; width: 84%; height: 82%; }
.eye-arch .stage:not(.has-photo) .stage-sq { top: 54%; }
.eye-seal { position: absolute; right: -.2rem; top: 4%; width: clamp(4.8rem, 10vw, 6.4rem); height: auto; rotate: 10deg; z-index: 2; }
.eye-tag { position: absolute; left: -.1rem; bottom: 7%; z-index: 2; rotate: -5deg; font-size: 1.15rem; box-shadow: none; filter: drop-shadow(0 4px 6px rgba(92, 52, 28, .25)); }
.eye-bar { display: grid; gap: .8rem; padding: 1rem 1.1rem 1.1rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-s); }
.eye-bar .btn { width: 100%; }
.seg { display: flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; background: var(--sand); border-radius: 999px; width: fit-content; max-width: 100%; }
.segbtn { border: 0; background: transparent; padding: .5rem 1rem; min-height: 2.5rem; border-radius: 999px; font-weight: 650; }
.segbtn[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.eye-ctrls { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; }
.eye-set { display: grid; gap: .35rem; }
.eye-lab { font-size: .88rem; font-weight: 650; color: var(--muted); }
.eye-opts { display: flex; flex-wrap: wrap; gap: .45rem; }
.dot { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 3px solid var(--cream); background: var(--c); padding: 0; box-shadow: 0 0 0 1.5px var(--line-2); transition: transform .3s var(--spring); }
.dot:hover { transform: scale(1.08); }
.dot[aria-checked="true"] { box-shadow: 0 0 0 2.5px var(--ink); }
.dot:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; border-radius: 50%; }
.emini { padding: .4rem .9rem; min-height: 2.4rem; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--cream); font-weight: 600; }
.emini[aria-checked="true"], .emini[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.eye-cap { padding-inline: .4rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
  .hero-title .w > span { display: inline-block; animation: word-up .9s calc(var(--i) * 70ms + 60ms) cubic-bezier(.2, .9, .2, 1) both; }
  .hero-txt .lead, .hero-act, .hero-claim { animation: rise .8s .5s var(--glide) both; }
  .eye-arch { animation: arch-in 1s .2s var(--glide) both; }
  .eye-seal { animation: seal-in .7s .9s var(--spring) both; }
}
@keyframes word-up { from { transform: translateY(105%) rotate(3deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(1rem); } }
@keyframes arch-in { from { opacity: 0; transform: translateY(1.5rem) scale(.97); } }
@keyframes seal-in { from { opacity: 0; scale: .4; rotate: -40deg; } }

/* ---------- Abschnitte ---------- */
.sec { padding-block: clamp(2.75rem, 6.5vw, 5.5rem) 0; }
.sec-in { margin-top: clamp(2.5rem, 6vw, 4rem); }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem 2rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.sec-head-txt { display: grid; gap: .6rem; }
.panel { margin: clamp(2.75rem, 6.5vw, 5.5rem) clamp(.4rem, 1vw, .75rem) 0; border-radius: var(--r-xl); padding-block: clamp(2.25rem, 6vw, 4.5rem); }
.panel-rose { background: var(--rose-soft); }
.panel-beige { background: var(--sand); }

/* Geschenk-Finder */
.finder { display: grid; gap: 1.1rem; }
.finder-head { display: grid; gap: .5rem; }
.finder-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.fchip { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--line-2); text-decoration: none; font-weight: 650; background: var(--cream); transition: background .2s, border-color .2s, transform .3s var(--spring); }
.fchip:hover { border-color: var(--ink); background: var(--gold-soft); }
.fchip[aria-current="page"], .fchip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.finder-res { margin-top: .4rem; padding: clamp(1rem, 3vw, 1.75rem); background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-l); display: grid; gap: 1.1rem; box-shadow: var(--sh-s); }
@media (prefers-reduced-motion: no-preference) { .finder-res { animation: rise .45s var(--glide); } }
.finder-sum { font-weight: 650; }
.finder-sub { font: 600 1rem/1.2 var(--body); color: var(--muted); margin-bottom: -.4rem; }
.finder-more { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* Kategorien */
.bento { display: grid; gap: clamp(.8rem, 2vw, 1.25rem); }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(12, 1fr); }
  .bento .ctile { grid-column: span 6; }
  .bento.n3 .ctile:nth-child(1), .bento.n4 .ctile:nth-child(1), .bento.n5 .ctile:nth-child(1) { grid-column: span 7; }
  .bento.n3 .ctile:nth-child(2), .bento.n4 .ctile:nth-child(2), .bento.n5 .ctile:nth-child(2) { grid-column: span 5; }
  .bento.n3 .ctile:nth-child(3) { grid-column: span 12; }
  .bento.n4 .ctile:nth-child(3), .bento.n5 .ctile:nth-child(3) { grid-column: span 5; }
  .bento.n4 .ctile:nth-child(4), .bento.n5 .ctile:nth-child(4) { grid-column: span 7; }
  .bento.n1 .ctile { grid-column: span 12; }
}
.ctile { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--tint); border-radius: var(--r-xl); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--sh-s); transition: box-shadow .4s, transform .5s var(--spring); }
.ctile:hover { box-shadow: var(--sh-l); transform: translateY(-4px); }
.ctile .art { background: transparent; aspect-ratio: 16 / 10; }
.ctile .art.photo { aspect-ratio: 5 / 4; }
.ctile .motif { inset: 6% 3% 0; width: 94%; height: 94%; transition: transform .6s var(--spring); }
.ctile:hover .motif { transform: scale(1.05) rotate(-1.5deg); }
.ctile-txt { padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 1.8rem); display: grid; gap: .3rem; align-content: start; }
.ctile-txt h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; }
.ctile-txt p { color: var(--ink); max-width: 28em; }
.ctile-go { display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; font-weight: 700; color: var(--deep); }
.ctile-go .ic { transition: transform .25s; }
.ctile:hover .ctile-go .ic { transform: translateX(.35rem); }

.track { display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 17rem); gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); padding: .3rem var(--gutter) 1.1rem; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.track > * { scroll-snap-align: start; }
.track-ex { grid-auto-columns: min(78vw, 18.5rem); }
.track-ideas { grid-auto-columns: min(46vw, 13rem); gap: .75rem; }

/* Produktkarten */
.pgrid { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem) 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.pgrid-s { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr 1fr; gap: 1.5rem .8rem; } .pgrid:has(.pcard:only-child), .pgrid-s:has(.pcard:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; } }
.pcard-link { display: grid; gap: .35rem; text-decoration: none; align-content: start; }
.pcard-pic { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden; margin-bottom: .45rem; box-shadow: var(--sh-s); transition: box-shadow .4s, transform .5s var(--spring); }
.pcard-link:hover .pcard-pic { box-shadow: var(--sh-l); transform: translateY(-4px); }
.pcard-pic .art { position: absolute; inset: 0; aspect-ratio: auto; }
.pcard-pic .art > img { transition: opacity .5s, transform .8s var(--glide); }
.pcard-link:hover .art > img { transform: scale(1.04); }
.pcard-name { font-size: 1.3rem; line-height: 1.15; }
.pcard-tag { color: var(--muted); font-size: .96rem; }
.pcard-price { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; margin-top: .25rem; }
.pcard-go { font-size: .88rem; font-weight: 650; color: var(--copper-d); }
.pcard-link:hover .pcard-name { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .18em; }

/* Ideen auf der Startseite */
.idea { position: relative; display: block; border-radius: var(--r-m); overflow: hidden; text-decoration: none; box-shadow: var(--sh-s); background: var(--sand); transition: box-shadow .4s, transform .5s var(--spring); }
.idea:hover { box-shadow: var(--sh-m); transform: translateY(-3px); }
.idea:focus-visible { outline-offset: 3px; border-radius: var(--r-m); }
.idea-art { aspect-ratio: 1; }
.idea-art > img { transition: opacity .5s, transform .8s var(--glide); }
.idea:hover .idea-art > img { transform: scale(1.04); }
.idea-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .65rem; color: #fffaf2; font-weight: 650; font-size: .92rem; line-height: 1.25; background: linear-gradient(to top, rgba(40, 26, 20, .86), rgba(40, 26, 20, .55) 55%, transparent); text-shadow: 0 1px 2px rgba(40, 26, 20, .6); }
.ideas-bento { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); }
.ideas-bento .idea.big { grid-column: span 2; }
.ideas-bento .idea.big .idea-art { aspect-ratio: 4 / 3; }
@media (min-width: 760px) {
  .ideas-bento { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .ideas-bento .idea.big { grid-row: span 2; }
  .ideas-bento .idea.big .idea-art { aspect-ratio: auto; height: 100%; }
  .ideas-bento.n1 { grid-template-columns: minmax(0, 28rem); }
  .ideas-bento.n2 { grid-template-columns: 2fr 1fr; } .ideas-bento.n2 .idea.big { grid-column: auto; grid-row: auto; } .ideas-bento.n2 .idea.big .idea-art { aspect-ratio: 4 / 3; height: auto; }
  .ideas-bento.n3 { grid-template-columns: repeat(3, 1fr); } .ideas-bento.n3 .idea.big { grid-column: span 2; }
}

/* Vertrauen */
.usps { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
.usp-list { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .usp-list { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); } }
.usp { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.usp-ic { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--rose-soft); color: var(--copper-d); box-shadow: inset 0 0 0 1.5px var(--rose); }
.usp-ic .ic { width: 1.6rem; height: 1.6rem; }
.usp h3 { font-size: 1.3rem; line-height: 1.15; margin-bottom: .25rem; }
.usp p { color: var(--muted); max-width: 24em; }

.flow { display: grid; gap: 1.5rem; counter-reset: s; }
@media (min-width: 860px) { .flow { grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); } }
.step { display: grid; gap: .4rem; align-content: start; justify-items: start; position: relative; }
.step-n { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--cream); font: 600 1.35rem/1 var(--display); color: var(--copper-d); box-shadow: inset 0 0 0 1.5px var(--gold); }
.step h3 { font-size: 1.25rem; line-height: 1.15; margin-top: .35rem; }
.step p { max-width: 19em; }
@media (min-width: 860px) { .step:not(:last-child)::after { content: ""; position: absolute; left: 3.6rem; right: -.6rem; top: 1.45rem; border-top: 1.5px dashed var(--gold); } }
@media (max-width: 859px) { .step { grid-template-columns: 2.9rem 1fr; column-gap: 1rem; } .step-n { grid-row: span 2; } .step h3 { margin-top: .2rem; } }
.contact-line { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: 1.75rem; }
.pdp-buy .contact-line { margin-top: 0; font-size: .95rem; }

/* Beliebte Kombinationen */
.excard { display: grid; gap: .45rem; align-content: start; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-l); padding: .6rem .6rem 1.1rem; box-shadow: var(--sh-s); }
.excard-pic { position: relative; }
.excard-pic .art { border-radius: 20px; aspect-ratio: 1; }
.excard-tag { position: absolute; left: -.3rem; bottom: .7rem; rotate: -4deg; filter: drop-shadow(0 3px 4px rgba(92, 52, 28, .22)); }
.excard h3 { font-size: 1.22rem; line-height: 1.15; padding-inline: .6rem; margin-top: .4rem; }
.excard-prod { padding-inline: .6rem; font-weight: 600; font-size: .92rem; color: var(--muted); }
.excard-body { padding-inline: .6rem; color: var(--muted); font-size: .96rem; }
.excard .btn { margin: .4rem .6rem 0; justify-self: start; }

.about { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 860px) { .about { grid-template-columns: .85fr 1.15fr; } }
.about-art { position: relative; aspect-ratio: 5 / 4; display: grid; place-items: center; background: var(--rose-soft); border-radius: 999px 999px var(--r-l) var(--r-l); max-width: 26rem; width: 100%; justify-self: center; box-shadow: inset 0 0 0 1.5px var(--rose); }
.about-art img { width: 62%; height: auto; margin-top: 8%; }
.about-bow { position: absolute; bottom: -1.1rem; left: 50%; translate: -50% 0; width: 4.4rem; }
.about-txt { display: grid; gap: 1rem; justify-items: start; }
.about-txt p { max-width: 36em; color: var(--muted); font-size: 1.08rem; }
.about-txt .about-claim { font: italic 500 1.2rem/1.3 var(--display); color: var(--copper-d); }

/* Wunsch-Banner */
.wish { position: relative; display: grid; gap: 1.25rem; align-items: center; background: var(--copper); color: var(--cream); border-radius: var(--r-xl); padding: clamp(1.75rem, 5vw, 3.25rem); overflow: hidden; }
.wish .title { color: var(--cream); }
.wish-txt { display: grid; gap: .6rem; max-width: 34em; }
.wish-txt p { font-size: 1.08rem; }
.wish .btn { justify-self: start; }
.wish-bow { --bow: #f3c9c3; --bow-d: #e0a9a3; --bow-k: #f3e4bb; position: absolute; right: clamp(-1rem, 2vw, 2.5rem); top: -1.2rem; width: clamp(6rem, 16vw, 11rem); rotate: 14deg; opacity: .95; }
.wish :focus-visible { outline-color: var(--cream); }
@media (min-width: 760px) { .wish { grid-template-columns: 1fr auto; padding-right: clamp(8rem, 18vw, 14rem); } .wish-bow { top: 50%; translate: 0 -50%; } }
@media (max-width: 759px) { .wish { padding-top: 3.6rem; } .wish-bow { width: 5.5rem; top: -.6rem; right: 1rem; } }

/* ---------- Shop ---------- */
.shop, .ideas, .inq { padding-block: clamp(1.5rem, 4vw, 3rem) 0; }
.shop-head, .ideas-head { display: grid; gap: .8rem; margin-bottom: 1.5rem; }
.shop-head.tinted { background: var(--tint); border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 3rem); align-items: center; overflow: hidden; }
.shop-head.tinted .lead { color: var(--ink); }
.shop-head-txt { display: grid; gap: .8rem; }
@media (min-width: 760px) { .shop-head.tinted { grid-template-columns: 1.3fr .7fr; } }
.shop-head .art { background: transparent; aspect-ratio: 4 / 3; border-radius: var(--r-l); }
.shop-desc { max-width: 36em; }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.empty { color: var(--muted); font-size: 1.12rem; text-align: center; max-width: 30em; }
.shop > .empty { padding: 3rem 0; margin-inline: auto; }
.shop > .unikat, .ideas > .unikat { margin-top: clamp(2.5rem, 6vw, 4rem); }
.shop > .wish, .ideas > .wish { margin-top: clamp(1.5rem, 4vw, 2.5rem); }

/* ---------- Ideen-Seite ---------- */
.ideas-count { margin-bottom: .8rem; }
.ideas-grid { display: flex; gap: clamp(.6rem, 1.6vw, 1rem); align-items: flex-start; }
.ideas-col { flex: 1 1 0; min-width: 0; display: grid; gap: clamp(.6rem, 1.6vw, 1rem); }
.ideas-more { display: flex; margin: 1.75rem auto 0; }
.ideas-empty { margin-top: 1rem; }
.empty-bow { width: 5rem; }

/* Lightbox */
.lb { padding: 0; border: 0; width: min(68rem, 100vw); max-width: 100vw; height: min(46rem, 100dvh); max-height: 100dvh; background: var(--paper); color: var(--ink); border-radius: var(--r-l); overflow: hidden; }
.lb[open] { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(19rem, .75fr); }
.lb::backdrop { background: rgba(40, 26, 20, .72); backdrop-filter: blur(6px); }
.lb-media { position: relative; background: var(--beige); display: grid; place-items: center; min-height: 0; }
.lb-media img { width: 100%; height: 100%; object-fit: contain; position: absolute; inset: 0; }
.lb-count { position: absolute; left: .8rem; top: .8rem; background: rgba(40, 26, 20, .7); color: #fffaf2; font-size: .85rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; }
.lb-panel { position: relative; display: flex; flex-direction: column; min-height: 0; }
.lb-close { position: absolute; right: .7rem; top: .7rem; z-index: 2; }
.lb-body { overflow-y: auto; padding: 1.4rem 1.4rem 1.5rem; display: grid; gap: .9rem; align-content: start; }
.lb-title { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; padding-right: 3rem; }
.lb-cat { justify-self: start; font-size: .88rem; font-weight: 650; background: var(--sand); padding: .2rem .7rem; border-radius: 999px; }
.lb-text { color: var(--ink); white-space: pre-line; }
.lb-act { display: grid; gap: .6rem; margin-top: .3rem; }
.lb-back { justify-self: start; padding-right: 3rem; }
.lb .order { gap: 1rem; }
@media (max-width: 819px) {
  .lb { width: 100vw; height: 100dvh; border-radius: 0; margin: 0; }
  .lb[open] { grid-template-columns: 1fr; grid-template-rows: minmax(0, 46dvh) minmax(0, 1fr); }
  .lb-close { position: fixed; right: .7rem; top: .7rem; }
}
@media (prefers-reduced-motion: no-preference) { .lb[open] { animation: lb-in .35s var(--glide); } .lb[open]::backdrop { animation: fade-in .3s; } .lb-media img { animation: fade-in .35s; } }
@keyframes lb-in { from { opacity: 0; transform: translateY(1rem) scale(.98); } }
.navbtn { position: absolute; top: 50%; translate: 0 -50%; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1.5px solid var(--line-2); background: rgba(255, 250, 242, .94); display: grid; place-items: center; z-index: 3; }
.navbtn:hover { background: var(--gold-soft); }
.navbtn.prev { left: .7rem; } .navbtn.next { right: .7rem; }

/* Wunschanfrage */
.inq-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .inq-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; } .inq-txt { position: sticky; top: 5.5rem; } }
.inq-txt { display: grid; gap: 1.1rem; }
.ticks { display: grid; gap: .5rem; }
.ticks li, .facts li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .ic, .facts .ic { color: var(--copper-d); margin-top: .18rem; }
.inq-form { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.1rem, 3.5vw, 2.25rem); box-shadow: var(--sh-s); display: grid; gap: 1.25rem; }
.inq-ref { display: flex; align-items: center; gap: .9rem; padding: .6rem; background: var(--sand); border-radius: var(--r-m); }
.inq-ref .art { width: 4.6rem; aspect-ratio: 1; border-radius: 14px; flex: none; }
.inq-ref p { display: grid; }
.inq-ref small { color: var(--muted); }
.sent { display: grid; gap: .8rem; justify-items: center; text-align: center; padding: 2rem 1rem; }
.sent-bow { width: 5.5rem; }

/* ---------- Produktseite ---------- */
.pdp { padding-block: clamp(1rem, 3vw, 2rem) 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .95rem; margin-bottom: 1rem; color: var(--muted); }
.crumbs a { text-underline-offset: .2em; padding-block: .3rem; }
.pdp-grid { display: flex; flex-direction: column; gap: 1rem; }
.pdp-media { display: grid; gap: .8rem; width: 100%; max-width: 36rem; margin-inline: auto; }
/* am Handy: Titel über dem Bild, Kaufleiste klebt über die ganze Seite unten */
.pdp-buy { display: contents; }
.pdp-title { order: -2; }
.shared { order: -3; }
@media (min-width: 980px) {
  .pdp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
  .pdp-buy { display: grid; gap: 1rem; align-content: start; min-width: 0; }
  .pdp-title, .shared { order: 0; }
  .pdp-media { position: sticky; top: 5.5rem; max-width: none; }
}
.pdp-stage { position: relative; aspect-ratio: 1 / 1; background: var(--tint); border-radius: var(--r-xl); box-shadow: var(--sh-m); }
.pdp-view { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.pdp-view:focus-visible { outline-offset: 4px; border-radius: var(--r-xl); }
.pdp-photo { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; background: var(--tint); }
.pdp-stage.is-gallery .pdp-photo { opacity: 1; visibility: visible; transition: opacity .3s; }
.pdp-seal { position: absolute; right: -.5rem; top: -.5rem; width: clamp(4.4rem, 9vw, 5.6rem); height: auto; rotate: 10deg; z-index: 2; pointer-events: none; }
.thumbs { display: flex; flex-wrap: wrap; gap: .5rem; }
.thumb { width: 4rem; height: 4rem; padding: 0; border-radius: 16px; overflow: hidden; border: 2px solid transparent; background: var(--sand); display: grid; place-items: center; color: var(--copper-d); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--ink); }
.pdp-cap { margin-inline: .3rem; }
.warn { padding: .8rem 1rem; border-radius: 16px; background: var(--gold-soft); font-size: .95rem; }
.shared { display: flex; align-items: center; gap: .8rem; padding: .7rem 1rem; background: var(--rose-soft); border-radius: var(--r-m); font-weight: 600; }
.shared .bow { width: 2.4rem; }
.pdp-title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.pdp-desc { max-width: 36em; }
.quick { padding: .9rem 1rem 1rem; background: var(--rose-soft); border-radius: var(--r-m); }
.quick-t { display: flex; align-items: center; gap: .5rem; font-weight: 650; margin-bottom: .6rem; }
.quick-t .ic { color: var(--copper-d); }
.quick-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.qchip, .sugchip { min-height: 2.5rem; padding: .4rem .95rem; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--cream); font-weight: 600; font-size: .95rem; text-align: left; transition: background .2s, border-color .2s; }
.qchip:hover, .sugchip:hover { border-color: var(--ink); background: var(--gold-soft); }
.qchip[aria-pressed="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
/* Wunschgenerator: je Gruppe eine Karte, Optionen als große Kacheln */
.groups { display: grid; gap: .9rem; padding-top: .4rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 700; font-size: 1.05rem; padding: 0; margin-bottom: .6rem; }
.group { padding: 1rem 1rem 1.1rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-s); }
.group legend { float: left; width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; margin-bottom: .7rem; }
.group legend + * { clear: both; }
.legend-t { font: 560 1.3rem/1.15 var(--display); font-variation-settings: "SOFT" 100, "WONK" 0; letter-spacing: -.012em; }
.legend-cur { font-size: .92rem; font-weight: 650; color: var(--copper-d); text-align: right; overflow-wrap: anywhere; }
.group .hint { margin: -.35rem 0 .75rem; }
.opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.face { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .95rem; min-height: 2.9rem; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--cream); transition: background .2s, box-shadow .2s, border-color .2s, transform .35s var(--spring); }
.tx { display: grid; line-height: 1.25; }
.tx .nm { font-weight: 600; }
.tx small { color: var(--muted); font-size: .85rem; }
.sw { display: inline-block; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(58, 42, 36, .28); flex: none; }
.tick { width: 0; height: 1.1rem; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--spring), width .2s; stroke-width: 2.6; color: var(--copper-d); }
.opt input:checked + .face { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--gold-soft); }
.opt input:checked + .face .tick { width: 1.1rem; opacity: 1; transform: none; }
.opt input:focus-visible + .face { outline: 3px solid var(--focus); outline-offset: 3px; }
.opt:hover .face { border-color: var(--ink); }
.opt input:active + .face { transform: scale(.96); }
.groups .opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.4rem, 1fr)); gap: .5rem; }
.groups .opt { display: flex; min-width: 0; }
.groups .face { position: relative; width: 100%; min-height: 3.4rem; padding: .6rem 2rem .6rem .85rem; background: var(--paper); overflow-wrap: anywhere; }
.groups .tick { position: absolute; right: .55rem; top: .55rem; width: 1.35rem; height: 1.35rem; padding: .2rem; border-radius: 50%; background: var(--ink); color: var(--cream); stroke-width: 3; }
.groups .opt input:checked + .face .tick { width: 1.35rem; }
.groups .opts.has-pics { grid-template-columns: repeat(auto-fill, minmax(6.4rem, 1fr)); }
.option-with-copies { min-width:0; }
.option-with-copies .opt { width:100%; }
.part-copies { display:flex; align-items:center; justify-content:center; gap:.35rem; padding:.15rem .2rem .55rem; grid-row:auto; }
.part-copy-btn { width:2.15rem; height:2.15rem; border:1px solid var(--line-2); border-radius:50%; background:var(--cream); color:var(--ink); font-size:1.25rem; line-height:1; cursor:pointer; }
.part-copy-btn:disabled { opacity:.4; cursor:default; }
.part-copy-btn:focus-visible { outline:3px solid var(--focus); outline-offset:2px; }
.part-copy-count { min-width:1.5rem; text-align:center; font-weight:700; }
.groups .has-pics .face { flex-direction: column; align-items: stretch; gap: .45rem; padding: .4rem .4rem .6rem; text-align: center; }
.groups .has-pics .tx { padding-inline: .2rem; justify-items: center; }
.opt-pic { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 11px; background: var(--sand); overflow: hidden; transition: transform .45s var(--spring); }
.opt-pic img { width: 100%; height: 100%; object-fit: cover; }
.opt-pic.cut img { object-fit: contain; padding: 8%; filter: drop-shadow(0 2px 3px rgba(72, 40, 22, .22)); }
.opt-pic .sw { width: 2.6rem; height: 2.6rem; border: 3px solid var(--cream); box-shadow: 0 0 0 1.5px var(--line-2); }
.g-swatch .opt-pic:has(.sw) { background: transparent; aspect-ratio: auto; padding: .35rem 0 0; overflow: visible; }
.opt-ini { font: 560 1.5rem/1 var(--display); color: var(--muted); }
.opt input:checked + .face .opt-pic { transform: scale(1.04) rotate(-1.5deg); }
.opts-more { display: inline-block; margin-top: .8rem; border: 0; background: none; padding: .4rem 0; }
@media (max-width: 979px) { .groups .opt { scroll-margin-top: 13.5rem; } }
@media (max-width: 520px) {
  .group { padding: .85rem .7rem .8rem; border-radius: var(--r-m); }
  .groups .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
  .groups .opts.has-pics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .groups .has-pics .face { padding: .3rem .3rem .5rem; border-radius: 14px; }
  .groups .has-pics .tx { font-size: .92rem; }
  .groups .has-pics .tick { right: .3rem; top: .3rem; }
}

/* angedockte kleine Bühne (Handy und Tablet) */
.dock { position: fixed; left: 50%; top: 4.5rem; z-index: 40; width: min(100% - 1.2rem, 34rem); display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); align-items: center; gap: .9rem; padding: .4rem 1rem .4rem .4rem; text-align: left; background: rgba(255, 250, 242, .94); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--line-2); border-radius: 24px; box-shadow: var(--sh-m); translate: -50% -1rem; opacity: 0; visibility: hidden; transition: translate .4s var(--glide), opacity .25s, visibility 0s .4s; }
.dock.on { translate: -50% 0; opacity: 1; visibility: visible; transition: translate .4s var(--glide), opacity .25s; }
.dock-pic { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--sand); }
.dock-txt { display: grid; gap: .1rem; min-width: 0; }
.dock-name { font-size: .86rem; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock-price { font: 600 1.45rem/1.1 var(--display); font-variation-settings: "SOFT" 100; }
.dock-last { font-size: .92rem; font-weight: 650; color: var(--copper-d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock-last.ptick { animation: tick .4s var(--spring); }
@media (min-width: 600px) { .dock { grid-template-columns: 8rem minmax(0, 1fr); } }
@media (min-width: 980px) { .dock { display: none; } }

/* Kartentext */
.cardbox { display: grid; gap: 1rem; padding: 1.1rem; background: var(--sand); border-radius: var(--r-l);  margin-top: .5rem; }
@media (min-width: 560px) { .cardbox { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; } }
.cardbox-in { display: grid; gap: .6rem; }
.cardbox textarea { width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--cream); resize: vertical; min-height: 4.2rem; }
.cardbox textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.cardbox textarea::placeholder, .order ::placeholder { color: #7d6a5e; }
.card-sug { display: flex; flex-wrap: wrap; gap: .4rem; }
.sugchip { font-size: .86rem; min-height: 2.25rem; padding: .3rem .8rem; font-weight: 500; }
.gcard { position: relative; justify-self: center; width: min(100%, 15rem); aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 1.4rem 1.1rem 1rem; background: var(--cream); border-radius: 10px; box-shadow: var(--sh-m), inset 0 0 0 1px var(--line), inset 0 0 0 7px var(--cream), inset 0 0 0 8px var(--gold); rotate: 2deg; }
.gcard-t { font: italic 500 1.05rem/1.3 var(--display); font-variation-settings: "SOFT" 100, "WONK" 1; text-align: center; color: var(--copper-d); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.gcard.ghost .gcard-t { color: var(--muted); }
.gcard-bow { position: absolute; top: -1.05rem; left: 50%; translate: -50% 0; width: 3.2rem; }

.qtyrow { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.qty-l { font-weight: 700; font-size: 1.05rem; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--cream); }
.stepper button { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 0; background: transparent; border-radius: 50%; }
.stepper button:hover:not(:disabled) { background: var(--gold-soft); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 2.2rem; text-align: center; font-weight: 700; }
.buybar { position: sticky; bottom: .6rem; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; padding: .6rem .6rem .6rem .7rem; background: rgba(255, 250, 242, .9); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--line-2); border-radius: 999px; box-shadow: var(--sh-m); }
.buy-price { display: grid; gap: .1rem; justify-items: start; }
.price-tag { font-size: 1.4rem; }
.price-sub { font-size: .8rem; color: var(--muted); padding-left: .3rem; }
.add { flex: 1 1 11rem; }
.uni-chip { display: none; }
@media (min-width: 980px) {
  .buybar { border-radius: var(--r-l); padding: .9rem; }
  .uni-chip { flex: 1 1 100%; display: block; border: 0; background: none; padding: .1rem .3rem 0; font-size: .86rem; font-weight: 600; color: var(--ink); text-align: left; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .2em; }
  .uni-chip:hover { text-decoration-color: var(--copper-d); }
}
@media (max-width: 979px) { .buybar { bottom: calc(.5rem + env(safe-area-inset-bottom, 0px)); margin-inline: -.35rem; flex-wrap: nowrap; gap: .45rem; } .price-sub { display: none; } .add { flex: 1 1 auto; min-width: 0; padding-inline: .9rem; white-space: nowrap; } }
@media (max-width: 430px) { .price-tag { font-size: 1.15rem; padding-right: .6rem; } .add { font-size: 1rem; } }
.sharerow { display: flex; flex-wrap: wrap; gap: .5rem; }
.facts { display: grid; gap: .45rem; font-size: .98rem; }
.unavail { padding: .9rem 1.1rem; background: var(--rose-soft); border-radius: 18px; }
.pdp-ex { margin-top: clamp(2.75rem, 6vw, 4.5rem); }
.pdp-ex > .lead { margin-top: .5rem; margin-bottom: 1.2rem; }

/* ---------- Unikat: Siegel + Hinweis ---------- */
.unikat { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem .9rem .9rem; background: var(--cream); border: 1.5px dashed var(--gold); border-radius: var(--r-l); }
.unikat-txt { display: grid; gap: .2rem; min-width: 0; }
.unikat-title { font-size: 1.15rem; line-height: 1.15; }
.unikat-text { color: var(--ink); font-size: .97rem; line-height: 1.45; max-width: 44em; text-wrap: pretty; }
.unikat[tabindex]:focus-visible { outline: 3px solid var(--focus); }
.unikat-buy, .unikat-side, .unikat-check, .unikat-drawer { background: var(--gold-soft); border-color: #b08a36; }
.unikat-side { flex-direction: column; align-items: flex-start; gap: .6rem; }
.unikat-side .seal, .unikat-check .seal { width: 4.4rem; height: 4.4rem; }
.unikat-check { border-style: solid; }
.unikat-drawer { text-align: left; padding: .6rem .8rem .6rem .6rem; gap: .7rem; border-radius: var(--r-m); }
.unikat-drawer .seal { width: 3.4rem; height: 3.4rem; }
.unikat-drawer .unikat-text { font-size: .85rem; line-height: 1.4; }
.unikat-wide { gap: clamp(1.25rem, 4vw, 3rem); padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--cream); border: 1.5px solid var(--gold); border-style: solid; border-radius: var(--r-xl); box-shadow: inset 0 0 0 6px var(--cream), inset 0 0 0 7px var(--gold-soft); }
.unikat-wide .seal { width: clamp(6.5rem, 15vw, 10.5rem); height: auto; rotate: -10deg; }
.unikat-wide .unikat-txt { gap: .7rem; }
.unikat-wide .unikat-text { font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.unikat-wide-s { padding: 1.1rem 1.4rem 1.1rem 1.1rem; }
@media (max-width: 560px) { .unikat-wide { flex-direction: column; align-items: flex-start; } .unikat { align-items: flex-start; } .unikat-buy .seal, .unikat-wide-s .seal { width: 4.2rem; height: 4.2rem; } }
.actions { display: grid; }

/* ---------- Fortschritt ---------- */
.progress { display: flex; align-items: center; gap: .4rem; margin-bottom: 1.5rem; font-weight: 650; font-size: .95rem; color: var(--muted); }
.progress li { display: flex; align-items: center; gap: .5rem; }
.progress li + li::before { content: ""; width: clamp(.8rem, 5vw, 3rem); border-top: 1.5px dashed var(--line-2); margin-right: .1rem; }
.progress-n { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: .9rem; flex: none; }
.progress .cur { color: var(--ink); }
.progress .cur .progress-n { background: var(--copper); color: var(--cream); box-shadow: none; }
.progress .done .progress-n { background: var(--gold-soft); color: var(--copper-d); box-shadow: inset 0 0 0 1.5px var(--gold); }
.progress .done .progress-n .ic { width: 1rem; height: 1rem; stroke-width: 2.6; }
.progress a { color: var(--ink); text-underline-offset: .2em; }
@media (max-width: 420px) { .progress li:not(.cur) > span:last-child, .progress li:not(.cur) > a { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ---------- Warenkorb, Schublade ---------- */
.lines { display: grid; gap: 0; }
.line { display: grid; grid-template-columns: 4.8rem 1fr auto; gap: .9rem; padding-block: 1.1rem; border-bottom: 1px solid var(--line-2); align-items: start; }
.line-pic { border-radius: 16px; overflow: hidden; display: block; }
.line-pic .art { aspect-ratio: 1; }
.line-name { font-size: 1.18rem; line-height: 1.15; text-decoration: none; }
.line-name:hover { text-decoration: underline; }
.line-parts { color: var(--muted); font-size: .92rem; margin-top: .2rem; }
.line-card { font: italic 500 .95rem/1.3 var(--display); color: var(--copper-d); margin-top: .3rem; overflow-wrap: anywhere; }
.line-ctr { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .7rem; }
.line-price { text-align: right; display: grid; }
.line-price small { color: var(--muted); }
.cartpage, .checkout, .thanks, .nf { padding-block: clamp(1.5rem, 4vw, 3rem) 0; }
.cartpage > .title, .checkout > .title { margin-bottom: 1.5rem; }
.cart-grid, .co-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .cart-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .7fr); gap: 3rem; align-items: start; } .co-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 3rem; align-items: start; } .sum { position: sticky; top: 5.5rem; } }
.sum { display: grid; gap: 1rem; align-content: start; }
.sumbox, .bank, .empty-box { border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.25rem; }
.sumbox { background: var(--cream); display: grid; gap: .7rem; box-shadow: var(--sh-s); }
.sums { margin: 0; display: grid; gap: .4rem; }
.sums > div { display: flex; justify-content: space-between; gap: 1rem; }
.sums dt { color: var(--muted); }
.sums dd { margin: 0; font-weight: 650; }
.sums .grand { border-top: 1.5px solid var(--line-2); padding-top: .6rem; margin-top: .3rem; font-size: 1.25rem; }
.sums .grand dt { color: var(--ink); font-weight: 700; }
.meter { height: .5rem; border-radius: 999px; background: var(--beige); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--copper); border-radius: inherit; transition: width .4s; }
.mline { display: flex; justify-content: space-between; gap: 1rem; padding-block: .55rem; border-bottom: 1px solid var(--line); }
.mline-t { display: grid; }
.mline small { color: var(--muted); }
.empty-box { display: grid; gap: 1.1rem; justify-items: center; text-align: center; padding: 2.5rem 1.25rem; background: var(--cream); border-style: dashed; border-color: var(--line-2); }
.empty-box .btnrow { justify-content: center; }
.notice { padding: .8rem 1rem; background: var(--gold-soft); border-radius: 16px; margin-bottom: 1rem; }
.sumrow { display: flex; justify-content: space-between; font-size: 1.15rem; }
.added { display: flex; align-items: center; gap: .8rem; padding: .7rem .9rem; background: var(--rose-soft); border-radius: var(--r-m); font-weight: 650; margin-top: .75rem; }
.added .bow { width: 2.6rem; }

.drawer { margin: 0 0 0 auto; padding: 0; border: 0; height: 100dvh; max-height: none; width: min(29rem, 100vw); max-width: 100vw; background: var(--paper); color: var(--ink); border-radius: var(--r-l) 0 0 var(--r-l); overflow: hidden; }
.drawer[open] { display: flex; flex-direction: column; }
.drawer::backdrop, .sheet::backdrop { background: rgba(40, 26, 20, .5); backdrop-filter: blur(4px); }
@media (prefers-reduced-motion: no-preference) {
  .drawer[open] { animation: slide-in .45s cubic-bezier(.2, .9, .25, 1); }
  .drawer[open]::backdrop, .sheet[open]::backdrop { animation: fade-in .3s; }
  .sheet[open] { animation: sheet-in .35s var(--glide); }
}
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-in { from { transform: translateY(2rem); opacity: 0; } }
@media (max-width: 520px) { .drawer { border-radius: 0; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-2); }
.drawer-title { font-size: 1.7rem; line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 1.25rem 1rem; display: grid; align-content: start; }
.drawer-body .empty-box { margin-top: 1.25rem; }
.drawer-foot { padding: 1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-2); display: grid; gap: .65rem; text-align: center; background: var(--cream); }
.drawer .line { grid-template-columns: 4rem 1fr auto; }

/* Teilen-Blatt */
.sheet { padding: 1.1rem; border: 0; width: min(26rem, calc(100vw - 1.5rem)); background: var(--paper); color: var(--ink); border-radius: var(--r-l); box-shadow: var(--sh-l); }
@media (max-width: 560px) { .sheet { margin: auto auto calc(.75rem + env(safe-area-inset-bottom, 0px)); } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.sheet-title { font-size: 1.4rem; line-height: 1.15; }
.sheet-list { display: grid; gap: .45rem; }
.sheet-row { display: flex; align-items: center; gap: .8rem; width: 100%; min-height: 3.1rem; padding: .6rem 1rem; border-radius: 16px; border: 1.5px solid var(--line-2); background: var(--cream); font-weight: 650; text-decoration: none; text-align: left; }
.sheet-row:hover { border-color: var(--ink); background: var(--gold-soft); }
.sheet-row .ic { width: 1.5rem; height: 1.5rem; color: var(--copper-d); }
.sheet-url { width: 100%; margin-top: .7rem; padding: .6rem .8rem; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--sand); font-size: .85rem; color: var(--muted); }
.sheet-state { min-height: 1.4rem; margin-top: .4rem; font-size: .92rem; font-weight: 650; color: var(--copper-d); }

/* ---------- Formular ---------- */
.order { display: grid; gap: 1.2rem; align-content: start; }
.order label { display: grid; gap: .35rem; font-weight: 650; }
.order input:not([type="checkbox"]):not([type="radio"]), .order textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--cream); font-weight: 400; min-height: 3rem; }
.order input:focus-visible, .order textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.order [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px var(--err-bg); }
.form-h { font-size: 1.4rem; line-height: 1.15; margin-top: .8rem; padding-top: 1.2rem; border-top: 1px solid var(--line-2); }
.form-h:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.row { display: grid; gap: 1.2rem; }
@media (min-width: 600px) { .row { grid-template-columns: 1fr 1fr; } .row-zip { grid-template-columns: 8rem 1fr; } }
.address { display: grid; gap: 1.2rem; }
.order .opt { font-weight: 400; display: inline-flex; }
.pick .opts { flex-direction: column; }
.pick .opt { display: flex; }
.pick .face { width: 100%; }
.pick .tick { margin-left: auto; }
.consent { grid-template-columns: auto 1fr !important; align-items: start; gap: .75rem !important; font-weight: 400 !important; }
.consent input { width: 1.5rem; height: 1.5rem; margin-top: .1rem; accent-color: var(--copper); }
.consent a { color: var(--copper-d); font-weight: 650; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: .9rem 1.1rem; background: var(--err-bg); color: var(--err); border: 1.5px solid var(--err); border-radius: 14px; font-weight: 650; }
.form-error:focus { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Danke ---------- */
.thanks-card { background: var(--rose-soft); border-radius: var(--r-xl); padding: clamp(1.5rem, 5vw, 4rem); }
.thanks-txt { display: grid; gap: 1rem; justify-items: start; max-width: 44rem; }
.thanks-bow { width: clamp(5rem, 12vw, 7.5rem); margin-bottom: .3rem; }
.order-no { font-size: 1.2rem; }
.order-no strong { background: var(--gold-soft); padding: .1rem .6rem; border-radius: 8px; }
.bank { background: var(--cream); display: grid; gap: .5rem; width: 100%; }
.bank-text { white-space: pre-line; font-weight: 600; }

/* ---------- Zustände ---------- */
.sk-wrap { padding-block: clamp(1.75rem, 4vw, 3.5rem); min-height: 70vh; }
.sk-hero { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .sk-hero { grid-template-columns: 1.1fr .9fr; } }
.sk-lines { display: grid; gap: 1rem; justify-items: start; }
.sk { position: relative; display: block; overflow: hidden; background-color: var(--sand); border-radius: var(--r-m); }
.sk-h1 { height: clamp(2.8rem, 7vw, 4.6rem); width: 92%; border-radius: 18px; }
.sk-w2 { width: 64%; }
.sk-p { height: 1.1rem; width: 70%; border-radius: 10px; }
.sk-btn { height: 3.3rem; width: 14rem; border-radius: 999px; margin-top: .6rem; }
.sk-eye { width: min(100%, 28rem); aspect-ratio: 1 / 1.08; justify-self: center; border-radius: 999px 999px var(--r-l) var(--r-l); }
.state { display: grid; gap: 1rem; justify-items: center; text-align: center; padding: 5rem 1rem; }
.state-error { max-width: 36rem; }
.nf { display: grid; gap: 1.2rem; justify-items: start; padding-bottom: 2rem; }

/* ---------- Fuß: Markenabschluss ---------- */
.foot { margin: clamp(3rem, 8vw, 6.5rem) clamp(.4rem, 1vw, .75rem) clamp(.4rem, 1vw, .75rem); background: var(--ink); color: #f3e7d3; border-radius: var(--r-xl); padding: clamp(2.25rem, 6vw, 4.5rem) var(--gutter) 1.75rem; }
.foot-in { max-width: var(--max); margin-inline: auto; display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.foot-brand { display: grid; gap: .5rem; justify-items: start; }
.foot-mark { width: clamp(11rem, 34vw, 19rem); height: auto; margin-left: -.4rem; }
.foot-name { font: 600 clamp(1rem, 2.4vw, 1.25rem)/1 var(--body); letter-spacing: .32em; color: #e2bf74; }
.foot-claim { font: italic 500 clamp(1.15rem, 2.2vw, 1.5rem)/1.3 var(--display); max-width: 26em; margin-top: .5rem; }
.foot-cols { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 760px) { .foot-cols { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); } }
.foot-tag { font: 600 clamp(1.5rem, 3.4vw, 2.1rem)/1.1 var(--display); color: #e9bdb6; overflow-wrap: anywhere; }
.foot-soc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.soc { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .45rem 1rem; border: 1.5px solid rgba(243, 231, 211, .4); border-radius: 999px; text-decoration: none; font-weight: 650; }
.soc:hover { border-color: #e2bf74; color: #e2bf74; }
.foot-contact { font-style: normal; display: grid; gap: .35rem; justify-items: start; align-content: start; }
.foot-addr { white-space: pre-line; }
.foot-nav { display: grid; gap: .35rem; justify-items: start; align-content: start; }
.foot-nav a, .foot-contact a, .foot-links a { text-underline-offset: .25em; text-decoration-color: rgba(243, 231, 211, .4); padding-block: .2rem; }
.foot a:hover { color: #e2bf74; text-decoration-color: currentColor; }
.foot-unikat { font-size: .92rem; color: #d9c7ad; max-width: 52em; padding-left: 1rem; border-left: 2px solid #c8a04a; }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; border-top: 1px solid rgba(243, 231, 211, .22); padding-top: 1.2rem; }
.foot a { color: #fffaf2; }
.foot :focus-visible { outline-color: #e2bf74; }

/* ---------- Rechtstexte (seite.php) ---------- */
.legal { max-width: 46rem; margin: 2rem auto 0; padding: 0 var(--gutter); }
.legal h1 { font: 560 clamp(2rem, 5vw, 3rem)/1.05 var(--display); font-variation-settings: "SOFT" 100; margin-bottom: 1.25rem; }
.legal p { margin-bottom: 1rem; overflow-wrap: anywhere; }
.back { display: inline-block; margin: 1.5rem 0 0; font-weight: 650; color: var(--copper-d); text-underline-offset: .2em; }

/* ---------- Seitenwechsel ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- Grundinhalt vom Server (bis die App startet), Kleinunternehmer-Hinweis, Name aufs Geschenk ---------- */
.ssr { display: grid; gap: 1rem; justify-items: start; max-width: 46rem; padding-block: clamp(2rem, 6vw, 4.5rem); }
.ssr h1 { font: 560 clamp(2.1rem, 6vw, 3.4rem)/1.05 var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -.012em; }
.ssr h2 { font: 560 1.5rem/1.15 var(--display); font-variation-settings: "SOFT" 100; margin-top: 1rem; }
.ssr a, .ssr-crumbs a { color: var(--copper-d); font-weight: 650; text-underline-offset: .2em; }
.ssr-list { display: grid; gap: .45rem; }
.ssr-list span { color: var(--muted); }
.ssr-img { width: min(100%, 24rem); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-l); background: var(--sand); }
.ssr .legal { margin: 0; padding: 0; }
.taxnote { margin-top: .15rem; }
.pdp-tax { margin-top: .6rem; }
.sum-tax { font-size: .86rem; }
.sums .disc dd { color: var(--copper-d); }
.paid-note { padding: .5rem .9rem; background: var(--gold-soft); border-radius: 12px; font-weight: 650; }
.vnote { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem 1rem; background: var(--gold-soft); border-radius: var(--r-m); font-weight: 600; }
.vnote .ic { margin-top: .15rem; color: var(--copper-d); }
.textrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem; }
.textinp { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--paper); min-height: 3rem; font-family: var(--display); font-size: 1.15rem; font-weight: 560; }
.textinp:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.textcount { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.notice-warn { background: var(--err-bg); color: var(--err); border: 1.5px solid var(--err); font-weight: 650; }

/* ---------- Gutschein ---------- */
.couponbox { border: 1px dashed var(--line-2); border-radius: var(--r-m); padding: .9rem 1rem; display: grid; gap: .5rem; background: var(--cream); }
.coupon { display: grid; gap: .4rem; }
.coupon label { font-weight: 650; font-size: .95rem; }
.coupon-row { display: flex; gap: .5rem; }
.coupon-row input { flex: 1; min-width: 0; padding: .6rem .85rem; min-height: 2.75rem; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--paper); text-transform: uppercase; letter-spacing: .04em; }
.coupon-row input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.coupon-msg { color: var(--err); font-weight: 650; font-size: .92rem; }
.coupon-on { display: flex; gap: .5rem; align-items: flex-start; font-weight: 650; overflow-wrap: anywhere; }
.coupon-on .ic { color: var(--copper-d); margin-top: .15rem; }
.coupon-rm { justify-self: start; }
.datefield { display: grid; gap: .35rem; }
.datefield > label { font-weight: 650; }
.datefield input { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--cream); min-height: 3rem; }
.datefield input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--ink); }
.datefield input[aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px var(--err-bg); }
.hint-err { color: var(--err); font-weight: 650; }
.datefield .linkbtn { justify-self: start; text-align: left; }

/* ---------- Kundenstimmen ---------- */
.stars { display: inline-flex; gap: .12rem; }
.star { width: 1.15rem; height: 1.15rem; fill: none; stroke: var(--copper-d); stroke-width: 1.6; stroke-linejoin: round; }
.star.on { fill: var(--gold); }
.rsum { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; color: var(--muted); }
.rsum-n { font: 600 1.6rem/1 var(--display); color: var(--ink); }
.track-rev { grid-auto-columns: min(84vw, 21rem); align-items: start; }
.rcard { display: grid; gap: .8rem; align-content: start; padding: 1.25rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--sh-s); }
.rcard-q { margin: 0; display: grid; gap: .4rem; justify-items: start; }
.rcard-t { font: 500 1.08rem/1.5 var(--display); font-variation-settings: "SOFT" 100; overflow-wrap: anywhere; white-space: pre-line; }
.rcard-t.clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rcard-pic { border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.rcard-pic img { width: 100%; height: 100%; object-fit: cover; }
.rcard-by { font-size: .95rem; color: var(--muted); }
.rcard-by strong { color: var(--ink); }
.rcard-reply { display: grid; grid-template-columns: 2.2rem 1fr; gap: .1rem .7rem; padding: .8rem; background: var(--rose-soft); border-radius: var(--r-m); font-size: .95rem; }
.rcard-bow { grid-row: 1 / 3; width: 2.2rem; }
.rcard-reply-t { font-weight: 700; }
.reviewpage { padding-block: clamp(1.5rem, 4vw, 3rem) 0; max-width: 46rem; display: grid; gap: 1.2rem; }
.reviewform { margin-top: .5rem; }
.rating { border: 0; padding: 0; margin: 0; }
.rating legend { font-weight: 650; margin-bottom: .4rem; }
.rate { display: flex; gap: .25rem; }
.rate-star { cursor: pointer; padding: .2rem; border-radius: 10px; display: grid; }
.rate-star .star { width: 2.2rem; height: 2.2rem; }
.rate-star.on .star { fill: var(--gold); }
.rate input:focus-visible + .rate-star { outline: 3px solid var(--focus); outline-offset: 2px; }
.rate input:checked + .rate-star .star { fill: var(--gold); }
.review-done { background: var(--rose-soft); }
@media (hover: hover) { .rate-star:hover .star { fill: var(--gold-soft); } }

/* Text-Ebene auf der Bühne (Name aufs Geschenk): Markenschrift, heller Rand für Lesbarkeit auf Fotos */
.stage-text { overflow: visible; }
.stage-text text { font: 600 100px/1 "Fraunces", "Iowan Old Style", Georgia, serif; font-variation-settings: "SOFT" 100, "WONK" 0; stroke: rgba(255, 250, 242, .6); stroke-width: 7px; stroke-linejoin: round; paint-order: stroke fill; }
.order .datefield > label { display: block; }

/* Eigene Platzierung: nur bei im Admin freigegebenen Produkten */
.customer-layout { margin-top: 1rem; padding: 1rem; border: 1px solid var(--line, #dfd3bf); border-radius: 18px; background: var(--paper, #fffaf2); }
.customer-layout .title { font-size: 1.2rem; margin: 0 0 .6rem; }
.customer-layout-controls { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1rem; }
.customer-partfield { display: grid; gap: .3rem; font-size: .9rem; font-weight: 600; }
.customer-partfield:first-child, .customer-layout-controls > p { grid-column: 1 / -1; }
.customer-partfield select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #a48b73; border-radius: 10px; padding: .5rem; font: inherit; background: #fffaf2; color: #3a2a24; }
.customer-editing .customer-part { pointer-events: auto; cursor: grab; touch-action: none; transition: none !important; animation: none !important; }
.customer-editing .customer-part:active { cursor: grabbing; }
.customer-editing .customer-part:focus { outline: 2px dashed #8a4f1f; outline-offset: 6px; border-radius: 5px; }
.customer-editing { outline: 2px dashed #a5612a; outline-offset: -4px; }
.customer-layout-controls[hidden] { display: none; }

.customer-editing .customer-selected { outline: 2px dashed #8a4f1f; outline-offset: 5px; }
.customer-rotate-handle { position: absolute; z-index: 1001; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; translate: -50% -50%; border: 2px solid #fffaf2; border-radius: 50%; background: #8a4f1f; color: #fffaf2; box-shadow: 0 2px 8px #3a2a2460; font: 700 30px/1 sans-serif; pointer-events: auto; touch-action: none; cursor: grab; }
.customer-rotate-handle[hidden] { display: none; }
.customer-rotate-handle:active { cursor: grabbing; }
.customer-rotate-handle:focus-visible { outline: 3px solid #3a2a24; outline-offset: 3px; }

.idea-art { position: relative; }

.foot-mark { filter: brightness(1.65); }

/* Aktionsbanner */
.promo { background: #6b3f26; color: #fbf3e6; text-align: center; font-size: .9rem; line-height: 1.35; padding: .55rem 1rem; }
.promo a, .promo span { color: inherit; text-decoration: none; font-weight: 600; }
.promo a:hover, .promo a:focus-visible { text-decoration: underline; }

/* Rechtstexte: Zwischenüberschriften */
.legal h2 { font: 600 1.25rem/1.25 var(--display); margin: 2rem 0 .6rem; }
.legal h3 { font: 600 1.05rem/1.3 var(--display); margin: 1.4rem 0 .5rem; }
