/* =========================================================
   KRITIS Krisen- und Notfall-Manager — BSKI Zertifikatslehrgang
   Design language derived from the BSKI print brochure:
   navy headings, BSKI flag accents (red/gold), transmission
   tower (Strommast) line art motif.
   ========================================================= */

:root {
  /* Brand palette */
  --navy-900: #0e1c36;
  --navy-800: #14274e;
  --navy-700: #1b3a6b;
  --navy-600: #234c8a;
  --blue-500: #2e5faa;
  --blue-200: #cdd9ee;

  --red: #e2001a;     /* BSKI red */
  --gold: #f5b400;    /* BSKI gold */

  --ink: #1a2233;
  --body: #3a4253;
  --muted: #6b7280;
  --line: #e3e7ee;
  --line-strong: #d2d9e4;

  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --bg-soft: #eef1f7;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(14, 28, 54, .06), 0 4px 14px rgba(14, 28, 54, .05);
  --shadow-md: 0 10px 30px rgba(14, 28, 54, .10);
  --shadow-lg: 0 24px 60px rgba(14, 28, 54, .16);

  --container: 1180px;
  --ff-display: "Archivo", "Inter", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4 { font-family: var(--ff-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy-800); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-800);
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--ff-display); font-weight: 700; font-size: .98rem;
  letter-spacing: .01em; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--sm { padding: 13px 24px; font-size: .9rem; }
.btn--primary { background: var(--navy-800); color: #fff; box-shadow: 0 8px 20px rgba(20,39,78,.25); }
.btn--primary:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20,39,78,.32); }
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 8px 22px rgba(245,180,0,.35); }
.btn--gold:hover { background: #ffc62b; color: var(--navy-900); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy-700); color: var(--navy-700); background: #fff; transform: translateY(-2px); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: #c3ccdc; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar__item--mute { color: #8b97ad; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.brand__logo { height: 34px; width: auto; }
.brand__divider { width: 1px; height: 34px; background: var(--line-strong); }
.brand__title { font-family: var(--ff-display); font-weight: 800; font-size: 1.02rem; line-height: 1.05; color: var(--navy-800); letter-spacing: .02em; }
.brand__title span { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.primary-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.primary-nav a {
  display: inline-block; padding: 9px 14px; border-radius: 8px;
  font-weight: 600; font-size: .95rem; color: var(--ink);
}
.primary-nav a:hover { background: var(--bg-soft); color: var(--navy-700); }
.nav-cta { background: var(--navy-800); color: #fff !important; margin-left: 8px; }
.nav-cta:hover { background: var(--navy-700) !important; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 78% -10%, rgba(46,95,170,.10), transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #eef1f7 100%);
  border-bottom: 1px solid var(--line);
}
.hero__mast {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  opacity: .5; pointer-events: none; width: min(46%, 520px);
}
.hero__mast img { width: 100%; filter: saturate(.9); }
.hero__inner { position: relative; z-index: 2; padding-block: clamp(56px, 9vw, 104px); }
.hero__content { max-width: 720px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-display); font-weight: 800; line-height: 1.15;
  font-size: clamp(1.05rem, 0.85rem + 0.9vw, 1.25rem); letter-spacing: .1em;
  text-transform: uppercase; color: var(--red); margin: 0 0 22px;
}
.eyebrow::before { content: ""; flex: none; width: 34px; height: 3px; background: var(--gold); border-radius: 2px; }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 800; color: var(--navy-800);
  letter-spacing: -.02em; margin: 0 0 22px;
}
.hero__lead { font-size: clamp(1.1rem, 2vw, 1.32rem); color: var(--ink); max-width: 38em; margin-bottom: 14px; }
.hero__lead strong { color: var(--navy-700); }
.hero__sub { font-size: 1.04rem; color: var(--body); max-width: 40em; }
.hero__sub em { font-style: normal; font-weight: 600; color: var(--navy-700); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 38px; }

.hero__facts {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px;
}
.hero__facts li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 20px; box-shadow: var(--shadow-sm); min-width: 116px;
}
.hero__facts strong { display: block; font-family: var(--ff-display); font-size: 1.3rem; font-weight: 800; color: var(--navy-800); }
.hero__facts span { font-size: .82rem; color: var(--muted); }

/* ---------- Legal drivers strip ---------- */
.drivers { background: var(--navy-900); }
.drivers__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.driver {
  padding: 34px 30px; color: #d7deea;
  border-right: 1px solid rgba(255,255,255,.08);
}
.driver:last-child { border-right: none; }
.driver__tag {
  display: inline-block; font-family: var(--ff-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(245,180,0,.4); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}
.driver h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.driver p { margin: 0; font-size: .96rem; }
.driver strong { color: #fff; }
.driver__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  font-family: var(--ff-display); font-weight: 700; font-size: .9rem;
  color: var(--gold); transition: gap .15s ease, color .15s ease;
}
.driver__link::after { content: "→"; font-size: 1.05em; }
.driver__link:hover { color: #fff; gap: 11px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--bg-alt); }
.section--navy {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(46,95,170,.25), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #d7deea;
}
.kicker {
  font-family: var(--ff-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin: 0 0 12px;
}
.kicker--light { color: var(--gold); }
.section__head { margin-bottom: 40px; }
.section__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; color: var(--navy-800); }
.section__head--light h2 { color: #fff; }
.section__head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section__intro { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section__head .btn { margin-top: 26px; }
.section--navy .section__intro { color: #aeb9cd; }

.grid-2 { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.grid-2--mid { grid-template-columns: 1fr 1fr; align-items: center; }
.prose { font-size: 1.06rem; }
.prose strong { color: var(--navy-700); }
.prose--muted { color: var(--muted); font-size: .98rem; }

/* Inline text links (prose + FAQ answers) — subtly underlined so they read as links */
.prose a, .faq__a a {
  color: var(--navy-700); text-decoration: underline;
  text-decoration-color: rgba(27, 58, 107, .4); text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.prose a:hover, .faq__a a:hover { color: var(--blue-500); text-decoration-color: currentColor; }

/* ---------- Audience ---------- */
.audience { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.audience li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm);
  position: relative; padding-left: 48px; font-size: .98rem;
}
.audience li::before {
  content: ""; position: absolute; left: 18px; top: 22px; width: 14px; height: 14px;
  border-radius: 4px; background: var(--gold); box-shadow: -4px 0 0 var(--red);
}

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li {
  position: relative; padding: 16px 18px 16px 54px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  font-size: 1rem; color: var(--ink);
}
.checklist li::before {
  content: ""; position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--navy-700);
}
.checklist li::after {
  content: ""; position: absolute; left: 25px; top: 50%; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-65%) rotate(45deg);
}
.section--alt .checklist li, .section--alt .audience li { background: #fff; }

/* ---------- Modules ---------- */
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.module-card {
  display: flex; gap: 20px; align-items: center;
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-md); border: 1px solid rgba(255,255,255,.6);
}
.module-card__media {
  flex: 0 0 120px; width: 120px; height: 96px; display: grid; place-items: center;
  background: var(--bg-soft); border-radius: var(--radius-sm); padding: 12px;
}
.module-card__media img { max-height: 100%; width: auto; object-fit: contain; }
.module-card__media--evalarm { background: #fff; border: 1px solid var(--line); }
.module-card__no {
  display: inline-block; font-family: var(--ff-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 6px;
}
.module-card__body h3 { font-size: 1.18rem; color: var(--navy-800); margin-bottom: 6px; }
.module-card__body p { margin: 0; font-size: .95rem; color: var(--body); }
.module-card--exam { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); border: none; }
.module-card--exam .module-card__no { color: var(--gold); }
.module-card--exam h3 { color: #fff; }
.module-card--exam p { color: #c3ccdc; }
.module-card--exam .module-card__media { background: rgba(255,255,255,.08); }

/* ---------- Seminar days / timeline ---------- */
.days { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.day { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.day__head { padding: 26px 28px 18px; border-bottom: 1px solid var(--line); }
.day__badge {
  display: inline-block; font-family: var(--ff-display); font-weight: 700; font-size: .74rem;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--navy-700);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 12px;
}
.day__badge--two { background: var(--blue-500); }
.day__head h3 { font-size: 1.35rem; color: var(--navy-800); margin: 0; }
.timeline { list-style: none; margin: 0; padding: 18px 28px 28px; display: grid; gap: 4px; }
.timeline li { display: grid; grid-template-columns: 78px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.timeline li:last-child { border-bottom: none; }
.timeline__time {
  font-family: var(--ff-display); font-weight: 700; font-size: .8rem; color: var(--blue-500);
  letter-spacing: .03em; padding-top: 2px;
}
.timeline strong { display: block; color: var(--ink); font-size: 1rem; }
.timeline p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- EVALARM card ---------- */
.evalarm-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 48px; text-align: center;
}
.evalarm-card img { width: min(280px, 80%); margin: 0 auto 18px; transition: opacity .15s ease; }
.evalarm-card a:hover img { opacity: .82; }
.evalarm-card p { margin: 0; color: var(--muted); font-weight: 600; }
.evalarm-card p a { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.evalarm-card p a:hover { color: var(--blue-500); }

/* ---------- Speakers ---------- */
.speakers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.speaker { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.speaker:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.speaker img { width: 100%; aspect-ratio: 128 / 195; object-fit: contain; object-position: center bottom; background: var(--bg-soft); }
.speaker__body { padding: 22px 24px 26px; }
.speaker__body h3 { font-size: 1.25rem; color: var(--navy-800); margin-bottom: 4px; }
.speaker__role { font-size: .84rem; font-weight: 600; color: var(--red); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .03em; }
.speaker__body p { font-size: .94rem; color: var(--body); margin: 0; }
.speakers__note { text-align: center; margin: 26px 0 0; color: var(--muted); font-size: .9rem; }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px; box-shadow: var(--shadow-sm); border-top: 3px solid var(--navy-700);
  transition: transform .18s ease, border-color .18s ease;
}
.sector:hover { transform: translateY(-3px); border-top-color: var(--gold); }
.sector h3 { font-size: 1.08rem; color: var(--navy-800); margin-bottom: 6px; }
.sector p { margin: 0; font-size: .9rem; color: var(--muted); }
.sector--plus { border-top-color: var(--red); background: linear-gradient(180deg, #fff, #fff7f7); }

/* ---------- Certificate ---------- */
.cert-figure {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.cert-figure img { max-width: 360px; width: 100%; box-shadow: var(--shadow-md); border-radius: 6px; }
.cert-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.cert-facts li { padding-left: 26px; position: relative; color: var(--ink); }
.cert-facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: var(--gold); box-shadow: 3px 3px 0 rgba(226,0,26,.25); }
.cert-facts strong { color: var(--navy-700); }

/* ---------- Facts grid (navy) ---------- */
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm); padding: 22px; display: flex; flex-direction: column; gap: 8px;
}
.fact__label { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 700; font-family: var(--ff-display); }
.fact__value { color: #fff; font-weight: 600; font-size: 1.02rem; }
.fact__value small { display: block; font-weight: 400; color: #aeb9cd; font-size: .8rem; }
.fact--price { background: rgba(245,180,0,.10); border-color: rgba(245,180,0,.3); }
.fact--price .fact__value { font-family: var(--ff-display); font-size: 1.6rem; font-weight: 800; }

/* ---------- Dates ---------- */
.dates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.date {
  display: flex; flex-direction: column; gap: 4px; padding: 22px 26px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--navy-700);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
.date:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-left-color: var(--gold); color: var(--ink); }
.date__day { font-family: var(--ff-display); font-weight: 800; font-size: 1.7rem; color: var(--navy-800); letter-spacing: -.01em; }
.date__month { font-size: .92rem; color: var(--muted); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.08rem; color: var(--navy-800);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--red); font-weight: 400; transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "–"; }
.faq__a { padding: 0 24px 22px; }
.faq__a p { margin: 0; color: var(--body); }

/* ---------- Final CTA ---------- */
.cta-final {
  position: relative; overflow: hidden; text-align: center;
  background:
    radial-gradient(700px 380px at 50% 120%, rgba(46,95,170,.35), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #fff; padding-block: clamp(64px, 9vw, 104px);
}
.cta-final__mast { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); opacity: .14; width: 280px; pointer-events: none; }
.cta-final__mast img { filter: brightness(0) invert(1); }
.cta-final__inner { position: relative; z-index: 2; max-width: 760px; }
.cta-final h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.cta-final p { color: #c3ccdc; font-size: 1.12rem; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aeb9cd; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-block: 60px; }
.site-footer__logo-chip { background: #fff; display: inline-block; padding: 12px 18px; border-radius: 10px; margin-bottom: 18px; }
.site-footer__logo-chip img { height: 44px; width: auto; }
.site-footer__brand p { font-size: .94rem; max-width: 38em; }
.site-footer__partner-logos { margin-top: 18px; background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; }
.site-footer__partner-logos img { height: 48px; width: auto; }
.site-footer__col h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer__col h3.mt { margin-top: 26px; }
.site-footer address { font-style: normal; font-size: .94rem; line-height: 1.8; }
.site-footer a { color: #c3ccdc; }
.site-footer a:hover { color: var(--gold); }
.site-footer__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer__nav a { font-size: .94rem; }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bar-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 20px; flex-wrap: wrap; font-size: .85rem; }
.site-footer__legal { display: flex; gap: 20px; }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(48px, 7vw, 80px); }
.legal__head { border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 32px; }
.legal__head h1 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy-800); }
.legal h2 { font-size: 1.4rem; color: var(--navy-800); margin-top: 38px; }
.legal h3 { font-size: 1.1rem; color: var(--navy-700); margin-top: 24px; }
.legal address { font-style: normal; line-height: 1.8; }
.legal a { color: var(--blue-500); }
.legal .note {
  background: #fff7e6; border: 1px solid #ffe2a8; border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm); padding: 18px 22px; color: #6b5418; font-size: .95rem;
}
.legal .back { display: inline-block; margin-top: 40px; font-weight: 600; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .grid-2, .grid-2--mid { grid-template-columns: 1fr; }
  .modules, .days, .facts-grid { grid-template-columns: 1fr 1fr; }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .speakers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .hero__mast { opacity: .25; }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 10px;
    background: #fff; cursor: pointer; padding: 0 12px;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .primary-nav.is-open { max-height: 70vh; overflow: auto; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px; }
  .primary-nav a { padding: 14px 16px; border-radius: 10px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }

  .drivers__grid { grid-template-columns: 1fr; }
  .driver { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .driver:last-child { border-bottom: none; }
  .topbar__item--mute { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .modules, .days, .facts-grid, .dates, .sectors, .audience { grid-template-columns: 1fr; }
  .hero__mast { display: none; }
  .brand__title span { display: none; }
  .brand__divider { display: none; }
  .hero__facts li { flex: 1 1 calc(50% - 7px); min-width: 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions { flex-direction: column; }
  .timeline li { grid-template-columns: 64px 1fr; gap: 12px; }
}
