
/* ============================================================
   PREMIUM ANIMATION ENGINE — CSS v2
   ============================================================ */

/* ── Scroll Progress Bar ──────────────────────────────────── */
.ml-scroll-bar {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #c4a261, #c4a261, #c4a261);
    transform-origin: left center;
    transform: scaleX(0);
    z-index: 9999;
    pointer-events: none;
}

/* ── Header Logo Morph ────────────────────────────────────── */
.logo-text-full {
    display: inline-block;
    max-width: 180px;
    opacity: 1;
    letter-spacing: 0.06em;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle;
    transition: max-width 0.55s cubic-bezier(0.16,1,0.3,1),
                opacity 0.3s ease,
                letter-spacing 0.5s ease;
}
.logo-text-short {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    font-weight: 700;
    letter-spacing: 0.02em;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle;
    transition: max-width 0.55s cubic-bezier(0.16,1,0.3,1),
                opacity 0.3s ease 0.15s;
}
header.logo-collapsed .logo-text-full { max-width: 0; opacity: 0; letter-spacing: -0.04em; }
header.logo-collapsed .logo-text-short { max-width: 60px; opacity: 1; }
header.logo-collapsed .logo-icon { transform: scale(1.12); }

/* ── Cursor Glow ──────────────────────────────────────────── */
.ml-cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196,162,97,0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    will-change: transform;
    transition: background 0.4s ease;
}
.ml-cursor-glow.active {
    background: radial-gradient(circle, rgba(196,162,97,0.13) 0%, rgba(196,162,97,0.05) 50%, transparent 70%);
}
.ml-cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(129,140,248,0.88);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 9998;
    will-change: transform;
    transition: width 0.2s, height 0.2s, background 0.2s;
}
.ml-cursor-dot.active { width: 16px; height: 16px; margin: -3px; background: rgba(196,162,97,0.95); }

/* ── Card Tilt Shine ──────────────────────────────────────── */
.card-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

/* ── Hero Node Explorer ───────────────────────────────────── */
.hero-graphic-container { position: relative; overflow: visible !important; }
.hero-neural-cortex {
    position:absolute;
    inset:5%;
    z-index:1;
    width:90%;
    height:90%;
    overflow:visible;
    pointer-events:none;
    opacity:.58;
    filter:drop-shadow(0 0 8px rgba(196,162,97,.2));
}
.cortex-outline,.cortex-branches path {
    fill:none;
    stroke:#b08c48;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.cortex-outline { stroke-width:1.5;stroke-dasharray:4 8;animation:cortex-flow 9s linear infinite; }
.cortex-branches path { stroke-width:1.15;stroke-dasharray:5 20;animation:cortex-flow 4.8s linear infinite; }
.cortex-branches path:nth-child(2){animation-direction:reverse;animation-duration:6.1s}
.cortex-peaks circle{fill:#c4a261;transform-box:fill-box;transform-origin:center;animation:cortex-peak 3s ease-in-out infinite}.cortex-peaks circle:nth-child(3n+1){animation-delay:-1s}.cortex-peaks circle:nth-child(3n+2){animation-delay:-2s}
@keyframes cortex-flow{to{stroke-dashoffset:-80}}
@keyframes cortex-peak{0%,100%{opacity:.2;transform:scale(.55)}50%{opacity:1;transform:scale(1.45)}}

/* Seitenweites neuronales Resonanzfeld. Standardmaessig unsichtbar; die
   Naeherungslogik am Shield aktiviert nur Opacity und Compositing. */
.page-neural-field {
    position: fixed;
    inset: 0;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    opacity: 0;
    transition: opacity .65s ease;
    filter: drop-shadow(0 0 9px rgba(196,162,97,.18));
}
body.neural-field-active .page-neural-field { opacity: .58; }
.page-neural-strands path {
    fill: none;
    stroke: rgba(138,109,51,.34);
    stroke-width: 1.25;
    stroke-dasharray: 3 12 1 18;
    animation: page-neural-flow 5.5s linear infinite;
}
.page-neural-strands path:nth-child(even) { animation-direction: reverse; animation-duration: 7.2s; }
.page-neural-nodes circle {
    fill: #c4a261;
    opacity: .38;
    transform-box: fill-box;
    transform-origin: center;
    animation: page-neural-peak 2.6s ease-in-out infinite;
}
.page-neural-nodes circle:nth-child(3n+1) { animation-delay: -.8s; }
.page-neural-nodes circle:nth-child(3n+2) { animation-delay: -1.6s; }
body.neural-field-active .hero-badge { border-color:rgba(196,162,97,.78);box-shadow:0 0 0 6px rgba(196,162,97,.08),0 14px 38px rgba(9,12,28,.1);transform:translateY(-2px);transition:all .55s ease; }
body.neural-field-active .hero h1 { letter-spacing:-.035em;transform:translateX(5px);transition:letter-spacing .7s ease,transform .7s ease; }
body.neural-field-active .hero-description { color:#202536;transform:translateX(3px);transition:color .7s ease,transform .7s ease; }
body.neural-field-active .hero-stat { transform:translateY(-3px);transition:transform .5s ease,background .5s ease;background:rgba(255,255,255,.48); }
body.neural-field-active .hero-stat:nth-child(2){transition-delay:.08s}body.neural-field-active .hero-stat:nth-child(3){transition-delay:.16s}body.neural-field-active .hero-stat:nth-child(4){transition-delay:.24s}
body.neural-field-active .hero-stat-value { color:#8a6d33;transition:color .45s ease; }
body.neural-field-active .hero-neural-cortex { opacity:1;filter:drop-shadow(0 0 18px rgba(196,162,97,.48));transition:opacity .5s ease,filter .5s ease; }

/* Neural-Core-Modus: Das Canvas verbindet die Inhaltsgruppen optisch mit
   dem Shield. Header und Navigation liegen ausserhalb dieses Wirkraums. */
.hero { --core-pull-x:34px;--core-pull-y:0px; }
.hero .hero-grid { position:relative;z-index:3; }
.neural-bridge-canvas {
    position:absolute;
    inset:0;
    z-index:2;
    width:100%;
    height:100%;
    pointer-events:none;
    opacity:0;
    transition:opacity 180ms ease-out;
}
body.neural-core-engaged .neural-bridge-canvas { opacity:1; }
.hero .hero-content,
.hero .hero-content > *,
.hero .hero-content h1 > span,
.hero .hero-stat {
    transition:transform 180ms ease-out,opacity 180ms ease-out;
}
body.neural-core-engaged .hero .hero-content { transform:translate3d(13px,var(--core-pull-y),0); }
body.neural-core-engaged .hero .hero-badge { transform:translate3d(17px,-6px,0) scale(.985); }
body.neural-core-engaged .hero h1 { transform:translate3d(38px,var(--core-pull-y),0);letter-spacing:-.058em; }
body.neural-core-engaged .hero h1 > span:first-child { transform:translate3d(18px,-5px,0); }
body.neural-core-engaged .hero h1 > span:last-child { transform:translate3d(49px,7px,0); }
body.neural-core-engaged .hero .hero-description { transform:translate3d(41px,var(--core-pull-y),0);letter-spacing:.027em; }
body.neural-core-engaged .hero .hero-actions { transform:translate3d(29px,4px,0); }
body.neural-core-engaged .hero .hero-nebenweg { transform:translate3d(20px,-2px,0);letter-spacing:.055em; }
body.neural-core-engaged .hero .hero-stats { transform:translate3d(16px,0,0); }
body.neural-core-engaged .hero .hero-stat:nth-child(1){transform:translate3d(-8px,-5px,0)}
body.neural-core-engaged .hero .hero-stat:nth-child(2){transform:translate3d(-2px,5px,0)}
body.neural-core-engaged .hero .hero-stat:nth-child(3){transform:translate3d(5px,-4px,0)}
body.neural-core-engaged .hero .hero-stat:nth-child(4){transform:translate3d(11px,5px,0)}
body.neural-core-engaged .hero-shield-image { transform:none!important; }
body.neural-core-engaged .hero-neural-cortex { transform:scale(1.12) rotate(1.2deg);opacity:1; }
body.neural-core-engaged .page-neural-field { opacity:.82; }

/* Die Originaltexte bleiben fuer Layout, Screenreader und Uebersetzung im
   Dokument. Visuelle Wortkopien uebernehmen waehrend des Lernvorgangs den
   Weg zum Shield; danach kehren sie exakt an ihre Quelle zurueck. */
.neural-word-layer { position:absolute;inset:0;z-index:5;pointer-events:none;overflow:hidden; }
.neural-word-particle { position:absolute;white-space:pre;transform-origin:center;will-change:transform,opacity; }
body.neural-words-consumed .hero h1,
body.neural-words-consumed .hero .hero-description,
body.neural-words-consumed .hero .hero-badge,
body.neural-words-consumed .hero .hero-actions,
body.neural-words-consumed .hero .hero-nebenweg,
body.neural-words-consumed .hero .hero-stats {
    opacity:.055;
    transform:translate3d(92px,var(--core-pull-y),0) scale(.975);
    transition:transform 900ms ease-out,opacity 900ms ease-out;
}

@media (max-width:760px), (pointer:coarse) {
    .page-neural-field,
    .hero .hero-neural-cortex,
    .hero #hero-ai-canvas,
    .hero .node-svg,
    .hero .node-explorer,
    .hero .neural-bridge-canvas,
    .hero .neural-word-layer { display:none!important; }
    .hero .hero-shield-image { transform:none!important;animation:none!important; }
}
@keyframes page-neural-flow { to { stroke-dashoffset: -68; } }
@keyframes page-neural-peak {
    0%,100% { opacity:.22;transform:scale(.65); }
    45% { opacity:.9;transform:scale(1.55); }
}
@media (prefers-reduced-motion: reduce) {
    .page-neural-field { display:none; }
    .neural-bridge-canvas { display:none; }
    .hero .hero-content,.hero .hero-content > *,.hero .hero-content h1 > span,.hero .hero-stat { transition:none!important;transform:none!important; }
    .hero-neural-cortex * { animation:none !important; }
}

.node-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: visible;
}
.neural-filament {
    stroke: rgba(138,109,51,0.28);
    stroke-width: 0.28;
    stroke-dasharray: 1.2 2.4;
    animation: neural-current 4.8s linear infinite;
}
.neural-filament--faint { opacity: 0.42; stroke-width: 0.18; }
.neural-synapse {
    fill: #c4a261;
    opacity: 0.36;
    transform-box: fill-box;
    transform-origin: center;
    animation: synapse-breathe 2.8s ease-in-out infinite;
    filter: drop-shadow(0 0 2px rgba(196,162,97,0.65));
}
.hero-graphic-container.neural-proximity .neural-filament {
    opacity:.92;
    stroke-width:.48;
    animation-duration:1.35s;
}
.hero-graphic-container.neural-proximity .neural-filament--faint { opacity:.62; }
.hero-graphic-container.neural-proximity .neural-synapse {
    opacity:1;
    animation-duration:.9s;
    filter:drop-shadow(0 0 5px rgba(196,162,97,.9));
}
.hero-graphic-container.neural-proximity .cortex-outline { opacity:.9;animation-duration:3.2s; }
.hero-graphic-container.neural-proximity .cortex-branches path { opacity:1;animation-duration:1.45s; }
.hero-graphic-container.neural-proximity .cortex-peaks circle { animation-duration:.8s; }
.hero-graphic-container.neural-proximity .node-line { opacity:.72;animation-duration:1.15s; }
@keyframes neural-current { to { stroke-dashoffset: -24; } }
@keyframes synapse-breathe {
    0%,100% { opacity: 0.24; transform: scale(0.72); }
    50% { opacity: 0.9; transform: scale(1.45); }
}
.node-line {
    stroke-width: 0.6;
    stroke-dasharray: 4 3;
    opacity: 0.35;
    animation: dash-flow 3s linear infinite;
    transition: opacity 0.3s, stroke-width 0.3s;
}
.node-line.line-active { opacity: 0.90; stroke-width: 1.2; animation-duration: 1.1s; }
/* Neuronales Feuern (30.07.2026): eine Kante leuchtet kurz auf, waehrend
   das Signal zum Zielknoten laeuft. */
.node-line.line-fire { opacity: 1; stroke-width: 1.4; animation-duration: 0.45s; }
@keyframes dash-flow { to { stroke-dashoffset: -28; } }

.node-explorer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

.node-center-ring {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%,-50%);
    width: 64px; height: 64px;
    border-radius: 50%;
    border: 1.5px solid rgba(196,162,97,0.35);
    animation: center-pulse 2.8s ease-in-out infinite;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.72);
    box-shadow: 0 0 0 12px rgba(196,162,97,0.06), 0 0 36px rgba(196,162,97,0.18);
}
.node-center-ring span { color:#0b1630;font:800 .62rem/1 var(--font-heading);letter-spacing:.12em; }
.node-center-ring small { margin-top:.24rem;color:#8a6d33;font:700 .31rem/1 var(--font-mono);letter-spacing:.12em; }
@keyframes center-pulse {
    0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%,-50%) scale(1.6); opacity: 0.1; }
}

/* Knoten sind seit 30.07.2026 LINKS (<a>) auf ihre Seiten. */
.node-item {
    position: absolute;
    transform: translate(-50%,-50%);
    pointer-events: auto;
    cursor: pointer;
    z-index: 4;
    text-decoration: none;
    color: inherit;
}
.node-item:focus-visible {
    outline: 2px solid var(--color-gold-text, #8a6d33);
    outline-offset: 6px;
    border-radius: 50%;
}
/* Knoten in der oberen Netzhaelfte tragen ihr Label OBEN, damit es nicht
   ins Schild bzw. in innere Kanten laeuft. */
.node-item.label-oben .node-label {
    top: auto;
    bottom: calc(100% + 15px);
}
/* Innere Schicht: etwas kleinere Punkte — liest sich als tiefere Ebene. */
.node-item.node-innen .node-dot { width: 10px; height: 10px; }
.node-item.node-innen .node-label { font-size: 0.68rem; opacity: 1; }
.node-dot {
    width: 13px; height: 13px;
    border-radius: 50%;
    background: var(--nc, #c4a261);
    box-shadow: 0 0 10px var(--nc, #c4a261);
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
    position: relative; z-index: 2;
}
.node-pulse-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 13px; height: 13px;
    border-radius: 50%;
    border: 1.5px solid var(--nc, #c4a261);
    opacity: 0;
    animation: node-ping 2.8s ease-out infinite;
    pointer-events: none;
}
.node-item.pulsing .node-pulse-ring { animation-duration: 1.4s; opacity: 1; }
.node-item.pulsing .node-dot {
    transform: scale(1.5);
    box-shadow: 0 0 20px var(--nc, #c4a261), 0 0 35px rgba(196,162,97,0.25);
}
.hero-graphic-container.neural-activation .hero-shield-image {
    animation: shield-neural-hit .82s cubic-bezier(.18,.8,.25,1);
}
.hero-graphic-container.neural-activation .node-center-ring {
    border-color: rgba(196,162,97,.95);
    box-shadow: 0 0 0 18px rgba(196,162,97,.08), 0 0 52px rgba(196,162,97,.42);
}
@keyframes shield-neural-hit {
    0%,100% { filter:drop-shadow(0 20px 30px rgba(9,9,14,.28)) drop-shadow(0 0 26px rgba(196,162,97,.35)); }
    42% { filter:drop-shadow(0 22px 32px rgba(9,9,14,.3)) drop-shadow(0 0 38px rgba(196,162,97,.62)); }
}
@keyframes node-ping {
    0% { transform: translate(-50%,-50%) scale(1); opacity: 0.75; }
    100% { transform: translate(-50%,-50%) scale(3.8); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .neural-filament,.neural-synapse,.hero-graphic-container.neural-activation .hero-shield-image { animation:none !important; }
}

.node-label {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    /* Hell-Editorial (30.07.2026): dunkle Labels auf hellem Hero —
       das fruehere Hell-Lila stammte vom dunklen Hero und war unlesbar. */
    color: rgba(22, 27, 40, 0.94);
    white-space: nowrap;
    pointer-events: none;
    transition: color 0.3s;
}
.node-item.hovered .node-label, .node-item.pulsing .node-label { color: var(--color-gold-text, #8a6d33); }

.node-popup {
    position: absolute;
    bottom: calc(100% + 22px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 210px;
    background: rgba(7,8,25,0.96);
    border: 1px solid rgba(196,162,97,0.28);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.35s cubic-bezier(0.16,1,0.3,1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 10;
    box-shadow: 0 20px 60px rgba(0,0,0,0.65);
}
.node-item.hovered .node-popup {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.node-popup strong { display: block; color: #f0f0ff; font-size: 0.83rem; font-weight: 700; margin-bottom: 0.45rem; }
.node-popup p { color: rgba(190,190,240,0.70); font-size: 0.74rem; line-height: 1.6; margin: 0 0 0.8rem; }
.node-link { font-size: 0.71rem; font-weight: 700; color: var(--nc, #c4a261); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.node-link:hover { color: #fff; }
.node-item.hovered .node-dot { transform: scale(1.7); box-shadow: 0 0 22px var(--nc, #c4a261), 0 0 44px rgba(196,162,97,0.22); }

.node-explorer-hint {
    position: absolute;
    bottom: -1.8rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.60rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(70, 70, 84, 0.65);
    white-space: nowrap;
    pointer-events: none;
    animation: hint-bob 2.5s ease-in-out infinite;
    z-index: 3;
}
@keyframes hint-bob {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(-4px); opacity: 0.9; }
}

/* ── Expandable Live Panels ───────────────────────────────── */
.live-panels-section { position: relative; overflow: hidden; padding: 0; }
.panels-header { padding: 5rem 0 3rem; }
.panels-header .section-header { border-top: 1px solid var(--color-border); padding-top: 3rem; margin-bottom: 0; }

.panels-wrapper {
    display: flex;
    height: 70vh;
    min-height: 460px;
    max-height: 680px;
}
.panel-item {
    flex: 0.08;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.85s cubic-bezier(0.16,1,0.3,1);
    border-left: 1px solid rgba(255,255,255,0.05);
}
.panel-item:first-child { border-left: none; }
.panel-item.active  { flex: 1; }
.panel-item.hovered { flex: 0.18; }

.panel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.panel-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(5,6,15,0.55) 0%, transparent 60%),
        linear-gradient(to top, rgba(5,6,15,0.92) 0%, transparent 55%);
    z-index: 1;
}

.panel-label-vertical {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(200,200,255,0.50);
    opacity: 1;
    transition: opacity 0.25s;
    pointer-events: none;
}
.panel-item.active .panel-label-vertical { opacity: 0; }

.panel-tag { font-family: var(--font-mono); font-size: 0.68rem; color: rgba(200,200,255,0.40); letter-spacing: 0.1em; display: block; margin-bottom: 0.9rem; }

.panel-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 3rem 3.5rem;
    z-index: 2;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.5s 0.28s cubic-bezier(0.16,1,0.3,1),
                transform 0.5s 0.28s cubic-bezier(0.16,1,0.3,1);
    pointer-events: none;
}
.panel-item.active .panel-content { opacity: 1; transform: translateY(0); pointer-events: auto; }

.panel-content h3 {
    font-size: clamp(1.4rem, 2.2vw, 2.1rem);
    font-weight: 800; color: #f0f0ff;
    margin: 0 0 0.85rem; letter-spacing: -0.03em;
}
.panel-content p { color: rgba(200,200,255,0.70); font-size: 0.93rem; line-height: 1.7; max-width: 430px; margin: 0 0 1.75rem; }

.panel-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--panel-color, #c4a261);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.65s cubic-bezier(0.16,1,0.3,1);
    z-index: 5;
}
.panel-item.active::after { transform: scaleX(1); }

@media (max-width: 768px) {
    .panels-wrapper { flex-direction: column; height: auto; max-height: none; }
    .panel-item { flex: none; height: 65px; border-left: none; border-top: 1px solid rgba(255,255,255,0.05); }
    .panel-item.active { height: 360px; }
    .panel-label-vertical { transform: rotate(0); bottom: 50%; left: 1.5rem; top: auto; }
    .panel-content { padding: 1.5rem 2rem; }
}

/* ── Product Carousel ─────────────────────────────────────── */
.product-carousel-wrap { position: relative; overflow: hidden; }
.carousel-track-wrapper { overflow: hidden; position: relative; }
.carousel-track { display: flex; transition: transform 0.58s cubic-bezier(0.16,1,0.3,1); will-change: transform; }
.carousel-slide { min-width: 100%; flex-shrink: 0; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.carousel-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(8,9,28,0.80);
    backdrop-filter: blur(8px);
    color: rgba(200,200,255,0.85);
    font-size: 1.4rem; line-height: 1;
    cursor: pointer; z-index: 5;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.carousel-btn:hover { background: rgba(196,162,97,0.55); border-color: rgba(196,162,97,0.65); transform: translateY(-50%) scale(1.12); color: #fff; }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

.carousel-dots-bar {
    position: absolute;
    bottom: 10px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px; z-index: 5;
}
.carousel-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.28); border: none; cursor: pointer; transition: background 0.25s, width 0.35s, border-radius 0.35s; padding: 0; }
.carousel-dot.active { background: rgba(196,162,97,0.95); width: 22px; border-radius: 3.5px; }

.carousel-counter { font-family: var(--font-mono); font-size: 0.68rem; color: rgba(150,150,180,0.55); margin-left: auto; padding-right: 0.5rem; letter-spacing: 0.05em; align-self: center; }

/* ── Word Reveal ──────────────────────────────────────────── */
@keyframes ml-word-in {
    from { opacity: 0; transform: translateY(22px) skewY(2deg); }
    to   { opacity: 1; transform: translateY(0) skewY(0deg); }
}
.ml-word-reveal { display: inline-block; opacity: 0; animation: ml-word-in 0.75s cubic-bezier(0.16,1,0.3,1) forwards; }

/* ── Panel video ──────────────────────────────────────────── */
.panel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; z-index: 0; pointer-events: none; }
