:root {
    --bg: #050505;
    --bg-card: #160d24;
    --purple-light: #9B3FD4;
    --purple-dark: #4A1A6B;
    --gold: #F5C842;
    --gold-hover: #f5e642;
    --on-dark: #FAFAFA;
    --white: #FAFAFA;
    --gray: #808080;
    --on-dark-soft: rgba(255, 255, 255, 0.65);
    --on-dark-muted: rgba(255, 255, 255, 0.35);
    --ink: #1a0830;
    --radius: 10px;
    --radius-lg: 18px;
    --maxw: 1180px;
    --font-Sinistre: 'Sinistre';
    --font-LexendLight: 'Lexend Light';
    --font-Lexend: 'Lexend';
    --h1Size: 72px;
    --h2Size: 36px;
    --textSize: 18px;
    --h1Font: 'Sinistre';
    --h2Font: 'Lexend Light';

}

html {
    max-width: 100%;
    overflow-x: clip;
}

body {
    max-width: 100%;
    overflow-x: clip;
}

/* Medien duerfen ihren Container grundsaetzlich nie sprengen */
img,
canvas,
svg,
video {
    max-width: 100%;
    height: auto;
}

@font-face {
    font-family: 'Sinistre';
    src: url('/fonts/SinistreVF/SinistreVF.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend Light';
    src: url('/fonts/Lexend/static/Lexend-Light.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'Lexend';
    src: url('/fonts/Lexend/Lexend-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 900;
    font-display: swap;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-Lexend);
    font-size: var(--textSize);
    background: var(--bg);
    color: var(--on-dark);
    line-height: 1.5;
}

.site-main {
    flex: 1;
}

.btn-primary {
    background: var(--gold);
    color: var(--ink);
    padding: 12px 22px;
    font-size: var(--textSize);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background .2s;
}

.btn-primary:hover {
    background: var(--gold-hover);
}

/* Sticky-Höhe als Variable — spätere Konfigurator-Vorschau dockt bei top: var(--header-h) an */
:root {
    --header-h: 88px;
}

@media (min-width: 640px) {
    :root {
        --header-h: 112px;
    }
}

.kicker {
    margin: 0 0 12px;
    font-family: var(--font-LexendLight);
    font-size: var(--textSize);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    text-align: center;
}

/* Außen: volle Breite, transparent, sticky. Keine feste Pixelbreite -> kein Seitwärts-Scrollen. */
.site-header {
    position: sticky;
    padding-top: 12px;
    isolation: isolate;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: var(--bg);
    pointer-events: none;
    z-index: -1;
}

/* Deckt die unter dem Header durchscrollenden Elemente ab (ersetzt das alte Padding). */
.site-header::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 40px; /* muss >= .site-header margin-top sein */
    background: var(--bg);
    pointer-events: none;
}

/* Innen: die gefüllte Pille — zentriert & gedeckelt statt fixe 1700px */
.site-header__bar {
    max-width: 1700px;
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(90deg, var(--purple-dark) 0%, var(--purple-light) 100%);
    border-radius: var(--radius);
    padding: 16px;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .site-header {
        padding: 12px 24px 0;
    }
}

.cart-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    z-index: 1001;
    padding: 14px;
    box-sizing: border-box;
    background: var(--bg, #1a1030);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.cart-popup[hidden] {
    display: none;
}

.cart-popuphead {
    margin-bottom: 10px;
}

.cart-popupUnderHead {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.cart-popupclose {
    background: none;
    border: none;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.cart-popuplist {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 320px; /* scrollbare Liste */
    overflow-y: auto;
}

.cart-popupitem {
    display: flex;
    justify-content: space-between;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-popupempty {
    padding: 24px 4px;
    text-align: center;
    opacity: 0.7;
}

.cart-popupfoot {
    margin-top: 12px;
}

.cart-popuptotal {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 12px;
}

.cart-popupcheckout {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
}

.cart-popupcount {
    font-size: 13px;
    opacity: 0.75;
    margin-left: 8px;
}

.cart-popupitem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Thumb traegt jetzt einen Ebenen-Stack statt eines einzelnen Bildes */
.cart-popupthumb {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.cart-popupthumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.cart-popupthumb--empty { /* Platzhalter, solange kein Bild geliefert wird */
}

.cart-popupinfo {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.cart-popupname {
    font-weight: 700;
}

.cart-popupDesc {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: 12px;
    opacity: 0.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-popupDetail {
    font-size: 0.75rem;
    line-height: 1.35;
    color: var(--on-dark-soft);
    font-weight: 200;
}

.cart-popupname {
    font-weight: 600;
    font-size: 0.9375rem;
}

.cart-popupprice {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-weight: 700;
}

.cart-popupqty {
    font-size: 12px;
    opacity: 0.7;
    font-weight: 400;
}

.cart-popupshipping {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    opacity: 0.75;
    margin-bottom: 6px;
}

.cart-popuppay {
    width: 100%;
    margin-top: 12px;
    height: auto;
}

.cart-popupqtyctrl {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.cart-popupqtyctrl button {
    width: 22px;
    height: 22px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: none;
    color: inherit;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-popupqtyctrl button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-popupqty {
    min-width: 16px;
    text-align: center;
}


.section-title {
    font-family: var(--font-Sinistre), 'Sinistre', serif;
    font-weight: 800;
    margin: 0;
    font-size: clamp(2rem, 7vw, var(--h1Size));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
}

.section-title::before,
.section-title::after {
    content: "";
    width: clamp(24px, 12vw, 200px);
    height: 3px;
    background: var(--gold);
}

/* CI: H2 = 36px, Weight 600, VA -40 (= -0.04em) */
h2, .inspirecard-title, .section-title--h2 {
    font-size: var(--h2Size);
    font-weight: 600;
    letter-spacing: -0.04em;
}

/* CI: H1 = 72px, Weight 800, VA -40 */
.hero-title, .inspiretitle, .section-title {
    font-weight: 800;
    letter-spacing: -0.04em;
}

/* Mobil: keine goldenen Akzent-Striche neben Überschriften */
@media (max-width: 768px) {
    .section-title::before,
    .section-title::after,
    .inspirerule {
        display: none;
    }

    .inspireheading {
        gap: 0;
    }
}

.brand-logo {
    height: 36px;
    width: auto;
    display: block;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.site-header .header-icon-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.site-header .header-icon {
    width: 26px;
    height: 26px;
}

.site-header .brand-logo {
    height: 40px;
}

@media (min-width: 640px) {
    .site-header .header-icon-btn {
        width: 56px;
        height: 56px;
    }

    .site-header .brand-logo {
        height: 52px;
    }
}

.header-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--purple-dark);
    border: 2px solid #fff;
    border-radius: 16px;
    box-sizing: border-box;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 50%;
    background: var(--gold);
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    box-sizing: border-box;
}

.header-icon {
    height: 36px;
    width: 36px;
    object-fit: contain;
}

.header-icon-btn:hover {
    color: var(--gold);
}

/* ═══ HERO (#start) — mobile-first einspaltig; ab 900px Bild absolut rechts ═══ */
.hero-section {
    position: relative;
    width: 100%;
    min-height: calc(145vh - var(--header-h) - 40px);
    padding: 60px 24px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* hält den Glow drin -> kein Seitwärts-Scrollen */
    background: var(--bg);
}

.hero-section * {
    box-sizing: border-box;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    min-width: 480px;
    min-height: 480px;
    background: radial-gradient(circle, rgba(155, 63, 212, 0.5) 0%, rgba(155, 63, 212, 0.22) 40%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

/* Textzeilen schmaler als das Bild halten (Lesbarkeit) */
.hero-eyebrow, .hero-title, .hero-divider, .hero-lead, .hero-unten {
    max-width: 640px;
}

.hero-eyebrow {
    margin: 0;
    font-size: var(--textSize);
    color: var(--gray);
    font-weight: 400;
    letter-spacing: 0.03em;
}

.hero-title {
    margin: 0;
    font-family: var(--font-Sinistre);
    font-size: clamp(2rem, 7vw, var(--h1Size));
    font-weight: 900;
    line-height: 1.05;
}

.hero-media {
    position: relative;
    width: calc(100% + 48px);
    max-width: 1040px;
    margin: 0 -24px;
}

.hero-frame {
    position: relative;
    z-index: 1;
}

.bild {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5));
    user-select: none;
    pointer-events: none;
}

.hero-divider {
    width: 100%;
    height: 2px;
    background: var(--gray);
    opacity: 0.35;
    margin: 0;
}

.hero-lead {
    margin: 0;
    font-size: var(--textSize);
    font-weight: 400;
    line-height: 1.5;
    color: var(--on-dark);
}

.hero-unten {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.hero-preis {
    margin: 0;
    font-weight: 400;
    color: var(--white);
}

.hero-preis strong {
    color: var(--on-dark);
    font-weight: 600;
}

/* Mobil/Tablet: Bild in festes 3:4 füllen (wirkt größer), Trenner ausblenden */
@media (max-width: 899px) {
    .hero-frame {
        aspect-ratio: 3 / 4;
        overflow: hidden;
    }

    .bild {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-divider {
        display: none;
    }
}

/* Sehr schmal: Button volle Breite, Preis darunter */
@media (max-width: 480px) {
    .hero-section {
        padding: 48px 20px;
    }

    .hero-unten {
        flex-direction: column;
        gap: 10px;
    }

    .hero-unten .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* Desktop: Text links, Bild absolut rechts (Bildhöhe schiebt Text nicht mehr) */
@media (min-width: 900px) {
    .hero-inner {
        max-width: 1500px;
        display: block;
        text-align: left;
        padding-right: 36%;
    }

    .hero-eyebrow, .hero-title, .hero-divider, .hero-lead, .hero-unten {
        max-width: 460px;
    }

    .hero-eyebrow {
        margin: 0 0 20px;
    }

    .hero-title {
        margin: 0 0 28px;
    }

    .hero-divider {
        margin: 0 0 28px;
    }

    .hero-lead {
        margin: 0 0 32px;
    }

    .hero-unten {
        justify-content: flex-start;
    }

    .hero-media {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 64%;
        max-width: 1040px;
        margin: 0;
    }
}


.gallery-section {
    width: 60%;
    margin-inline: auto;
    padding: 64px 0;
}

.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.gallery-track {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    overflow: hidden;
    transition: transform .35s ease;
}

.gallery-card-body {
    padding: 16px 20px 20px;
    background: var(--purple-light);
}

.gallery-card-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--on-dark);
    margin-bottom: 6px;
}

.gallery-card-text {
    font-size: 0.85rem;
    font-weight: 200;
    color: var(--on-dark-soft);
    line-height: 1.4;
}

.featuresEyebrow {
    font-family: var(--font-LexendLight), 'Lexend Light', serif;
    font-size: var(--textSize);
    font-weight: 400;
    display: flex;
    justify-content: center;
}

.feature-icon {
    width: 180px;
    height: 180px;
    margin-inline: auto;
    display: block;
}

.feature h3 {
    font-size: 32px;
    font-weight: 600;
    margin: 14px 0 8px;
}

.feature p {
    font-size: var(--textSize);
    font-weight: 200;
    line-height: 1.5;
}

* {
    box-sizing: border-box;
}

/*
       stats
 */
.lamp-stats {
    width: 1312px;
    margin-inline: auto;
    margin-top: 150px;
    max-width: 100%;
    border-radius: 30px;
    background: var(--purple-dark);
    padding: 48px 56px 40px;
    font-family: 'Lexend', sans-serif;
    color: #ffffff;
    text-align: center;
}

.lamp-statseyebrow {
    font-size: var(--textSize);
    font-weight: 400;
    margin: 0 0 8px;
    letter-spacing: 0.02em;
}

.lamp-statstitle {
    font-family: var(--font-Sinistre), 'Sinistre', serif;
    margin-top: 0;
    font-size: 80px;
    line-height: 1.1;
    font-weight: 400;
}

.lamp-statsrow {
    display: grid;
    grid-template-columns: 1fr 2px 1fr 2px 1fr;
    align-items: start;
    column-gap: 32px;
}

.lamp-statsrow + .lamp-statsrow {
    margin-top: 36px;
}

.lamp-statsdivider {
    width: 2px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.35);
}

.lamp-statsitem {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lamp-statsicon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    margin-bottom: 10px;
}

.lamp-statsheading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--h2Size);
    font-weight: 600;
    margin: 0 0 22px;
}

.lamp-statsheading .lamp-statsicon {
    margin-bottom: 0;
}

.lamp-statstext {
    font-size: var(--textSize);
    line-height: 1.4;
    margin: 0;
    font-weight: 400;
    max-width: 340px;
}

/* Erweiterbarer Bereich (zweite Zeile + Beschreibung) */
.lamp-statsexpand {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.45s ease, opacity 0.35s ease;
}

.lamp-stats.is-open .lamp-statsexpand {
    grid-template-rows: 1fr;
    opacity: 1;
}

.lamp-statsexpand-inner {
    overflow: hidden;
}

.lamp-statsexpand .lamp-statsrow {
    margin-top: 0;
    margin-bottom: 75px;
}

.lamp-statsdescription {
    margin-top: 32px;
    background: #15171E;
    border-radius: 30px;
    padding: 28px 32px;
    text-align: left;
}

.lamp-statsdescription-title {
    font-size: 32px;
    font-weight: 500;
    margin: 0 0 20px;
}

.lamp-statsdescription-text {
    font-size: 22px;
    line-height: 1.6;
    font-weight: lighter;
    color: rgba(255, 255, 255, 0.92);
}

.lamp-statstoggle-wrap {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.lamp-statstoggle {
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background: var(--purple-light);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 12px 28px;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.lamp-statstoggle:hover {
    filter: brightness(1.15);
}

.lamp-statstoggle:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}


/* ═══ STATS — Mobil (≤760px): einspaltig, vertikale Trenner raus, kompakter ═══ */
@media (max-width: 760px) {
    .lamp-stats {
        width: auto;
        margin: clamp(64px, 14vw, 150px) 16px 0;
        padding: 32px 20px 28px;
        border-radius: 24px;
    }

    .lamp-statstitle {
        font-size: clamp(2.25rem, 9vw, 80px);
    }

    .lamp-statsrow {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 28px;
    }

    .lamp-statsdivider {
        display: none;
    }

    .lamp-statsitem {
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        padding-bottom: 28px;
    }

    .lamp-statsrow > .lamp-statsitem:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .lamp-statstext {
        max-width: none;
    }

    .lamp-statsheading {
        margin-bottom: 16px;
    }

    .lamp-statsexpand .lamp-statsrow {
        margin-top: 0;
        margin-bottom: 32px;
    }

    .lamp-statsexpand-inner::before {
        content: "";
        display: block;
        height: 1px;
        background: rgba(255, 255, 255, 0.18);
        margin-bottom: 28px;
    }

    .lamp-statsdescription {
        padding: 22px 20px;
        border-radius: 20px;
    }

    .lamp-statsdescription-title {
        font-size: clamp(1.5rem, 6vw, 32px);
    }

    .lamp-statsdescription-text {
        font-size: clamp(1rem, 4.2vw, 22px);
        text-align: left;
    }
}

.features-section,
.konfigurator-wrap {
    width: min(1540px, calc(100% - 32px));
    margin-inline: auto;
    margin-top: clamp(80px, 15vw, 150px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
    text-align: center;
    margin-top: 40px;
}


@media (max-width: 899px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(20px, 5vw, 32px);
    }

    .feature:nth-child(4) {
        display: none;
    }

    .feature:nth-child(3) {
        grid-column: 1 / -1;
        max-width: calc((100% - clamp(20px, 5vw, 32px)) / 2);
        margin-inline: auto;
    }

    .feature-icon {
        width: clamp(88px, 24vw, 160px);
        height: auto;
    }

    .feature h3 {
        font-size: clamp(1.25rem, 5vw, 32px);
    }
}

.konfigurator-section {
    width: 100%;
    background: linear-gradient(180deg, var(--purple-dark) 0%, var(--purple-light) 100%);
    border-radius: 30px;
    padding: 48px 52px;
    margin-top: 40px;
    display: flex;
    gap: 52px;
    align-items: flex-start;
}

.bild-bereich {
    flex: 1 1 420px;
    max-width: 520px;
    min-width: 0;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #1a0830;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.bild-bereich img {
    -webkit-user-drag: none;
    pointer-events: none;
}

.vorschau-stack {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#vorschauBild {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.motiv-pfeil {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.motiv-pfeil:hover {
    background: rgba(0, 0, 0, 0.7);
}

.motiv-pfeil-links {
    left: 12px;
}

.motiv-pfeil-rechts {
    right: 12px;
}

.design-select,
.opt-select {
    flex: 1;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-family: var(--font-Lexend);
    font-size: 0.9375rem;
    font-weight: 200;
    outline: none;
    cursor: pointer;
    transition: border-color .2s;
}

.design-select:focus {
    border-color: rgba(255, 255, 255, 0.65);
}

.design-select option {
    background: #15171E;
    color: #fff;
}

.design-select:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.rechte-seite {
    flex: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 24px;
}

.titel-bereich {
    margin-bottom: 28px;
}

.titel {
    font-family: var(--font-Sinistre);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 900;
    display: flex;
    justify-content: center;
    line-height: 1;
    gap: 10px
}

.titel span {
    color: var(--gold);
}

.untertitel {
    font-weight: 200;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

.config-box {
    background: #15171E;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 24px;
}

.config-row {
    display: flex;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    gap: 16px;
}

.config-row:last-child {
    border-bottom: none;
}

.row-icon {
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
}

.row-label {
    flex: 0 0 90px;
    color: #fff;
    font-weight: 400;
    font-size: 1rem;
}

.row-options {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
}

.opt-btn {
    width: 42px;
    height: 42px;
    border-radius: 30px;
    border: 2.5px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .18s, background .18s;
}

.opt-btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.opt-btn.selected {
    border-color: var(--gold);
    background: rgba(240, 180, 41, 0.12);
    color: var(--gold);
}

.opt-btn.swatch {
    background: var(--swatch-color);
    border-color: transparent;
}

.opt-btn.swatch.selected {
    border-color: #fff;
    box-shadow: 0 0 0 2px var(--gold);
}

/* Pillen: inaktiv = Kreis mit Buchstabe, aktiv = breite Pille mit dem
   ausgeschriebenen Namen. border-radius fest auf 21px (halbe Hoehe) statt 50%,
   sonst entsteht waehrend der Breiten-Animation kurz eine Ellipse, weil 50%
   fuer Breite und Hoehe getrennt gerechnet wird. */
.opt-btn-wide {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 21px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
}

.opt-btn-wide.selected {
    width: auto;
    padding: 0 18px;
}

/* Gravur-Buttons klappen nicht aus, die zeigen immer ihren vollen Text. */
.opt-btn-text {
    width: auto;
    height: auto;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

.opt-name {
    display: block;
    white-space: nowrap;
}

/* Gravur-Zeile bricht um, damit das Textfeld eine eigene volle Zeile bekommt */
.config-row--gravur {
    flex-wrap: wrap;
    row-gap: 14px;
}

.gravur-feld {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.gravur-feld[hidden] {
    display: none;
}

.gravur-feld .gravur-input {
    flex: 1 1 auto;
    min-width: 0;
}

.gravur-counter {
    font-size: 0.8125rem;
    color: var(--gray);
    white-space: nowrap;
}

.gravur-preis {
    margin-left: auto;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}

/* ═══ KONFIGURATOR — Mobil (≤899px): gestapelt, Vorschau sticky (scrollt mit) ═══ */
@media (max-width: 899px) {
    .konfigurator-section {
        flex-direction: column;
        gap: 24px;
        padding: 20px 16px;
        border-radius: 24px;
    }

    /* Vorschau oben, klebt beim Scrollen direkt unter dem Header */
    .bild-bereich {
        flex: none;
        width: 100%;
        max-width: none; /* Größe der klebenden Vorschau – hier justieren */
        margin-inline: auto;
        position: sticky;
        top: calc(var(--header-h) + 8px);
        z-index: 5;
        touch-action: pan-y;
        -webkit-user-select: none;
        user-select: none;
    }

    .bild-bereich img {
        -webkit-user-drag: none;
        pointer-events: none;
    }

    .rechte-seite {
        width: 100%;
        gap: 16px;
    }

    /* Zeilen kompakter, Label schmaler, damit Icon + Label + Optionen in eine Zeile passen */
    .config-row {
        padding: 14px 16px;
        gap: 12px;
    }

    .row-label {
        flex-basis: 72px;
    }

    .row-options {
        flex-wrap: wrap;
    }

    .config-box {
        border-radius: 24px;
    }
}

.row-value {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    text-align: right;
    min-width: 150px;
    font-weight: 200;
}

/* Leere Info-Spalte belegt keinen Platz, sonst nimmt sie z.B. dem Design-Dropdown
   150px weg, obwohl gar kein Aufpreis angezeigt wird. */
.row-value:empty {
    min-width: 0;
    margin-left: 0;
}

/* Zusatzkosten in der Info-Spalte farblich betonen (Feedback 05.08., Punkt 1) */
.cost-highlight {
    color: var(--gold);
    font-weight: 700;
}

.gravur-input {
    flex: 1;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-family: var(--font-Lexend);
    font-size: 0.9375rem;
    font-weight: 200;
    outline: none;
    transition: border-color .2s;
}

.gravur-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.gravur-input:focus {
    border-color: rgba(255, 255, 255, 0.65);
}

.kauf-bereich {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

@media (max-width: 620px) {
    .kauf-bereich {
        justify-content: center;
    }

    .kauf-bereich .warenkorb-btn {
        width: 100%;
        justify-content: center;
        height: auto;
        min-height: 58px;
        padding: 14px 24px;
    }

    .preis-zeile {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.cta-zeile {
    display: flex;
    align-items: center;
    gap: 24px;
}

.preis-zeile {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.gesamtpreis {
    font-size: var(--h2Size);
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.versand-info {
    font-size: var(--textSize);
    color: var(--gray);
    white-space: nowrap;
}

.versand-frei {
    color: var(--gold);
    font-weight: 400;
}

.warenkorb-btn {
    background: var(--gold);
    color: var(--ink);
    border: none;
    border-radius: var(--radius);
    min-height: 58px;
    padding: 12px 34px;
    font-family: var(--font-Lexend);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background .2s, transform .1s;
    white-space: nowrap;
}

.warenkorb-btn:hover {
    background: var(--gold-hover);
}

.warenkorb-btn:active {
    transform: scale(.98);
}

.warenkorb-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

/* ── Flug-Animation beim Hinzufuegen (Punkt 3) ── */
.wk-flug {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(240, 180, 41, 0.18);
    border: 2px solid var(--gold);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 18px rgba(240, 180, 41, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
}

.wk-flug img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Warenkorb-Icon reagiert, wenn der Chip ankommt */
.wk-zuck {
    animation: wkZuck .55s cubic-bezier(.36, .07, .19, .97);
    display: inline-block;
}

@keyframes wkZuck {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.25) rotate(-12deg);
    }
    50% {
        transform: scale(1.1) rotate(9deg);
    }
    75% {
        transform: scale(1.16) rotate(-5deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Button bestaetigt kurz mit Haekchen */
.warenkorb-btn--ok {
    background: #4caf50;
    color: #fff;
}

.warenkorb-btn--ok:hover {
    background: #4caf50;
}

.badge-puls {
    animation: badgePuls .45s ease;
}

@keyframes badgePuls {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.45);
    }
    100% {
        transform: scale(1);
    }
}

.trust-icons {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding-top: 4px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    font-weight: 200;
}

.trust-item i {
    font-size: 1.1rem;
    opacity: .7;
}

.trust-item span {
    line-height: 1.3;
    max-width: 80px;
}

.site-footer {
    width: 100%;
    background: #1e1e1e;
    margin-top: 150px;
}

.footer-inner {
    max-width: var(--maxw);
    margin-inline: auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-payments img {
    height: 24px;
    width: auto;
}

.footer-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    color: var(--on-dark-soft);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 200;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--on-dark);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social a {
    color: var(--on-dark);
    font-size: 1.3rem;
    text-decoration: none;
    transition: color .2s;
}

.footer-social a:hover {
    color: var(--gold);
}


.inspire {
    width: 1540px;
    margin-inline: auto;
    max-width: 100%;
    font-family: 'Lexend', sans-serif;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

.inspire *,
.inspire *::before,
.inspire *::after {
    box-sizing: border-box;
}

.inspireeyebrow {
    font-family: var(--font-LexendLight), 'Lexend Light', serif;
    font-size: var(--textSize);
    font-weight: 400;
    margin: 0 0 12px;
}

.inspireheading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0 0 48px;
}

.inspirerule {
    width: 140px;
    height: 3px;
    background: var(--gold);
    flex: none;
}

.inspiretitle {
    font-family: var(--font-Sinistre), 'Sinistre', serif;
    font-size: clamp(2rem, 7vw, var(--h1Size));
    margin: 0;
}

.inspirecarousel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 128px;
}

.inspirearrow {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    background: #303238;
    border: 3px solid #ffffff;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: filter 0.2s ease;
}

.inspirearrow:hover {
    filter: brightness(1.2);
}

.inspirearrow svg {
    width: 16px;
    height: 16px;
}

.inspireviewport {
    width: 1320px;
    max-width: 100%;
    overflow: hidden;
}

.inspiretrack {
    display: flex;
    gap: 60px;
    transition: transform 0.45s ease;
}

.inspirecard {
    flex: none;
    width: 400px;
    text-align: left;
}

.inspireimage {
    width: 400px;
    height: 378px;
    border-radius: 30px 30px 0 0;
    background: #55535c;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    overflow: hidden;
}

.inspiretext {
    width: 400px;
    height: 233px;
    border-radius: 0 0 30px 30px;
    background: var(--purple-dark);
    padding: 24px 28px;
}

.inspirecard-title {
    font-size: var(--h2Size);
    font-family: var(--font-LexendLight);
    margin: 0 0 14px;
}

.inspirecard-text {
    font-size: var(--textSize);
    font-family: var(--font-LexendLight);
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.inspiredots {
    display: none;
}

/* ── Mobil: eine Karte im Fokus, Nachbarn treten als Hintergrund zurück ── */
@media (max-width: 768px) {
    .inspire {
        width: 100%;
    }

    .inspirecarousel {
        gap: 6px;
        margin-bottom: 72px;
    }

    .inspirearrow {
        display: none;
    }

    .inspiredots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 18px;
    }

    .inspiredot {
        width: 9px;
        height: 9px;
        padding: 0;
        border: none;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.28);
        cursor: pointer;
        transition: background .25s ease, width .25s ease;
    }

    .inspiredot.aktiv {
        width: 28px; /* aktiver Punkt wird zur Pille */
        background: var(--purple-light);
    }

    /* volle Breite, damit zentrierte Karte + beide Nachbarn hineinpassen */
    .inspireviewport {
        width: 100%;
    }

    .inspiretrack {
        gap: 16px;
        align-items: center;
    }

    .inspirecard {
        width: 74vw;
        max-width: 100%;
        opacity: 0.4;
        transform: scale(0.88);
        transition: opacity 0.35s ease, transform 0.35s ease;
    }

    .inspirecard.aktiv {
        opacity: 1;
        transform: scale(1);
    }

    /* feste 400px-Maße der Karteninhalte auf Mobil aufheben */
    .inspireimage {
        width: 100%;
        height: 62vw;
        max-height: 300px;
    }

    .inspiretext {
        width: 100%;
        height: auto;
        min-height: 150px;
    }
}

/* ═══════════════════════════════════════════════════════
   LEGAL / IMPRESSUM
═══════════════════════════════════════════════════════ */

.legal {
    max-width: 820px;
    margin: 0 auto;
    padding: 80px clamp(20px, 5vw, 48px) 120px;
    color: var(--on-dark);
    font-family: 'Lexend', sans-serif;
    font-weight: 200;
    line-height: 1.7;
}

.legal-title {
    font-family: var(--font-Sinistre), 'Sinistre', serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin: 0 0 40px;
}

.legal h2 {
    font-family: var(--font-Sinistre), 'Sinistre', serif;
    font-weight: 700;
    font-size: 1.7rem;
    margin: 40px 0 10px;
    color: var(--gold);
}

.legal p {
    margin: 0 0 8px;
    color: var(--on-dark-soft);
}

.legal a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal a:hover {
    color: var(--on-dark);
}