﻿:root {
  --turquoise: #01acc8;
  --eu-blue: #003399;
  --deep-blue: #071b48;
  --ink: #172033;
  --muted: #5d6a7d;
  --line: #d9e2ef;
  --paper: #ffffff;
  --soft: #f4f8fc;
  --gold: #ffcc00;
  --shadow: 0 24px 70px rgba(7, 27, 72, 0.16);
  --radius: 24px;
  --header-h: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-140%); background: var(--paper); padding: 10px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.site-header { position: sticky; top: 0; z-index: 100; min-height: var(--header-h); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 10px 28px; background: rgba(255,255,255,0.78); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s, background .2s; }
.site-header.is-scrolled { background: rgba(255,255,255,0.94); border-color: var(--line); box-shadow: 0 12px 40px rgba(0, 51, 153, 0.08); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; text-decoration: none; color: var(--deep-blue); white-space: nowrap; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.site-nav { display: flex; justify-content: center; gap: 6px; }
.site-nav a, .footer-links a { text-decoration: none; color: var(--muted); font-weight: 700; font-size: 14px; padding: 10px 12px; border-radius: 999px; }
.site-nav a:hover, .site-nav a.active, .footer-links a:hover { color: var(--eu-blue); background: rgba(0, 51, 153, 0.08); }
.language-switcher select { border: 1px solid var(--line); background: var(--paper); color: var(--deep-blue); border-radius: 999px; padding: 10px 34px 10px 12px; font-weight: 800; }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 10px 14px; font-weight: 800; color: var(--deep-blue); }
.section { padding: 96px 0; }
.section-muted { background: var(--soft); }
.section-dark { color: white; background: var(--deep-blue); }
.section-blue { background: linear-gradient(135deg, var(--eu-blue), #03205c); color: white; }
.hero { position: relative; overflow: hidden; min-height: calc(100vh - var(--header-h)); display: grid; align-items: center; }
.hero-bg { position: absolute; inset: 0; background-image: radial-gradient(circle at 18% 18%, rgba(1,172,200,.32), transparent 32%), linear-gradient(90deg, rgba(7,27,72,.72) 0%, rgba(0,51,153,.52) 40%, rgba(0,51,153,.18) 61%, rgba(7,27,72,.03) 80%), url('../assets/images/hero-illustration-v2.png'); background-position: center, center, center 46%; background-size: cover; background-repeat: no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,27,72,.32), transparent 35%); }
.hero-grid { position: relative; z-index: 1; display: block; }
.hero-copy { width: min(650px, 58%); }
.eyebrow, .section-kicker { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 900; color: var(--turquoise); }
.section-blue .section-kicker, .section-dark .eyebrow { color: var(--gold); }
h1, h2, h3 { line-height: 1.08; margin: 0; color: inherit; }
h1 { font-size: clamp(44px, 7vw, 92px); letter-spacing: -0.055em; max-width: 920px; }
h2 { font-size: clamp(32px, 4vw, 56px); letter-spacing: -0.045em; }
h3 { font-size: 23px; letter-spacing: -0.025em; }
.lead, .narrow p, .section-heading p, .organiser-intro p { font-size: clamp(18px, 2vw, 22px); color: color-mix(in srgb, currentColor 72%, transparent); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px; border-radius: 999px; font-weight: 900; text-decoration: none; border: 1px solid transparent; }
.button-primary { background: var(--gold); color: var(--deep-blue); }
.button-ghost { color: white; border-color: rgba(255,255,255,.4); }
.button-outline { border-color: var(--line); color: var(--eu-blue); }
.section-heading { max-width: 820px; margin-bottom: 40px; }
.language-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.language-pills span { padding: 9px 14px; border-radius: 999px; background: rgba(0,51,153,.08); color: var(--eu-blue); font-weight: 900; }
.goal-grid, .info-grid, .flag-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card, .goal-card, .day-card, .flag-card, .contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 12px 35px rgba(7,27,72,.06); }
.goal-card { display: grid; grid-template-columns: 54px 1fr; gap: 18px; }
.goal-number { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: linear-gradient(135deg, var(--turquoise), var(--eu-blue)); color: white; font-weight: 950; }
.programme-grid { display: grid; grid-template-columns: .8fr 1.4fr .8fr; gap: 18px; align-items: start; }
.day-card ul { padding-left: 20px; margin: 16px 0 0; }
.day-card li { margin: 8px 0; }
.day-card .panels { margin-top: 14px; padding: 16px; border-radius: 18px; background: var(--soft); }
.section-blue .card { color: var(--ink); }
.organiser-intro { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-bottom: 34px; }
.carousel { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: stretch; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 360px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; }
.event-card { scroll-snap-align: start; min-height: 290px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(160deg, #fff, #eef7fb); }
.event-card a { color: var(--eu-blue); font-weight: 900; }
.carousel-btn { border: 1px solid var(--line); background: white; border-radius: 999px; width: 46px; font-size: 30px; color: var(--eu-blue); }
.flags-photo { margin: 0 0 28px; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); }
.flags-photo img { width: 100%; max-height: 540px; object-fit: cover; }
.flag-card .flag-swatch { height: 86px; border-radius: 18px; border: 1px solid var(--line); margin-bottom: 18px; overflow: hidden; }
.swatch-eu { position: relative; background: var(--eu-blue); }
.eu-stars { position: absolute; inset: 0; display: block; }
.eu-stars i { position: absolute; left: 50%; top: 50%; color: var(--gold); font-size: 13px; font-style: normal; line-height: 1; transform: translate(-50%, -50%) rotate(calc(var(--star-index) * 30deg)) translateY(-29px) rotate(calc(var(--star-index) * -30deg)); }
.swatch-et { background: linear-gradient(#01acc8 0 48%, #fff 48% 54%, #003399 54%); }
.swatch-tt { background: linear-gradient(#009639 0 45%, #fff 45% 55%, #d22630 55%); }
.swatch-de { background: linear-gradient(#000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.contact-card { text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.contact-card span { color: var(--eu-blue); font-weight: 800; overflow-wrap: anywhere; }
.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.footer-grid p { margin: 4px 0 0; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .site-header { grid-template-columns: auto auto auto; padding: 10px 16px; gap: 10px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 12px auto 12px; display: none; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .brand span { display: none; }
  .organiser-intro, .footer-grid { grid-template-columns: 1fr; }
  .programme-grid, .goal-grid, .info-grid, .flag-grid, .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero { min-height: min(760px, calc(100svh - var(--header-h))); padding: 64px 0 210px; align-items: start; }
  .hero-bg { background-image: linear-gradient(180deg, rgba(7,27,72,.94) 0%, rgba(0,51,153,.82) 45%, rgba(0,51,153,.36) 70%, rgba(7,27,72,.12) 100%), url('../assets/images/hero-illustration-v2.png'); background-position: center, 62% center; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(7,27,72,.42), transparent 34%); }
  .hero-copy { width: 100%; max-width: 680px; }
  .carousel { grid-template-columns: 1fr; }
  .carousel-btn { display: none; }
  .footer-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

