/* ============================================================
   Fischerverein Dorfbach Winikon — Design-Variante 2
   "Tiefwasser" — dunkel, cinematisch, modern
   Schwarz-Petrol · frischer Aqua-Akzent · große Grotesk-Typo
   Fonts: Bricolage Grotesque (Display) + Instrument Sans (Body)
   ============================================================ */

:root {
  --bg:        #06181a;   /* Tiefwasser-Schwarz */
  --bg-2:      #0a2327;
  --surface:   #0e2d31;
  --surface-2: #123a3f;
  --line:      #1c474c;
  --text:      #e9f2f0;
  --muted:     #93aaa7;
  --aqua:      #46e0bf;   /* frisches Wasser / Akzent */
  --aqua-deep: #21b394;
  --sun:       #f2b65a;   /* warmer Sekundärakzent (Sonne auf Wasser) */

  --maxw: 1180px;
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body:    "Instrument Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--bg); color: var(--text);
  line-height: 1.6; font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--aqua);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--aqua); opacity: .7; }
.lede { color: var(--muted); font-size: 1.2rem; }

/* ---------- Header (Glas) ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 24px; max-width: var(--maxw); margin-inline: auto;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled { background: rgba(6,24,26,.72); backdrop-filter: blur(12px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { height: 84px; width: auto; display: block; transition: height .3s; }
.hdr.scrolled .brand .logo { height: 64px; }
.brand .mark { width: 38px; height: 38px; color: var(--aqua); }
.brand b { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -.01em; display: block; line-height: 1; }
.brand span { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .cta { color: var(--bg); background: var(--aqua); padding: 9px 18px; border-radius: 999px; font-weight: 600; }
.nav .cta:hover { background: var(--aqua-deep); color: var(--bg); }
.burger { display: none; background: none; border: 0; cursor: pointer; color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(80% 60% at 75% 0%, rgba(70,224,191,.16) 0%, transparent 55%),
    radial-gradient(60% 50% at 10% 90%, rgba(33,179,148,.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
/* fließende „Strömungslinien" */
.hero-bg::after {
  content: ""; position: absolute; inset: -20% -10%;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 38px, rgba(70,224,191,.05) 38px 39px);
  mask-image: radial-gradient(70% 70% at 70% 20%, #000 0%, transparent 70%);
  animation: drift 22s linear infinite;
}
@keyframes drift { to { transform: translateX(-78px); } }

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin-inline: auto; padding: 70px 24px 96px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center;
}
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); margin: 20px 0 22px; }
.hero h1 .stroke {
  color: var(--aqua);
  text-shadow: 0 0 28px rgba(70,224,191,.28);
}
.hero .lede { max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px;
  transition: transform .18s, box-shadow .25s, background .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--aqua); color: var(--bg); box-shadow: 0 10px 30px rgba(70,224,191,.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(70,224,191,.35); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--aqua); transform: translateY(-2px); }

.hero-figure {
  position: relative; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--bg));
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
  display: grid; place-items: center;
}
.hero-figure svg { width: 70%; opacity: .9; }
.hero-figure .hero-logo {
  width: 74%; max-width: 380px; height: auto; opacity: .97;
  filter: drop-shadow(0 10px 34px rgba(0,0,0,.55));
}
.hero-figure .tag {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(6,24,26,.6); border: 1px solid var(--line); backdrop-filter: blur(6px);
  padding: 9px 13px; border-radius: 10px; font-size: .8rem; color: var(--muted);
}
.hero-figure .tag b { color: var(--aqua); font-family: var(--font-display); }
.hero-figure .note {
  position: absolute; top: 14px; right: 14px; font-size: .66rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line); padding: 4px 9px; border-radius: 999px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin: 14px 0 14px; }

/* Verein */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-copy p { color: var(--muted); }
.about-copy p + p { margin-top: 16px; }
.stat-row { display: flex; gap: 36px; margin-top: 32px; flex-wrap: wrap; }
.stat b { font-family: var(--font-display); font-size: 2.4rem; color: var(--aqua); display: block; line-height: 1; }
.stat span { font-size: .82rem; color: var(--muted); }
.media-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.about-copy, .about-grid > * { min-width: 0; }
.media {
  border-radius: 16px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  background-size: cover; background-position: center;
  aspect-ratio: 1; display: grid; place-items: center; color: var(--muted); font-size: .82rem;
}
.media.tall { aspect-ratio: 1/1.35; }
.media:first-child { margin-top: 26px; }

/* Events */
.events { background: var(--bg-2); border-block: 1px solid var(--line); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ev {
  background: linear-gradient(165deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.ev::after {
  content: ""; position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .22s;
}
.ev:hover { transform: translateY(-6px); border-color: var(--aqua); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.ev .date { display: flex; align-items: baseline; gap: 8px; }
.ev .date .d { font-family: var(--font-display); font-size: 2.4rem; color: var(--text); line-height: 1; }
.ev .date .m { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.ev h3 { font-size: 1.45rem; }
.ev p { color: var(--muted); font-size: .95rem; flex: 1; }
.ev .tagline { font-size: .78rem; color: var(--sun); letter-spacing: .04em; }
.ev .more { font-weight: 600; color: var(--aqua); display: inline-flex; align-items: center; gap: 6px; }
.ev .more svg { width: 15px; height: 15px; transition: transform .2s; }
.ev:hover .more svg { transform: translateX(4px); }

/* Mitglied CTA */
.join { position: relative; overflow: hidden; }
.join .panel {
  background: linear-gradient(120deg, var(--surface-2), var(--bg));
  border: 1px solid var(--line); border-radius: 24px; padding: 56px;
  display: grid; grid-template-columns: 1.5fr auto; gap: 36px; align-items: center;
  position: relative; overflow: hidden;
}
.join .panel::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(70,224,191,.25), transparent 70%);
}
.join h2 { font-size: clamp(2rem, 4vw, 3rem); }
.join h2 .aq { color: var(--aqua); }
.join p { color: var(--muted); margin-top: 12px; max-width: 46ch; }

/* Newsletter */
.newsletter { background: var(--bg-2); border-block: 1px solid var(--line); }
.nl-panel {
  background: linear-gradient(120deg, var(--surface-2), var(--bg));
  border: 1px solid var(--line); border-radius: 24px; padding: 48px;
  display: grid; grid-template-columns: 1fr minmax(300px, 430px); gap: 44px; align-items: center;
  position: relative; overflow: hidden;
}
.nl-panel::before {
  content: ""; position: absolute; left: -70px; bottom: -90px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(70,224,191,.18), transparent 70%); pointer-events: none;
}
.nl-intro h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 12px 0 14px; }
.nl-intro p { color: var(--muted); max-width: 44ch; }
.nl-form { position: relative; z-index: 2; }
.nl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nl-form .field { margin-bottom: 14px; }
.nl-success { text-align: center; padding: 18px 8px; }
.nl-success-icon {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 999px;
  display: grid; place-items: center; font-size: 1.9rem; font-weight: 700;
  color: var(--bg); background: var(--aqua); box-shadow: 0 12px 30px rgba(70,224,191,.3);
}
.nl-success h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0 0 8px; }
.nl-success p { color: var(--muted); max-width: 36ch; margin: 0 auto; }
@media (max-width: 820px){ .nl-panel { grid-template-columns: 1fr; padding: 32px; gap: 26px; } }
@media (max-width: 480px){ .nl-row { grid-template-columns: 1fr; } }

/* Footer */
.ftr { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 28px; color: var(--muted); }
.ftr-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.ftr h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); margin-bottom: 16px; }
.ftr .mark { width: 42px; height: 42px; color: var(--aqua); margin-bottom: 14px; }
.ftr .logo { height: 60px; width: auto; margin-bottom: 14px; opacity: .95; }
.ftr a:hover { color: var(--text); }
.ftr .links { display: flex; flex-direction: column; gap: 9px; }
.ftr-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; opacity: .7; }

/* ---------- Mobile-Menü ---------- */
.mobile-nav { display: none; }
.mobile-nav:not([hidden]) {
  display: flex; flex-direction: column; gap: 2px;
  position: fixed; top: var(--hdr-h, 76px); left: 0; right: 0; bottom: 0; z-index: 95;
  background: var(--bg); /* volldeckend, kein Durchscheinen */
  border-top: 1px solid var(--line); padding: 14px 24px 24px; overflow-y: auto;
  transform: translateY(-12px); opacity: 0; transition: transform .25s, opacity .25s;
}
.mobile-nav.open { transform: none; opacity: 1; }
.mobile-nav a { padding: 13px 4px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a.active { color: var(--aqua); }
.mobile-nav a.cta { color: var(--aqua); border-bottom: 0; }

/* Abmelden ist ein Formular (POST + CSRF), soll aber aussehen wie ein Menuepunkt. */
.nav-abmelden { display: inline; margin: 0; }
.nav-abmelden button {
  background: none; border: 0; padding: 0; margin: 0; font: inherit; cursor: pointer;
  color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s;
}
.nav-abmelden button:hover { color: var(--text); }
.mobile-nav .nav-abmelden { display: block; }
.mobile-nav .nav-abmelden button {
  padding: 13px 4px; width: 100%; text-align: left; color: var(--text); font-weight: 600;
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero {
  position: relative; padding: 116px 0 52px; margin-top: -70px; padding-top: 130px;
  border-bottom: 1px solid var(--line); overflow: hidden;
  background:
    radial-gradient(70% 80% at 80% 0%, rgba(70,224,191,.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.page-hero .breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.page-hero .breadcrumb a:hover { color: var(--aqua); }
.page-hero h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); margin: 8px 0 12px; }
.page-hero .lede { max-width: 60ch; }

/* ---------- Fliesstext ---------- */
.prose { max-width: 68ch; }
.prose p { color: var(--muted); margin-bottom: 1.05em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.7rem; margin: 1.4em 0 .5em; }
.prose ul { color: var(--muted); padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--text); }

/* ---------- Formulare ---------- */
.form { max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--surface); color: var(--text);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px;
  font: inherit; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #5d7672; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(70,224,191,.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .err { color: #ff9c9c; font-size: .85rem; margin-top: 6px; }
.field input.is-bad, .field textarea.is-bad { border-color: #d96b6b; }
.form .actions { margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.flash { margin: 26px auto 0; padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.flash-ok { background: rgba(70,224,191,.12); border: 1px solid var(--aqua); color: var(--text); }
.alert-error { background: rgba(217,107,107,.12); border: 1px solid #d96b6b; color: #ffd9d9;
  border-radius: 12px; padding: 13px 16px; margin-bottom: 20px; font-size: .92rem; }

/* ---------- Event-Detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.aside-card { background: linear-gradient(165deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: 18px; padding: 24px; position: sticky; top: 90px; }
.info-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.info-row:last-of-type { border-bottom: 0; }
.info-row .ic { color: var(--aqua); flex: 0 0 auto; }
.info-row .k { color: var(--muted); display: block; font-size: .8rem; }
.badge-aud { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 999px; background: rgba(70,224,191,.14); color: var(--aqua); }

/* ---------- Galerie ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal {
  position: relative; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden;
  background: linear-gradient(150deg, var(--surface-2), var(--bg)); border: 1px solid var(--line);
  display: flex; align-items: flex-end; padding: 18px; transition: transform .22s, border-color .22s;
}
.gal:hover { transform: translateY(-5px); border-color: var(--aqua); }
.gal .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .6s ease; }
.gal:hover .cover { transform: scale(1.06); }
.gal::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(4,16,18,0) 30%, rgba(4,16,18,.55) 65%, rgba(4,16,18,.9) 100%); }
.gal .gmeta { position: relative; z-index: 2; }
.gal .gmeta b { font-family: var(--font-display); font-size: 1.18rem; display: block; color: #fff; }
.gal .gmeta span { font-size: .8rem; color: rgba(255,255,255,.78); }
.gal .ph { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: .68rem; color: #fff;
  background: rgba(6,24,26,.55); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px);
  padding: 4px 9px; border-radius: 999px; }

.more.big { font-size: 1.02rem; }

/* ---------- Galerie-Detail + Lightbox ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.photo-grid .shot {
  position: relative; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); cursor: zoom-in; background: var(--surface-2);
  padding: 0; margin: 0; appearance: none; -webkit-appearance: none; font: inherit; color: inherit;
}
.photo-grid .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.photo-grid .shot:hover img { transform: scale(1.07); }

.lb { position: fixed; inset: 0; z-index: 1000; background: rgba(3,12,14,.94);
  display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb .lb-close, .lb .lb-nav { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 52px; height: 52px; border-radius: 999px; cursor: pointer; font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center; transition: background .2s; user-select: none; }
.lb .lb-close:hover, .lb .lb-nav:hover { background: var(--aqua); color: var(--bg); }
.lb .lb-close { top: 20px; right: 20px; }
.lb .lb-nav.prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb .lb-nav.next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb .lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: .9rem; }
@media (max-width: 640px){ .lb .lb-nav { width: 44px; height: 44px; } .lb .lb-nav.prev{left:8px} .lb .lb-nav.next{right:8px} }

@media (max-width: 900px){
  .detail-grid { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .gal-grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .form-row { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .page-hero { padding-top: 110px; }
}

/* ---------- Login ---------- */
.auth {
  min-height: 100vh; display: grid; place-items: center; padding: 28px;
  background:
    radial-gradient(70% 60% at 80% 0%, rgba(70,224,191,.12) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.auth-card {
  width: 100%; max-width: 410px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px; padding: 36px 32px;
  box-shadow: 0 40px 80px rgba(0,0,0,.5); text-align: center;
}
.auth-logo img { height: 64px; margin: 0 auto 18px; }
.auth-card h1 { font-size: 1.9rem; }
.auth-sub { color: var(--muted); margin: 4px 0 22px; font-size: .95rem; }
.auth-card .form { text-align: left; }
.auth-card .remember { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .9rem; margin: 4px 0 6px; }
.auth-back { display: inline-block; margin-top: 18px; color: var(--muted); font-size: .9rem; }
.auth-back:hover { color: var(--aqua); }

/* ---------- Mitgliederbereich ---------- */
.intern-band {
  padding: 40px 0 30px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
}
.intern-band h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 8px; }

.dir-list { display: flex; flex-direction: column; gap: 2px; }
.dir-row {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(165deg, var(--surface), var(--bg-2)); margin-bottom: 10px;
}
.dir-name b { font-family: var(--font-display); font-size: 1.1rem; margin-right: 10px; }
.dir-ort { color: var(--muted); font-size: .9rem; margin-left: 8px; }
.dir-contact { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.dir-contact a { color: var(--aqua); font-size: .92rem; }
.dir-contact a:hover { text-decoration: underline; }
@media (max-width: 600px){ .dir-contact { gap: 10px; width: 100%; } }

/* ---------- Ausfischen Gast-Seite (mobil) ---------- */
.afi { max-width: 480px; margin: 0 auto; padding: 20px 16px 60px; }
.afi-head { text-align: center; padding: 26px 16px 16px; }
.afi-head .icon { font-size: 2.4rem; }
.afi-head h1 { font-size: 1.7rem; margin-top: 6px; }
.afi-head p { color: var(--muted); margin-top: 4px; }
.afi-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 16px; }
.afi-card h2 { font-size: 1.25rem; margin-bottom: 4px; }

/* Sekundärtexte am Weiher: draussen bei Sonne lesbar.
   --muted erreicht auf --surface 5.94:1 (WCAG AA ✓); kritisch war die Schriftgrösse,
   nicht die Farbe. Darum Mindestgrösse 0.9rem statt 0.75rem. */
.afi-hint { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.afi-hint strong { color: var(--text); }
.afi-card p[style*="font-size:.75rem"],
.afi-card p[style*="font-size:.78rem"],
.afi-card p[style*="font-size:.8rem"] { font-size: .9rem !important; }
.stockbar { height: 10px; background: var(--bg); border-radius: 99px; overflow: hidden; margin-top: 8px; }
.stockbar > div { height: 100%; background: var(--aqua); border-radius: 99px; }
.sack-display { font-size: 3.4rem; font-weight: 900; color: var(--aqua); text-align: center;
  background: var(--bg); border: 2px solid var(--aqua); border-radius: 16px; padding: 12px; margin: 12px 0; }
.pin-box { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 16px 0; }
.pin-box .b { background: var(--bg-2); border: 2px solid var(--sun); border-radius: 12px; padding: 12px 20px; text-align: center; }
.pin-box .b .k { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sun); }
.pin-box .b .v { font-size: 2rem; font-weight: 900; color: var(--text); letter-spacing: 4px; }
.afi-warn { background: rgba(242,182,90,.12); border: 1px solid var(--sun); color: var(--text);
  border-radius: 12px; padding: 12px 16px; font-size: .9rem; margin: 12px 0; }
.toggle-check { display: flex; align-items: center; gap: 12px; background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px; cursor: pointer; font-weight: 600; }
.toggle-check input { width: 20px; height: 20px; }

/* Reveal (Progressive Enhancement) */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.in { animation: rv .8s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rv { to { opacity: 1; transform: none; } }
.d1{animation-delay:.05s}.d2{animation-delay:.15s}.d3{animation-delay:.25s}.d4{animation-delay:.35s}
@media (prefers-reduced-motion: reduce){ .js .reveal{opacity:1;transform:none;animation:none} .hero-bg::after{animation:none} html{scroll-behavior:auto} }

/* Responsive */
@media (max-width: 900px){
  .hero-inner{grid-template-columns:1fr;gap:36px;padding-bottom:64px}
  .hero-figure{max-width:360px}
  .about-grid{grid-template-columns:1fr;gap:36px}
  .event-grid{grid-template-columns:1fr}
  .join .panel{grid-template-columns:1fr;padding:36px}
  .ftr-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .nav{display:none}.burger{display:inline-flex}
  .hdr{padding:12px 20px}
  .brand .logo{height:52px}
  .hdr.scrolled .brand .logo{height:46px}
  .section{padding:64px 0}
  .ftr-grid{grid-template-columns:1fr}
}

/* Rechtstexte: ruhige Lesetypografie, ausreichender Kontrast. */
.legal { color: var(--text); line-height: 1.75; }
.legal h2 { font-size: 1.15rem; margin: 30px 0 8px; color: var(--aqua); }
.legal h3 { font-size: 1rem; margin: 20px 0 6px; }
.legal p  { margin-bottom: 12px; }
.legal a  { color: var(--aqua); }
.legal-meta { margin-top: 28px; font-size: .9rem; color: var(--muted); }
.form-datenschutz { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-top: 10px; }
.form-datenschutz a { color: var(--aqua); }
