/* ═══════════════════════════════════════════════════════════════
   DIE HOLZKISTE — Basis-Stylesheet
   Farben und Schriften kommen als CSS-Variablen vom Server
   (siehe lib/render/theme.js) und sind im Admin frei änderbar.
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    background: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    position: relative;
}

/* ─── Hintergrundtextur (Holz / Schiefer / Glas / Bild) ─────── */
.bg-texture {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: var(--texture-url);
    background-size: var(--texture-size, 1400px auto);
    background-repeat: repeat;
    background-position: center top;
    opacity: var(--texture-opacity, .5);
    mix-blend-mode: soft-light;
    pointer-events: none;
}
.bg-tint {
    position: fixed;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(ellipse 120% 80% at 50% -10%, var(--walnut) 0%, transparent 60%),
        radial-gradient(ellipse 100% 60% at 80% 100%, color-mix(in srgb, var(--oak) 22%, transparent) 0%, transparent 65%),
        var(--dark);
    pointer-events: none;
}
/* Feines Filmkorn über allem */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: .028;
    background: url('/img/tex-grain.svg') repeat;
    background-size: 300px;
}
/* Goldene Oberkante */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 9001;
    background: linear-gradient(90deg, var(--brown), var(--gold), var(--gold-light), var(--gold), var(--brown));
}

::selection { background: var(--gold); color: var(--dark); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--walnut); }
::-webkit-scrollbar-thumb { background: var(--oak); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ═══════════ TYPOGRAFIE ═══════════ */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.14;
    color: var(--cream);
    letter-spacing: .005em;
}
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--cream); font-weight: 600; }

.section-label {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .72rem;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
}
.section-label::before {
    content: '';
    width: 32px; height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}
.section-label--center { justify-content: center; }
.section-label--center::after {
    content: '';
    width: 32px; height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(1.9rem, 4.6vw, 3.3rem);
    margin-bottom: 1.1rem;
}
.section-intro {
    max-width: 62ch;
    color: var(--text-muted);
    font-size: 1.04rem;
}
.text-center { text-align: center; }
.text-center .section-intro { margin-inline: auto; }

/* ═══════════ LAYOUT ═══════════ */
.container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(1.1rem, 4vw, 3rem);
}
.container--narrow { max-width: 860px; }
.container--reading { max-width: 740px; }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--panel {
    background: color-mix(in srgb, var(--walnut) 75%, transparent);
    border-block: 1px solid color-mix(in srgb, var(--gold) 14%, transparent);
    backdrop-filter: blur(3px);
}

.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    padding-block: 1.6rem;
    color: var(--gold);
}
.separator span:first-child, .separator span:last-child {
    display: block;
    width: min(110px, 18vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.separator-ornament { font-size: .6rem; opacity: .8; }

/* ═══════════ BUTTONS ═══════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.9rem;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: all .3s var(--ease);
    text-align: center;
    line-height: 1.3;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--accent-contrast);
    box-shadow: 0 4px 20px -8px color-mix(in srgb, var(--gold) 70%, transparent);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -8px color-mix(in srgb, var(--gold) 80%, transparent);
    filter: brightness(1.06);
}
.btn-outline {
    border-color: color-mix(in srgb, var(--gold) 55%, transparent);
    color: var(--gold-light);
}
.btn-outline:hover {
    background: color-mix(in srgb, var(--gold) 12%, transparent);
    border-color: var(--gold);
}
.btn-ghost { color: var(--text-muted); padding-inline: 1rem; }
.btn-ghost:hover { color: var(--gold); }
.btn-block { width: 100%; }
.btn-sm { padding: .6rem 1.2rem; font-size: .72rem; }
.btn-lg { padding: 1.05rem 2.4rem; font-size: .88rem; }
.btn[disabled], .btn[aria-disabled="true"] {
    opacity: .45;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

/* ═══════════ AKTIONSBANNER ═══════════ */
.topbanner {
    background: linear-gradient(90deg, var(--brown), var(--oak), var(--brown));
    color: var(--cream);
    text-align: center;
    padding: .62rem 1rem;
    font-size: .83rem;
    letter-spacing: .04em;
    position: relative;
    z-index: 200;
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
}
.topbanner a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; margin-left: .5rem; }

/* ═══════════ NAVIGATION ═══════════ */
.nav {
    position: sticky;
    top: 0;
    z-index: 500;
    background: color-mix(in srgb, var(--dark) 86%, transparent);
    backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 15%, transparent);
    transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled {
    background: color-mix(in srgb, var(--dark) 96%, transparent);
    box-shadow: 0 10px 34px -18px rgba(0,0,0,.9);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    min-height: 72px;
    padding-block: .6rem;
}
.nav-brand { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.nav-brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 50%; }
.nav-brand-name {
    font-family: var(--font-display);
    font-size: 1.32rem;
    color: var(--gold-light);
    letter-spacing: .04em;
    line-height: 1.1;
    display: block;
}
.nav-brand-sub {
    font-size: .58rem;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: .35rem;
    list-style: none;
}
.nav-links > li > a {
    display: block;
    padding: .6rem .85rem;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--text-light);
    border-radius: var(--radius);
    transition: color .25s var(--ease), background .25s var(--ease);
    position: relative;
    white-space: nowrap;
}
.nav-links > li > a:hover { color: var(--gold-light); }
.nav-links > li > a[aria-current="page"] { color: var(--gold); }
.nav-links > li > a[aria-current="page"]::after {
    content: '';
    position: absolute;
    left: .85rem; right: .85rem; bottom: .3rem;
    height: 1px;
    background: var(--gold);
}
.nav-actions { display: flex; align-items: center; gap: .4rem; }

.nav-icon-btn {
    position: relative;
    width: 42px; height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--text-light);
    transition: all .25s var(--ease);
}
.nav-icon-btn:hover { color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.nav-icon-btn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.cart-count {
    position: absolute;
    top: 3px; right: 2px;
    min-width: 19px; height: 19px;
    padding-inline: 5px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--accent-contrast);
    font-size: .66rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    line-height: 1;
}
.cart-count[hidden] { display: none; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--gold);
    transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1080px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(340px, 86vw);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 6rem 1.6rem 2rem;
        background: var(--walnut);
        border-left: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
        transform: translateX(105%);
        transition: transform .38s var(--ease-out);
        overflow-y: auto;
        box-shadow: -20px 0 60px -20px rgba(0,0,0,.8);
    }
    .nav-links.active { transform: translateX(0); }
    .nav-links > li > a {
        padding: 1rem .4rem;
        font-size: .95rem;
        border-bottom: 1px solid color-mix(in srgb, var(--gold) 10%, transparent);
        border-radius: 0;
    }
    .nav-links > li > a[aria-current="page"]::after { display: none; }
}

/* ═══════════ HERO ═══════════ */
.hero {
    position: relative;
    min-height: clamp(520px, 86vh, 820px);
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: -4%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    will-change: transform;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--dark) 72%, transparent) 0%, color-mix(in srgb, var(--dark) 55%, transparent) 40%, var(--dark) 100%),
        radial-gradient(ellipse at center, transparent 20%, color-mix(in srgb, var(--dark) 78%, transparent) 100%);
}
.hero-content { padding: clamp(3rem, 10vh, 6rem) 1.2rem; width: 100%; }
.hero-frame {
    max-width: 860px;
    margin-inline: auto;
    padding: clamp(2rem, 5vw, 3.4rem) clamp(1.2rem, 4vw, 3rem);
    border: 1px solid color-mix(in srgb, var(--gold) 34%, transparent);
    position: relative;
    background: color-mix(in srgb, var(--dark) 32%, transparent);
    backdrop-filter: blur(2px);
}
.hero-frame::before, .hero-frame::after {
    content: '';
    position: absolute;
    width: 22px; height: 22px;
    border: 2px solid var(--gold);
}
.hero-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.hero-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.hero-logo { width: clamp(90px, 16vw, 132px); margin: 0 auto 1.4rem; }
.hero-eyebrow {
    font-size: .68rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.1rem;
}
.hero h1 {
    font-size: clamp(2.4rem, 8.2vw, 5.1rem);
    line-height: 1.02;
    margin-bottom: 1.3rem;
}
.hero h1 span { display: block; }
.hero-title-accent {
    font-style: italic;
    font-size: .48em;
    color: var(--gold);
    letter-spacing: .1em;
    margin-block: .18em;
}
.hero-sub {
    font-size: clamp(.9rem, 2.4vw, 1.06rem);
    color: var(--text-light);
    letter-spacing: .1em;
    margin-bottom: 2.1rem;
}
.hero-sub b { color: var(--gold-light); font-weight: 500; }
.hero-buttons {
    display: flex;
    gap: .9rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: .6rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
}
.hero-scroll::before {
    content: '';
    width: 1px; height: 38px;
    background: linear-gradient(var(--gold), transparent);
    animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* Kleiner Hero für Unterseiten */
.pagehead {
    padding-block: clamp(2.6rem, 6vw, 4.6rem) clamp(1.6rem, 3vw, 2.4rem);
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 14%, transparent);
    position: relative;
}
.pagehead h1 { font-size: clamp(2rem, 5.6vw, 3.6rem); margin-bottom: .7rem; }
.pagehead p { color: var(--text-muted); max-width: 66ch; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    font-size: .74rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    list-style: none;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: .45rem; color: var(--oak); }
.breadcrumb [aria-current] { color: var(--gold); }

/* ═══════════ GRIDS ═══════════ */
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); }

/* ═══════════ KARTEN ═══════════ */
.card {
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    border: 1px solid color-mix(in srgb, var(--gold) 15%, transparent);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .4s var(--ease-out), border-color .3s var(--ease), box-shadow .4s var(--ease);
    display: flex;
    flex-direction: column;
    position: relative;
}
.card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--gold) 46%, transparent);
    box-shadow: 0 22px 44px -26px rgba(0,0,0,.95);
}
.card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--walnut);
}
.card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease-out);
}
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 1.25rem 1.35rem 1.45rem; display: flex; flex-direction: column; flex: 1; gap: .55rem; }
.card-title {
    font-size: 1.24rem;
    color: var(--cream);
    line-height: 1.25;
}
.card-sub { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.card-text { font-size: .9rem; color: var(--text-muted); line-height: 1.62; flex: 1; }
.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-top: .7rem;
    padding-top: .9rem;
    border-top: 1px solid color-mix(in srgb, var(--gold) 12%, transparent);
    flex-wrap: wrap;
}

/* Badges */
.badges {
    position: absolute;
    top: .7rem; left: .7rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    z-index: 2;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .28rem .6rem;
    font-size: .63rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 2px;
    line-height: 1.35;
    backdrop-filter: blur(4px);
}
.badge--sale { background: var(--accent); color: var(--accent-contrast); }
.badge--new { background: color-mix(in srgb, var(--gold) 92%, transparent); color: var(--dark); }
.badge--preview {
    background: color-mix(in srgb, var(--dark) 82%, transparent);
    color: var(--gold-light);
    border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent);
}
.badge--soldout { background: color-mix(in srgb, var(--dark) 88%, transparent); color: var(--text-muted); border: 1px solid var(--oak); }

/* Preise */
.price { display: flex; align-items: baseline; gap: .55rem; flex-wrap: wrap; }
.price-now { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-light); font-weight: 600; }
.price-was { font-size: .88rem; color: var(--text-muted); text-decoration: line-through; }
.price-hint { font-size: .68rem; color: var(--text-muted); width: 100%; line-height: 1.5; }
.price-hint a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.price-hint a:hover { color: var(--gold); }

/* ═══════════ ANGEBOTE ═══════════ */
.offers-strip {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: .8rem;
    margin-inline: calc(clamp(1.1rem, 4vw, 3rem) * -1);
    padding-inline: clamp(1.1rem, 4vw, 3rem);
    scrollbar-width: thin;
}
.offers-strip > * { scroll-snap-align: start; flex: 0 0 min(320px, 78vw); }
@media (min-width: 900px) {
    .offers-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
    .offers-strip > * { flex: initial; }
}

.offer-card { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.offer-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
}
.offer-save {
    font-size: .74rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: .05em;
}

.empty-state {
    text-align: center;
    padding: clamp(2.4rem, 6vw, 4rem) 1.4rem;
    border: 1px dashed color-mix(in srgb, var(--gold) 28%, transparent);
    border-radius: var(--radius);
    color: var(--text-muted);
    background: color-mix(in srgb, var(--walnut) 45%, transparent);
}
.empty-state-icon { font-size: 1.7rem; color: var(--gold); margin-bottom: .7rem; opacity: .6; }

/* ═══════════ MATERIALIEN ═══════════ */
.material-card {
    position: relative;
    border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 330px;
    display: flex;
    align-items: flex-end;
    padding: 1.6rem;
    isolation: isolate;
    transition: transform .45s var(--ease-out), border-color .3s;
}
.material-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--gold) 50%, transparent); }
.material-card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease-out);
}
.material-card:hover img { transform: scale(1.07); }
.material-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, color-mix(in srgb, var(--dark) 94%, transparent) 4%, color-mix(in srgb, var(--dark) 45%, transparent) 55%, transparent 100%);
}
.material-card h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.material-card p { font-size: .88rem; color: var(--text-light); }
.material-num {
    position: absolute;
    top: 1.1rem; right: 1.3rem;
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: color-mix(in srgb, var(--gold) 34%, transparent);
    line-height: 1;
}

/* ═══════════ SHOP ═══════════ */
.shop-layout {
    display: grid;
    grid-template-columns: 274px 1fr;
    gap: clamp(1.4rem, 3vw, 2.6rem);
    align-items: start;
}
@media (max-width: 960px) { .shop-layout { grid-template-columns: 1fr; } }

.filter-panel {
    position: sticky;
    top: 92px;
    background: color-mix(in srgb, var(--walnut) 82%, transparent);
    border: 1px solid color-mix(in srgb, var(--gold) 16%, transparent);
    border-radius: var(--radius);
    padding: 1.3rem 1.3rem 1.5rem;
    max-height: calc(100vh - 116px);
    overflow-y: auto;
}
@media (max-width: 960px) {
    .filter-panel {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(360px, 90vw);
        max-height: none;
        border-radius: 0;
        border: none;
        border-left: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
        background: var(--walnut);
        z-index: 600;
        transform: translateX(105%);
        transition: transform .36s var(--ease-out);
        padding-top: 4.6rem;
    }
    .filter-panel.open { transform: translateX(0); }
    .filter-close { display: grid !important; }
}
.filter-close {
    display: none;
    position: absolute;
    top: 1rem; right: 1rem;
    width: 40px; height: 40px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.2rem;
}
.filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding-bottom: .9rem;
    margin-bottom: .4rem;
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 16%, transparent);
}
.filter-head h2 { font-size: 1.15rem; }
.filter-reset { font-size: .72rem; color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.filter-reset:hover { color: var(--gold); }

.filter-group { border-bottom: 1px solid color-mix(in srgb, var(--gold) 10%, transparent); }
.filter-group:last-child { border-bottom: none; }
.filter-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .95rem 0;
    cursor: pointer;
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    list-style: none;
}
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary::after {
    content: '+';
    font-size: 1.05rem;
    color: var(--text-muted);
    transition: transform .3s var(--ease);
}
.filter-group[open] > summary::after { content: '−'; }
.filter-options { padding-bottom: 1rem; display: flex; flex-direction: column; gap: .15rem; }

.check {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .42rem .3rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: .88rem;
    color: var(--text-light);
    transition: background .2s, color .2s;
}
.check:hover { background: color-mix(in srgb, var(--gold) 8%, transparent); color: var(--cream); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box {
    flex-shrink: 0;
    width: 17px; height: 17px;
    margin-top: 3px;
    border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent);
    border-radius: 2px;
    display: grid;
    place-items: center;
    transition: all .2s var(--ease);
}
.check-box::after {
    content: '';
    width: 9px; height: 5px;
    border: 2px solid var(--accent-contrast);
    border-top: 0; border-right: 0;
    transform: rotate(-45deg) scale(0);
    transition: transform .2s var(--ease-out);
    margin-top: -2px;
}
.check input:checked + .check-box { background: var(--gold); border-color: var(--gold); }
.check input:checked + .check-box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .check-box { outline: 2px solid var(--gold); outline-offset: 2px; }
.check-label { line-height: 1.4; }
.check-hint { display: block; font-size: .72rem; color: var(--text-muted); margin-top: 1px; }
.check-count { margin-left: auto; font-size: .72rem; color: var(--text-muted); padding-left: .4rem; }

.range-row { display: flex; align-items: center; gap: .6rem; padding: .4rem 0 1rem; }
.range-row input[type="number"] {
    width: 100%;
    background: var(--dark);
    border: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
    border-radius: 3px;
    padding: .5rem .6rem;
    font-size: .86rem;
    color: var(--cream);
}
.range-sep { color: var(--text-muted); }

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    flex-wrap: wrap;
    margin-bottom: 1.3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 14%, transparent);
}
.shop-count { font-size: .84rem; color: var(--text-muted); }
.shop-count b { color: var(--gold-light); }
.toolbar-right { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.select {
    background: var(--walnut);
    border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent);
    border-radius: var(--radius);
    padding: .56rem 2rem .56rem .8rem;
    font-size: .84rem;
    color: var(--cream);
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}
.filter-toggle { display: none; }
@media (max-width: 960px) { .filter-toggle { display: inline-flex; } }

.active-filters { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .34rem .7rem;
    font-size: .76rem;
    border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
    border-radius: 100px;
    color: var(--gold-light);
    background: color-mix(in srgb, var(--gold) 8%, transparent);
}
.chip button { color: var(--gold); font-size: 1rem; line-height: 1; opacity: .75; }
.chip button:hover { opacity: 1; }

.scrim {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(3px);
    z-index: 550;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.scrim.show { opacity: 1; visibility: visible; }

/* ═══════════ PRODUKTSEITE ═══════════ */
.product-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(1.6rem, 4vw, 3.4rem);
    align-items: start;
}
@media (max-width: 940px) { .product-layout { grid-template-columns: 1fr; } }

.gallery-main {
    position: relative;
    aspect-ratio: 4 / 3;
    border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--walnut);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .7rem; flex-wrap: wrap; }
.gallery-thumb {
    width: 76px; height: 62px;
    border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
    border-radius: 3px;
    overflow: hidden;
    opacity: .6;
    transition: all .25s var(--ease);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb[aria-selected="true"] { opacity: 1; border-color: var(--gold); }

.buybox {
    position: sticky;
    top: 92px;
    background: color-mix(in srgb, var(--walnut) 86%, transparent);
    border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
    border-radius: var(--radius);
    padding: clamp(1.3rem, 3vw, 2rem);
    backdrop-filter: blur(4px);
}
@media (max-width: 940px) { .buybox { position: static; } }
.buybox h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: .3rem; }
.buybox-sub { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.buybox .price-now { font-size: 2rem; }
.buybox-short { color: var(--text-light); font-size: .97rem; margin-block: 1.1rem; line-height: 1.68; }

.field { margin-bottom: 1.1rem; }
.field > label, .field-label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .5rem;
}
.field-hint { font-size: .78rem; color: var(--text-muted); margin-top: .4rem; line-height: 1.55; }
.input, .textarea, select.input {
    width: 100%;
    background: var(--dark);
    border: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
    border-radius: var(--radius);
    padding: .78rem .9rem;
    font-size: .94rem;
    color: var(--cream);
    transition: border-color .25s var(--ease), background .25s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--gold); background: color-mix(in srgb, var(--gold) 5%, var(--dark)); }
.input::placeholder, .textarea::placeholder { color: color-mix(in srgb, var(--text-muted) 75%, transparent); }
.textarea { resize: vertical; min-height: 96px; line-height: 1.6; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #C0392B; }
.field-error { color: #E8776A; font-size: .78rem; margin-top: .35rem; }

.qty { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 40px; height: 42px; color: var(--gold); font-size: 1.1rem; transition: background .2s; }
.qty button:hover { background: color-mix(in srgb, var(--gold) 14%, transparent); }
.qty input { width: 48px; height: 42px; text-align: center; background: var(--dark); border: none; color: var(--cream); font-size: .95rem; }

.buybox-meta { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid color-mix(in srgb, var(--gold) 14%, transparent); display: flex; flex-direction: column; gap: .55rem; }
.meta-row { display: flex; align-items: flex-start; gap: .6rem; font-size: .84rem; color: var(--text-muted); line-height: 1.55; }
.meta-row svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 1.6; flex-shrink: 0; margin-top: 3px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { text-align: left; padding: .75rem .4rem; border-bottom: 1px solid color-mix(in srgb, var(--gold) 12%, transparent); vertical-align: top; }
.spec-table th { color: var(--text-muted); font-weight: 500; width: 40%; }
.spec-table td { color: var(--cream); }

.prose { color: var(--text-light); line-height: 1.8; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2.2rem 0 .9rem; }
.prose h3 { font-size: 1.25rem; margin: 1.7rem 0 .6rem; color: var(--gold-light); }
.prose p { margin-bottom: 1.15rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold); }
.prose blockquote {
    border-left: 2px solid var(--gold);
    padding: .3rem 0 .3rem 1.2rem;
    margin: 1.5rem 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gold-light);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .92rem; }
.prose th, .prose td { border: 1px solid color-mix(in srgb, var(--gold) 16%, transparent); padding: .6rem .75rem; text-align: left; }
.prose th { background: color-mix(in srgb, var(--gold) 9%, transparent); color: var(--gold-light); font-weight: 600; }
.prose code { background: var(--walnut); padding: .12em .4em; border-radius: 3px; font-size: .9em; color: var(--gold-light); }
.prose hr { border: none; border-top: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); margin: 2rem 0; }

.tabs { display: flex; gap: .3rem; border-bottom: 1px solid color-mix(in srgb, var(--gold) 16%, transparent); margin-bottom: 1.6rem; overflow-x: auto; }
.tab {
    padding: .85rem 1.2rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .25s, border-color .25s;
}
.tab:hover { color: var(--gold-light); }
.tab[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.tabpanel[hidden] { display: none; }

/* ═══════════ GRAVUR-VORSCHAU ═══════════ */
.preview-studio {
    border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--walnut) 70%, transparent);
    overflow: hidden;
    margin-block: 1.4rem;
}
.preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    padding: .85rem 1.1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 16%, transparent);
    background: color-mix(in srgb, var(--gold) 7%, transparent);
    flex-wrap: wrap;
}
.preview-head h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-family: var(--font-body); font-weight: 600; }
.preview-stage {
    position: relative;
    background:
        repeating-conic-gradient(color-mix(in srgb, var(--dark) 92%, transparent) 0% 25%, var(--walnut) 0% 50%) 50% / 22px 22px;
    display: grid;
    place-items: center;
    padding: 1rem;
    min-height: 240px;
    touch-action: none;
}
.preview-stage canvas {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 18px 40px -20px rgba(0,0,0,.95);
    cursor: grab;
    touch-action: none;
}
.preview-stage canvas:active { cursor: grabbing; }
.preview-stage.is-empty canvas { cursor: default; }
.preview-empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.6rem;
    pointer-events: none;
}
.preview-empty div { color: var(--text-muted); font-size: .88rem; max-width: 34ch; line-height: 1.6; }
.preview-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin: 0;
    padding: .7rem 1.1rem;
    background: color-mix(in srgb, var(--gold) 9%, transparent);
    border-block: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
    font-size: .8rem;
    line-height: 1.5;
    color: var(--gold-light);
}
.preview-disclaimer svg {
    width: 15px; height: 15px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
}
.preview-note strong { display: block; color: var(--gold-light); margin-bottom: .3rem; }

.preview-tools { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .9rem; }
.preview-dropzone {
    border: 1.5px dashed color-mix(in srgb, var(--gold) 40%, transparent);
    border-radius: var(--radius);
    padding: 1.2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all .25s var(--ease);
    color: var(--text-muted);
    font-size: .88rem;
}
.preview-dropzone:hover, .preview-dropzone.dragover {
    border-color: var(--gold);
    background: color-mix(in srgb, var(--gold) 8%, transparent);
    color: var(--gold-light);
}
.preview-dropzone strong { display: block; color: var(--gold-light); margin-bottom: .25rem; font-size: .94rem; }
.slider-row { display: flex; align-items: center; gap: .8rem; font-size: .8rem; color: var(--text-muted); }
.slider-row label { min-width: 84px; flex-shrink: 0; }
.slider-row output { min-width: 42px; text-align: right; color: var(--gold-light); font-variant-numeric: tabular-nums; }
input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 3px;
    background: color-mix(in srgb, var(--gold) 26%, transparent);
    border-radius: 2px;
    cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--dark);
    cursor: grab;
}
input[type="range"]::-moz-range-thumb {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--dark);
    cursor: grab;
}
.preview-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.preview-note {
    font-size: .76rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding: .7rem .85rem;
    background: color-mix(in srgb, var(--dark) 60%, transparent);
    border-left: 2px solid var(--gold);
    border-radius: 0 3px 3px 0;
}
.preview-required {
    border-color: color-mix(in srgb, var(--accent) 60%, transparent);
}
.preview-required .preview-head { background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* ═══════════ WARENKORB ═══════════ */
.drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(440px, 94vw);
    background: var(--walnut);
    border-left: 1px solid color-mix(in srgb, var(--gold) 24%, transparent);
    z-index: 700;
    transform: translateX(105%);
    transition: transform .4s var(--ease-out);
    display: flex;
    flex-direction: column;
    box-shadow: -24px 0 70px -24px rgba(0,0,0,.9);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 16%, transparent);
    flex-shrink: 0;
}
.drawer-head h2 { font-size: 1.3rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.1rem 1.4rem; }
.drawer-foot {
    padding: 1.2rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom));
    border-top: 1px solid color-mix(in srgb, var(--gold) 16%, transparent);
    background: color-mix(in srgb, var(--dark) 45%, transparent);
    flex-shrink: 0;
}
.cart-item { display: grid; grid-template-columns: 68px 1fr auto; gap: .9rem; padding: .95rem 0; border-bottom: 1px solid color-mix(in srgb, var(--gold) 10%, transparent); }
.cart-item-img { width: 68px; height: 68px; border-radius: 3px; object-fit: cover; background: var(--dark); border: 1px solid color-mix(in srgb, var(--gold) 14%, transparent); }
.cart-item-title { font-size: .94rem; color: var(--cream); line-height: 1.35; margin-bottom: .2rem; }
.cart-item-opts { font-size: .76rem; color: var(--text-muted); line-height: 1.5; }
.cart-item-price { color: var(--gold-light); font-size: .95rem; white-space: nowrap; }
.cart-item-remove { font-size: .74rem; color: var(--text-muted); text-decoration: underline; margin-top: .35rem; }
.cart-item-remove:hover { color: #E8776A; }
.cart-totals { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; font-size: .9rem; }
.cart-total-row { display: flex; justify-content: space-between; color: var(--text-muted); }
.cart-total-row--grand { padding-top: .6rem; border-top: 1px solid color-mix(in srgb, var(--gold) 26%, transparent); color: var(--cream); font-size: 1.1rem; }
.cart-total-row--grand b { color: var(--gold-light); font-family: var(--font-display); font-size: 1.4rem; }
.free-ship-bar { height: 4px; background: var(--dark); border-radius: 2px; overflow: hidden; margin-top: .5rem; }
.free-ship-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); transition: width .5s var(--ease-out); }

/* ═══════════ KASSE ═══════════ */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.4rem, 3.5vw, 3rem); align-items: start; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }
.panel {
    background: color-mix(in srgb, var(--walnut) 80%, transparent);
    border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
    border-radius: var(--radius);
    padding: clamp(1.2rem, 3vw, 2rem);
}
.panel + .panel { margin-top: 1.2rem; }
.panel h2 { font-size: 1.35rem; margin-bottom: 1.1rem; }
.summary-sticky { position: sticky; top: 92px; }
@media (max-width: 900px) { .summary-sticky { position: static; } }

.consent {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    padding: .85rem;
    border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
    border-radius: var(--radius);
    font-size: .86rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: .8rem;
    cursor: pointer;
}
.consent:hover { border-color: color-mix(in srgb, var(--gold) 45%, transparent); }
.consent a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 2px; }

.notice {
    padding: .9rem 1.1rem;
    border-radius: var(--radius);
    font-size: .88rem;
    line-height: 1.6;
    border: 1px solid;
    margin-bottom: 1rem;
}
.notice--info { border-color: color-mix(in srgb, var(--gold) 34%, transparent); background: color-mix(in srgb, var(--gold) 8%, transparent); color: var(--text-light); }
.notice--warn { border-color: #B8860B; background: rgba(184,134,11,.12); color: #E8D5A8; }
.notice--error { border-color: #C0392B; background: rgba(192,57,43,.14); color: #F0B5AD; }
.notice--success { border-color: #4E8A57; background: rgba(78,138,87,.14); color: #BFE0C4; }
.notice strong { display: block; margin-bottom: .25rem; color: inherit; }

/* ═══════════ NEUIGKEITEN / BLOG ═══════════ */
.post {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2.2rem);
    padding-block: clamp(1.6rem, 3.5vw, 2.6rem);
    border-bottom: 1px solid color-mix(in srgb, var(--gold) 12%, transparent);
    align-items: start;
}
@media (max-width: 760px) { .post { grid-template-columns: 1fr; } }
.post-media { aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden; border: 1px solid color-mix(in srgb, var(--gold) 16%, transparent); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.post:hover .post-media img { transform: scale(1.05); }
.post-date { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.post h2, .post h3 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin-bottom: .6rem; }
.post h2 a:hover, .post h3 a:hover { color: var(--gold-light); }
.post p { color: var(--text-muted); font-size: .96rem; }
.pin-flag { color: var(--accent); font-size: .68rem; letter-spacing: .12em; }

.article-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .76rem; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.2rem; }
.article-meta span { display: flex; align-items: center; gap: .4rem; }

.author-box {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    padding: 1.3rem;
    margin-top: 2.6rem;
    border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--walnut) 60%, transparent);
}
.author-box img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-box strong { display: block; color: var(--gold-light); font-size: 1.02rem; }
.author-box p { font-size: .86rem; color: var(--text-muted); margin: .25rem 0 0; }

/* ═══════════ ÜBER MICH ═══════════ */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.6rem, 4vw, 4rem); align-items: center; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }
.about-figure { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-figure::after {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid color-mix(in srgb, var(--gold) 46%, transparent);
    pointer-events: none;
}
.quote {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2.6vw, 1.5rem);
    font-style: italic;
    color: var(--gold-light);
    border-left: 2px solid var(--gold);
    padding: .5rem 0 .5rem 1.4rem;
    margin-block: 1.6rem;
    line-height: 1.5;
}
.stats { display: flex; gap: clamp(1.2rem, 4vw, 2.8rem); flex-wrap: wrap; margin-top: 1.8rem; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--gold); line-height: 1; }
.stat-label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-top: .4rem; }

.timeline { list-style: none; position: relative; padding-left: 1.8rem; margin-top: 2rem; }
.timeline::before { content: ''; position: absolute; left: 5px; top: .5rem; bottom: .5rem; width: 1px; background: linear-gradient(var(--gold), transparent); }
.timeline li { position: relative; padding-bottom: 1.6rem; }
.timeline li::before { content: ''; position: absolute; left: -1.8rem; top: .5rem; width: 11px; height: 11px; border-radius: 50%; background: var(--dark); border: 2px solid var(--gold); }
.timeline-year { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.timeline h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.timeline p { font-size: .92rem; color: var(--text-muted); }

/* ═══════════ KONTAKT ═══════════ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.6rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-icon {
    width: 40px; height: 40px;
    flex-shrink: 0;
    border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.info-icon svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.info-label { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.info-value { color: var(--cream); font-size: .96rem; line-height: 1.55; }
.info-value a:hover { color: var(--gold-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ═══════════ FOOTER ═══════════ */
.footer {
    margin-top: clamp(3rem, 7vw, 6rem);
    border-top: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
    background: color-mix(in srgb, var(--dark) 88%, transparent);
    padding-block: clamp(2.4rem, 5vw, 4rem) 1.6rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.6rem); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-light); letter-spacing: .05em; margin-bottom: .5rem; }
.footer-about { font-size: .88rem; color: var(--text-muted); line-height: 1.7; max-width: 38ch; }
.footer h3 { font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer ul a { font-size: .89rem; color: var(--text-muted); transition: color .2s; }
.footer ul a:hover { color: var(--gold-light); }
.footer-bottom {
    margin-top: clamp(2rem, 4vw, 3rem);
    padding-top: 1.4rem;
    border-top: 1px solid color-mix(in srgb, var(--gold) 10%, transparent);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: .8rem;
    color: var(--text-muted);
}
.footer-social { display: flex; gap: .6rem; }
.footer-social a {
    width: 36px; height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent);
    border-radius: 50%;
    transition: all .25s;
}
.footer-social a:hover { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.footer-social svg { width: 16px; height: 16px; fill: var(--gold); }

/* ═══════════ COOKIE-BANNER ═══════════ */
.cookie {
    position: fixed;
    left: 50%;
    bottom: 1.1rem;
    transform: translate(-50%, 140%);
    width: min(680px, calc(100vw - 2rem));
    background: var(--walnut);
    border: 1px solid color-mix(in srgb, var(--gold) 34%, transparent);
    border-radius: var(--radius);
    padding: 1.3rem clamp(1.1rem, 3vw, 1.7rem);
    z-index: 950;
    box-shadow: 0 26px 60px -24px rgba(0,0,0,.95);
    transition: transform .5s var(--ease-out);
    max-height: calc(100vh - 2.2rem);
    overflow-y: auto;
}
.cookie.show { transform: translate(-50%, 0); }
.cookie h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.cookie p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1 1 auto; min-width: 140px; }
.cookie-details { margin-bottom: 1rem; }
.cookie-details summary { cursor: pointer; font-size: .82rem; color: var(--gold); letter-spacing: .06em; padding: .4rem 0; }
.cookie-cat { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem 0; border-top: 1px solid color-mix(in srgb, var(--gold) 12%, transparent); }
.cookie-cat-text strong { display: block; color: var(--cream); font-size: .88rem; }
.cookie-cat-text span { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }
.cookie-links { font-size: .78rem; color: var(--text-muted); margin-top: .9rem; }
.cookie-links a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ═══════════ DEKOR (Saison) ═══════════ */
.decor-layer { position: fixed; inset: 0; pointer-events: none; z-index: 8000; overflow: hidden; }
.decor-piece { position: absolute; top: -8vh; will-change: transform; animation: decorFall linear infinite; }
@keyframes decorFall {
    0%   { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; }
    8%   { opacity: var(--piece-opacity, .8); }
    92%  { opacity: var(--piece-opacity, .8); }
    100% { transform: translate3d(var(--drift, 30px), 112vh, 0) rotate(var(--spin, 360deg)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .decor-layer { display: none; } }

/* ═══════════ REVEAL-ANIMATION ═══════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-1 { transition-delay: .08s; }
.reveal-2 { transition-delay: .16s; }
.reveal-3 { transition-delay: .24s; }
.reveal-4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ═══════════ HILFSKLASSEN ═══════════ */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 50%; top: -100px;
    transform: translateX(-50%);
    background: var(--gold); color: var(--dark);
    padding: .7rem 1.4rem; z-index: 10000;
    border-radius: 0 0 var(--radius) var(--radius);
    transition: top .2s;
}
.skip-link:focus { top: 0; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .6rem; }
.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1.2rem; }
.muted { color: var(--text-muted); }
.gold { color: var(--gold-light); }
.small { font-size: .84rem; }
.flex { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hide-mobile { }
@media (max-width: 700px) { .hide-mobile { display: none !important; } }

/* Toasts */
.toast-host { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 9500; display: flex; flex-direction: column; gap: .5rem; align-items: center; width: min(420px, calc(100vw - 2rem)); }
.toast {
    background: var(--walnut);
    border: 1px solid var(--gold);
    border-radius: var(--radius);
    padding: .8rem 1.2rem;
    font-size: .88rem;
    color: var(--cream);
    box-shadow: 0 16px 40px -18px rgba(0,0,0,.9);
    animation: toastIn .35s var(--ease-out);
    width: 100%;
    text-align: center;
}
.toast--error { border-color: #C0392B; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Druck */
@media print {
    .nav, .footer, .cookie, .drawer, .scrim, .decor-layer, .hero-scroll, .bg-texture, .topbanner { display: none !important; }
    body { background: #fff; color: #000; }
    body::before, body::after { display: none; }
    h1, h2, h3, .prose { color: #000; }
    a { color: #000; text-decoration: underline; }
}
