/* ============================================================
   Anglerbund Bavaria e.V. — Design System
   Palette & Typo nach Vereins-Styleguide
   ============================================================ */

/* ---------- Fonts ---------- */
/* Schriften lokal (OFL) – keine Verbindung zu Google Fonts (DSGVO) */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:100 900;font-display:swap;
  src:url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212;}
@font-face{font-family:'Source Sans 3';font-style:normal;font-weight:200 900;font-display:swap;
  src:url('../fonts/source-sans-3-latin-wght-normal.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212;}

/* ---------- Tokens ---------- */
:root{
  --navy:#052C57;
  --night:#031E3B;
  --gold:#D9AE57;
  --gold-dark:#c2984191;
  --gold-dark-solid:#bd923b;
  --gold-text:#8a6a1f;   /* Gold als Textfarbe auf Weiß: Kontrast 5:1 */
  --water:#0E6EA8;
  --light-blue:#56B7E8;
  --turq:#19A9D0;
  --white:#FFFFFF;
  --grey-100:#F3F5F7;
  --grey-300:#BCC5CE;
  --border:#DCE3EA;
  --ink:#1F2A33;
  --info-bg:#EAF7FC;

  --radius:18px;
  --radius-sm:12px;
  --shadow-soft:0 10px 30px rgba(5,44,87,.08);
  --shadow-card:0 6px 20px rgba(5,44,87,.10);
  --shadow-hover:0 14px 34px rgba(5,44,87,.18);

  --maxw:1200px;
  --pad:clamp(20px,5vw,40px);

  --f-head:'Montserrat',system-ui,Arial,sans-serif;
  --f-body:'Source Sans 3',system-ui,Arial,sans-serif;
}

/* ---------- Reset / base ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--f-body);
  font-size:17px;
  line-height:1.65;
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block;}
/* default inline-icon sizing (explicit rules below still win) */
.btn svg{width:1.15em;height:1.15em;flex:none;}
.more svg{width:17px;height:17px;flex:none;}
.meta svg{width:15px;height:15px;flex:none;color:var(--water);}
a{color:var(--water);text-decoration:none;}
a:hover{color:var(--navy);}
h1,h2,h3,h4{font-family:var(--f-head);color:var(--navy);line-height:1.15;margin:0 0 .5em;font-weight:700;}
h1{font-size:clamp(2rem,4.4vw,3.4rem);font-weight:800;letter-spacing:-.5px;}
h2{font-size:clamp(1.6rem,3vw,2.3rem);}
h3{font-size:clamp(1.25rem,2vw,1.6rem);font-weight:600;}
h4{font-size:1.15rem;font-weight:600;}
p{margin:0 0 1rem;}
.container{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--pad);}

/* gold accent line */
.accent{width:64px;height:4px;background:var(--gold);border-radius:2px;border:0;margin:0 0 1.4rem;}
.accent.center{margin-inline:auto;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.55em;
  font-family:var(--f-head);font-weight:600;font-size:.98rem;
  padding:.8em 1.5em;border-radius:var(--radius-sm);
  cursor:pointer;border:2px solid transparent;transition:.18s ease;
  text-transform:uppercase;letter-spacing:.3px;line-height:1;
}
.btn-primary{background:var(--gold);color:var(--night);border-color:var(--gold);}
.btn-primary:hover{background:var(--gold-dark-solid);border-color:var(--gold-dark-solid);color:var(--night);transform:translateY(-2px);box-shadow:0 8px 20px rgba(189,146,59,.35);}
.btn-secondary{background:transparent;color:var(--navy);border-color:var(--navy);}
.btn-secondary:hover{background:var(--navy);color:#fff;transform:translateY(-2px);}
.btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.5);}
.btn-ghost:hover{background:#fff;color:var(--navy);border-color:#fff;}
.btn .arrow{transition:transform .18s ease;}
.btn:hover .arrow{transform:translateX(3px);}

/* ============================================================
   Top bar
   ============================================================ */
.topbar{background:var(--night);color:#fff;font-size:.9rem;}
.topbar .container{display:flex;align-items:center;justify-content:space-between;min-height:40px;gap:16px;}
.topbar .motto{font-family:var(--f-head);font-weight:500;letter-spacing:.3px;color:#fff;display:inline-flex;align-items:center;gap:.5em;}
.topbar .motto::before{content:"";width:22px;height:2px;background:var(--gold);display:inline-block;}
.topbar .socials{display:flex;gap:12px;}
.topbar .socials a{color:#fff;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;transition:.18s;}
.topbar .socials a:hover{background:var(--gold);color:var(--night);}
.topbar .socials svg{width:17px;height:17px;}

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header{background:var(--navy);position:sticky;top:0;z-index:50;box-shadow:0 2px 12px rgba(3,30,59,.28);}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px;}
.brand{display:flex;align-items:center;gap:14px;}
.brand img{height:58px;width:auto;filter:drop-shadow(0 2px 6px rgba(0,0,0,.3));}
.brand .wordmark{display:flex;flex-direction:column;line-height:1;}
.brand .wordmark .l1{font-family:var(--f-head);font-weight:800;font-size:1.35rem;letter-spacing:2px;color:#fff;}
.brand .wordmark .l2{font-family:var(--f-head);font-weight:600;font-size:.8rem;letter-spacing:3px;color:var(--gold);margin-top:3px;}

/* desktop nav */
.main-nav{display:flex;align-items:center;gap:4px;}
.main-nav > ul{list-style:none;display:flex;gap:2px;margin:0;padding:0;}
.main-nav li{position:relative;}
.main-nav a{
  display:block;color:#e7eef6;font-family:var(--f-head);font-weight:600;
  font-size:.86rem;letter-spacing:.6px;text-transform:uppercase;
  padding:14px 14px;border-radius:8px;position:relative;
}
.main-nav a::after{content:"";position:absolute;left:14px;right:14px;bottom:8px;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .2s ease;}
.main-nav a:hover,.main-nav a[aria-current="page"]{color:#fff;}
.main-nav a:hover::after,.main-nav a[aria-current="page"]::after{transform:scaleX(1);}
.main-nav .has-sub > a::before{content:"";position:absolute;right:2px;top:50%;width:5px;height:5px;border-right:2px solid var(--gold);border-bottom:2px solid var(--gold);transform:translateY(-70%) rotate(45deg);opacity:.8;}
/* dropdown */
.submenu{
  position:absolute;top:calc(100% - 4px);left:0;min-width:230px;
  background:#fff;border:1px solid var(--border);border-radius:14px;
  box-shadow:var(--shadow-hover);padding:8px;list-style:none;margin:0;
  opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease;z-index:60;
  border-top:3px solid var(--gold);
}
.main-nav li:hover > .submenu,.main-nav li:focus-within > .submenu{opacity:1;visibility:visible;transform:translateY(0);}
.submenu a{color:var(--navy);text-transform:none;letter-spacing:.2px;font-size:.92rem;font-weight:600;padding:10px 14px;border-radius:8px;}
.submenu a::after{display:none;}
.submenu a:hover{background:var(--grey-100);color:var(--water);}
.nav-cta{margin-left:10px;}

/* mobile toggle */
.nav-toggle{display:none;background:transparent;border:0;cursor:pointer;padding:8px;color:#fff;}
.nav-toggle svg{width:30px;height:30px;}

/* ============================================================
   Hero
   ============================================================ */
.hero{position:relative;background:var(--navy);}
.hero-media{position:relative;height:clamp(360px,58vh,620px);}
.hero-media picture{display:contents;}
.hero-media img{width:100%;height:100%;object-fit:cover;}
.hero-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,30,59,.22) 0%,rgba(5,44,87,.16) 50%,rgba(5,44,87,.48) 100%);}
.hero-emblem{position:absolute;left:50%;bottom:-64px;transform:translateX(-50%);z-index:3;}
.hero-emblem img{height:168px;width:auto;filter:drop-shadow(0 12px 26px rgba(0,0,0,.45));}
.hero-caption{position:absolute;left:0;right:0;bottom:max(90px,calc(clamp(24px,6.25vw,90px) + 24px));text-align:center;color:#fff;z-index:2;padding-inline:20px;}
.hero-caption h1{color:#fff;text-shadow:0 3px 18px rgba(0,0,0,.5);margin-bottom:.3em;}
.hero-caption p{font-size:clamp(1rem,1.6vw,1.25rem);color:#eaf3fb;max-width:640px;margin-inline:auto;text-shadow:0 2px 10px rgba(0,0,0,.5);}
/* wave divider bottom of hero */
.hero-wave{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:clamp(24px,6.25vw,90px);color:var(--white);z-index:2;display:block;}

/* ============================================================
   Sections
   ============================================================ */
section{padding:clamp(46px,7vw,86px) 0;}
.section-light{background:var(--white);}
.section-grey{background:var(--grey-100);}
.section-info{background:var(--info-bg);}
.section-dark{background:var(--navy);color:#eaf3fb;}
.section-dark h1,.section-dark h2,.section-dark h3{color:#fff;}
.section-head{max-width:760px;}
.section-head.center{margin-inline:auto;text-align:center;}
.eyebrow{font-family:var(--f-head);font-weight:700;text-transform:uppercase;letter-spacing:2px;font-size:.82rem;color:var(--water);margin-bottom:.6rem;}
.section-dark .eyebrow{color:var(--gold);}
.lead{font-size:1.15rem;}

/* welcome / prose */
.prose{max-width:820px;}
.prose p{margin-bottom:1.1rem;}
.sign{font-family:var(--f-head);font-weight:700;color:var(--navy);margin-top:1.2rem;}

/* ---------- Panels ---------- */
.panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-soft);padding:clamp(22px,3vw,34px);}
.panel-info{background:var(--info-bg);border:1px solid var(--light-blue);border-radius:var(--radius);padding:clamp(22px,3vw,32px);}
.panel-dark{background:var(--navy);color:#eaf3fb;border-radius:var(--radius);padding:clamp(24px,3.4vw,40px);border-top:4px solid var(--gold);}
.panel-dark h2,.panel-dark h3{color:#fff;}
.panel-highlight{background:linear-gradient(180deg,#fbf4e3,#fff);border:1px solid #e7d6a8;border-top:4px solid var(--gold);border-radius:var(--radius);padding:clamp(24px,3.4vw,40px);box-shadow:var(--shadow-soft);}

/* ============================================================
   Gewässer grid (cards)
   ============================================================ */
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:26px;}
.water-card{
  display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-card);
  transition:.2s ease;color:inherit;
}
.water-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-hover);border-color:var(--light-blue);}
.water-card .thumb{position:relative;aspect-ratio:16/10;overflow:hidden;}
.water-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.water-card:hover .thumb img{transform:scale(1.05);}
.water-card .thumb .tag{position:absolute;top:12px;left:12px;background:rgba(3,30,59,.82);color:#fff;font-family:var(--f-head);font-weight:600;font-size:.72rem;letter-spacing:.5px;text-transform:uppercase;padding:5px 10px;border-radius:20px;}
.water-card .body{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1;}
.water-card h3{color:var(--navy);margin-bottom:.35rem;font-size:1.2rem;}
.water-card .meta{color:#5a6b78;font-size:.92rem;margin-bottom:.9rem;display:flex;flex-wrap:wrap;gap:.4rem 1rem;}
.water-card .meta span{display:inline-flex;align-items:center;gap:.35em;}
.water-card .more{margin-top:auto;font-family:var(--f-head);font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.5px;color:var(--water);display:inline-flex;align-items:center;gap:.4em;}
.water-card:hover .more{color:var(--navy);}

/* ============================================================
   Termine list
   ============================================================ */
.termin-list{display:flex;flex-direction:column;gap:14px;}
.termin{display:flex;align-items:center;gap:20px;background:#fff;border:1px solid var(--border);border-left:4px solid var(--gold);border-radius:var(--radius-sm);padding:16px 22px;box-shadow:var(--shadow-soft);transition:.18s;}
.termin:hover{transform:translateX(4px);box-shadow:var(--shadow-card);}
.termin .date{flex:none;text-align:center;background:var(--navy);color:#fff;border-radius:12px;width:74px;padding:10px 6px;font-family:var(--f-head);line-height:1;}
.termin .date .d{font-size:1.5rem;font-weight:800;}
.termin .date .m{font-size:.72rem;letter-spacing:1px;text-transform:uppercase;margin-top:4px;color:var(--gold);}
.termin .info h4{margin:0 0 3px;color:var(--navy);}
.termin .info .sub{color:#5a6b78;font-size:.94rem;}
.section-dark .termin{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);border-left-color:var(--gold);color:#fff;}
.section-dark .termin .info h4{color:#fff;}
.section-dark .termin .info .sub{color:#bcd3e6;}

/* ============================================================
   Feature / icon rows
   ============================================================ */
.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:24px;}
.feature{text-align:center;padding:12px;}
.feature .ico{width:64px;height:64px;margin:0 auto 16px;display:grid;place-items:center;border-radius:50%;background:var(--info-bg);color:var(--water);border:1px solid var(--light-blue);}
.section-dark .feature .ico{background:rgba(255,255,255,.07);border-color:rgba(217,174,87,.5);color:var(--gold);}
.feature .ico svg{width:30px;height:30px;}
.feature h3{font-size:1.2rem;}

/* stat row */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px;text-align:center;}
.stat .n{font-family:var(--f-head);font-weight:800;font-size:clamp(2rem,4vw,2.8rem);color:var(--gold);line-height:1;}
.stat .l{margin-top:6px;font-size:.95rem;color:inherit;opacity:.9;}

/* ============================================================
   Subpage header
   ============================================================ */
.page-hero{background:linear-gradient(120deg,var(--navy),var(--water));color:#fff;padding:clamp(40px,6vw,72px) 0 clamp(36px,5vw,56px);position:relative;overflow:hidden;}
.page-hero::after{content:"";position:absolute;right:-40px;top:-40px;width:320px;height:320px;background:radial-gradient(circle,rgba(217,174,87,.22),transparent 70%);}
.page-hero .container{position:relative;z-index:1;}
.page-hero h1{color:#fff;margin-bottom:.3em;}
.page-hero .breadcrumb{font-size:.9rem;color:#cfe1f0;margin-bottom:1rem;font-family:var(--f-head);letter-spacing:.4px;}
.page-hero .breadcrumb a{color:#cfe1f0;}
.page-hero .breadcrumb a:hover{color:var(--gold);}
.page-hero p.lead{color:#eaf3fb;max-width:720px;}

/* two-column content with sidebar */
.content-layout{display:grid;grid-template-columns:1fr 320px;gap:40px;align-items:start;}
.sidebar-box{background:var(--info-bg);border:1px solid var(--light-blue);border-radius:var(--radius);padding:24px;}
.sidebar-box h3,.sidebar-box h4{color:var(--navy);font-size:1.05rem;}

/* details table (gewässer) */
.detail-list{list-style:none;margin:0;padding:0;}
.detail-list li{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);}
.detail-list li:last-child{border-bottom:0;}
.detail-list .k{flex:none;width:110px;font-family:var(--f-head);font-weight:600;color:var(--navy);font-size:.9rem;}
.detail-list .v{color:var(--ink);}
.fish-tags{display:flex;flex-wrap:wrap;gap:8px;}
.fish-tags span{background:var(--grey-100);border:1px solid var(--border);color:var(--navy);font-size:.85rem;padding:4px 12px;border-radius:20px;}

/* rules / bestimmungen */
.rules{background:var(--grey-100);border-radius:var(--radius);padding:clamp(20px,3vw,30px);border-left:4px solid var(--water);}
.rules h2,.rules h3{color:var(--navy);font-size:1.25rem;}
.rules ul{margin:0;padding-left:1.2em;}
.rules li{margin-bottom:.5rem;}

/* ============================================================
   Footer
   ============================================================ */
.site-footer{background:var(--night);color:#c6d5e4;padding-top:56px;}
.site-footer .cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:34px;}
.site-footer h4{color:#fff;font-size:1rem;text-transform:uppercase;letter-spacing:1px;margin-bottom:1rem;position:relative;padding-bottom:10px;}
.site-footer h4::after{content:"";position:absolute;left:0;bottom:0;width:34px;height:3px;background:var(--gold);border-radius:2px;}
.site-footer a{color:#c6d5e4;}
.site-footer a:hover{color:var(--gold);}
.site-footer ul{list-style:none;margin:0;padding:0;}
.site-footer li{margin-bottom:.6rem;}
.footer-brand img{height:64px;margin-bottom:14px;}
.footer-brand p{font-size:.95rem;color:#9fb4c9;}
.footer-socials{display:flex;gap:10px;margin-top:14px;}
.footer-socials a{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);display:grid;place-items:center;color:#fff;}
.footer-socials a:hover{background:var(--gold);color:var(--night);}
.footer-socials svg{width:18px;height:18px;}
.footer-contact li{display:flex;gap:10px;align-items:flex-start;}
.footer-contact svg{width:18px;height:18px;color:var(--gold);flex:none;margin-top:3px;}
.footer-bottom{margin-top:46px;border-top:1px solid rgba(255,255,255,.1);padding:20px 0;font-size:.88rem;color:#8ea4ba;}
.footer-bottom .container{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.footer-bottom a{margin-left:18px;}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:960px){
  .content-layout{grid-template-columns:1fr;}
  .sidebar-box{position:static;}
  .site-footer .cols{grid-template-columns:1fr 1fr;}
}
@media (max-width:1040px){
  .nav-toggle{display:block;}
  .main-nav{
    position:fixed;inset:0 0 0 auto;width:min(340px,86vw);background:var(--navy);
    flex-direction:column;align-items:stretch;gap:0;padding:90px 20px 30px;
    transform:translateX(100%);visibility:hidden;transition:transform .28s ease,visibility .28s;overflow-y:auto;
    box-shadow:-10px 0 40px rgba(0,0,0,.4);z-index:45;
  }
  .main-nav.open{transform:translateX(0);visibility:visible;}
  .main-nav > ul{flex-direction:column;gap:0;width:100%;}
  .main-nav a{padding:14px 10px;border-bottom:1px solid rgba(255,255,255,.08);font-size:.95rem;}
  .main-nav a::after{display:none;}
  .submenu{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0;border-top:0;background:rgba(255,255,255,.04);padding:0 0 6px 12px;border-radius:0;}
  .submenu a{color:#bcd3e6;}
  .submenu a:hover{background:transparent;color:var(--gold);}
  .main-nav .has-sub>a::before{display:none;}
  .nav-cta{margin:16px 0 0;}
  .nav-cta .btn{width:100%;justify-content:center;}
  body.nav-open{overflow:hidden;}
  .nav-backdrop{position:fixed;inset:0;background:rgba(3,30,59,.5);opacity:0;visibility:hidden;transition:.28s;z-index:44;}
  .nav-backdrop.show{opacity:1;visibility:visible;}
}
@media (max-width:620px){
  .topbar .motto{font-size:.82rem;}
  .brand .wordmark .l1{font-size:1.1rem;}
  .brand img{height:48px;}
  .site-footer .cols{grid-template-columns:1fr;}
  .hero-emblem img{height:120px;}
  .footer-bottom .container{flex-direction:column;}
  .footer-bottom a{margin-left:0;margin-right:18px;}
}

/* ============================================================
   Enriched panels & components
   ============================================================ */
/* general panel lift on hover */
.panel{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
.panel:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:var(--light-blue);}

/* icon card (Vereinszweck, Ablauf, Features in panels) */
.icon-card{
  position:relative;background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:30px 28px 26px;box-shadow:var(--shadow-card);overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.icon-card::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--gold),#efce8b);}
.icon-card::after{content:"";position:absolute;right:-30px;bottom:-30px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(86,183,232,.10),transparent 70%);pointer-events:none;}
.icon-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-hover);border-color:var(--light-blue);}
.icon-card .badge{
  width:56px;height:56px;border-radius:16px;display:grid;place-items:center;margin-bottom:18px;
  background:linear-gradient(135deg,var(--navy),var(--water));color:var(--gold);
  box-shadow:0 8px 18px rgba(5,44,87,.22);position:relative;z-index:1;
}
.icon-card .badge svg{width:28px;height:28px;}
.icon-card h3{font-size:1.15rem;margin-bottom:.5rem;color:var(--navy);}
.icon-card p{margin:0;color:#4a5a67;}
.icon-card .step-no{position:absolute;top:20px;right:24px;font-family:var(--f-head);font-weight:800;font-size:2.2rem;color:var(--grey-100);line-height:1;z-index:0;}

/* person / Vorstand card */
.person{
  position:relative;background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:30px 26px 26px;text-align:center;box-shadow:var(--shadow-card);overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.person::before{content:"";position:absolute;inset:0 0 auto 0;height:76px;background:linear-gradient(135deg,var(--navy),var(--water));}
.person::after{content:"";position:absolute;left:0;right:0;top:76px;height:3px;background:var(--gold);}
.person:hover{transform:translateY(-5px);box-shadow:var(--shadow-hover);border-color:var(--light-blue);}
.person .avatar{
  position:relative;z-index:1;width:92px;height:92px;margin:14px auto 14px;border-radius:50%;
  background:linear-gradient(135deg,#0a457a,var(--water));color:#fff;border:4px solid #fff;
  box-shadow:0 8px 20px rgba(5,44,87,.28);display:grid;place-items:center;
  font-family:var(--f-head);font-weight:800;font-size:1.9rem;letter-spacing:1px;
}
.person .role{font-family:var(--f-head);font-weight:700;text-transform:uppercase;letter-spacing:1.4px;font-size:.74rem;color:var(--gold-text);margin-bottom:2px;}
.person h3{font-size:1.25rem;margin-bottom:14px;color:var(--navy);}
.person .contact{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;align-items:center;}
.person .contact li{display:flex;align-items:center;gap:9px;font-size:.95rem;}
.person .contact a{color:var(--ink);}
.person .contact a:hover{color:var(--water);}
.person .contact svg{width:17px;height:17px;color:var(--gold-dark-solid);flex:none;}

/* decorative wave watermark for dark panels */
.panel-dark{position:relative;overflow:hidden;}
.panel-dark::after{content:"";position:absolute;right:-40px;bottom:-50px;width:180px;height:180px;border-radius:50%;background:radial-gradient(circle,rgba(217,174,87,.16),transparent 70%);pointer-events:none;}
.panel-highlight{position:relative;overflow:hidden;}
.panel-highlight::after{content:"";position:absolute;right:-30px;top:-30px;width:130px;height:130px;border-radius:50%;background:radial-gradient(circle,rgba(217,174,87,.22),transparent 70%);pointer-events:none;}

/* ============================================================
   Background rhythm & wave motifs (less monotonous sections)
   ============================================================ */
.container{position:relative;z-index:1;}

/* wave transition at the bottom of colored subpage headers */
.page-hero{padding-bottom:calc(clamp(36px,5vw,56px) + 34px);}
.page-hero::before{
  content:"";position:absolute;left:0;right:0;bottom:-1px;height:52px;z-index:1;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 40c180 40 360 40 540 20s360-60 540-40 300 60 360 60v20H0z'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size:100% 100%;
}

/* faint wave-line texture shared by light/grey sections */
.section-light,.section-grey,.section-info{position:relative;}
.section-light::before,.section-grey::before,.section-info::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='90'%3E%3Cg fill='none' stroke='%230e6ea8' stroke-width='1.4'%3E%3Cpath d='M0 30q22.5 -14 45 0t45 0t45 0t45 0'/%3E%3Cpath d='M0 66q22.5 -14 45 0t45 0t45 0t45 0'/%3E%3C/g%3E%3C/svg%3E");
  background-size:200px 100px;
}
/* soft tint instead of flat fills */
.section-grey{background:linear-gradient(180deg,#f6f9fc 0%,#e8f0f7 100%);}
.section-grey::before{opacity:.10;}
.section-light::before{opacity:.05;}
.section-info::before{opacity:.16;}

/* gentle gold hairline separating stacked sections */
.section-light + .section-grey,.section-grey + .section-light{border-top:1px solid rgba(217,174,87,.18);}

/* ---------- Form fields ---------- */
.form-input{
  width:100%;padding:12px 14px;margin-top:6px;font:inherit;color:var(--ink);
  background:#fff;border:1px solid var(--border);border-radius:10px;
  transition:border-color .18s ease,box-shadow .18s ease;
}
.form-input:focus{outline:none;border-color:var(--light-blue);box-shadow:0 0 0 3px rgba(86,183,232,.25);}
.form-input::placeholder{color:#9aa8b4;opacity:1;}

/* ---------- Spec grid (Projekt-Steckbrief) ---------- */
.spec-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px 30px;margin-top:6px;}
.spec .k{display:block;font-family:var(--f-head);font-weight:700;font-size:.7rem;letter-spacing:1.2px;text-transform:uppercase;color:var(--water);margin-bottom:3px;}
.spec .v{margin:0;font-size:.96rem;line-height:1.45;color:var(--ink);}

/* active parent (a subpage of a dropdown is open) */
.main-nav a.is-active{color:#fff;}
.main-nav a.is-active::after{transform:scaleX(1);}
.submenu a[aria-current="page"]{background:var(--grey-100);color:var(--water);}

/* ---------- Rechtliches / Dokumente ---------- */
.doc-acc{border:1px solid #E3E9EF;border-radius:12px;background:#fff;margin-bottom:10px;overflow:hidden;}
.doc-acc summary{cursor:pointer;padding:14px 18px;font-family:var(--f-head);font-weight:600;color:var(--navy);list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;}
.doc-acc summary::-webkit-details-marker{display:none;}
.doc-acc summary::after{content:"+";color:var(--gold-dark-solid);font-size:1.35rem;font-weight:700;line-height:1;flex-shrink:0;}
.doc-acc[open] summary::after{content:"\2013";}
.doc-acc[open] summary{border-bottom:1px solid #E3E9EF;}
.doc-acc summary:hover{background:var(--grey-100);}
.doc-body{padding:16px 18px;}
.doc-body p,.doc-body div{margin:0 0 .8rem;}
.doc-body :last-child{margin-bottom:0;}
.doc-body ul{margin:.4rem 0 1rem 1.25rem;padding:0;}
.doc-body li{margin-bottom:.35rem;}
.doc-body table{width:100%;border-collapse:collapse;margin:.6rem 0 1rem;font-size:.92rem;}
.doc-body td{border:1px solid #DCE4EB;padding:8px 10px;vertical-align:top;}
.doc-body tr:first-child td{background:var(--grey-100);font-weight:600;}
.pdf-frame{width:100%;height:72vh;min-height:480px;border:1px solid #E3E9EF;border-radius:12px;background:#fff;}

/* ---------- Pegelstand (Gewässer-Detailseiten) ---------- */
.pegel-wert{font-family:var(--f-head);font-weight:800;color:var(--navy);display:flex;align-items:baseline;gap:6px;margin-top:4px;}
.pegel-wert .w{font-size:2.2rem;line-height:1;}
.pegel-wert .unit{font-size:1rem;color:var(--gold-text);font-weight:700;}
.pegel-zeit{font-size:.82rem;color:#5a6b78;margin-top:2px;}
.pegel-note{font-size:.85rem;color:#5a6b78;margin:10px 0 8px;}
.pegel-quelle{font-size:.72rem;color:#8fa0ad;margin:10px 0 0;}
.pegel-wert-t{margin-top:10px;}
.pegel-wert-t .t{font-size:1.7rem;line-height:1;}
.pegel-templabel{font-size:.78rem;color:#5a6b78;margin-top:1px;}

/* SEO-Welle 1: H2 im Look der bisherigen H3, Termin-Archiv, FAQ */
.h3{font-size:1.25rem;}
.termin-archiv{margin:0 0 10px;}
.termin-archiv summary{cursor:pointer;color:var(--navy);font-weight:600;font-size:.95rem;}
.faq .doc-acc summary{font-size:1.02rem;}

/* Pegel-Hub */
.pegel-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));}
.pegel-card .pegel-wert .w{font-size:2.4rem;}
.pegel-praxis{font-size:.92rem;color:#3f4f5c;margin:12px 0 0;padding-top:10px;border-top:1px solid var(--border);}

/* Review 18.10.2026: Barrierefreiheit, Mobile-Überläufe, Hero-CTAs */
.skip-link{position:absolute;left:-9999px;top:8px;z-index:100;background:var(--gold);color:var(--night);padding:10px 16px;border-radius:6px;font-weight:700;}
.skip-link:focus{left:12px;}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:2px;}
body{overflow-wrap:break-word;hyphens:auto;}
.detail-list .k.kw{width:min(220px,46%);}
.detail-list .v{min-width:0;}
.doc-body table{display:block;max-width:100%;overflow-x:auto;}
.termin .info h4,.detail-list .v,.panel h3,.h3{overflow-wrap:anywhere;}
.hero-cta{margin-top:16px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.hero-cta .btn-ghost{border-color:rgba(255,255,255,.7);color:#fff;}
@media (max-width:620px){.hero-cta .btn{padding:10px 16px;font-size:.92rem;}}

/* ============================================================
   Naturschutz: Projektkarten + Galerie (Projektseiten naturschutz/<slug>.html)
   ============================================================ */
.projekt-card .thumb{aspect-ratio:16/10;overflow:hidden;position:relative;}
.projekt-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease;}
.projekt-card:hover .thumb img{transform:scale(1.05);}
.projekt-card p{color:#5a6b78;font-size:.98rem;margin-bottom:.9rem;}
.galerie{columns:3 220px;column-gap:14px;margin-top:8px;}
.galerie figure{break-inside:avoid;margin:0 0 14px;background:#fff;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;box-shadow:var(--shadow-soft);}
.galerie figure a{display:block;}
.galerie img{width:100%;height:auto;display:block;}
.galerie figcaption{font-size:.86rem;color:#5a6b78;padding:8px 12px 10px;line-height:1.4;}
.lead-img{display:block;width:100%;margin:0 0 40px;}
.lead-img img{width:100%;height:auto;border-radius:var(--radius);box-shadow:var(--shadow-card);}
.galerie{margin-top:18px;}
.zahlen{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:18px;text-align:center;}
.zahlen .n{font-family:var(--f-head);font-weight:800;font-size:clamp(1.7rem,3.2vw,2.4rem);color:var(--gold);line-height:1.05;}
.zahlen .l{margin-top:6px;font-size:.95rem;color:#eaf3fb;}
/* Lightbox (Großansicht), erzeugt von main.js */
.lightbox{position:fixed;inset:0;z-index:300;background:rgba(3,30,59,.94);display:flex;align-items:center;justify-content:center;padding:16px;}
.lightbox[hidden]{display:none;}
.lightbox figure{margin:0;max-width:min(1600px,96vw);max-height:92vh;display:flex;flex-direction:column;align-items:center;gap:10px;}
.lightbox img{max-width:min(1600px,96vw);max-height:84vh;width:auto;height:auto;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.5);background:#000;}
.lightbox figcaption{color:#eaf3fb;font-size:.95rem;text-align:center;max-width:90vw;}
.lightbox button{position:absolute;background:rgba(255,255,255,.12);color:#fff;border:0;border-radius:50%;width:48px;height:48px;font-size:2rem;line-height:1;cursor:pointer;display:grid;place-items:center;transition:background .15s;}
.lightbox button:hover,.lightbox button:focus-visible{background:rgba(217,174,87,.85);color:var(--night);outline:none;}
.lightbox .lb-close{top:16px;right:16px;}
.lightbox .lb-prev{left:12px;top:50%;transform:translateY(-50%);}
.lightbox .lb-next{right:12px;top:50%;transform:translateY(-50%);}
body.lb-open{overflow:hidden;}
@media (max-width:620px){.lightbox .lb-prev,.lightbox .lb-next{width:40px;height:40px;font-size:1.6rem;bottom:14px;top:auto;transform:none;}.lightbox .lb-prev{left:14px;}.lightbox .lb-next{right:14px;}.lightbox img{max-height:76vh;}}
