/* ===================== TOKENS ===================== */
:root {
  --blue:      #0a3d7a;
  --blue-dark: #072a55;
  --blue-light:#1e6fd0;
  --orange:    #f28c1c;
  --orange-dark:#d9770a;
  --ink:       #1a2230;
  --muted:     #5c6675;
  --bg:        #ffffff;
  --bg-alt:    #f4f7fb;
  --line:      #e4e9f2;
  --radius:    16px;
  --shadow:    0 10px 30px rgba(10, 61, 122, .10);
  --shadow-sm: 0 4px 14px rgba(10, 61, 122, .08);
  --maxw:      1140px;
  --font:      "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ===================== BASE ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-light); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4, h5 { line-height: 1.18; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); }
h2::after {
  content: ""; display: block; width: 52px; height: 4px; margin-top: .8rem;
  border-radius: 4px; background: linear-gradient(90deg, var(--orange), var(--orange-dark));
}
.section-head.center h2::after { margin-left: auto; margin-right: auto; }
.section-dark h2::after, .page-hero h2::after { background: var(--orange); }

.kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--orange-dark);
  margin-bottom: .5rem;
}
.kicker.light { color: var(--orange); }
.muted { color: var(--muted); }
.muted-light { color: rgba(255,255,255,.75); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(242,140,28,.35); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 10px 24px rgba(217,119,10,.42); }
.btn:focus-visible { outline: 3px solid rgba(30,111,208,.5); outline-offset: 2px; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-row, .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.4rem; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff; font-weight: 800; letter-spacing: .5px;
  display: grid; place-items: center; font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; }
.brand-text small { color: var(--muted); font-size: .78rem; }
.brand-logo { height: 40px; width: auto; display: block; }
@media (max-width: 420px) { .brand-logo { height: 32px; } }

.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav a {
  color: var(--ink); font-weight: 600; font-size: .92rem;
  padding: .5rem .8rem; border-radius: 8px; text-decoration: none;
  transition: background .15s, color .15s;
}
.main-nav a:hover { background: var(--bg-alt); color: var(--blue); }
.nav-login { background: var(--blue); color: #fff !important; }
.nav-login:hover { background: var(--blue-dark) !important; }

.nav-toggle, .nav-toggle-label { display: none; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(4rem, 10vw, 7rem) 0;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(242,140,28,.35), transparent 60%),
    linear-gradient(135deg, var(--blue-dark), var(--blue) 55%, var(--blue-light));
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 26px, transparent 26px 52px),
    linear-gradient(to bottom, transparent 60%, rgba(7,42,85,.35));
  pointer-events: none;
}
.hero.hero-photo {
  background:
    linear-gradient(115deg, rgba(7,42,85,.90) 0%, rgba(10,61,122,.72) 55%, rgba(10,61,122,.45) 100%),
    url("../img/foto1.jpg") center 30% / cover no-repeat;
}
.hero-content { position: relative; max-width: 720px; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: .15em; font-size: .8rem;
  font-weight: 700; color: var(--orange); margin-bottom: 1rem;
}
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 620px; }

/* ===================== SECTIONS ===================== */
.section { padding: clamp(3.25rem, 6vw, 5.25rem) 0; }
section[id], .section[id] { scroll-margin-top: 88px; }
.tiles-section + .section { padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
}
.section-dark h2 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin-top: .6rem; }

/* ===================== TILES ===================== */
.tiles-section { margin-top: -3.5rem; padding-bottom: 0; position: relative; z-index: 2; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem 1.7rem; box-shadow: var(--shadow); color: var(--ink);
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(10,61,122,.18); border-color: transparent; text-decoration: none; }
.tile-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1.1rem;
  display: grid; place-items: center; font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(30,111,208,.12), rgba(242,140,28,.14));
}
.tile h3 { margin-bottom: .5rem; }
.tile p { color: var(--muted); font-size: .96rem; margin-bottom: 1.1rem; }
.tile-link { margin-top: auto; font-weight: 700; color: var(--orange-dark); font-size: .92rem; transition: gap .2s; }
.tile:hover .tile-link { color: var(--orange); }

/* ===================== TWO COLUMN ===================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col.reverse .col-media { order: -1; }
.col-text p { color: var(--muted); margin-top: 1rem; }
.section-dark .col-text p { color: rgba(255,255,255,.82); }

.check-list { list-style: none; margin: 1.4rem 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: .8rem;
  display: grid; place-items: center; font-weight: 700;
}

.media-card {
  border-radius: var(--radius); min-height: 320px;
  display: grid; place-items: center; text-align: center;
  color: #fff; font-size: 1.5rem; font-weight: 700; line-height: 1.3;
  box-shadow: var(--shadow); padding: 2rem;
}
.grad-blue   { background: linear-gradient(135deg, var(--blue), var(--blue-light)); }
.grad-orange { background: linear-gradient(135deg, var(--orange-dark), var(--orange)); }

/* real photos in media slots */
.media-photo {
  width: 100%; height: 100%; min-height: 320px; max-height: 460px;
  object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow);
}
.media-frame { position: relative; }
.media-frame .media-photo { display: block; }
.media-frame::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
  background: linear-gradient(to top, rgba(7,42,85,.28), transparent 45%);
  pointer-events: none;
}
.media-badge {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,.94); color: var(--blue-dark);
  font-weight: 700; font-size: .82rem; padding: .4rem .8rem; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* ===================== GALLERY / IMPRESSIONEN ===================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 0; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem;
  color: #fff; font-size: .85rem; font-weight: 600;
  background: linear-gradient(to top, rgba(7,42,85,.85), transparent);
}

/* ===================== FEATURES ===================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px; margin-bottom: .9rem;
  font-size: .9rem; font-weight: 800; color: #fff; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
}
.feature h4 { margin-bottom: .4rem; font-size: 1.15rem; }
.feature p { color: var(--muted); font-size: .95rem; }
.feature-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff; border: none; display: flex; flex-direction: column; gap: .6rem;
}
.feature-cta h4, .feature-cta p { color: #fff; }
.feature-cta .btn { margin-top: auto; align-self: flex-start; }

/* ===================== EVENTS ===================== */
.event-empty {
  background: #fff; border: 2px dashed var(--line); border-radius: var(--radius);
  padding: 3rem 2rem; text-align: center; max-width: 620px; margin: 0 auto;
}
.event-empty p:first-child { font-size: 1.25rem; font-weight: 700; margin-bottom: .6rem; }
.event-empty .btn { margin-top: 1.4rem; }

/* ===================== STATS ===================== */
.stats { display: flex; gap: 28px; margin-top: 1.8rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 2rem; color: var(--orange-dark); }
.stat span { color: var(--muted); font-size: .9rem; }

/* ===================== CONTACT / FORM ===================== */
.contact-list { list-style: none; margin-top: 1.4rem; display: grid; gap: .7rem; }
.contact-list a { color: #fff; }
.contact-form {
  background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1rem; }
.contact-form label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: .35rem; padding: .7rem .9rem;
  border: 1px solid var(--line); border-radius: 10px; font: inherit;
  background: var(--bg-alt);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--blue-light); background: #fff;
}
.form-note { font-size: .8rem; color: var(--muted); margin-top: .6rem; }
.form-narrow { max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-sep { border: none; border-top: 1px solid var(--line); margin: 1rem 0 1.3rem; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: .5rem; }
.check { display: flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .92rem; color: var(--ink); }
.check input { width: auto; margin: 0; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* ===================== FOOTER ===================== */
.site-footer { background: #0b1626; color: #fff; padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 2.5rem; }
.footer-brand .brand-text small { color: rgba(255,255,255,.6); }
.footer-col h5 { font-size: .95rem; margin-bottom: .8rem; color: var(--orange); }
.footer-col p { font-size: .92rem; }
.social { display: flex; flex-direction: column; gap: .4rem; }
.social a { color: rgba(255,255,255,.8); font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: rgba(255,255,255,.65); }
.footer-bottom a { color: rgba(255,255,255,.8); }

/* ===================== NAV ACTIVE ===================== */
.main-nav a.active { color: var(--blue); background: var(--bg-alt); }
.nav-login.active { color: #fff !important; }

/* ===================== PAGE HERO (Subpages) ===================== */
.page-hero { color: #fff; padding: clamp(3rem, 8vw, 5.5rem) 0; position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero .hero-lead { color: rgba(255,255,255,.9); max-width: 640px; font-size: 1.12rem; }
.grad-blue-hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(242,140,28,.32), transparent 60%),
    linear-gradient(135deg, var(--blue-dark), var(--blue) 60%, var(--blue-light));
}
.grad-orange-hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(30,111,208,.35), transparent 60%),
    linear-gradient(135deg, var(--orange-dark), var(--orange));
}

/* ===================== STEPS ===================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; box-shadow: var(--shadow-sm); position: relative;
}
.step-badge {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; font-size: 1.2rem;
  display: grid; place-items: center; margin-bottom: 1rem;
}
.step h4 { margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .95rem; }

/* ===================== RANK GRID ===================== */
.rank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.rank {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: .9rem 1rem; box-shadow: var(--shadow-sm); font-size: .95rem; font-weight: 600;
}
.rank-abbr {
  min-width: 46px; height: 34px; padding: 0 8px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: #fff; font-weight: 800; font-size: .82rem;
  display: grid; place-items: center;
}

/* ===================== STATS CENTER ===================== */
.stats-center { justify-content: center; gap: 48px; }
.stats-center .stat { align-items: center; text-align: center; }
.section-dark .stat strong { color: var(--orange); }
.section-dark .stat span { color: rgba(255,255,255,.75); }

/* ===================== LEGAL PAGES ===================== */
.legal { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.legal h1 { margin-bottom: 1.5rem; }
.legal h2 { margin: 2rem 0 .6rem; font-size: 1.3rem; }
.legal p { color: var(--muted); margin-bottom: .8rem; }
.legal .container { max-width: 800px; }

/* ===================== ANIMATIONS ===================== */
/* Scroll-Reveal */
.pre-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1),
              transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.pre-reveal.revealed { opacity: 1; transform: none; }

/* Hero-Entrance (beim Laden) */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.hero-content > * { animation: heroIn .8s cubic-bezier(.22,.61,.36,1) both; }
.hero-kicker    { animation-delay: .05s; }
.hero h1        { animation-delay: .18s; }
.hero-lead      { animation-delay: .34s; }
.hero-actions   { animation-delay: .5s; }

/* Header-Shrink beim Scrollen */
.site-header { transition: height .25s ease, box-shadow .25s ease, background .25s ease; }
.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(10,61,122,.12);
  background: rgba(255,255,255,.97);
}
.site-header.scrolled .header-inner { height: 62px; }
.header-inner { transition: height .25s ease; }
.site-header.scrolled .brand-logo { height: 34px; transition: height .25s ease; }
.brand-logo { transition: height .25s ease; }

/* Button-Sheen beim Hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transition: left .6s ease;
}
.btn-primary:hover::after { left: 140%; }

/* Media-Foto: sanfter Zoom im Frame */
.media-frame .media-photo { transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.media-frame:hover .media-photo { transform: scale(1.04); }

/* Pulsierender Live-Punkt (z. B. Status/Kicker) */
@keyframes pulseDot { 0%,100% { opacity:1; } 50% { opacity:.35; } }

/* Floating-Icon in Tiles */
.tile-icon { transition: transform .3s ease; }
.tile:hover .tile-icon { transform: translateY(-4px) rotate(-4deg); }

/* Hero-Wellen-Übergang */
.hero, .page-hero { position: relative; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; pointer-events: none; z-index: 1; }
.hero-wave svg { display: block; width: 100%; height: 70px; }
.hero-wave path { fill: #fff; }
.section-alt + * .hero-wave path { fill: var(--bg-alt); }
.hero-content, .page-hero .container { position: relative; z-index: 2; }
@media (max-width: 600px) { .hero-wave svg { height: 42px; } }

/* Rang-Level-Balken */
.rank { position: relative; overflow: hidden; padding-bottom: 1.1rem; }
.rank-bar { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: rgba(10,61,122,.08); }
.rank-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue-light), var(--orange));
  transition: width 1.1s cubic-bezier(.22,.61,.36,1);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,20,40,.9); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 4vw;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 92vw; max-height: 86vh; border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  transform: scale(.92); transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.lightbox.open img { transform: scale(1); }
.lightbox-caption {
  position: absolute; bottom: 5vh; left: 0; right: 0; text-align: center;
  color: #fff; font-weight: 600; font-size: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute; top: 20px; right: 26px; width: 46px; height: 46px;
  border: none; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff;
  font-size: 1.6rem; cursor: pointer; transition: background .2s, transform .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.28); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff; font-size: 1.8rem; cursor: pointer;
  transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 3vw; }
.lightbox-next { right: 3vw; }
.gallery figure { cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .hero-content > *, .pre-reveal { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .btn-primary::after { display: none; }
  .lightbox img { transition: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 880px) {
  .tiles, .feature-grid, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats-center { gap: 24px; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .col-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle-label {
    display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
  }
  .nav-toggle-label span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: .3s; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px; gap: 2px; }
  .main-nav a { padding: .8rem; }
  .nav-toggle:checked ~ .main-nav { max-height: 420px; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
