:root {
    --xept-red:#f01820;
    --xept-red-dark:#a90008;
    --xept-bg:#040506;
    --xept-bg-soft:#080a0c;
    --xept-panel:#0b0e11;
    --xept-panel-2:#101419;
    --xept-line:rgba(255,255,255,.13);
    --xept-line-red:rgba(240,24,32,.65);
    --xept-text:#f5f6f7;
    --xept-muted:#a6adb5;
    --xept-muted-2:#747d86;
    --xept-shadow:0 28px 80px rgba(0,0,0,.42);
}

* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; background:var(--xept-bg); }
body {
    min-height:100vh;
    overflow-x:hidden;
    background:var(--xept-bg);
    color:var(--xept-text);
    font-family:"Segoe UI",Arial,Helvetica,sans-serif;
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
}
body.mobile-menu-open { overflow:hidden; }
a { color:inherit; }
button,input,select,textarea { font:inherit; }
img { max-width:100%; }

/* ---------- HEADER ---------- */
.site-header {
    position:fixed;
    z-index:1000;
    inset:0 0 auto 0;
    min-height:78px;
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:28px;
    padding:10px clamp(18px,4.4vw,74px);
    background:linear-gradient(180deg,rgba(2,3,4,.96),rgba(2,3,4,.72));
    border-bottom:1px solid rgba(255,255,255,.055);
    transition:background .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.site-header::before {
    content:"";
    position:absolute;
    left:0; right:0; top:0;
    height:2px;
    background:linear-gradient(90deg,transparent 3%,var(--xept-red) 24%,var(--xept-red) 72%,transparent 97%);
    box-shadow:0 0 18px rgba(240,24,32,.62);
}
.site-header.scrolled {
    background:rgba(3,4,5,.96);
    border-bottom-color:rgba(240,24,32,.22);
    box-shadow:0 14px 40px rgba(0,0,0,.38);
    backdrop-filter:blur(14px);
}
.site-logo { position:relative; display:block; z-index:2; }
.site-logo img { display:block; width:148px; height:auto; }

.site-nav {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:2px;
}
.site-nav a {
    position:relative;
    padding:12px 13px;
    color:#d7dadd;
    text-decoration:none;
    font-size:12px;
    font-weight:700;
    letter-spacing:.25px;
    white-space:nowrap;
    transition:color .2s ease;
}
.site-nav a::after {
    content:"";
    position:absolute;
    left:13px; right:13px; bottom:5px;
    height:2px;
    transform:scaleX(0);
    transform-origin:left;
    background:var(--xept-red);
    box-shadow:0 0 10px rgba(240,24,32,.45);
    transition:transform .2s ease;
}
.site-nav a:hover,.site-nav a.active { color:#fff; }
.site-nav a:hover::after,.site-nav a.active::after { transform:scaleX(1); }

.header-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
.header-account-button {
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 18px;
    border:1px solid rgba(240,24,32,.92);
    border-radius:6px;
    background:linear-gradient(180deg,rgba(240,24,32,.12),rgba(240,24,32,.04));
    color:#fff;
    text-decoration:none;
    font-size:12px;
    font-weight:800;
    letter-spacing:.25px;
    cursor:pointer;
    box-shadow:inset 0 0 18px rgba(240,24,32,.04);
    transition:.2s ease;
}
.header-account-button:hover { background:var(--xept-red); box-shadow:0 0 20px rgba(240,24,32,.27); }

.lang-switch,.customer-account-menu { position:relative; }
.lang-current {
    min-height:42px;
    display:flex;
    align-items:center;
    gap:6px;
    padding:0 8px;
    border:0;
    background:transparent;
    color:#d5d9dd;
    font-size:11px;
    font-weight:800;
    cursor:pointer;
}
.lang-globe { font-size:18px; line-height:1; color:#fff; }
.lang-arrow,.account-arrow { font-size:10px; color:#a9b0b7; }
.lang-dropdown,.customer-account-dropdown {
    display:none;
    position:absolute;
    right:0;
    top:calc(100% + 7px);
    z-index:1200;
    min-width:150px;
    padding:6px;
    border:1px solid var(--xept-line);
    border-top:2px solid var(--xept-red);
    border-radius:7px;
    background:rgba(8,10,12,.98);
    box-shadow:0 22px 55px rgba(0,0,0,.55);
}
.lang-dropdown.open,.customer-account-dropdown.open { display:block; }
.lang-dropdown a,.customer-account-dropdown a,.customer-account-dropdown button {
    display:block;
    width:100%;
    padding:10px 11px;
    border:0;
    border-radius:4px;
    background:transparent;
    color:#d9dde1;
    text-decoration:none;
    text-align:left;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
}
.lang-dropdown a:hover,.lang-dropdown a.active,.customer-account-dropdown a:hover,.customer-account-dropdown button:hover { background:rgba(240,24,32,.12); color:#fff; }

.mobile-menu-toggle {
    display:none;
    width:42px;
    height:42px;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:6px;
    background:#090b0e;
    cursor:pointer;
}
.mobile-menu-toggle span { width:20px; height:2px; background:#fff; transition:.2s ease; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.customer-profile-popup { position:fixed; z-index:1300; top:92px; right:30px; max-width:min(520px,calc(100vw - 30px)); max-height:calc(100vh - 120px); overflow:auto; background:#0b0e11; border:1px solid var(--xept-line); box-shadow:var(--xept-shadow); }

/* ---------- HERO ---------- */
.hero {
    position:relative;
    min-height:680px;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,.35fr);
    align-items:center;
    overflow:hidden;
    padding:138px clamp(22px,6vw,98px) 78px;
    background:#030405 url('images/xept_hero_v2.webp') no-repeat center/cover;
    border-bottom:1px solid rgba(240,24,32,.45);
}
.hero-inner { min-height:520px; }
.hero::before {
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 67% 42%,rgba(240,24,32,.10),transparent 31%),
        linear-gradient(90deg,rgba(2,3,4,.98) 0%,rgba(2,3,4,.91) 33%,rgba(2,3,4,.45) 58%,rgba(2,3,4,.13) 78%,rgba(2,3,4,.42) 100%),
        linear-gradient(0deg,rgba(2,3,4,.93) 0%,transparent 34%);
}
.hero::after {
    content:"";
    position:absolute;
    left:0; right:0; bottom:0;
    height:4px;
    background:linear-gradient(90deg,transparent 3%,var(--xept-red) 22%,rgba(240,24,32,.2) 50%,var(--xept-red) 78%,transparent 97%);
    box-shadow:0 0 22px rgba(240,24,32,.45);
}
.hero-grid-lines {
    position:absolute;
    inset:0;
    opacity:.12;
    pointer-events:none;
    background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
    background-size:64px 64px;
    mask-image:linear-gradient(90deg,black,transparent 68%);
}
.hero-content { position:relative; z-index:2; width:min(720px,100%); }
.hero-eyebrow {
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
    color:#ff3138;
    font-size:11px;
    font-weight:800;
    letter-spacing:2.2px;
    text-transform:uppercase;
}
.hero-eyebrow::before { content:""; width:38px; height:2px; background:var(--xept-red); box-shadow:0 0 12px rgba(240,24,32,.55); }
.hero h1 {
    max-width:760px;
    color:#f7f8f9;
    font-size:clamp(42px,5.3vw,80px);
    line-height:.98;
    font-weight:900;
    letter-spacing:-2.4px;
    text-transform:uppercase;
    text-shadow:0 10px 32px rgba(0,0,0,.5);
}
.hero h1 span { color:var(--xept-red); text-shadow:0 0 24px rgba(240,24,32,.18); }
.hero p { max-width:630px; margin-top:24px; color:#c9ced3; font-size:clamp(15px,1.35vw,18px); line-height:1.68; }
.hero-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-top:31px; }
.btn {
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:0 22px;
    border-radius:5px;
    text-decoration:none;
    font-size:12px;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.35px;
    transition:.2s ease;
}
.btn-red { border:1px solid var(--xept-red); background:linear-gradient(180deg,#f41f27,#ce080f); color:#fff; box-shadow:0 0 22px rgba(240,24,32,.18); }
.btn-red:hover { transform:translateY(-2px); box-shadow:0 8px 28px rgba(240,24,32,.26); }
.btn-ghost { border:1px solid rgba(255,255,255,.28); background:rgba(7,9,11,.48); color:#fff; }
.btn-ghost:hover { border-color:var(--xept-red); background:rgba(240,24,32,.07); }
.hero-side-mark {
    position:relative;
    z-index:2;
    justify-self:end;
    display:flex;
    flex-direction:column;
    gap:13px;
    padding-left:24px;
    border-left:1px solid rgba(255,255,255,.28);
    color:#c5cbd1;
    font-size:11px;
    font-weight:700;
    letter-spacing:2px;
}
.hero-side-mark span::before { content:""; display:inline-block; width:24px; height:1px; margin:0 12px 3px 0; background:var(--xept-red); }

/* ---------- HOME VALUE STRIP ---------- */
.home-main { background:var(--xept-bg); }
.home-values {
    position:relative;
    z-index:5;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    border-bottom:1px solid var(--xept-line);
    background:linear-gradient(180deg,#050607,#07090b);
    padding:0 clamp(20px,5vw,82px);
}
.home-value {
    min-height:100px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:20px 25px;
    border-right:1px solid var(--xept-line);
}
.home-value:last-child { border-right:0; }
.home-value-icon { width:38px; color:var(--xept-red); font-size:30px; line-height:1; text-align:center; text-shadow:0 0 14px rgba(240,24,32,.3); }
.home-value strong { display:block; color:#fff; font-size:13px; font-weight:850; text-transform:uppercase; letter-spacing:.2px; }
.home-value small { display:block; margin-top:3px; color:#7f8992; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.55px; }

/* ---------- HOME MODULES ---------- */
.home-module-section {
    padding:82px clamp(22px,5.4vw,88px) 94px;
    background:
        radial-gradient(circle at 82% 20%,rgba(240,24,32,.055),transparent 27%),
        linear-gradient(180deg,#07090b,#050607);
}
.section-heading { max-width:1380px; margin:0 auto 32px; }
.section-kicker {
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:#ff3138;
    font-size:10px;
    font-weight:850;
    letter-spacing:2px;
    text-transform:uppercase;
}
.section-kicker::before { content:""; width:34px; height:2px; background:var(--xept-red); }
.section-heading h2,.home-story-copy h2,.home-partner-copy h2 {
    margin-top:8px;
    color:#f4f5f6;
    font-size:clamp(27px,3.3vw,48px);
    line-height:1.06;
    font-weight:900;
    letter-spacing:-1.2px;
    text-transform:uppercase;
}
.home-card-grid { max-width:1380px; margin:0 auto; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.home-card {
    position:relative;
    overflow:hidden;
    min-height:455px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:10px;
    background:linear-gradient(180deg,#0b0f13,#080b0e);
    box-shadow:0 20px 55px rgba(0,0,0,.28);
    transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.home-card::before {
    content:"";
    position:absolute;
    z-index:4;
    top:-1px; left:-1px;
    width:68px; height:68px;
    border-top:3px solid var(--xept-red);
    border-left:3px solid var(--xept-red);
    clip-path:polygon(0 0,100% 0,28% 8%,8% 28%,0 100%);
}
.home-card:hover { transform:translateY(-7px); border-color:rgba(240,24,32,.58); box-shadow:0 26px 70px rgba(0,0,0,.42),0 0 22px rgba(240,24,32,.07); }
.home-card-image { position:relative; height:225px; overflow:hidden; border-bottom:1px solid rgba(255,255,255,.09); background:#050607; }
.home-card-image::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(6,8,10,.70),transparent 52%); }
.home-card-image img { width:100%; height:100%; object-fit:cover; display:block; transform:scale(1.01); transition:transform .35s ease; }
.home-card:hover .home-card-image img { transform:scale(1.055); }
.home-card-number { position:absolute; z-index:3; top:18px; right:19px; color:rgba(255,255,255,.30); font-size:16px; font-weight:700; letter-spacing:1px; }
.home-card-body { position:relative; z-index:2; padding:27px 28px 30px; }
.home-card-rule { width:42px; height:3px; margin-bottom:15px; background:var(--xept-red); box-shadow:0 0 12px rgba(240,24,32,.4); }
.home-card h3 { color:#fff; font-size:23px; line-height:1.08; font-weight:900; text-transform:uppercase; }
.home-card p { min-height:68px; margin-top:11px; color:#aeb5bc; font-size:14px; line-height:1.55; }
.home-card a { display:inline-flex; align-items:center; gap:9px; margin-top:18px; color:#ff3138; text-decoration:none; font-size:12px; font-weight:850; text-transform:uppercase; }
.home-card a:hover { color:#fff; }

/* ---------- STORY ---------- */
.home-story {
    position:relative;
    min-height:390px;
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(340px,.85fr);
    align-items:stretch;
    overflow:hidden;
    border-top:1px solid var(--xept-line);
    border-bottom:1px solid var(--xept-line);
    background:#050607;
}
.home-story-art {
    min-height:390px;
    background:
        linear-gradient(90deg,transparent 62%,#050607 100%),
        url('images/xept_future_v2.webp') center/cover no-repeat;
    filter:saturate(.9) contrast(1.05);
}
.home-story-copy { display:flex; flex-direction:column; justify-content:center; padding:58px clamp(30px,5vw,88px) 58px 38px; }
.story-line { width:58px; height:3px; margin:19px 0 24px; background:var(--xept-red); box-shadow:0 0 15px rgba(240,24,32,.36); }
.home-story-copy .btn { align-self:flex-start; }

/* ---------- PARTNER TEASER ---------- */
.home-partner-teaser {
    max-width:1380px;
    margin:82px auto 94px;
    min-height:330px;
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);
    overflow:hidden;
    border:1px solid var(--xept-line);
    border-top:2px solid var(--xept-red);
    border-radius:10px;
    background:linear-gradient(135deg,#0c1014,#07090b);
    box-shadow:var(--xept-shadow);
}
.home-partner-image { min-height:330px; overflow:hidden; }
.home-partner-image img { width:100%; height:100%; object-fit:cover; display:block; }
.home-partner-copy { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:44px clamp(28px,4vw,58px); }
.home-partner-copy .btn { margin-top:25px; }

/* ---------- DYNAMIC DB PAGES ---------- */
.dynamic-page-section {
    padding:78px clamp(18px,6vw,96px) 96px;
    background:
        radial-gradient(circle at 85% 12%,rgba(240,24,32,.055),transparent 25%),
        linear-gradient(180deg,#07090b,#050607);
}
.dynamic-page-shell { max-width:1180px; margin:0 auto; }
.dynamic-page-frame { position:relative; padding:1px; background:linear-gradient(135deg,rgba(240,24,32,.9),rgba(255,255,255,.12) 25%,rgba(255,255,255,.08) 75%,rgba(240,24,32,.55)); border-radius:11px; box-shadow:var(--xept-shadow); }
.dynamic-page-frame::before { content:""; position:absolute; top:-2px; left:34px; width:92px; height:3px; background:var(--xept-red); box-shadow:0 0 18px rgba(240,24,32,.55); }
.dynamic-page-wrapper {
    overflow:hidden;
    padding:clamp(26px,4vw,52px);
    border-radius:10px;
    background:linear-gradient(145deg,rgba(14,18,22,.99),rgba(7,9,11,.99));
    color:#c8ced4;
    font-size:15px;
    line-height:1.78;
}
.dynamic-page-wrapper > *:first-child { margin-top:0 !important; }
.dynamic-page-wrapper h1,.dynamic-page-wrapper h2,.dynamic-page-wrapper h3,.dynamic-page-wrapper h4 { color:#fff !important; line-height:1.18; font-weight:850; }
.dynamic-page-wrapper h1 { font-size:clamp(28px,4vw,48px); }
.dynamic-page-wrapper h2 { margin:1.4em 0 .55em; font-size:clamp(21px,2.4vw,30px); }
.dynamic-page-wrapper h3 { margin:1.3em 0 .45em; font-size:20px; }
.dynamic-page-wrapper p { margin:.75em 0; }
.dynamic-page-wrapper p,.dynamic-page-wrapper div,.dynamic-page-wrapper span,.dynamic-page-wrapper li { color:inherit; }
.dynamic-page-wrapper strong { color:#fff; }
.dynamic-page-wrapper a { color:#ff343b; }
.dynamic-page-wrapper img { max-width:100%; height:auto; border-radius:8px; }
.dynamic-page-wrapper iframe {
    display:block;
    width:100% !important;
    max-width:100%;
    height:auto !important;
    aspect-ratio:16/9;
    border:0;
    border-radius:10px;
    background:#000;
    box-shadow:0 24px 60px rgba(0,0,0,.4);
}
.dynamic-page-webpartner .dynamic-page-wrapper { padding:12px; background:#050607; }
.dynamic-page-webpartner .dynamic-page-frame { max-width:1120px; margin:0 auto; }
.dynamic-page-back { display:inline-flex; margin-top:25px; color:#ff343b; text-decoration:none; font-size:12px; font-weight:850; text-transform:uppercase; letter-spacing:.45px; }
.dynamic-page-back:hover { color:#fff; }
.about-content { max-width:900px; }
.about-content .about-heading { display:none; }

/* ---------- FOOTER ---------- */
.site-footer {
    position:relative;
    overflow:hidden;
    border-top:1px solid rgba(240,24,32,.55);
    background:#030405;
}
.footer-glow { position:absolute; left:10%; right:10%; top:-1px; height:2px; background:linear-gradient(90deg,transparent,var(--xept-red),transparent); box-shadow:0 0 18px rgba(240,24,32,.55); }
.footer-main {
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.25fr .8fr .8fr 1fr;
    gap:42px;
    padding:52px clamp(22px,6vw,96px) 44px;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-logo img { width:164px; display:block; }
.footer-brand-line { margin-top:9px; color:#68717a; font-size:9px; font-weight:750; letter-spacing:2px; }
.footer-title { margin-bottom:15px; color:#fff; font-size:12px; font-weight:850; text-transform:uppercase; letter-spacing:.8px; }
.footer-links { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.footer-links a { color:#858e97; text-decoration:none; font-size:12px; font-weight:600; }
.footer-links a:hover { color:#ff343b; }
.footer-statement { justify-self:end; text-align:right; }
.footer-statement span { color:#ff343b; font-size:10px; font-weight:850; letter-spacing:2px; }
.footer-statement strong { display:block; margin-top:8px; color:#e3e6e8; font-size:19px; line-height:1.25; letter-spacing:.5px; }
.footer-bottom { min-height:68px; display:flex; align-items:center; gap:24px; padding:0 clamp(22px,6vw,96px); color:#606a74; font-size:10px; text-transform:uppercase; letter-spacing:.45px; }
.footer-bottom-line { flex:1; height:1px; background:linear-gradient(90deg,rgba(255,255,255,.08),rgba(240,24,32,.55),transparent); }

/* ---------- SHOP IMAGE SAFETY ---------- */
.shop-card-image,.shop-detail-main-image,.shop-thumb { object-fit:contain !important; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:1120px) {
    .site-header { gap:16px; padding-inline:24px; }
    .site-nav a { padding-inline:9px; font-size:11px; }
    .hero { padding-inline:48px; }
    .hero-side-mark { display:none; }
    .hero { grid-template-columns:1fr; }
    .home-card-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .footer-main { grid-template-columns:1.2fr .8fr .8fr; }
    .footer-statement { display:none; }
}

@media (max-width:980px) {
    .site-header { grid-template-columns:auto 1fr; min-height:72px; padding:9px 18px; }
    .site-logo img { width:126px; }
    .site-nav {
        display:none;
        position:fixed;
        z-index:1100;
        top:72px;
        left:0;
        right:0;
        max-height:calc(100vh - 72px);
        overflow:auto;
        flex-direction:column;
        align-items:stretch;
        justify-content:flex-start;
        gap:0;
        padding:14px 18px 24px;
        background:rgba(4,5,6,.985);
        border-top:1px solid rgba(240,24,32,.42);
        box-shadow:0 35px 70px rgba(0,0,0,.55);
    }
    .site-nav.open { display:flex; }
    .site-nav a { padding:15px 6px; border-bottom:1px solid rgba(255,255,255,.075); font-size:13px; }
    .site-nav a::after { left:6px; right:auto; width:36px; bottom:8px; }
    .header-actions { grid-column:2; grid-row:1; }
    .mobile-menu-toggle { display:flex; }
    .hero { min-height:650px; padding:128px 30px 70px; background-position:63% center; }
    .hero::before { background:linear-gradient(90deg,rgba(2,3,4,.98),rgba(2,3,4,.83) 48%,rgba(2,3,4,.3) 80%),linear-gradient(0deg,rgba(2,3,4,.96),transparent 42%); }
    .home-values { grid-template-columns:1fr 1fr; padding:0; }
    .home-value { border-bottom:1px solid var(--xept-line); }
    .home-value:nth-child(2) { border-right:0; }
    .home-value:nth-last-child(-n+2) { border-bottom:0; }
    .home-card-grid { grid-template-columns:1fr 1fr; }
    .home-card:last-child { grid-column:1/-1; }
    .home-story { grid-template-columns:1fr; }
    .home-story-art { min-height:310px; background-position:left center; }
    .home-story-copy { padding:45px 30px 55px; }
    .home-partner-teaser { margin:60px 24px 72px; }
}

@media (max-width:720px) {
    .site-header { padding-inline:12px; }
    .site-logo img { width:105px; }
    .header-actions { gap:5px; }
    .lang-current { min-height:38px; padding:0 3px; }
    .lang-globe { display:none; }
    .header-account-button { min-height:38px; padding:0 11px; font-size:10px; }
    .mobile-menu-toggle { width:38px; height:38px; }
    .hero { min-height:610px; padding:108px 18px 58px; align-items:end; background-position:69% center; }
    .hero::before { background:linear-gradient(0deg,rgba(2,3,4,.99) 0%,rgba(2,3,4,.91) 48%,rgba(2,3,4,.45) 100%); }
    .hero-grid-lines { display:none; }
    .hero-eyebrow { font-size:9px; letter-spacing:1.5px; }
    .hero-eyebrow::before { width:26px; }
    .hero h1 { font-size:clamp(36px,12vw,58px); line-height:.96; letter-spacing:-1.5px; }
    .hero p { margin-top:17px; font-size:14px; line-height:1.55; }
    .hero-actions { margin-top:24px; }
    .hero-actions .btn { flex:1 1 150px; }
    .hero-inner { min-height:490px; }
    .home-values { grid-template-columns:1fr; }
    .home-value { min-height:78px; padding:15px 18px; border-right:0; border-bottom:1px solid var(--xept-line) !important; }
    .home-value:last-child { border-bottom:0 !important; }
    .home-value-icon { width:32px; font-size:25px; }
    .home-module-section { padding:55px 14px 64px; }
    .section-heading { margin-bottom:24px; padding:0 3px; }
    .section-heading h2,.home-story-copy h2,.home-partner-copy h2 { font-size:clamp(26px,8vw,38px); }
    .home-card-grid { grid-template-columns:1fr; gap:14px; }
    .home-card:last-child { grid-column:auto; }
    .home-card { min-height:0; }
    .home-card-image { height:205px; }
    .home-card-body { padding:22px 22px 25px; }
    .home-card p { min-height:0; }
    .home-story-art { min-height:235px; }
    .home-partner-teaser { grid-template-columns:1fr; margin:48px 14px 60px; }
    .home-partner-image { min-height:220px; }
    .home-partner-copy { padding:30px 22px 34px; }
    .dynamic-page-section { padding:48px 12px 62px; }
    .dynamic-page-wrapper { padding:24px 18px; font-size:14px; overflow-wrap:anywhere; }
    .dynamic-page-webpartner .dynamic-page-wrapper { padding:5px; }
    .footer-main { grid-template-columns:1fr 1fr; gap:32px 24px; padding:40px 20px 34px; }
    .footer-brand { grid-column:1/-1; }
    .footer-bottom { min-height:76px; padding:18px 20px; flex-direction:column; align-items:flex-start; gap:12px; }
    .footer-bottom-line { width:100%; flex:none; }
    .customer-profile-popup { top:78px; right:10px; left:10px; max-width:none; }
}

@media (max-width:430px) {
    .site-logo img { width:92px; }
    .header-account-button { padding-inline:9px; }
    .lang-current { font-size:10px; }
    .hero { min-height:570px; }
    .hero-actions { display:grid; grid-template-columns:1fr; }
    .home-card-image { height:185px; }
    .footer-main { grid-template-columns:1fr; }
    .footer-brand { grid-column:auto; }
}

/* ==========================================================
   XEPT V2 – DB CONTENT READABILITY FIX
   Existing website texts were authored for the old light theme
   and may contain inline colors such as #333 / #666 / #0056b3.
   Normalize them for the dark frontend without changing DB data.
   ========================================================== */
.dynamic-page-wrapper,
.dynamic-page-wrapper > div,
.dynamic-page-wrapper p,
.dynamic-page-wrapper li,
.dynamic-page-wrapper td,
.dynamic-page-wrapper th {
    color: #cbd2d8 !important;
}

.dynamic-page-wrapper h1,
.dynamic-page-wrapper h2,
.dynamic-page-wrapper h3,
.dynamic-page-wrapper h4,
.dynamic-page-wrapper h5,
.dynamic-page-wrapper h6,
.dynamic-page-wrapper h1 span,
.dynamic-page-wrapper h2 span,
.dynamic-page-wrapper h3 span,
.dynamic-page-wrapper h4 span {
    color: #ffffff !important;
}

.dynamic-page-wrapper strong,
.dynamic-page-wrapper b {
    color: #f5f7f8 !important;
}

.dynamic-page-wrapper a,
.dynamic-page-wrapper a:visited {
    color: #ff343b !important;
}

.dynamic-page-wrapper a:hover,
.dynamic-page-wrapper a:focus-visible {
    color: #ffffff !important;
}

/* Old DB accent colors are converted into the XEPT red accent. */
.dynamic-page-wrapper [style*="#0056b3"],
.dynamic-page-wrapper [style*="#0056B3"],
.dynamic-page-wrapper [style*="#E60000"],
.dynamic-page-wrapper [style*="#e60000"] {
    color: #ff343b !important;
}

/* Legal pages: intro copy should be muted, but still readable. */
.dynamic-page-datenschutz .legal-container > p:first-of-type {
    color: #98a2ab !important;
}

.dynamic-page-datenschutz .legal-section,
.dynamic-page-impressum .dynamic-page-wrapper {
    color: #cbd2d8;
}

@media (max-width: 700px) {
    .dynamic-page-wrapper,
    .dynamic-page-wrapper p,
    .dynamic-page-wrapper li {
        font-size: 15px;
        line-height: 1.72;
    }
}

/* Footer legal links are DB-driven and must stay visibly readable. */
.site-footer .footer-legal-links a,
.site-footer .footer-legal-links a:visited {
    display: inline-flex;
    color: #b7c0c8 !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.site-footer .footer-legal-links a:hover,
.site-footer .footer-legal-links a:focus-visible {
    color: #ff343b !important;
}

/* *****************************************************************************************
   SHOP-RECHTSTEXTE UND WIDERRUFSFUNKTION
   ***************************************************************************************** */

.footer-withdrawal-button,
.footer-withdrawal-button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin-top: 12px;
    padding: 9px 12px;
    border: 1px solid #ff343b;
    border-radius: 6px;
    color: #ffffff !important;
    background: rgba(240, 24, 32, 0.16);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.footer-withdrawal-button:hover,
.footer-withdrawal-button:focus-visible {
    background: #ff343b;
    color: #ffffff !important;
}

/* Widerrufsseite: Formular und Rechtstext in einer lesbaren, responsiven Spalte. */
.shop-legal-section {
    width: min(100% - 32px, 1080px);
    max-width: 1080px;
    min-width: 0;
    margin: 110px auto 64px;
    overflow-wrap: anywhere;
}

.shop-legal-section .shop-legal-document {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 32px 0 0;
    padding: 24px clamp(16px, 3vw, 36px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    background: #0b0e11;
    color: #dce2e7;
    overflow-wrap: anywhere;
}

.shop-legal-section .shop-legal-document h2 {
    margin: 26px 0 12px;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.3;
    color: #ffffff;
}

.shop-legal-section .shop-legal-document h2:first-of-type {
    margin-top: 0;
}

.shop-legal-section .shop-legal-document p {
    margin: 0 0 14px;
    line-height: 1.75;
}

.shop-legal-section .shop-withdrawal-template {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

@media (max-width: 700px) {
    .shop-legal-section {
        width: calc(100% - 24px);
        margin-top: 96px;
        margin-bottom: 40px;
    }
    .shop-withdrawal-form {
        padding: 14px;
    }
}

.shop-legal-stand {
    margin-bottom: 24px;
    color: #98a2ab;
}

.shop-legal-document h2,
.shop-legal-section h2 {
    margin-top: 28px;
}

.shop-legal-document p,
.shop-legal-section p {
    line-height: 1.7;
}

.shop-legal-highlight,
.shop-legal-success,
.shop-legal-error {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 7px;
    line-height: 1.6;
}

.shop-legal-highlight {
    border: 1px solid rgba(255, 52, 59, 0.55);
    background: rgba(255, 52, 59, 0.08);
}

.shop-legal-success {
    border: 1px solid rgba(46, 204, 113, 0.45);
    background: rgba(46, 204, 113, 0.08);
}

.shop-legal-error {
    border: 1px solid rgba(255, 52, 59, 0.55);
    background: rgba(255, 52, 59, 0.10);
}

.shop-withdrawal-form {
    margin: 24px 0 30px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    background: #0b0e11;
}

.shop-withdrawal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.shop-withdrawal-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shop-withdrawal-field.is-wide {
    grid-column: 1 / -1;
}

.shop-withdrawal-field label {
    color: #dfe4e8;
    font-size: 12px;
    font-weight: 800;
}

.shop-withdrawal-field input,
.shop-withdrawal-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 6px;
    background: #07090b;
    color: #ffffff;
    font: inherit;
}

.shop-withdrawal-field textarea {
    resize: vertical;
}

.shop-withdrawal-confirm {
    margin-top: 18px;
}

.shop-withdrawal-submit {
    margin-top: 18px;
    padding: 11px 18px;
    border: 1px solid #ff343b;
    border-radius: 6px;
    background: #e3171e;
    color: #ffffff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.shop-withdrawal-submit:hover,
.shop-withdrawal-submit:focus-visible {
    background: #ff343b;
}

.shop-withdrawal-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.shop-withdrawal-template {
    overflow-x: auto;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 7px;
    background: #07090b;
    color: #dce2e7;
    white-space: pre-wrap;
    line-height: 1.55;
}

.shop-legal-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
}

@media (max-width: 700px) {
    .shop-withdrawal-grid {
        grid-template-columns: 1fr;
    }

    .shop-withdrawal-field.is-wide {
        grid-column: auto;
    }
}

/* ***************************************************************************************** */
