/* Scentify – Design: warmes Schwarz, Champagner-Gold, Elfenbein.
   Farben ganz oben als Variablen, damit sie leicht anzupassen sind. */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/cormorant-garamond-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/jost-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/jost-latin-500-normal.woff2') format('woff2'); }

:root {
    --bg: #0f0d0c;
    --bg-2: #151211;
    --surface: #1b1715;
    --surface-2: #231e1b;
    --line: #2f2924;
    --text: #efe7da;
    --muted: #a99e8f;
    --gold: #c9a96b;
    --gold-light: #e3cb93;
    --gold-dark: #8f7640;
    --ivory: #f0e9de;
    --ink: #1a1512;
    --ok: #8fbf8f;
    --warn: #d9a66a;
    --danger: #d98a7a;
    --radius: 4px;
    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; color: var(--text); letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.container { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.eyebrow { display: block; font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 400; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.divider { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 1.4rem 0; }
.center .divider { margin-inline: auto; }

/* ---------- Kopfzeile ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 13, 12, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.logo { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--text); text-decoration: none; padding-left: .32em; }
.logo:hover { color: var(--gold-light); }
.logo span { color: var(--gold); }
.main-nav ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; padding: .4rem 0; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--gold); }
.header-tools { display: flex; align-items: center; gap: 1.1rem; }
.lang { font-size: .78rem; letter-spacing: .16em; color: var(--muted); }
.lang a { color: var(--muted); text-decoration: none; }
.lang a:hover { color: var(--gold-light); }
.lang [aria-current] { color: var(--gold-light); }
.cart-link { position: relative; display: inline-flex; color: var(--text); padding: .3rem; }
.cart-link svg { width: 24px; height: 24px; }
.cart-link:hover { color: var(--gold-light); }
.cart-count { position: absolute; top: -4px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 500; display: grid; place-items: center; line-height: 1; }
.cart-count[data-empty="true"] { display: none; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: .3rem; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 2rem; border: 1px solid var(--gold); background: var(--gold); color: var(--ink); font: 500 .8rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; cursor: pointer; border-radius: var(--radius); transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--gold-light); }
.btn-ghost:hover { background: rgba(201, 169, 107, .12); color: var(--gold-light); }
.btn-small { padding: .7rem 1.2rem; font-size: .72rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; pointer-events: none; }
.btn-block { width: 100%; }

/* ---------- Startseite ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 12vw, 9rem) 0 clamp(4rem, 10vw, 7.5rem); text-align: center;
    background: radial-gradient(60% 70% at 50% 0%, rgba(201, 169, 107, .20), transparent 70%), radial-gradient(40% 50% at 85% 90%, rgba(143, 118, 64, .14), transparent 70%), var(--bg); }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dark), transparent); }
.hero h1 { max-width: 15ch; margin: 0 auto .4em; }
.hero h1 em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.hero .lead { margin: 0 auto 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 3rem; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2.2rem; }
.feature { text-align: center; padding: 0 .5rem; }
.feature .num { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: .6rem; }
.feature h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .98rem; margin: 0; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.size-card { background: var(--surface); padding: 2.2rem 1.2rem; text-align: center; }
.size-card strong { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: var(--gold-light); line-height: 1; }
.size-card span { display: block; margin-top: .6rem; color: var(--muted); font-size: .9rem; }
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; font-family: var(--serif); font-size: 1.35rem; color: var(--muted); }
.brands a { color: var(--muted); text-decoration: none; }
.brands a:hover { color: var(--gold-light); }
.cta { text-align: center; padding: clamp(3.5rem, 8vw, 5.5rem) 0; background: radial-gradient(50% 120% at 50% 0%, rgba(201, 169, 107, .14), transparent 70%), var(--bg); border-top: 1px solid var(--line); }

/* ---------- Shop ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 1.5rem; text-align: center; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .2em; }
.toolbar { display: grid; gap: 1rem; margin-bottom: 2rem; }
.toolbar-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.field, .select { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: .8rem 1rem; font: 300 1rem var(--sans); border-radius: var(--radius); min-width: 0; }
.field { flex: 1 1 260px; }
.select { flex: 0 1 240px; }
.field::placeholder { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { background: transparent; border: 1px solid var(--line); color: var(--muted); padding: .45rem 1rem; font: 400 .78rem var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; border-radius: 999px; transition: all .2s; }
.chip:hover { border-color: var(--gold-dark); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.result-count { color: var(--muted); font-size: .9rem; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.6rem; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--gold-dark); transform: translateY(-3px); color: inherit; }
.card-media { aspect-ratio: 1 / 1; background: var(--ivory); display: grid; place-items: center; position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.card-media .ph, .gallery .ph { width: 38%; color: #b8a888; }
.badge { position: absolute; top: .7rem; left: .7rem; background: var(--ink); color: var(--gold-light); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 2px; }
.badge.out { color: var(--danger); }
.card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.card-brand { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.card-title { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; margin: 0; color: var(--text); }
.card-meta { color: var(--muted); font-size: .88rem; margin-top: auto; padding-top: .6rem; }
.card-price { color: var(--gold-light); font-size: 1rem; font-weight: 400; }
.notice { padding: 1.2rem 1.4rem; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); color: var(--muted); }
.notice.info { border-color: var(--gold-dark); }
.notice strong { color: var(--text); font-weight: 500; }

/* ---------- Produktseite ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding: 1.6rem 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-light); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4.5rem); padding: 2rem 0 4rem; align-items: start; }
.gallery { background: var(--ivory); border-radius: var(--radius); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; position: sticky; top: 100px; }
.gallery img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 8%; }
.product-info h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .25em; }
.product-info .card-brand { display: block; margin-bottom: .6rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.4rem; }
.tag { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: .25rem .7rem; border-radius: 999px; }
.picker-label { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 1.6rem 0 .7rem; }
.picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.picker input { position: absolute; opacity: 0; pointer-events: none; }
.picker label { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: 1rem .5rem; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s; text-align: center; }
.picker label strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1; }
.picker label .p { color: var(--gold-light); font-size: .95rem; }
.picker label .s { font-size: .74rem; color: var(--muted); min-height: 1.1em; }
.picker label:hover { border-color: var(--gold-dark); }
.picker input:checked + label { border-color: var(--gold); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--gold); }
.picker input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.picker input:disabled + label { opacity: .45; cursor: not-allowed; }
.buy-row { display: flex; gap: .8rem; margin-top: 1.4rem; flex-wrap: wrap; }
.buy-row .btn { flex: 1 1 220px; }
.stock-line { margin: .9rem 0 0; font-size: .92rem; color: var(--muted); min-height: 1.5em; }
.stock-line.low { color: var(--warn); }
.stock-line.out { color: var(--danger); }
.stock-line.ok { color: var(--ok); }
.facts { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; display: flex; gap: .8rem; }
.facts li strong { color: var(--text); font-weight: 400; min-width: 8.5rem; }
.pyramid { margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pyramid > div { background: var(--surface); padding: 1.4rem 1.2rem; }
.pyramid h3 { font-size: .75rem; font-family: var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: .6rem; }
.pyramid p { margin: 0; color: var(--text); font-size: .98rem; }
.description { margin-top: 3rem; max-width: 46rem; color: var(--muted); }
.description p { margin-bottom: 1.1em; }
.description strong { color: var(--text); font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }

/* ---------- Warenkorb ---------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2.5rem; align-items: start; padding-bottom: 4rem; }
.cart-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 1rem 1.2rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-thumb { width: 76px; height: 76px; background: var(--ivory); border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.cart-thumb .ph { width: 40%; color: #b8a888; }
.cart-title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; color: var(--text); text-decoration: none; display: block; }
.cart-sub { font-size: .88rem; color: var(--muted); }
.cart-line { display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.cart-line strong { color: var(--gold-light); font-weight: 400; min-width: 5.5rem; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); }
.qty button { width: 34px; height: 34px; background: none; border: 0; color: var(--text); font-size: 1.1rem; cursor: pointer; }
.qty button:hover { color: var(--gold-light); }
.qty span { min-width: 2ch; text-align: center; font-size: .95rem; }
.remove-btn { background: none; border: 0; color: var(--muted); font: 300 .82rem var(--sans); cursor: pointer; text-decoration: underline; padding: 0; }
.remove-btn:hover { color: var(--danger); }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 100px; }
.summary h2 { font-size: 1.6rem; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; color: var(--muted); font-size: .95rem; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: 1rem; color: var(--text); font-size: 1.15rem; }
.sum-row.total strong { color: var(--gold-light); font-weight: 400; font-family: var(--serif); font-size: 1.6rem; }
.summary .btn { margin-top: 1.2rem; }
.summary .small { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }
.free-note { font-size: .85rem; color: var(--ok); margin: .3rem 0 0; }
.form-msg { margin: .8rem 0 0; font-size: .9rem; min-height: 1.3em; color: var(--muted); }
.form-msg.error { color: var(--danger); }
.cart-warn { color: var(--warn); font-size: .85rem; display: block; }

/* ---------- Textseiten ---------- */
.prose { max-width: 46rem; margin-inline: auto; padding-bottom: 4rem; }
.prose h2 { font-size: 1.9rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4em; }
.prose .todo { background: rgba(217, 166, 106, .14); border: 1px solid rgba(217, 166, 106, .5); padding: .05em .35em; border-radius: 3px; color: var(--warn); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }

/* ---------- Fusszeile ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h4 { font-family: var(--sans); font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-text { color: var(--muted); font-size: .95rem; max-width: 26rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; color: var(--muted); font-size: .82rem; }

.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 140%); visibility: hidden; opacity: 0; background: var(--surface-2); border: 1px solid var(--gold-dark); color: var(--text); padding: .8rem 1.4rem; border-radius: var(--radius); font-size: .92rem; z-index: 90; transition: transform .3s, opacity .3s; max-width: calc(100% - 2rem); }
.toast.show { transform: translate(-50%, 0); visibility: visible; opacity: 1; }

@media (max-width: 900px) {
    .product { grid-template-columns: 1fr; }
    .gallery { position: static; max-width: 520px; width: 100%; margin-inline: auto; }
    .cart-layout { grid-template-columns: 1fr; }
    .summary { position: static; }
    .two-col, .footer-grid { grid-template-columns: 1fr; }
    .nav-toggle { display: inline-flex; }
    .main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); display: none; padding: 1rem; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 1rem; }
    .header-inner { position: relative; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .logo { font-size: 1.45rem; letter-spacing: .26em; }
    .pyramid { grid-template-columns: 1fr; }
    .sizes { grid-template-columns: 1fr; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
    .card-body { padding: .8rem; }
    .card-title { font-size: 1.15rem; }
    .cart-item { grid-template-columns: 60px minmax(0, 1fr); }
    .cart-thumb { width: 60px; height: 60px; }
    .cart-line { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
    .picker { gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
