/* ========================================================================== 
   Stoppt Windpark Willingen — style.css (clean, nature palette)
   Palette: wit (#fff), beige (#f3efe3), groen (#2f6b3f), donkergroen (#214d2d)
   ========================================================================== */

/* ===================== 1) Design tokens ========================= */
:root{
  /* Basispalet */
  --bg:          #faf9f6;      /* paginabg */
  --panel:       #ffffff;      /* cards/tiles */
  --ink:         #1f2422;      /* hoofdtekst */
  --ink-muted:   #58615a;      /* secundaire tekst */

  --brand:       #2f6b3f;      /* groen (accent/knoppen) */
  --brand-ink:   #214d2d;      /* donkergroen (headings/hover) */
  --beige:       #f3efe3;      /* zachte afwisseling */

  --line:        #e3e7e2;
  --shadow:      0 8px 24px rgba(0,0,0,.06);

  --radius-xl:   18px;
  --radius-lg:   14px;
  --radius:      12px;

  --s1: .5rem; --s2: .75rem; --s3: 1rem; --s4: 1.5rem; --s5: 2rem; --s6: 3rem;
  --maxw: 1100px;

  --heading-font: "Lora", Georgia, "Times New Roman", serif;

  /* Sectie-variabelen (erven standaard mee) */
  --section-ink: var(--ink);
  --section-link: var(--brand);
  --section-link-hover: var(--brand-ink);
  --card-bg: var(--panel);
  --card-border: var(--line);
  --muted: var(--ink-muted);
}

/* ===================== 2) Base / reset ========================== */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font:16px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
img{ max-width:100%; height:auto; display:block; }

.wrap{ max-width:var(--maxw); margin-inline:auto; padding-inline:var(--s3); }
.section{ padding-block: clamp(2.5rem, 5vw, 4rem); }

.small{ font-size:.95rem; }
.muted{ color:var(--muted); }
.nowrap{ white-space:nowrap; }
.visually-hidden{
  position:absolute!important; width:1px; height:1px; margin:-1px; padding:0; border:0; overflow:hidden;
  clip:rect(0 0 0 0); clip-path:inset(50%);
}

h1,h2,h3{ letter-spacing:-.01em; line-height:1.25; margin:.6rem 0 .4rem; }
.section h2, h2{
  font-family:var(--heading-font); font-weight:700; letter-spacing:-.01em; line-height:1.2; color:var(--brand-ink);
}

a{ color:var(--brand); text-decoration:underline; text-underline-offset:2px; }
a:hover{ color:var(--brand-ink); }

:where(a,button,[role="button"],input,textarea,select):focus-visible{
  outline:3px solid #cfead9; outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}

/* ===================== 3) Header & nav ========================== */
.site-header{
  position:absolute; top:0; left:0; width:100%; z-index:1000;
  background:transparent; transition: background .3s ease, box-shadow .3s ease, color .3s ease;
}
.site-header.scrolled{ position:fixed; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.wrap.nav{ display:flex; align-items:center; justify-content:space-between; min-height:58px; }

.brand{ display:flex; align-items:center; gap:.6rem; text-decoration:none; color:inherit; }
.brand-text{ font-family:var(--heading-font); font-weight:700; letter-spacing:-.01em; color:var(--brand-ink); }

.logo{ width:100px; height:100px; background:url('/assets/images/Logo_site.png') center/contain no-repeat; }
@media (max-width:980px){ .logo{ width:60px; height:60px; } }

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .4rem;            /* was .55rem */
}

.menu a {
  display: block;
  padding: .3rem .45rem; /* was .35rem .6rem */
  border-radius: 6px;    /* iets compacter */
  font-weight: 600;      /* was 700 – nog steeds vet, maar minder breed */
  font-size: .95rem;     /* nieuw: iets kleiner font */
  text-decoration: none;
  color: var(--brand-ink);
}

.menu a:hover {
  background: #e9f3eb;
}

.menu a[aria-current="page"],
.menu a.is-active {
  background: #e9f7ee;
  border: 1px solid #d0ead8;
}


.burger{
  display:none; align-items:center; gap:.5rem; border:1px solid var(--line); background:#fff; border-radius:10px; padding:.5rem .7rem; font-weight:700;
}
@media (max-width:980px){
  .burger{ display:inline-flex; }
  .menu{
    display:none; position:fixed; right:16px; top:60px; flex-direction:column; gap:.2rem;
    background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px; box-shadow:var(--shadow); z-index:15000;
  }
  .menu.is-open{ display:flex; }
}

/* ===================== 4) Hero ================================ */
.hero{ position:relative; height:70vh; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.hero-img{ width:100%; height:100%; object-fit:cover; }
.hero-overlay{ background:rgba(0,0,0,.35); padding:2rem; text-align:center; border-radius:10px; }
.hero-quote{
  font-family:var(--heading-font); font-size:3rem; font-weight:700; color:#fff; margin:0 0 1rem; letter-spacing:-.01em; line-height:1.1;
  text-shadow:0 2px 10px rgba(0,0,0,.25);
}
.hero-sub{ font-family:var(--heading-font); font-weight:400; font-size:1.25rem; color:#eef2ee; }

/* ===================== 5) Cards, grids, lists ================= */
.card{
  background:var(--card-bg); border:1px solid var(--card-border); border-radius:var(--radius-xl);
  padding:var(--s4); box-shadow:var(--shadow); color:inherit; margin-top:var(--s3);
}
.section .card:first-child{ margin-top:0; }

.grid-2{ display:grid; gap:var(--s3); }
@media (min-width:900px){ .grid-2{ grid-template-columns:1.4fr 1fr; } }

.list{ padding-left:1.1rem; margin:.3rem 0; }

/* ===================== 6) Sectievarianten ===================== */
.section--light{ background:#ffffff; color:var(--ink); }
.section--beige{ background:var(--beige); color:var(--ink); }
.section--gray  { background:#e6ece6; color:var(--ink); }

.section--about-v2{ background:var(--beige); }
.section--projekt{ background:#ffffff; }
.section--tourismus{ background:#acbeac; }
.section--fauna{ background:#ffffff; }
.section--contact{ background:#ffffff; }

/* News & Aktuell met bladerenachtergrond + overlay */
.section--news-dark{
  position:relative; color:#fff; overflow:hidden;
}
.section--news-dark::before{
  content:""; position:absolute; inset:0;
  background:url('/assets/images/leafs.jpg') center/cover no-repeat;
  filter:brightness(.7) saturate(.9); z-index:0;
}
.section--news-dark::after{
  content:""; position:absolute; inset:0; background:rgba(0,0,0,.55); z-index:1;
}
.section--news-dark .wrap{ position:relative; z-index:2; }

/* Tekstkleuren erven mee */
.section :where(p, li, dd, dt, figcaption, small){ color:inherit; }
.section :where(h2,h3){ color:inherit; }

/* ===================== 7) Projekt & media ===================== */
.section--projekt h2{ margin-bottom:.75rem; }
.map-figure img{ width:100%; height:auto; border-radius:12px; }
.map-figure--small{ margin:.8rem 0 1.2rem; }
.map-figure--small img{ width:100%; max-width:450px; border-radius:12px; box-shadow:var(--shadow); }

.projekt-thumbs{ margin-top:2rem; }
.projekt-thumbs h3{ margin-bottom:1rem; }
.thumb-grid{ display:flex; flex-wrap:wrap; gap:1rem; }
.thumb-grid a{
  display:block; width:80px; height:80px; border-radius:50%; overflow:hidden;
  box-shadow:0 4px 10px rgba(0,0,0,.15); transition:transform .2s ease;
}
.thumb-grid a:hover{ transform:scale(1.05); }
.thumb-grid img{ width:100%; height:100%; object-fit:cover; }

/* ===================== 8) News (cards) ======================== */
.news-cards{
  display:grid; gap:12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top:.25rem;
}
.news-card{
  display:flex; flex-direction:column; gap:.35rem;
  background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px 14px;
  text-decoration:none; color:inherit; box-shadow:var(--shadow);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.news-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  border-color: #dbe5df;
}
.news-date{
  display:inline-block; font-weight:700; font-size:.9rem; color:var(--brand-ink);
  background:#eef6f0; border:1px solid #d6e7dc; border-radius:8px; padding:.15rem .45rem; width:max-content;
}
.news-title{ margin:.1rem 0 .1rem; font-size:1.05rem; line-height:1.35; color:#1f2422; }
.news-src{ font-size:.9rem; color:var(--ink-muted); }

.news-cards--small{ gap:10px; margin-top:.6rem; }
.news-card--sm{ padding:10px 12px; }
.news-card--sm .news-title{ font-size:.98rem; }

.news-more{ margin-top:.8rem; }
.news-more > summary{ cursor:pointer; font-weight:700; color:var(--brand); list-style:none; }
.news-more > summary::marker{ content:""; }
.news-more[open] > summary{ color:var(--brand-ink); }

/* ===================== 9) Contact & FAQ ======================= */
.contact-two{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(16px,3vw,28px); align-items:start;
}
@media (max-width:980px){ .contact-two{ grid-template-columns:1fr; } }
.contact-card h3{ margin-top:0; }
.contact-actions{ display:flex; gap:.6rem; flex-wrap:wrap; margin-top:.75rem; }

.faq-list{ display:grid; gap:10px; }
.faq-list details{
  border:1px solid var(--line); border-radius:12px; background:#fff; padding:12px 14px;
  transition: box-shadow .15s ease, border-color .15s ease; color:#111;
}
.faq-list summary{ cursor:pointer; font-weight:600; list-style:none; }
.faq-list summary::-webkit-details-marker{ display:none; }
.faq-list details[open]{ box-shadow:var(--shadow); }
.faq-list p{ margin:.5rem 0 0; }

/* ===================== 10) Buttons & Links ===================== */
.btn{
  display:inline-block; padding:.65rem 1.2rem; border-radius:10px;
  font-size:.95rem; font-weight:700; text-decoration:none; text-align:center;
  cursor:pointer; transition:.2s ease;
  background:var(--brand); border:2px solid var(--brand); color:#fff;
}
.btn:hover, .btn:focus{ background:#fff; color:var(--brand); border-color:var(--brand); }
.btn:active{ background:var(--brand-ink); border-color:var(--brand-ink); color:#fff; }
.btn--green{ background:var(--brand); border-color:var(--brand); color:#fff; }
.btn--green:hover{ background:#fff; color:var(--brand); }
.btn--ghost{ background:transparent; border:1px solid currentColor; color:var(--ink); }
a.link--green{ color:var(--brand); text-decoration:none; }
a.link--green:hover{ text-decoration:underline; }

/* ===================== 11) Quotes & opinie ==================== */
.quote{
  --accent: var(--brand); --bg:#eef6f0; --text:#0c120e;
  margin:1.25rem 0; padding:1rem 1.25rem; border-left:4px solid var(--accent);
  background:var(--bg); color:var(--text); border-radius:8px;
}
.quote blockquote{ margin:0 0 .5rem 0; font-size:1.02rem; line-height:1.55; font-weight:600; }
.quote figcaption{ font-size:.9rem; opacity:.8; }
@media (min-width:768px){ .quote blockquote{ font-size:1.1rem; } }

.opinion-block{
  background:#ffffff; border-left:5px solid var(--brand); padding:1.5rem; margin-top:1.5rem; border-radius:8px; color:#2b2b2b; box-shadow:var(--shadow);
}
.opinion-block h3{ margin-top:0; font-weight:700; font-family:var(--heading-font); color:var(--brand-ink); }

/* Specifiek ABO-citaat */
.abo-quote{
  margin:.5rem 0; padding:.75rem 1rem; border-left:4px solid var(--brand);
  background:#eef6f0; border-radius:8px;
}

/* ===================== 12) Galleries / Evidence / Impact ====== */
.gallery{
  display:grid; gap:12px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.gallery__item{
  background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); overflow:hidden; color:inherit;
}
.gallery__item img{ width:100%; height:220px; object-fit:cover; }

.evidence-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:14px;
}
.evidence-grid figure, .evi-item{
  background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:0 2px 6px rgba(0,0,0,.1); overflow:hidden; color:#111;
}
.evi-img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.evi-cap{ padding:.5rem .75rem; font-size:.9rem; color:#333; }

.impact-grid{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:14px;
}
.impact-item{ padding:0; }
.impact-item .impact-img{
  width:100%; aspect-ratio: 4/3; object-fit: cover; display:block;
  border-top-left-radius: inherit; border-top-right-radius: inherit;
}
.impact-item figcaption{ padding:.6rem .9rem; color:#333; }

.site-footer{
  padding-block:var(--s5); border-top:1px solid var(--line); background:#bdbcbb; color:#111;
}
.site-footer a{ text-decoration:none; color:var(--brand); }
.site-footer a:hover{ color:var(--brand-ink); }

/* ===================== 13) Timeline compact (algemeen licht) == */
.timeline{ list-style:none; padding:0; margin:.5rem 0 0; }
.timeline li{
  display:grid; grid-template-columns:120px 1fr; gap:.75rem; padding:.4rem 0; border-bottom:1px dashed rgba(0,0,0,.1);
}
.timeline li:last-child{ border-bottom:0; }
.timeline time{ font-weight:700; color:#0f172a; }

/* ===================== 14) Badges (Fauna) ===================== */
.badge{
  display:inline-block; font-size:.75rem; line-height:1;
  padding:.18rem .42rem; border-radius:.4rem; margin-left:.35rem;
  background:#e8efe6; color:#2a3e32; border:1px solid #d7e3d4;
}
.badge--strict{  background:#f7e7e7; color:#6c1d1d; border-color:#efd0d0; }
.badge--habitat{ background:#e6eef7; color:#1e3b66; border-color:#cfe0f3; }
.badge--prot{    background:#e7f3e7; color:#21472a; border-color:#d5ead7; }

/* ===================== 15) Fauna als beeldachtergrond ========= */
/* (optioneel) achtergrondafbeelding met overlay voor #fauna */
#fauna.section--fauna{
  position:relative; color:#111; overflow:hidden;
  background:none; /* eigen laag ipv bg-image direct op sectie */
}
#fauna.section--fauna::before{
  content:""; position:absolute; inset:0;
  background:url('/assets/images/fauna-bg.png') center/cover no-repeat fixed;
  z-index:0; filter:saturate(.95);
}
#fauna.section--fauna::after{
  content:""; position:absolute; inset:0; background:rgba(0,0,0,.35); z-index:1;
}
#fauna.section--fauna .wrap{ position:relative; z-index:2; }

/* ===================== 16) Über mich & sectiefoto’s =========== */
.about-v2.about-v2--row{
  display:grid; grid-template-columns:auto 1fr; align-items:start; gap:1.5rem;
}
@media (max-width:900px){ .about-v2.about-v2--row{ grid-template-columns:1fr; gap:1rem; } }

/* Algemene sectiefoto’s: vierkant met lichte radius */
.section .about-photo-inline{
  width:220px; height:auto; border-radius:12px; object-fit:cover;
  border:2px solid #e6e8eb; box-shadow:var(--shadow);
}
/* Alleen in Über mich: rond profielfoto */
#ueber-mich .about-photo-inline{
  width:160px; height:160px; border-radius:50%; object-fit:cover;
  border:2px solid #e6e8eb; box-shadow:var(--shadow);
}

/* ===================== 17) Mobile (≤ 860px) ==================== */
@media (max-width:860px){
  :root{ --header-h-mobile:72px; }
  .site-header{ position:sticky; top:0; background:#fff; box-shadow:0 2px 12px rgba(0,0,0,.08); z-index:100; }
  .hero{ padding-top:var(--header-h-mobile); }

  section :where(p, li){ font-size:1.02rem; line-height:1.65; }
  section h2{ font-weight:700; line-height:1.25; margin-bottom:.8rem; }
  section h3{ font-weight:700; line-height:1.3; margin:.6rem 0 .5rem; }

  .grid-2{ grid-template-columns:1fr; }
  .contact-two{ grid-template-columns:1fr; }
}

/* ===================== 18) Print =============================== */
@media print{
  :root{ --bg:#fff; --ink:#000; --line:#ddd; }
  body{ background:#fff; color:#000; }
  .site-header, .site-footer, .burger, .menu{ display:none; }
  a{ text-decoration:none; color:#000; }
  .card{ box-shadow:none; border-color:#ddd; }
}
/* Fix spacing Rechtslage */
.section-law {
  padding: clamp(3rem, 6vw, 5rem) 0 !important; /* meer ruimte boven/onder */
}

.section-law .wrap {
  max-width: 1000px; /* optioneel: net wat smaller voor leesbaarheid */
  margin: 0 auto;
}
/* News & Aktuell — mos-achtergrond achter de hele sectie */
#nachricht {
  position: relative;
  overflow: hidden;
}

#nachricht::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/images/moss.jpg') center/cover no-repeat;
  z-index: 0;
  filter: brightness(0.7) saturate(0.95); /* iets donkerder & groener */
}

#nachricht::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* donkere overlay voor leesbaarheid */
  z-index: 1;
}

/* Content boven de overlay */
#nachricht .wrap {
  position: relative;
  z-index: 2;
}

/* Titel wit houden boven de donkere achtergrond */
#nachricht > .wrap > h2 {
  color: #fff;
}

/* Cards blijven licht en leesbaar */
#nachricht .card {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
/* Eén uniforme quote-stijl voor alle citaten */
.quote {
  margin: .5rem 0 1.25rem;
  padding: .75rem 1rem;
  border-left: 4px solid var(--brand);
  background: #eef6f0;
  border-radius: 8px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #1f2422;
  box-shadow: var(--shadow);
}

.quote blockquote {
  margin: 0 0 .5rem 0;
  font-weight: 600;
}

.quote figcaption {
  font-size: .9rem;
  opacity: .8;
}
/* Kontakt – cards even hoog en netjes uitgelijnd */
.section--contact .contact-two{
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
  align-items:stretch;              /* <- nieuw: gelijke hoogte */
}
@media (min-width:860px){
  .section--contact .contact-two{
    grid-template-columns:1fr 1fr;
  }
}
.section--contact .contact-card{
  display:flex;                     /* <- nieuw */
  flex-direction:column;            /* <- nieuw */
}
.section--contact .contact-card .contact-actions{
  margin-top:auto;                  /* duwt de buttons naar onder indien nodig */
}
/* Compacte FAQ */
.section--contact .faq-list{
  display:grid;
  gap:6px;
}
.section--contact .faq-list details{
  border:1px solid #e0e4df;
  border-radius:8px;
  background:#fafaf9;
  padding:8px 10px;
  font-size:.95rem;
}
.section--contact .faq-list summary{
  font-weight:600;
  cursor:pointer;
  list-style:none;
}
.section--contact .faq-list summary::-webkit-details-marker{ display:none; }
.section--contact .faq-list p{
  margin:.35rem 0 0;
  font-size:.9rem;
  line-height:1.45;
}
.subsection#gutachten {
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: #fff8f8;
  border-left: 4px solid #b91c1c;
  border-radius: 8px;
}
.subsection#gutachten h3 {
  color: #b91c1c;
  margin-top: 0;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.photo-grid figure {
  margin: 0;
  text-align: center;
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;      /* maakt alles vierkant */
  object-fit: cover;        /* snijdt netjes bij */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}
.photo-grid img:hover {
  transform: scale(1.05);
}
.photo-grid figcaption {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: #444;
}
.section--energiewende {
  background: #f9fafb;
  border-top: 3px solid #9ca3af;
}
.section--energiewende h2 {
  color: #1f2937;
}
