:root {
  --navy-900: #071024;
  --navy-800: #0b1730;
  --navy-700: #12234a;
  --navy-600: #1b3366;
  --gold: #c9a227;
  --gold-light: #e2c35a;
  --ink: #1b2233;
  --muted: #5b6577;
  --line: #dde2ea;
  --bg: #ffffff;
  --bg-muted: #f3f5f9;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(7, 16, 36, 0.12);
  --serif: 'Merriweather', Georgia, serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.2;
  margin: 0 0 0.6rem;
}
h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--navy-800);
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1rem;
}
.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(820px, 100% - 32px);
}
.center {
  text-align: center;
  margin-top: 2.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1rem;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
}
.btn-gold:hover {
  background: var(--gold-light);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn-navy {
  background: var(--navy-800);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-600);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Hinweisleiste ---------- */
.banner-strip {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  padding: 0.35rem 0;
}
.banner-strip .wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.banner-strip strong {
  color: #fff;
  font-weight: 600;
}
.flag {
  width: 18px;
  height: 11px;
  flex: none;
  background: repeating-linear-gradient(#b22234 0 1.6px, #fff 1.6px 3.2px);
  position: relative;
}
.flag::before {
  content: '';
  position: absolute;
  inset: 0 55% 45% 0;
  background: #3c3b6e;
}

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-800);
  color: #fff;
  border-bottom: 3px solid var(--gold);
  transition: box-shadow 0.2s;
}
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  margin-left: 0.35rem;
  line-height: 1.1;
}
.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 900;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav a:not(.btn) {
  padding: 0.5rem 0.65rem;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
}
.nav a:not(.btn):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-cta {
  margin-left: 0.5rem;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-btn span {
  width: 20px;
  height: 2px;
  background: #fff;
}

/* ---------- Banner ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy-900);
  overflow: hidden;
  padding: clamp(4rem, 10vw, 7.5rem) 0 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 16, 36, 0.97) 0%, rgba(7, 16, 36, 0.86) 45%, rgba(11, 23, 48, 0.55) 100%),
    var(--hero-image, radial-gradient(circle at 80% 30%, #1d3a74 0%, transparent 55%)),
    var(--navy-900);
  background-size: cover;
  background-position: center;
}
/* Siegel als dezentes Wasserzeichen, bis ein ERLC-Screenshot da ist */
.hero-bg::after {
  content: '';
  position: absolute;
  right: -6%;
  top: 50%;
  width: min(560px, 60vw);
  aspect-ratio: 1;
  transform: translateY(-55%);
  background: url('assets/lcfederal-seal.webp') center / contain no-repeat;
  opacity: 0.09;
}
.hero-inner {
  position: relative;
  max-width: 1180px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.1rem);
  font-weight: 900;
  max-width: 15em;
  margin-bottom: 1.2rem;
}
.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  max-width: 38em;
  color: rgba(255, 255, 255, 0.85);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: clamp(3rem, 7vw, 5rem) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.stats div {
  padding: 1.5rem 1rem 1.7rem 0;
}
.stats div + div {
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.stats dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}
.stats dd {
  margin: 0.2rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--gold-light);
}

/* ---------- Abschnitte ---------- */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.section-muted {
  background: var(--bg-muted);
}
.section-dark {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: rgba(255, 255, 255, 0.86);
}
.section-dark h2,
.section-dark h3 {
  color: #fff;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin-bottom: 0.6rem;
}
.kicker::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--gold);
}
.kicker-gold {
  color: var(--gold-light);
}
.section-lead {
  color: var(--muted);
  max-width: 40em;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.pillars li {
  display: flex;
  gap: 1rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: #fff;
}
.pillars h3 {
  margin-bottom: 0.2rem;
  color: var(--navy-800);
}
.pillars p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.pillar-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-800);
}
.pillar-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Agencies */
.agencies {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.agency {
  position: relative;
  padding: 2.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
}
.agency-seal {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}
.agency h3 {
  font-size: 1.5rem;
}
.motto {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
}
.ticks li {
  padding: 0.35rem 0 0.35rem 1.7rem;
  position: relative;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.agency .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Galerie */
.section-lead-light {
  color: rgba(255, 255, 255, 0.7);
}
.tabs.tabs-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
.tabs.tabs-dark button {
  color: rgba(255, 255, 255, 0.7);
}
.tabs.tabs-dark button[aria-selected='true'] {
  background: var(--gold);
  color: var(--navy-900);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  grid-auto-flow: dense;
  gap: 0.8rem;
}
/* Jedes 1. und 6. Bild groß, damit es nicht wie ein starres Raster wirkt */
.gallery-item:nth-child(6n + 1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item:nth-child(6n + 4) {
  grid-column: span 2;
}
.gallery-item {
  position: relative;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--navy-700);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.2s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item:hover::after {
  box-shadow: inset 0 0 0 2px var(--gold);
}
.gallery-empty {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.6);
}
.lightbox {
  width: min(1200px, 96vw);
  max-height: 94vh;
  padding: 0;
  border: none;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgba(4, 9, 20, 0.92);
}
.lightbox img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-caption {
  margin: 0.7rem 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
.lightbox-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(7, 16, 36, 0.75);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}
.lightbox-close {
  top: -14px;
  right: -14px;
  font-size: 1rem;
}
.lightbox-prev,
.lightbox-next {
  top: 42%;
}
.lightbox-prev {
  left: 12px;
}
.lightbox-next {
  right: 12px;
}

/* Command Staff */
.staff {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.1rem;
}
.person {
  position: relative;
  padding: 1.6rem 1.2rem 1.4rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}
.person:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.person-photo {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--navy-800);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.person-photo::before {
  content: attr(data-initial);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 2rem;
  color: var(--gold-light);
}
.person-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-800);
  margin: 0 0 0.15rem;
  overflow-wrap: anywhere;
}
.person-rank {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-600);
}
.person-callsign {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--bg-muted);
  color: var(--muted);
}
.staff-empty {
  color: var(--muted);
}
.section-muted .tabs {
  background: #fff;
}

/* Divisions */
.tabs {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.3rem;
  margin: 1rem 0 2rem;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.tabs button {
  border: none;
  background: none;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
}
.tabs button[aria-selected='true'] {
  background: var(--navy-800);
  color: #fff;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
}
.card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  border-top: 3px solid var(--navy-700);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-top-color: var(--gold);
}
.card h3 {
  color: var(--navy-800);
  font-size: 1.05rem;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Careers */
.steps {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 1.5rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-no {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-light);
  font-family: var(--serif);
  font-weight: 900;
  margin-bottom: 0.9rem;
}
.steps h3 {
  color: var(--navy-800);
  font-size: 1.05rem;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}
.ranks {
  margin-top: 2.5rem;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: var(--navy-800);
  color: #fff;
}
.ranks h3 {
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.ranks-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}
.ranks-line span {
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.ranks-line span:last-child {
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Bewerben */
.apply {
  margin-top: 2.5rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.apply h3 {
  font-size: 1.5rem;
  color: var(--navy-800);
}
.apply p {
  color: var(--muted);
}
.apply-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.apply-actions img,
.btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Rules */
.rulebook {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  margin-top: 2rem;
}
.rule-group > h3 {
  font-size: 0.85rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy-600);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--navy-800);
  margin-bottom: 0.2rem;
}
.rule h4 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  color: var(--navy-800);
}
.tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  vertical-align: middle;
  background: #fdf3d4;
  color: #8a6a00;
  border: 1px solid #ecd58c;
}
.rule-warning {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gold);
  background: var(--bg-muted);
  font-style: italic;
  color: var(--ink);
}
.rules {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.1rem 2rem;
  margin-top: 2rem;
}
.rule {
  display: flex;
  gap: 1.1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}
.rule > span {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1.2;
}
.rule h3 {
  color: var(--navy-800);
  margin-bottom: 0.25rem;
}
.rule p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* FAQ */
.faq {
  margin-top: 2rem;
  display: grid;
  gap: 0.7rem;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.3rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-weight: 700;
  color: var(--navy-800);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--muted);
  padding-bottom: 0.4rem;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.contact-actions {
  display: grid;
  gap: 1rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.contact-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold);
}
.contact-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.contact-card strong {
  display: block;
  color: #fff;
}
.contact-card small {
  color: rgba(255, 255, 255, 0.65);
}
.contact-card > span {
  flex: 1;
  min-width: 0;
}
.contact-card small a {
  color: var(--gold-light);
}
.contact-card .btn {
  flex: none;
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0 2rem;
  border-top: 3px solid var(--gold);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--serif);
  font-weight: 700;
  color: #fff;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.footer-links a {
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-links a:hover {
  color: var(--gold-light);
}
.disclaimer {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Einblenden */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .menu-btn {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 16px 1.2rem;
    background: var(--navy-800);
    border-bottom: 3px solid var(--gold);
    display: none;
  }
  .nav.open {
    display: flex;
  }
  .nav a:not(.btn) {
    padding: 0.8rem 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-cta {
    margin: 0.9rem 0 0;
  }
  .steps {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
@media (max-width: 860px) {
  .about,
  .agencies,
  .contact,
  .rulebook {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .lightbox-close {
    top: -54px;
    right: 0;
  }
  .stats div:nth-child(3) {
    padding-left: 0;
    border-left: none;
  }
  .stats div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
}
@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 1.02rem;
  }
  .agency {
    padding: 1.6rem;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .rules {
    grid-template-columns: 1fr;
  }
  .apply-actions .btn {
    flex: 1 1 100%;
  }
  .contact-card {
    flex-wrap: wrap;
  }
  .contact-card .btn {
    flex: 1 1 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
