/* ============================================================
   Schützenverein Leihgestern 1926 e.V. – Stylesheet
   Farbwelt: Schützengrün, Gold, Wappen-Bordeaux, Creme
   ============================================================ */

:root {
  --green-900: #102a1d;
  --green-800: #1b4332;
  --green-700: #2d6a4f;
  --green-600: #40916c;
  --gold: #c9a227;
  --gold-light: #e3c25a;
  --bordeaux: #6b1f1f;
  --cream: #faf6ee;
  --cream-2: #f2ebdd;
  --ink: #1c2620;
  --ink-soft: #4a5a51;
  --white: #ffffff;

  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 42, 29, 0.12);
  --shadow-lg: 0 18px 50px rgba(16, 42, 29, 0.20);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; font-weight: 700; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--green-800); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: .98rem;
  padding: .85rem 1.7rem; border-radius: 50px; cursor: pointer; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
  letter-spacing: .01em;
}
.btn-primary { background: var(--gold); color: var(--green-900); }
.btn-primary:hover { background: var(--gold-light); color: var(--green-900); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(201,162,39,.4); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; transform: translateY(-3px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(16, 42, 29, 0.0);
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: .55rem 0;
}
.site-header.scrolled {
  background: rgba(16, 42, 29, 0.96);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.nav-container {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; }
.brand:hover { color: #fff; }
.brand-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: contain; background: var(--cream); padding: 3px; box-shadow: 0 0 0 2px rgba(201,162,39,.75); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.brand-sub { font-size: .78rem; color: var(--gold-light); letter-spacing: .12em; }

.primary-nav ul { list-style: none; display: flex; gap: .1rem; flex-wrap: nowrap; align-items: center; }
.primary-nav a {
  color: #f3f0e7; font-size: .86rem; font-weight: 600; padding: .5rem .52rem; border-radius: 8px;
  position: relative; white-space: nowrap;
}
.primary-nav a::after {
  content: ""; position: absolute; left: .52rem; right: .52rem; bottom: .26rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.primary-nav a:hover, .primary-nav a.active { color: #fff; }
.primary-nav a:hover::after, .primary-nav a.active::after { transform: scaleX(1); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle-bar { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: -10% 0; z-index: -2;
  background: url("../assets/bilder/Schuetzenhaus_hero.jpg") center/cover no-repeat;
  filter: contrast(1.06) saturate(1.1);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  /* Dunkler hinter dem Text (links/unten), zur rechten Seite hin transparenter,
     damit das Schützenhaus-Bild deutlich sichtbar und schärfer wirkt. */
  background:
    linear-gradient(95deg, rgba(16,42,29,.82) 0%, rgba(16,42,29,.55) 42%, rgba(16,42,29,.22) 100%),
    linear-gradient(180deg, rgba(16,42,29,.40) 0%, rgba(16,42,29,0) 28%, rgba(16,42,29,.55) 100%);
}
.hero-content { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 7rem clamp(1.1rem,4vw,2.5rem) 4rem; color: #fff; }
.hero-kicker {
  text-transform: uppercase; letter-spacing: .28em; font-size: .82rem; font-weight: 700;
  color: var(--gold-light); margin-bottom: 1rem;
  opacity: 0; animation: fadeUp .8s var(--ease) .1s forwards;
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.05; text-shadow: 0 4px 20px rgba(0,0,0,.4);
  opacity: 0; animation: fadeUp .8s var(--ease) .25s forwards;
}
.hero-title .gold { color: var(--gold); }
.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 600px; margin: 1.3rem 0 2.2rem; color: #eef0ea;
  opacity: 0; animation: fadeUp .8s var(--ease) .4s forwards;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp .8s var(--ease) .55s forwards; }

/* Animiertes Zielscheiben-SVG */
.hero-target {
  position: absolute; right: clamp(-90px, -2vw, 40px); top: 50%; transform: translateY(-50%);
  width: clamp(280px, 42vw, 560px); aspect-ratio: 1; z-index: -1; opacity: .22;
  pointer-events: none;
  animation: floaty 9s ease-in-out infinite;
}
.target-svg { width: 100%; height: 100%; }
.target-svg .ring { fill: none; stroke: var(--gold-light); stroke-width: 2; transform-origin: center; }
.target-svg .ring-1 { animation: pulseRing 4s ease-in-out infinite; }
.target-svg .ring-2 { animation: pulseRing 4s ease-in-out infinite .4s; }
.target-svg .ring-3 { animation: pulseRing 4s ease-in-out infinite .8s; }
.target-svg .ring-4 { animation: pulseRing 4s ease-in-out infinite 1.2s; }
.target-svg .bull { fill: var(--gold); animation: bullPulse 4s ease-in-out infinite; }
.target-svg .reticle { stroke: rgba(255,255,255,.5); stroke-width: 1; stroke-dasharray: 4 6; }

.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-mouse {
  display: block; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; position: relative;
}
.scroll-mouse::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: #fff; border-radius: 2px;
  transform: translateX(-50%); animation: scrollDot 1.8s infinite;
}

/* ============================================================
   SECTION GENERICS
   ============================================================ */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--cream-2); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem,5vw,3.2rem); }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .22em; font-size: .8rem; font-weight: 800;
  color: var(--green-700); margin-bottom: .7rem;
}
.eyebrow.light { color: var(--gold-light); }
.eyebrow::before, .eyebrow::after { content: "✦"; color: var(--gold); margin: 0 .55rem; font-size: .7em; vertical-align: middle; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); color: var(--green-800); }
.section-intro { margin-top: .9rem; color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   ÜBER UNS
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.about-text p { margin-bottom: 1.1rem; color: var(--ink-soft); font-size: 1.05rem; }
.about-text strong { color: var(--ink); }

.stats { display: flex; gap: 1.4rem; margin-top: 2rem; flex-wrap: wrap; }
.stat { flex: 1; min-width: 120px; background: var(--white); border-radius: var(--radius); padding: 1.3rem 1rem; text-align: center; box-shadow: var(--shadow); border-bottom: 4px solid var(--gold); }
.stat-num { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: var(--green-800); }
.stat-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }

/* Timeline */
.timeline { list-style: none; position: relative; padding-left: 1.8rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--green-600)); }
.timeline li { position: relative; padding: 0 0 1.5rem 1.2rem; }
.timeline li::before {
  content: ""; position: absolute; left: -1.8rem; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--cream);
}
.section-alt .timeline li::before { box-shadow: 0 0 0 4px var(--cream-2); }
.t-year { display: block; font-family: var(--serif); font-weight: 700; color: var(--green-700); font-size: 1.15rem; }
.t-text { color: var(--ink-soft); }

/* ============================================================
   CARDS / DISZIPLINEN
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem; }
.card { background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.5rem; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.disc-card { text-align: center; }
.disc-icon { width: 46px; height: 46px; margin: 0 auto .9rem; fill: none; stroke: var(--gold); stroke-width: 1.6; transition: transform .5s var(--ease); }
.disc-card:hover .disc-icon { transform: rotate(180deg); stroke: var(--green-700); }
.disc-card h3 { color: var(--green-800); font-size: 1.2rem; margin-bottom: .25rem; }
.disc-card p { color: var(--ink-soft); font-size: .92rem; }

/* ============================================================
   ANLAGE / RANGE CARDS
   ============================================================ */
.range-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem; }
.range-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.range-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.range-img { overflow: hidden; aspect-ratio: 4/3; }
.range-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.range-card:hover .range-img img { transform: scale(1.08); }
.range-card figcaption { padding: 1.2rem 1.4rem 1.5rem; }
.range-card h3 { color: var(--green-800); font-size: 1.35rem; }
.range-card p { color: var(--ink-soft); margin-top: .2rem; }

/* ============================================================
   ÖFFNUNGSZEITEN
   ============================================================ */
.hours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; max-width: 900px; margin: 0 auto; }
.hours-card { background: var(--white); border-radius: var(--radius); padding: 1.8rem; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--green-600); }
.hours-day { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--green-800); }
.hours-time { display: block; font-size: 1.4rem; font-weight: 700; color: var(--gold); margin: .4rem 0; }
.hours-type { color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }

/* ============================================================
   TERMINE / EVENTS
   ============================================================ */
.events { max-width: 860px; margin: 0 auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.event { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 1rem; padding: .95rem 1.5rem; border-bottom: 1px solid var(--cream-2); transition: background .2s; }
.event:last-child { border-bottom: 0; }
.event:hover { background: var(--cream); }
.event-date { font-weight: 700; color: var(--green-700); font-size: .95rem; }
.event-name { color: var(--ink); }
.event-time { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: .9rem; }
.event.highlight { background: linear-gradient(90deg, rgba(201,162,39,.14), transparent); border-left: 4px solid var(--gold); }
.event.highlight .event-name { font-weight: 700; }

.downloads { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.dl-chip {
  display: inline-flex; align-items: center; gap: .6rem; background: var(--green-800); color: #fff;
  padding: .7rem 1.3rem; border-radius: 50px; font-weight: 600; font-size: .92rem;
  transition: transform .25s var(--ease), background .25s;
}
.dl-chip:hover { background: var(--green-700); color: #fff; transform: translateY(-3px); }
.dl-chip svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   FEATURE (OPS / KÖNIGSSCHIESSEN)
   ============================================================ */
.feature { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.6rem,4vw,2.8rem); margin-bottom: 1.8rem; border-left: 6px solid var(--gold); }
.feature-reverse { border-left: 6px solid var(--bordeaux); }
.feature h3 { color: var(--green-800); font-size: 1.6rem; margin-bottom: .8rem; }
.feature p { color: var(--ink-soft); margin-bottom: 1rem; }
.feature-list { list-style: none; margin-bottom: 1.3rem; }
.feature-list li { position: relative; padding-left: 1.6rem; margin-bottom: .65rem; color: var(--ink-soft); }
.feature-list li::before { content: "▸"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.feature-list strong { color: var(--ink); }

.royals { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin: 1.3rem 0; }
.royal { background: var(--cream); border-radius: 10px; padding: 1rem; text-align: center; border-bottom: 3px solid var(--gold); }
.royal-role { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--bordeaux); font-weight: 700; }
.royal-name { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--green-800); margin-top: .25rem; }
.muted { color: var(--ink-soft); font-size: .92rem; }

/* ============================================================
   JUBILÄUM
   ============================================================ */
.jubilee { background: linear-gradient(135deg, var(--green-900), var(--green-800) 55%, var(--bordeaux)); color: #fff; position: relative; overflow: hidden; }
.jubilee::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201,162,39,.25), transparent 45%);
}
.jubilee-inner { position: relative; text-align: center; max-width: 760px; }
.jubilee h2 { color: #fff; font-size: clamp(2rem,5vw,3rem); }
.jubilee-date { color: var(--gold-light); font-weight: 700; font-size: 1.15rem; margin: 1rem 0; }
.jubilee-lead { font-size: 1.1rem; margin-bottom: 1rem; }
.jubilee-list { list-style: none; display: inline-flex; flex-direction: column; gap: .6rem; margin: 0 auto 1.5rem; text-align: left; }
.jubilee-list li { font-size: 1.05rem; padding-left: 1.8rem; position: relative; }
.jubilee-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.jubilee-list span { color: var(--gold-light); font-weight: 700; }
.jubilee-note { color: #d7e0d8; font-size: .95rem; margin-bottom: 1.8rem; }

/* ============================================================
   DOC CARDS (Mitgliedschaft)
   ============================================================ */
.doc-card { display: flex; flex-direction: column; align-items: flex-start; color: var(--ink); }
.doc-card:hover { color: var(--ink); }
.doc-icon { width: 40px; height: 40px; fill: none; stroke: var(--green-700); stroke-width: 1.6; stroke-linejoin: round; margin-bottom: .9rem; transition: transform .3s var(--ease); }
.doc-card:hover .doc-icon { transform: translateY(-4px); stroke: var(--gold); }
.doc-card h3 { color: var(--green-800); font-size: 1.2rem; margin-bottom: .3rem; }
.doc-card p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1rem; }
.doc-cta { margin-top: auto; color: var(--gold); font-weight: 700; font-size: .92rem; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
.contact-info h3 { color: var(--green-800); font-size: 1.4rem; margin-bottom: .4rem; }
.contact-list { list-style: none; margin-top: 1.4rem; display: flex; flex-direction: column; gap: 1.1rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .9rem; }
.contact-list svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }

.contact-form { background: var(--white); border-radius: var(--radius); padding: clamp(1.5rem,4vw,2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--green-800); }
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid #d9d2c2; border-radius: 10px; font: inherit; color: var(--ink);
  background: var(--cream); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(64,145,108,.18); background: #fff; }
.form-hint { font-size: .82rem; color: var(--ink-soft); margin-top: .9rem; }
.form-status { font-weight: 600; margin-bottom: .8rem; min-height: 1.2em; }
.form-status.error { color: var(--bordeaux); }
.form-status.ok { color: var(--green-700); }

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal { padding: clamp(7rem, 12vw, 9rem) 0 4rem; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); color: var(--green-800); margin-bottom: .6rem; }
.legal h2 { font-size: 1.3rem; color: var(--green-700); margin: 2rem 0 .5rem; }
.legal p { color: var(--ink-soft); margin-bottom: 1rem; }
.legal p.muted { margin-bottom: 2rem; }
.legal strong { color: var(--ink); }
.legal .btn { margin-top: 1.5rem; color: var(--green-900); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--green-900); color: #d7e0d8; padding: 3rem 0 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { border-radius: 50%; object-fit: contain; background: var(--cream); padding: 4px; box-shadow: 0 0 0 2px rgba(201,162,39,.5); }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.1rem; }
.footer-brand p { font-size: .9rem; }
.footer-nav { display: flex; gap: 1.3rem; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: #d7e0d8; font-size: .92rem; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0; text-align: center; font-size: .85rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); border: 0; cursor: pointer; box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s, background .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-light); }
.to-top svg { width: 22px; height: 22px; fill: none; stroke: var(--green-900); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(-56%); } }
@keyframes pulseRing { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes bullPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }
@keyframes scrollDot { 0% { opacity: 1; top: 8px; } 70% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  /* Wichtig: backdrop-filter erzeugt einen Containing-Block fuer fixierte
     Kind-Elemente. Auf Mobil deaktivieren, damit das Overlay-Menue ueber den
     gesamten Viewport (statt nur ueber die Header-Leiste) gelegt wird. */
  .site-header.scrolled {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: rgba(16, 42, 29, 0.98);
  }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
    background: #0e2417;                       /* deckendes Dunkelgrün */
    z-index: 1200;                             /* sicher ueber allem Inhalt */
    flex-direction: column; padding: 5rem 1.5rem 2rem; transform: translateX(100%);
    transition: transform .35s var(--ease); box-shadow: -10px 0 40px rgba(0,0,0,.45);
    overflow-y: auto;                          /* lange Menues scrollbar */
  }
  .primary-nav.open { transform: translateX(0); }
  /* Abdunkelnder Hintergrund (Scrim) hinter dem geoeffneten Menue */
  .primary-nav.open::before {
    content: ""; position: fixed; top: 0; bottom: 0; left: 0;
    right: min(320px, 82vw);
    background: rgba(8, 18, 12, .55);
    -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  }
  .primary-nav ul { flex-direction: column; gap: .2rem; }
  .primary-nav a { display: block; padding: .8rem .6rem; font-size: 1.05rem; }
  .primary-nav a::after { display: none; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 72px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name { font-size: .98rem; }
  .brand-sub { font-size: .72rem; }
  .nav-toggle { padding: .55rem; }                 /* groesseres Touch-Ziel */
  .hero-content { padding-top: 6rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; text-align: center; }
  .event { grid-template-columns: 88px 1fr; padding: .85rem 1.1rem; }
  .event-time { grid-column: 2; justify-self: end; }
  .stats { gap: .7rem; }
  .stat { padding: 1.1rem .6rem; }
  .stat-num { font-size: 1.7rem; }
  .feature, .contact-form { padding: 1.3rem; }
  .footer-grid { flex-direction: column; }
  .footer-nav { gap: .9rem 1.1rem; }
  .to-top { right: 1rem; bottom: 1rem; width: 44px; height: 44px; }
}

/* Sehr kleine Geräte */
@media (max-width: 360px) {
  .brand-sub { display: none; }
  .events .event-name { font-size: .92rem; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-kicker, .hero-title, .hero-lead, .hero-actions { opacity: 1; animation: none; }
}
