/* ================================================
   SV Lomitz von 1888 e.V. – Vereinswebsite
   ================================================ */

:root {
  --green-dark:   #1a3a28;
  --green:        #2d5a3d;
  --green-light:  #3d7a52;
  --gold:         #c8a84b;
  --gold-light:   #e0c478;
  --text:         #1e2a1e;
  --text-muted:   #5a6a5a;
  --bg:           #f8f9f5;
  --white:        #ffffff;
  --shadow:       0 4px 24px rgba(0,0,0,.12);
  --shadow-lg:    0 12px 48px rgba(0,0,0,.18);
  --radius:       12px;
  --radius-lg:    20px;
  --trans:        .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--green); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
  color: var(--green-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
h4 { font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }

.section-label {
  display: inline-block;
  background: var(--gold);
  color: var(--green-dark);
  font-size: .75rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.center { text-align: center; }
.section-label.center { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--trans);
  text-decoration: none;
}
.btn-primary   { background: var(--gold); color: var(--green-dark); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); color: var(--green-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline   { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green-dark); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); color: var(--white); }
.btn-green { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-green:hover { background: var(--green-light); color: var(--white); transform: translateY(-2px); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--trans), box-shadow var(--trans);
  padding: .9rem 0;
}
.navbar.scrolled {
  background: var(--green-dark);
  box-shadow: var(--shadow);
  padding: .5rem 0;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.nav-logo span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: .01em;
}
.nav-logo em { display: block; font-style: normal; font-weight: 500; font-size: .82rem; color: var(--gold); letter-spacing: .03em; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: .5rem .85rem;
  color: rgba(255,255,255,.9);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  border-radius: 6px;
  transition: color var(--trans), background var(--trans);
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--gold); background: rgba(255,255,255,.06); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 200px;
  background: var(--green-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--trans);
  border: 1px solid rgba(255,255,255,.08);
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: .7rem 1.2rem;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  transition: color var(--trans), background var(--trans);
  border-radius: 6px;
  margin: .2rem;
}
.dropdown li a:hover { color: var(--gold); background: rgba(255,255,255,.06); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--trans);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,30,15,.55) 0%, rgba(10,30,15,.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 2rem 1.5rem;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .4rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-content h1 { color: var(--white); margin-bottom: .5rem; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.hero-content h1 span { color: var(--gold); }
.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .5rem;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.5rem;
  font-style: italic;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--white);
  opacity: .7;
  animation: bounce 2s infinite;
}
.hero-scroll svg { width: 36px; height: 36px; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── WELCOME ── */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.welcome-text p { color: var(--text-muted); margin-bottom: 1rem; }
.welcome-text .btn { margin-top: .5rem; }

.welcome-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--gold);
  transition: transform var(--trans), box-shadow var(--trans);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-num small { font-size: 1.2rem; }
.stat-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }

/* ── FEATURES ── */
.features { background: var(--white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.feature-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--trans), box-shadow var(--trans);
  border: 1px solid rgba(0,0,0,.06);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); background: var(--white); }
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card p { color: var(--text-muted); font-size: .92rem; margin-bottom: 1rem; }
.feature-card a { color: var(--green); font-weight: 600; font-size: .9rem; }
.feature-card a:hover { color: var(--gold); }

/* ── GALLERY PREVIEW ── */
.gallery-preview { background: var(--green-dark); }
.gallery-preview .section-label { background: var(--gold); color: var(--green-dark); }
.gallery-preview h2 { color: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-top: 2rem;
}
.gallery-item {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* Vollständige Galerie (alle Fotos) */
.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.gallery-grid-full .gallery-item { aspect-ratio: 4/3; }

/* ── CTA ── */
.cta-section { background: var(--green); }
.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-text h2 { color: var(--white); }
.cta-text p  { color: rgba(255,255,255,.8); }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 3rem); }
.page-hero .breadcrumb {
  margin-top: .75rem;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero .breadcrumb a:hover { color: var(--gold-light); }

/* ── VEREIN / VORSTAND ── */
.vorstand-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.vorstand-card {
  flex: 0 1 280px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform var(--trans), box-shadow var(--trans);
}
.vorstand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vorstand-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green-light);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.vorstand-card h3 { font-size: 1.1rem; }
.vorstand-card .role {
  display: inline-block;
  background: var(--bg);
  color: var(--green);
  font-size: .8rem;
  font-weight: 700;
  padding: .2rem .8rem;
  border-radius: 100px;
  margin-top: .3rem;
  font-family: 'Montserrat', sans-serif;
}

/* ── STÄNDE ── */
.stand-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}
.stand-section.reverse { direction: rtl; }
.stand-section.reverse > * { direction: ltr; }
.stand-info h2 { margin-bottom: 1rem; }
.stand-info p  { color: var(--text-muted); margin-bottom: .75rem; }
.stand-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}
.spec-tag {
  background: var(--green);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .9rem;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
}
.stand-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.stand-images img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--trans);
}
.stand-images img:hover { transform: scale(1.02); }
.stand-images img:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }

/* ── DOWNLOADS ── */
.download-list { margin-top: 2rem; }
.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  transition: transform var(--trans), box-shadow var(--trans);
}
.download-item:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.download-info { display: flex; align-items: center; gap: 1rem; }
.download-icon {
  width: 48px;
  height: 48px;
  background: #e74c3c;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.download-info h4 { margin: 0; font-size: .95rem; }
.download-info p  { margin: 0; font-size: .82rem; color: var(--text-muted); }
.download-item .btn { padding: .55rem 1.2rem; font-size: .85rem; white-space: nowrap; }

/* ── KONTAKT ── */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}
.kontakt-info h3 { color: var(--green); margin-bottom: 1rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.contact-label { font-weight: 700; font-family: 'Montserrat', sans-serif; font-size: .88rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.contact-value a { color: var(--text); font-size: .95rem; }
.contact-value a:hover { color: var(--gold); }

.kontakt-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: .4rem;
  font-family: 'Montserrat', sans-serif;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .8rem 1rem;
  border: 2px solid #e0e8e0;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--trans);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.form-group textarea { min-height: 140px; }

/* ── MAJESTÄTEN ── */
.majestaeten-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}
.majestaeten-table th {
  background: var(--green-dark);
  color: var(--white);
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 700;
}
.majestaeten-table td {
  padding: .85rem 1.25rem;
  border-bottom: 1px solid #eef2ee;
  font-size: .92rem;
}
.majestaeten-table tr:last-child td { border-bottom: none; }
.majestaeten-table tbody tr:nth-child(even) { background: #f5f9f5; }
.majestaeten-table tbody tr:hover { background: #e8f0e8; }
.majestaeten-table .year { font-weight: 700; color: var(--green); font-family: 'Montserrat', sans-serif; }
.crown-badge { display: inline-flex; gap: .5rem; align-items: center; }

/* ── LINKS ── */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.link-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  transition: transform var(--trans), box-shadow var(--trans);
}
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.link-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.link-card p  { font-size: .88rem; color: var(--text-muted); margin-bottom: .75rem; }
.link-card a.ext { color: var(--green); font-weight: 600; font-size: .9rem; }

/* ── MAP ── */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}
.map-wrap iframe { display: block; width: 100%; height: 400px; border: none; }

/* ── IMPRESSUM / DATENSCHUTZ ── */
.legal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow);
  margin-top: 2rem;
  max-width: 800px;
}
.legal-content h3 { color: var(--green); margin: 2rem 0 .5rem; border-bottom: 2px solid var(--gold); padding-bottom: .3rem; }
.legal-content h3:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: .5rem; font-size: .95rem; }
.legal-content ul { padding-left: 1.5rem; list-style: disc; }

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.lightbox.open { display: block; }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
}
.lightbox-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 8px 60px rgba(0,0,0,.6);
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--trans);
  z-index: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15);
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--trans);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.3); }

/* ── ALERT / NOTICE ── */
.notice {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: .92rem;
  color: #664d03;
}

/* ── FOOTER ── */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.8);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
  background: rgba(255,255,255,.1);
  padding: 4px;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: .9rem; line-height: 1.8; }
.footer-nav h4 { color: var(--gold); font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-nav ul li { margin-bottom: .4rem; }
.footer-nav ul li a { color: rgba(255,255,255,.7); font-size: .88rem; transition: color var(--trans); }
.footer-nav ul li a:hover { color: var(--gold); }
.footer-contact h4 { color: var(--gold); font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-contact p { font-size: .9rem; margin-bottom: .5rem; }
.footer-contact a { color: rgba(255,255,255,.8); transition: color var(--trans); }
.footer-contact a:hover { color: var(--gold); }
.footer-links { display: flex; flex-direction: column; gap: .3rem; margin-top: 1rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
}
.footer-links a::before { content: "↗"; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ── SCROLL-REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--green-dark);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: .25rem;
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { font-size: 1.1rem; padding: .75rem 1rem; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255,255,255,.05);
    border-radius: 8px;
    margin-top: .25rem;
  }

  .welcome-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .welcome-cards { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .stand-section { grid-template-columns: 1fr; gap: 2rem; }
  .stand-section.reverse { direction: ltr; }
  .kontakt-grid  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .cta-box       { flex-direction: column; }
  .legal-content { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
  .welcome-cards { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .hero-btns     { flex-direction: column; align-items: center; }
  .cta-actions   { flex-direction: column; }
  .stand-images  { grid-template-columns: 1fr; }
  .stand-images img:first-child { grid-column: auto; }
  .kontakt-form  { padding: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ════════════════════════════════════════
   DARK MODE
   ════════════════════════════════════════ */

/* ── Theme-Toggle (fixed bottom-right) ── */
.theme-toggle {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 998;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green-dark);
  border: 2px solid rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.2);
  transition: transform .22s ease, box-shadow .22s ease, border-color .3s, background .3s;
  overflow: hidden;
}
.theme-toggle:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,.45), 0 4px 12px rgba(0,0,0,.25);
  border-color: var(--gold);
}
.theme-toggle:active { transform: scale(1.04); }
.theme-toggle svg {
  width: 22px;
  height: 22px;
  position: absolute;
  transition: opacity .3s ease, transform .35s ease;
  stroke: #fff;
}
/* Light-Mode: Mond sichtbar, Sonne versteckt */
.theme-toggle .icon-sun  { opacity: 0; transform: rotate(90deg) scale(.5); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
/* Dark-Mode: Sonne sichtbar, Mond versteckt */
[data-theme="dark"] .theme-toggle { background: #2a4535; border-color: var(--gold); }
[data-theme="dark"] .theme-toggle svg { stroke: var(--gold-light); }
[data-theme="dark"] .theme-toggle .icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }

/* Tooltip */
.toggle-label {
  position: absolute;
  right: calc(100% + .75rem);
  background: var(--green-dark);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: .35rem .75rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity .2s, transform .2s;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.toggle-label::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--green-dark);
}
.theme-toggle:hover .toggle-label {
  opacity: 1;
  transform: translateX(0);
}
[data-theme="dark"] .toggle-label { background: #2a4535; border: 1px solid var(--gold); }
[data-theme="dark"] .toggle-label::after { border-left-color: #2a4535; }

/* Variablen-Overrides */
[data-theme="dark"] {
  --bg:        #0f1a12;
  --white:     #1c2e20;
  --text:      #e6f2e6;
  --text-muted:#a8c4a8;
  --shadow:    0 4px 24px rgba(0,0,0,.55);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.7);
}

/* Basis */
[data-theme="dark"] body { background: var(--bg); color: var(--text); }

/* Überschriften */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 { color: #eaf5ea; }

/* Links */
[data-theme="dark"] a { color: var(--gold-light); }
[data-theme="dark"] a:hover { color: var(--gold); }

/* Karten */
[data-theme="dark"] .stat-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .vorstand-card,
[data-theme="dark"] .download-item,
[data-theme="dark"] .news-card { border: 1px solid rgba(255,255,255,.08); }
[data-theme="dark"] .feature-card:hover { background: #253829; }
[data-theme="dark"] .vorstand-card .role { background: #2a4030; color: var(--gold-light); }
[data-theme="dark"] .download-item { border-color: rgba(255,255,255,.1); }

/* Section-Label Pill */
[data-theme="dark"] .section-label { background: var(--gold); color: #111; }

/* Formulare */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: #243328 !important;
  color: var(--text) !important;
  border-color: rgba(255,255,255,.22) !important;
}
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: #7fa07f !important; }
[data-theme="dark"] label { color: var(--text); }

/* Majestäten-Tabelle */
[data-theme="dark"] .majestaeten-table th { background: #243328; color: var(--text); border-color: rgba(255,255,255,.12); }
[data-theme="dark"] .majestaeten-table td { border-color: rgba(255,255,255,.08); color: var(--text); }
[data-theme="dark"] .majestaeten-table tr:nth-child(even) td { background: #172019; }
[data-theme="dark"] .majestaeten-table tr:hover td { background: #253829; }

/* Rechtliche Seiten */
[data-theme="dark"] .legal-content { background: var(--white); color: var(--text); border: 1px solid rgba(255,255,255,.08); }
[data-theme="dark"] .legal-content h2,
[data-theme="dark"] .legal-content h3 { color: var(--gold-light); }
[data-theme="dark"] .legal-content hr { border-color: rgba(255,255,255,.12); }
[data-theme="dark"] .legal-content ul li { color: var(--text); }

/* Kontakt-Karte */
[data-theme="dark"] .kontakt-info { background: var(--white); border: 1px solid rgba(255,255,255,.08); }
[data-theme="dark"] .kontakt-form { background: var(--white); border: 1px solid rgba(255,255,255,.08); }
