/* LYDWEAR – v2 (Gerüst nach lavanda.framer.website: fester Rahmen, Scroll-Story, Bildraster, Warteliste) */
@font-face { font-family: "Fraktur"; src: url("../fonts/unifrakturmaguntia-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("../fonts/raleway-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0a0a0a;
  --ink: #f2efe9;
  --mute: rgba(242, 239, 233, .55);
  --faint: rgba(242, 239, 233, .14);
  --line: rgba(242, 239, 233, .12);
  --card: #141414;
  --edge: 24px;
  --r: 12px;
  --ease: cubic-bezier(.33, 1, .68, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 400 15px/1.55 "Raleway", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; }
.skip:focus { top: 12px; }

/* ---------- Fester Rahmen ---------- */
.chrome { position: fixed; z-index: 40; pointer-events: none; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.chrome a, .chrome button { pointer-events: auto; }
.chrome--tl { top: 18px; left: var(--edge); }
.chrome--tr { top: 18px; right: var(--edge); display: flex; gap: 22px; align-items: center; }
.chrome--bl { bottom: 18px; left: var(--edge); }
.chrome--br { bottom: 18px; right: var(--edge); }
.mark { font-family: "Fraktur", serif; font-size: 25px; letter-spacing: 0; text-transform: none; color: var(--ink); line-height: 1; }
.chrome--tr a, .chrome--tr button { color: var(--ink); background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; transition: opacity .3s; }
.chrome--tr a:hover, .chrome--tr button:hover { opacity: .6; }
.chrome--tr svg { width: 16px; height: 16px; display: block; }
.chrome--tr [aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Startseite (Mechanik nach REA-Analyse Lavanda, 20.10.2026) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.hero__bg { position: absolute; inset: -6%; background: center/cover no-repeat; filter: blur(26px) brightness(.72) saturate(0); transform: scale(1.08); }
.hero__giant { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Fraktur", serif; font-size: clamp(110px, 21vw, 360px); line-height: 1; color: rgba(242, 239, 233, .07); user-select: none; white-space: nowrap; }
.hero__center { position: relative; text-align: center; padding: 0 var(--edge); }
.morph { position: relative; height: 1.3em; width: min(92vw, 900px); font-weight: 500; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; filter: url(#threshold) blur(.6px); }
.morph span { position: absolute; inset: 0; display: grid; place-items: center; white-space: nowrap; user-select: none; }
.morph__a { opacity: 0; }
.hero__status { margin-top: 26px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); }
.reveal { position: relative; height: 400vh; }
.reveal__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--bg); }
.rg { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(3, auto); gap: 16px; width: 100%; max-width: 1600px; padding: 0 32px; }
.rg__layer { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; grid-template-columns: subgrid; grid-template-rows: subgrid; transform-origin: center center; will-change: transform, opacity; pointer-events: none; }
.rg figure { margin: 0; grid-column: var(--c); grid-row: var(--r); aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #1e1e1e; box-shadow: 0 20px 24px rgba(0, 0, 0, .45); }
.rg figure img, .rg__central img { width: 100%; height: 100%; object-fit: cover; }
.rg__central { grid-column: 3; grid-row: 2; aspect-ratio: 4 / 5; position: relative; z-index: 2; }
.rg__central > div { width: 100%; height: 100%; overflow: hidden; transform-origin: center center; will-change: transform; box-shadow: 0 20px 24px rgba(0, 0, 0, .45); }

/* ---------- Warteliste ---------- */
.join { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--edge); overflow: hidden; }
.stars { position: absolute; inset: 0; }
.join__giant { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Fraktur", serif; font-size: clamp(110px, 21vw, 360px); color: rgba(242, 239, 233, .05); pointer-events: none; }
.join__box { position: relative; z-index: 1; width: min(460px, 100%); }
.join__giant, .legal-links { z-index: 1; }
.join h2 { margin: 0 0 28px; font-weight: 300; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -.005em; }
.form { display: flex; gap: 8px; }
.form input[type=email] { flex: 1; min-width: 0; height: 46px; padding: 0 14px; background: rgba(242, 239, 233, .04); border: 1px solid var(--line); border-radius: 8px; outline: none; transition: border-color .3s; }
.form input[type=email]::placeholder { color: rgba(242, 239, 233, .35); }
.form input[type=email]:focus { border-color: rgba(242, 239, 233, .45); }
.btn { height: 46px; padding: 0 20px; border-radius: 8px; border: 0; background: var(--ink); color: #0a0a0a; font-weight: 500; font-size: 13px; cursor: pointer; white-space: nowrap; transition: opacity .3s; display: inline-flex; align-items: center; justify-content: center; }
.btn:hover { opacity: .85; }
.btn--ghost { background: none; color: var(--ink); border: 1px solid var(--line); }
.form__note { margin: 12px 0 0; font-size: 12px; color: var(--mute); text-align: left; }
.form__ok { display: none; font-weight: 300; font-size: 18px; }
.form.is-done { display: none; }
.form.is-done + .form__note { display: none; }
.form.is-done ~ .form__ok { display: block; }
.form__err { color: #e8a29a; }
.hp { position: absolute; left: -9999px; }
.join__more { display: inline-block; margin-top: 44px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: color .3s; }
.join__more:hover { color: var(--ink); }
.legal-links { position: absolute; bottom: 18px; right: var(--edge); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); display: flex; gap: 18px; }
.legal-links a:hover { color: var(--ink); }

/* ---------- Shop ---------- */
.page { padding: 120px var(--edge) 120px; max-width: 1440px; margin: 0 auto; }
.page__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.page__title { margin: 0; font-family: "Fraktur", serif; font-weight: 400; font-size: clamp(56px, 8vw, 120px); line-height: .9; }
.page__meta { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); text-align: right; }
.filters { display: flex; gap: 22px; margin-bottom: 28px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; overflow-x: auto; scrollbar-width: none; }
.filters button { background: none; border: 0; padding: 4px 0; color: var(--mute); cursor: pointer; letter-spacing: inherit; text-transform: inherit; font-size: inherit; white-space: nowrap; }
.filters button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 12px; }
.card { position: relative; }
.card__img { display: block; position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--card); }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.card__img img + img { opacity: 0; }
.card:hover .card__img img + img { opacity: 1; }
.card:hover .card__img img { transform: scale(1.025); }
.card__tag { position: absolute; top: 12px; left: 12px; z-index: 2; white-space: nowrap; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); background: rgba(10, 10, 10, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 5px 9px; border-radius: 4px; }
.card__row { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 14px; }
.card__sub { margin-top: 2px; font-size: 12px; color: var(--mute); }
.card__add { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: #0a0a0a; font-size: 20px; line-height: 1; cursor: pointer; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.card:hover .card__add, .card__add:focus-visible { opacity: 1; transform: none; }
.sizes { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: none; flex-wrap: wrap; gap: 6px; padding: 10px; border-radius: 10px; background: rgba(10, 10, 10, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sizes.is-open { display: flex; }
.sizes button { flex: 1 0 auto; min-width: 44px; height: 36px; border-radius: 6px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 12px; }
.sizes button:hover { background: var(--ink); color: #0a0a0a; }

/* ---------- Produktseite ---------- */
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.pdp__gallery { display: grid; gap: 12px; }
.pdp__gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--card); }
.pdp__info { position: sticky; top: 96px; }
.pdp__name { margin: 0 0 6px; font-weight: 300; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.pdp__price { font-size: 16px; }
.pdp__tax { font-size: 12px; color: var(--mute); margin-top: 2px; }
.pdp__desc { margin: 26px 0; color: rgba(242, 239, 233, .8); font-weight: 300; font-size: 16px; }
.pdp__label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.pdp__sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pdp__sizes button { min-width: 52px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: none; cursor: pointer; }
.pdp__sizes button[aria-pressed="true"] { background: var(--ink); color: #0a0a0a; border-color: var(--ink); }
.pdp .btn { width: 100%; height: 52px; }
.pdp__hint { min-height: 20px; margin-top: 10px; font-size: 12px; color: var(--mute); }
.acc { margin-top: 30px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 16px; line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc p { margin: 0 0 18px; color: rgba(242, 239, 233, .75); font-weight: 300; }
.related { margin-top: 110px; }
.related h2 { margin: 0 0 24px; font-size: 11px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }

/* ---------- Tasche + Popup ---------- */
.veil { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .4s; }
.veil.is-on { opacity: 1; pointer-events: auto; }
.bag { position: fixed; z-index: 70; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #111; border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .55s var(--ease); visibility: hidden; }
.bag.is-on { transform: none; visibility: visible; }
.bag__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.bag__head button { background: none; border: 0; cursor: pointer; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.bag__list { flex: 1; overflow: auto; padding: 8px 24px; }
.bag__empty { color: var(--mute); padding: 24px 0; font-weight: 300; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 90px; object-fit: cover; border-radius: 6px; }
.line__name { font-size: 14px; }
.line__sub { font-size: 12px; color: var(--mute); }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; line-height: 1; }
.line__rm { background: none; border: 0; color: var(--mute); font-size: 11px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; align-self: start; }
.bag__foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); }
.bag__sum { display: flex; justify-content: space-between; margin-bottom: 4px; }
.bag__tax { font-size: 12px; color: var(--mute); margin-bottom: 16px; }
.bag__foot .btn { width: 100%; height: 50px; }
.modal { position: fixed; z-index: 80; left: 50%; top: 50%; width: min(460px, calc(100% - 32px)); transform: translate(-50%, -46%); opacity: 0; visibility: hidden; transition: opacity .4s, transform .5s var(--ease), visibility .4s; background: #111; border: 1px solid var(--line); border-radius: 14px; padding: 34px 28px 28px; text-align: center; }
.modal.is-on { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.modal .mark { font-size: 34px; display: block; margin-bottom: 14px; }
.modal h2 { margin: 0 0 8px; font-weight: 300; font-size: 24px; }
.modal p { margin: 0 0 22px; color: var(--mute); font-weight: 300; }
.modal__x { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--mute); font-size: 22px; cursor: pointer; }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 56px; transform: translate(-50%, 20px); opacity: 0; transition: .4s var(--ease); background: var(--ink); color: #0a0a0a; padding: 10px 16px; border-radius: 8px; font-size: 13px; pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Rechtliches ---------- */
.legal { max-width: 720px; }
.legal h2 { margin: 36px 0 8px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.legal p { margin: 0; font-weight: 300; color: rgba(242, 239, 233, .85); }
.todo { background: rgba(255, 214, 102, .16); color: #ffd666; padding: 0 4px; border-radius: 3px; }
.note { margin-top: 18px; font-size: 13px; color: var(--mute); }

.reveal-up { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-up.is-in { opacity: 1; transform: none; }

/* ---------- Handy ---------- */
@media (max-width: 599px) {
  .rg { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; }
  .rg__layer[data-layer="0"] { display: none; }
  .rg figure { grid-column: var(--cm); border-radius: 12px; }
  .rg__central { grid-column: 2; }
}
@media (max-width: 760px) {
  :root { --edge: 16px; }
  .chrome--tr { gap: 16px; }
  .chrome--bl, .chrome--br { font-size: 10px; letter-spacing: .1em; }
  .page { padding-top: 96px; }
  .page__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page__meta { text-align: left; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 28px 8px; }
  .card__row { font-size: 13px; flex-direction: column; gap: 0; }
  .card__add { opacity: 1; transform: none; width: 34px; height: 34px; right: 8px; bottom: 8px; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .pdp__gallery { grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--edge) * -1); padding: 0 var(--edge); }
  .pdp__gallery img { scroll-snap-align: start; }
  .pdp__info { position: static; }
  .form { flex-direction: column; }
  .legal-links { right: auto; left: 0; width: 100%; justify-content: center; bottom: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { height: auto; }
  .reveal__stage { position: relative; height: auto; padding: 80px 0; }
  .reveal-up { opacity: 1; transform: none; }
  * { transition: none !important; }
}
}

/* Unterseiten: Rahmen bekommt oben einen dunklen Verlauf, damit nichts unter Logo/Navigation läuft */
.is-page::before { content: ""; position: fixed; inset: 0 0 auto 0; height: 72px; z-index: 39; pointer-events: none; background: linear-gradient(#0a0a0a 55%, rgba(10, 10, 10, 0)); }
.is-page .chrome--bl { display: none; }
