/* ==========================================================================
   Reitclub Wiesen — Design System v2
   Palette: Wiesengrün (hell/mittel/dunkel) + Schwarz/Weiß
   Type:    Poppins (Headlines + Fließtext)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --green-light: #89bb3e;
  --green-mid: #5c7d30;
  --green-dark: #416017;
  --black: #000000;
  --white: #ffffff;

  --bg: #ffffff;
  --bg-soft: #f3f7ea;
  --paper: #ffffff;
  --ink: #171a14;
  --ink-soft: #4b5142;
  --line: rgba(23, 26, 20, 0.13);
  --line-on-dark: rgba(255, 255, 255, 0.16);
  --radius: 8px;

  --font: 'Poppins', 'Segoe UI', sans-serif;
}

@view-transition {
  navigation: auto;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Scroll reveal (progressive enhancement, added via nav.js) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.reveal-in { opacity: 1; transform: translateY(0); }

h1, h2, h3, .display {
  font-family: var(--font);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.12;
  margin: 0 0 0.45em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.22rem; font-weight: 600; }

p { margin: 0 0 1.1em; max-width: 62ch; }
a { color: var(--green-mid); }
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 2px;
}

.eyebrow {
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  display: inline-block;
  margin-bottom: 0.9em;
}

/* ---------- Tag chips ---------- */
.dim-tag {
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green-dark);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green-light);
  padding: 0.32em 0.7em;
  display: inline-block;
  white-space: nowrap;
  border-radius: var(--radius);
}

/* ---------- Layout shell ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---------- Header / Nav ---------- */
header.site {
  background: var(--green-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-on-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  max-width: 1120px;
  margin: 0 auto;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  flex: none;
}
.brand img { height: 76px; width: auto; flex: none; display: block; }
.brand .sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-light);
  line-height: 1.5;
  white-space: nowrap;
}
.nav-group { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
nav.primary { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
nav.primary a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
}
nav.primary a:hover, nav.primary a.active { color: var(--white); background: rgba(255, 255, 255, 0.1); }
nav.primary a.active { box-shadow: inset 0 -2px 0 var(--green-light); }
.has-sub { position: relative; }
.has-sub .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--green-mid);
  min-width: 200px;
  padding: 6px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  border-radius: var(--radius);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { display: block; }
.submenu a { display: block; color: rgba(255,255,255,0.9); }
.submenu a:hover { background: rgba(255,255,255,0.12); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  padding: 3px;
  flex: none;
}
.lang-switch a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 4px 11px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.lang-switch a.active { background: var(--green-light); color: var(--green-dark); }
.lang-switch a:hover:not(.active) { color: var(--white); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 92px;
  background:
    radial-gradient(circle at 85% -10%, rgba(137,187,62,0.35), transparent 55%),
    linear-gradient(155deg, #345013 0%, var(--green-dark) 46%, #1f3009 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 12% 25%, transparent 0 60px, rgba(255,255,255,0.16) 61px, transparent 62px),
    repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(255,255,255,0.07) 39px);
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 46px;
  background: var(--bg);
  clip-path: polygon(0% 100%, 0% 62%, 9% 30%, 19% 58%, 31% 12%, 44% 52%, 57% 22%, 71% 50%, 84% 8%, 93% 40%, 100% 20%, 100% 100%);
}
.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.hero h1 { color: var(--white); max-width: 18ch; text-shadow: 0 2px 24px rgba(0,0,0,0.18); }
.hero .lede { color: rgba(255,255,255,0.85); font-size: 1.12rem; max-width: 58ch; }
.hero .eyebrow { color: var(--green-light); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6rem; }

/* ---------- Sections ---------- */
section { padding: 68px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 68ch; margin-bottom: 2.4rem; }

/* ---------- Feature blocks ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.feature:first-of-type { border-top: none; }
.feature.reverse .img-slot { order: 2; }
.feature.no-image { grid-template-columns: 1fr; max-width: 62ch; }

.img-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1.5px dashed rgba(92, 125, 48, 0.45);
  background:
    linear-gradient(135deg, rgba(137,187,62,0.07), transparent 55%),
    repeating-linear-gradient(135deg, var(--paper), var(--paper) 12px, var(--bg-soft) 12px, var(--bg-soft) 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.img-slot::before {
  content: "";
  width: 34px;
  height: 34px;
  opacity: 0.5;
  background: var(--green-mid);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M3 17l5-6 4 5 3-4 6 5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='7' r='2'/%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3C/svg%3E") center/60% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M3 17l5-6 4 5 3-4 6 5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='7' r='2'/%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3C/svg%3E") center/60% no-repeat;
}
.img-slot.square { aspect-ratio: 1 / 1; }
.img-slot.wide { aspect-ratio: 16 / 9; }
.img-slot.filled { padding: 0; border-style: solid; background: none; overflow: hidden; }
.img-slot.filled::before { display: none; }
.img-slot.filled img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green-light);
  padding: 26px 24px;
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(23,26,20,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -18px rgba(23,26,20,0.28);
  border-color: rgba(137,187,62,0.4);
}
.card h3 { margin-bottom: 0.5em; }
.card p a { font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.card p a:hover { text-decoration: underline; }

/* ---------- Quick links (home teasers) ---------- */
.teaser-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.teaser {
  display: block;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: var(--radius);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.teaser:hover { border-color: var(--green-light); transform: translateY(-2px); }
.teaser h3 { color: var(--green-dark); margin-bottom: 0.35em; }
.teaser p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 0.6em; }
.teaser .arrow { color: var(--green-mid); font-weight: 700; font-size: 0.85rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 22px;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: var(--radius);
}
.btn:hover { background: #9ecb52; }
.btn.outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn.outline:hover { background: rgba(255,255,255,0.1); }

/* ---------- Timeline (Turnier) ---------- */
.timeline { border-left: 2px solid var(--green-mid); margin-left: 8px; }
.timeline .stop { position: relative; padding: 4px 0 32px 28px; }
.timeline .stop::before {
  content: "";
  position: absolute;
  left: -7px; top: 6px;
  width: 12px; height: 12px;
  background: var(--green-light);
  border: 2px solid var(--green-dark);
  border-radius: 50%;
}
.timeline .stop .dim-tag { margin-bottom: 8px; }

/* ---------- Roadmap (horizontal Turnier stepper) ---------- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
  counter-reset: roadmap-step;
}
.roadmap .stage {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green-light);
  border-radius: var(--radius);
  padding: 32px 22px 26px;
  box-shadow: 0 1px 2px rgba(23,26,20,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.roadmap .stage:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -18px rgba(23,26,20,0.28);
}
.roadmap .stage::before {
  counter-increment: roadmap-step;
  content: counter(roadmap-step);
  position: absolute;
  top: -20px; left: 20px;
  width: 38px; height: 38px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px -2px rgba(23,26,20,0.35);
}
.roadmap .stage .dim-tag { margin-bottom: 10px; }

/* ---------- Stat tiles ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 40px 0; }
.stat-tile { background: var(--bg-soft); border-radius: var(--radius); padding: 26px 22px; }
.stat-tile .stat-num { display: block; font-size: 2.6rem; font-weight: 800; color: var(--green-dark); line-height: 1; margin-bottom: 10px; letter-spacing: -0.02em; }
.stat-tile .stat-label { display: block; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- Pull quote ---------- */
.pull-quote {
  border-left: 4px solid var(--green-light);
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 40px 0;
}
.pull-quote p { font-size: 1.15rem; font-style: italic; color: var(--green-dark); margin: 0 0 10px; max-width: none; }
.pull-quote cite { display: block; font-size: 0.85rem; font-style: normal; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; }
.contact-list li:first-child { border-top: none; }
.contact-list .k { font-size: 0.72rem; font-weight: 700; color: var(--green-mid); text-transform: uppercase; letter-spacing: 0.06em; min-width: 92px; padding-top: 2px; }
form.contact-form { display: grid; gap: 14px; }
form.contact-form input, form.contact-form textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
}
form.contact-form label { font-size: 0.85rem; font-weight: 600; color: var(--green-dark); }
form.contact-form textarea { min-height: 130px; resize: vertical; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(23,26,20,0.04);
}
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Sponsor tiers ---------- */
.sponsor-tier { margin-bottom: 52px; }
.sponsor-tier:last-child { margin-bottom: 0; }
.tier-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.tier-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.tier-badge.patron { background: var(--green-dark); color: var(--white); }
.tier-badge.gold { background: linear-gradient(135deg, #b4881f, #e8c766); color: #3a2c05; }
.tier-badge.silver { background: linear-gradient(135deg, #8f96a1, #dde1e4); color: #262a2f; }
.tier-badge.bronze { background: linear-gradient(135deg, #8a5a34, #c48a5c); color: #fbf6f0; }
.tier-note { color: var(--ink-soft); font-size: 0.88rem; margin: 0; }

/* Each tier gets a fixed tile height, so every logo within a tier sits in an
   identically-sized tile regardless of its own aspect ratio (object-fit:
   contain scales it to fill that tile). Grid (rather than centered flex)
   keeps every tier's row flush with the same left and right edge as the
   others, since columns stretch to fill the full container width. Patron
   ("Gefördert von") is sized the same as Gold — it's official/civic
   support, not a lesser tier. Silber and Bronze step down from there so
   the hierarchy stays visible at a glance. */
.tier-grid { display: grid; gap: 20px; }
.tier-grid.patron { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tier-grid.gold { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tier-grid.silver { grid-template-columns: repeat(auto-fill, minmax(202px, 1fr)); }
.tier-grid.bronze { grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); }

.sponsor-slot {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--tier-color, var(--green-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(23,26,20,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sponsor-slot:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -18px rgba(23,26,20,0.3);
}
.tier-grid.patron .sponsor-slot { --tier-color: var(--green-light); height: 172px; }
.tier-grid.gold .sponsor-slot { --tier-color: #c49a2e; height: 172px; font-size: 0.9rem; font-weight: 600; }
.tier-grid.silver .sponsor-slot { --tier-color: #9aa1a8; height: 132px; }
.tier-grid.bronze .sponsor-slot { --tier-color: #a06b3f; height: 102px; font-size: 0.78rem; }

.sponsor-slot img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
.gallery-item {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(23,26,20,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -18px rgba(23,26,20,0.3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 8, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: background 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ---------- Legal note (small print, e.g. public-funding transparency) ---------- */
.legal-note {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-soft);
  max-width: none;
}

/* ---------- Breadcrumb / page hero ---------- */
.page-hero { padding: 64px 0 68px; }
.page-hero .eyebrow { margin-bottom: 0.6em; }
.page-hero p.lede { max-width: 60ch; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--green-dark);
  color: rgba(255,255,255,0.78);
  padding: 52px 0 26px;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer.site h4 { color: var(--white); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; font-weight: 700; }
footer.site a { color: rgba(255,255,255,0.78); text-decoration: none; }
footer.site a:hover { color: var(--green-light); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 20px; font-size: 0.82rem; color: rgba(255,255,255,0.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.social-links a:hover { background: rgba(255,255,255,0.12); border-color: var(--green-light); color: var(--white); }
.social-links.on-light a { border-color: var(--line); color: var(--green-dark); }
.social-links.on-light a:hover { background: var(--bg-soft); border-color: var(--green-mid); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-inner { flex-wrap: wrap; }
  .roadmap { grid-template-columns: 1fr; gap: 28px; }
  .brand img { height: 56px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: transparent;
    border: 1px solid var(--line-on-dark);
    border-radius: var(--radius);
    color: var(--white);
    cursor: pointer;
    order: 3;
  }
  .nav-group {
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    display: none;
  }
  .nav-group.open { display: flex; }
  nav.primary { flex-direction: column; align-items: flex-start; width: 100%; gap: 0; }
  nav.primary a { width: 100%; }
  .has-sub .submenu { position: static; background: rgba(255,255,255,0.06); box-shadow: none; display: none; }
  .has-sub.open .submenu { display: block; }
  .feature, .feature.reverse .img-slot { grid-template-columns: 1fr; order: initial; }
  .feature { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
