:root {
    --accent: #128c46;
    --accent-dark: #0a5c2e;
    --accent2: #9EC5A8;
    --red: #e8001e;
    --red-dark: #b8001a;
    --dark: #1a1a1a;
    --muted: #555;
    --light: #f2f3f4;
    --white: #ffffff;
    --pad: 70px;
}

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

body {
    font-family: "Frutiger", Arial, sans-serif;
    background: #e6e7e8;
    color: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ══ HERO mit Video ══ */
.xr-hero {
    position: relative;
    height: 55vh;
    min-height: 480px;
    max-height: 520px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.xr-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}


.xr-hero-overlay::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 40% 50% at 80% 10%, rgba(232,0,30,0.18) 0%, transparent 55%);
}

.xr-hero-content {
    position: relative; z-index: 2;
    padding: 0 var(--pad) 80px;
}

.xr-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(232,0,30,0.18);
    border: 1px solid rgba(232,0,30,0.4);
    color: #ffa0ae;
    font-size: 0.7rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 999px;
    margin-bottom: 20px;
}
.xr-eyebrow::before {
    content: ''; width: 5px; height: 5px;
    background: var(--red); border-radius: 50%;
    flex-shrink: 0;
}

.xr-hero-title {
    font-size: 100px;
    font-weight: 700; color: var(--white);
    line-height: 0.9; letter-spacing: -0.02em;
}

.xr-hero-title .x { color: #fd8081; }   /* X = rosa */
.xr-hero-title .r { color: var(--red); } /* R = rot */
.xr-hero-title .expo {
    color: rgba(255,255,255,0.70);
}


.xr-hero-year {
    font-size: 96px;
    font-weight: 400; color: rgba(255,255,255,0.5);
    line-height: 0.9; letter-spacing: -0.02em;
    margin-bottom: 28px;
}

.xr-hero-meta {
    display: flex; align-items: center; gap: 18px;
    flex-wrap: wrap; margin-bottom: 32px;
}
.xr-meta-item {
    display: flex; align-items: center; gap: 7px;
    color: rgba(255,255,255,0.6); font-size: 0.88rem;
}
.xr-meta-divider { width: 1px; height: 16px; background: rgba(255,255,255,0.18); }

.xr-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-red {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--red); color: var(--white);
    font-family: "Frutiger", Arial, sans-serif;
    font-size: 0.9rem; font-weight: 700;
    text-decoration: none; padding: 13px 28px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.15s;
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 7px;
    background: transparent; color: rgba(255,255,255,0.7);
    font-family: "Frutiger", Arial, sans-serif;
    font-size: 0.9rem; font-weight: 500;
    text-decoration: none; padding: 13px 24px;
    border-radius: 8px; border: 1px solid rgba(255,255,255,0.22);
    transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

.xr-hero::after {
    content: ''; position: absolute;
    bottom: -1px; left: 0; right: 0; height: 60px;
    background: #e6e7e8;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 3;
}

/* ══ INFO SECTION ══ */
.xr-info {
    background: var(--white);
    padding: 80px var(--pad);
}
.xr-info-inner {
    display: grid; grid-template-columns: 1.1fr 1fr;
    gap: 80px; align-items: center;
}

.sec-label {
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px;
}
.sec-heading {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700; line-height: 1.2;
    color: var(--dark); margin-bottom: 18px;
}
.sec-text {
    font-size: 0.95rem; color: var(--muted); line-height: 1.75;
}
.sec-text p + p { margin-top: 12px; }
.sec-text strong { color: var(--dark); font-weight: 700; }

.xr-vorteil {
    margin-top: 20px;
    background: #f0faf4;
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
}
.xr-vorteil p { font-size: 0.88rem; color: #0a3d1f; line-height: 1.6; }
.xr-vorteil strong { color: var(--accent) !important; font-weight: 700; }

.xr-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.xr-stat {
    background: var(--light);
    border-radius: 10px;
    padding: 20px 16px;
    border-top: 3px solid var(--red);
    transition: transform 0.15s;
}
.xr-stat:hover { transform: translateY(-3px); }
.xr-stat-num {
    font-size: 2rem; font-weight: 700;
    color: var(--red); line-height: 1; margin-bottom: 5px;
}
.xr-stat-label { font-size: 0.78rem; color: var(--muted); line-height: 1.4; }

/* ══ VERGANGENE SECTION ══ */
.xr-vergangene {
    background: linear-gradient(
            135deg,
            #1a1a1a 0%,
            #3a1010 35%,
            #4a1212 60%,
            #1a1a1a 100%
    );
    position: relative;
    overflow: hidden;
}

.xr-vergangene::before {
    content: '';
    position: absolute; inset: 0;
    background:
            radial-gradient(ellipse 55% 45% at 15% 50%, rgba(0,0,0,0.4) 0%, transparent 55%),
            radial-gradient(ellipse 50% 55% at 85% 20%, rgba(232,0,30,0.35) 0%, transparent 50%),
            radial-gradient(ellipse 40% 40% at 50% 90%, rgba(0,0,0,0.3) 0%, transparent 50%);
}

.xr-verg-top {
    position: relative; z-index: 1;
    padding: 72px var(--pad) 0;
}
.xr-verg-top .sec-label { color: rgba(255,255,255,0.35); }
.xr-verg-top .sec-heading { color: var(--white); margin-bottom: 0; }

/* ── Horizontale Scroll-Nav ── */
.xr-year-nav-wrap {
    position: relative; z-index: 1;
    padding: 32px 0 0;
}

.xr-year-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0 var(--pad);
    cursor: grab;
}
.xr-year-track::-webkit-scrollbar { display: none; }
.xr-year-track.dragging { cursor: grabbing; }

.xr-year-btn {
    background: none; border: none;
    color: rgba(255,255,255,0.28);
    font-family: "Frutiger", Arial, sans-serif;
    font-size: 0.92rem; font-weight: 700;
    padding: 12px 28px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.xr-year-btn.active {
    color: var(--white);
    border-bottom-color: var(--red);
}
.xr-year-btn:hover:not(.active) { color: rgba(255,255,255,0.6); }

/* Fade-Masken */
.xr-year-nav-wrap::before,
.xr-year-nav-wrap::after {
    content: '';
    position: absolute; top: 32px; bottom: 0;
    width: 48px; z-index: 2; pointer-events: none;
}
.xr-year-nav-wrap::before {
    left: 0;
    background: none;
}
.xr-year-nav-wrap::after {
    right: 0;
    bbackground: none;
}

/* ── Slide-Inhalte ── */
.xr-slides {
    position: relative; z-index: 1;
    padding: 50px var(--pad) 80px;
}

.xr-slide { display: none; }
.xr-slide.active { display: block; animation: xrFade 0.3s ease; }
@keyframes xrFade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/*.xr-slide-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 52px; align-items: start; margin-bottom: 48px;
}*/

.xr-slide-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 52px; align-items: start; margin-bottom: 48px;
}
.xr-slide-inner:has(> :only-child) {
    grid-template-columns: 1fr;
}

.xr-slide-text h3 {
    font-size: 1.4rem; font-weight: 700;
    color: var(--white); margin-bottom: 10px; line-height: 1.2;
}
.xr-date-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(232,0,30,0.15);
    border: 1px solid rgba(232,0,30,0.25);
    color: #ff8899; font-size: 0.74rem; font-weight: 700;
    letter-spacing: 0.04em; padding: 4px 12px;
    border-radius: 999px; margin-bottom: 20px;
}
.xr-slide-text p {
    font-size: 0.92rem; color: rgba(255,255,255,0.58); line-height: 1.75;
}
.xr-slide-text p + p { margin-top: 11px; }

/* Bildcollage */
.xr-collage {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
}
.xr-coll-img { border-radius: 7px; overflow: hidden; background: rgba(255,255,255,0.04); }
.xr-coll-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xr-coll-img.full { grid-column: span 3; height: 185px; }
.xr-coll-img.third { height: 120px; }

/* Aussteller */
.xr-aust-label {
    font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    margin-bottom: 16px; padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.xr-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px,1fr));
    gap: 8px;
}
.xr-logo-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 7px; padding: 8px;
    height: 58px;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}
.xr-logo-item:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(232,0,30,0.2);
}
.xr-logo-item img {
    width: 100%; height: 100%; object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.5; transition: opacity 0.2s;
}
.xr-logo-item:hover img { opacity: 0.8; }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
    :root { --pad: 24px; }
    .xr-hero-content { padding: 0 24px 52px; }
    .xr-info { padding: 56px 24px; }
    .xr-info-inner { grid-template-columns: 1fr; gap: 36px; }
    .xr-verg-top { padding: 52px 24px 0; }
    .xr-year-track { padding: 0 24px; }
    .xr-slides { padding: 36px 24px 60px; }
    .xr-slide-inner { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 560px) {
    .xr-hero-title, .xr-hero-year { font-size: 3.2rem; }
    .xr-stats { gap: 10px; }
    .xr-coll-img.full { height: 140px; }
    .xr-coll-img.third { height: 90px; }
    .xr-logos { grid-template-columns: repeat(auto-fill, minmax(70px,1fr)); gap: 6px; }
    .xr-logo-item { height: 50px; }
}