:root {
    --color-blue: #00358e; --color-blue-hover: #466daf; --color-green: #2d9d00;
    --color-muted: #5c6875; --color-line: #d9e1ea;
    --glass-surface: rgba(0, 53, 142, 0.68); --glass-surface-strong: rgba(0, 53, 142, 0.78);
    --shadow-soft: 0 18px 45px rgba(7, 38, 45, 0.12); --radius: 8px; --content-width: 1120px;
    --font-size-xs: 0.8rem; --font-size-sm: 0.9rem; --font-size-base: 1rem; --font-size-lg: 1.125rem;
    color-scheme: light; font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { isolation: isolate; margin: 0; color: #fff; background: #02070c; font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
body::before {
    content: ""; position: fixed; inset: 0; z-index: -1;
    background: url("innovation-day-luxemburg-2026.jpg") center / cover no-repeat;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 10px 14px; transform: translateY(-140%); border-radius: var(--radius); background: var(--color-blue); color: #fff; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

.hero { display: flex; align-items: center; min-height: 100svh; color: #fff; }
.hero-inner { width: min(100%, var(--content-width)); margin: 0 auto; padding: 112px 20px; text-align: center; }
.hero-title-row { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 24px); width: min(760px, 92vw); margin: 0 auto; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.42)); }
.hero-image { flex: 0 0 auto; width: clamp(66px, 11vw, 138px); height: clamp(66px, 11vw, 138px); object-fit: contain; }
h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(1.5rem, 5vw, 4rem); font-weight: 700; line-height: 0.94; letter-spacing: -0.045em; text-align: center; text-shadow: 0 4px 18px rgba(0, 0, 0, 0.72); }
.tagline { margin: 0.35em 0 0; color: #fff; font-size: clamp(1.05rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.1; letter-spacing: -0.035em; text-shadow: 0 3px 16px rgba(0, 0, 0, 0.72); }
.eyebrow { margin: 0 0 12px; color: var(--color-green); font-size: 1.167rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.82); }
.hero-copy { max-width: 680px; margin: 28px auto 0; color: rgba(255,255,255,.94); font-size: clamp(var(--font-size-base), .95rem + .4vw, var(--font-size-lg)); text-shadow: 0 2px 12px rgba(0,0,0,.82); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 28px; padding: 12px 18px; border-radius: var(--radius); background: var(--color-blue); color: #fff; font-size: var(--font-size-sm); font-weight: 800; line-height: 1; text-decoration: none; transition: transform 160ms ease, background 160ms ease; }
.button:hover, .button:focus-visible { background: var(--color-blue-hover); transform: translateY(-1px); }

.agenda-section { width: 100%; padding: 80px 20px; }
.agenda-section > * { width: min(100%, var(--content-width)); margin-right: auto; margin-left: auto; }
.section-heading { max-width: 780px; margin-bottom: 36px; text-align: center; }
.section-heading h2 { margin: 0; color: #fff; font-size: clamp(2rem, 1.55rem + 2.2vw, 3.4rem); line-height: 1.08; text-shadow: 0 3px 16px rgba(0,0,0,.78); }
.section-heading p:not(.eyebrow) { margin: 16px 0 0; color: rgba(255,255,255,.9); font-size: clamp(var(--font-size-base), .97rem + .2vw, 1.05rem); text-shadow: 0 2px 12px rgba(0,0,0,.82); }
.segmented-control { display: flex; justify-content: center; gap: 3px; width: min(100%, 560px); margin: 0 auto 24px; padding: 4px; overflow-x: auto; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); background: rgba(0,53,142,.72); box-shadow: 0 12px 30px rgba(7,38,45,.18); backdrop-filter: blur(14px); }
.filter-button { flex: 1 1 0; min-width: 0; min-height: 48px; padding: 12px clamp(8px, 2vw, 16px); border: 0; border-radius: calc(var(--radius) - 2px); background: transparent; color: rgba(255,255,255,.9); cursor: pointer; font: inherit; font-size: clamp(var(--font-size-xs), 2.7vw, var(--font-size-sm)); font-weight: 800; white-space: nowrap; }
.filter-button:hover, .filter-button:focus-visible { background: rgba(255,255,255,.12); }
.filter-button.is-active { color: var(--color-blue); background: #fff; box-shadow: inset 0 -3px 0 var(--color-green), 0 3px 10px rgba(7,38,45,.16); }
.filter-button.is-active:focus-visible { outline-color: var(--color-blue); }
.status-message { min-height: 1.5em; margin-top: -16px; margin-bottom: 16px; color: rgba(255,255,255,.82); font-size: var(--font-size-sm); text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,.8); }

.timeline { display: grid; gap: 16px; }
.timeline-item { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 16px; align-items: start; scroll-margin-top: 16px; padding: 24px; border: 1px solid rgba(255,255,255,.2); border-left: 5px solid var(--color-green); border-radius: var(--radius); background: var(--glass-surface-strong); box-shadow: var(--shadow-soft); backdrop-filter: blur(12px); transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, filter 180ms ease; }
.timeline-item[hidden] { display: none; }
.timeline-item:target, .timeline-item.is-current { border-color: var(--color-green); box-shadow: 0 0 0 4px rgba(45,157,0,.18), var(--shadow-soft); }
.timeline-item time { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 10px; border: 1px solid rgba(0,53,142,.16); border-radius: var(--radius); background: #fff; color: var(--color-blue); font-weight: 800; line-height: 1.2; text-align: center; }
.timeline-item h3 { margin: 0; color: #fff; font-size: clamp(1.08rem, 1.02rem + .3vw, 1.18rem); line-height: 1.25; }
.timeline-item p { margin: 8px 0 0; color: rgba(255,255,255,.82); }
.timeline-item .agenda-type { margin: 0 0 6px; color: var(--color-green); font-size: var(--font-size-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.agenda-room { font-size: var(--font-size-sm); font-weight: 700; }
.agenda-speakers { display: grid; gap: 5px; margin: 14px 0 0; padding: 0; color: rgba(255,255,255,.92); list-style: none; }
.agenda-speakers strong, .agenda-speakers span { display: block; }
.agenda-speakers span { color: rgba(255,255,255,.7); font-size: .88em; font-weight: 400; }
.timeline-item.is-past { border-color: var(--color-line); border-left-color: var(--color-muted); background: rgba(244,247,250,.92); box-shadow: none; filter: saturate(.35); opacity: .36; }
.timeline-item.is-past:hover, .timeline-item.is-past:focus-within { opacity: .58; }
.timeline-item.is-past h3, .timeline-item.is-past p, .timeline-item.is-past .agenda-type { color: var(--color-muted); }
.timeline-item.is-next:not(.is-current) { border-color: rgba(255,255,255,.38); border-left-color: var(--color-green); }
.timeline-item.is-current::after, .timeline-item.is-next:not(.is-current)::after { grid-column: 2; justify-self: start; margin-top: 8px; font-size: var(--font-size-xs); font-weight: 800; }
.timeline-item.is-current::after { content: "Läuft jetzt"; padding: 4px 9px; border-radius: 999px; color: #fff; background: var(--color-green); }
.timeline-item.is-next:not(.is-current)::after { content: "Als Nächstes"; color: var(--color-green); }
.empty-state { padding: 32px; border: 1px dashed rgba(255,255,255,.45); border-radius: var(--radius); text-align: center; background: var(--glass-surface); }
.empty-state h3 { margin-top: 0; }
.agenda-reminder { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 11; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; max-width: 760px; margin: 0 auto; padding: 16px; border: 1px solid rgba(255,255,255,.24); border-left: 6px solid var(--color-green); border-radius: var(--radius); background: rgba(0,53,142,.94); color: #fff; box-shadow: 0 18px 38px rgba(7,38,45,.34); opacity: 0; pointer-events: none; transform: translateY(18px); transition: opacity 180ms ease, transform 180ms ease; }
.agenda-reminder.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.agenda-reminder > div:first-child { display: grid; gap: 2px; min-width: 0; }
.agenda-reminder-label, .agenda-reminder-time { color: rgba(255,255,255,.78); font-size: .82rem; font-weight: 800; }
.agenda-reminder strong { overflow: hidden; color: #fff; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.agenda-reminder-actions { display: flex; align-items: center; gap: 8px; }
.agenda-reminder-actions a, .agenda-reminder-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius); font: inherit; font-weight: 800; }
.agenda-reminder-actions a { padding: 12px 16px; background: #fff; color: var(--color-blue); text-decoration: none; white-space: nowrap; }
.agenda-reminder-actions button { width: 48px; flex: 0 0 48px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.site-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: min(100%, var(--content-width)); margin: 0 auto; padding: 0 20px 40px; color: #fff; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.8); }
.site-footer > a { min-height: 48px; display: inline-flex; align-items: center; }
.footer-powered { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: rgba(255,255,255,.84); font-size: 1rem; font-weight: 700; line-height: inherit; white-space: nowrap; }
.footer-powered img { display: block; width: auto; height: 1.1rem; filter: drop-shadow(0 3px 10px rgba(0,0,0,.35)); }

@media (max-width: 560px) {
    .hero-inner { padding: 96px 16px 88px; }
    .hero-title-row { width: 100%; }
    .agenda-section { padding: 64px 16px; }
    .timeline-item { grid-template-columns: 82px minmax(0,1fr); gap: 12px; padding: 18px; }
    .timeline-item.is-current::after, .timeline-item.is-next:not(.is-current)::after { grid-column: 2; }
    .site-footer { align-items: center; }
    .agenda-reminder { grid-template-columns: 1fr; }
    .agenda-reminder-actions { justify-content: flex-end; }
}

@media (max-width: 390px) {
    .timeline-item { grid-template-columns: 1fr; }
    .timeline-item time { justify-self: start; }
    .timeline-item.is-current::after, .timeline-item.is-next:not(.is-current)::after { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
