/*
Theme Name: Wilgersdorf
Theme URI: https://wilgersdorf.de
Author: Führwitz Medien
Description: Offizielle Website des Dorfes Wilgersdorf im Siegerland
Version: 1.0.16
License: GNU General Public License v2 or later
Text Domain: wilgersdorf
*/

/* ─── FONTS ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Italic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('fonts/BarlowCondensed-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
/* Material Symbols @font-face injected via PHP (absolute URL) – see functions.php */

/* ─── ICON UTILITY ───────────────────────────────────────────────────────── */
.icon {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga' 1;
  -webkit-font-feature-settings: 'liga' 1;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
  vertical-align: middle;
  user-select: none;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}
.icon svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon.icon-ready {
  font-family: inherit;
  font-size: 20px;
  line-height: 1;
  overflow: hidden;
}

/* ─── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  --char:   #000000;
  --forest: #124a25;
  --terra:  #60bc46;
  --terra2: #007a5e;
  --stone:  #f1f5f1;
  --cream:  #ffffff;
  --sage:   #007a5e;
  --mid:    #333333;
  --border: rgba(0,0,0,0.1);
  --nav-h:  66px;
}

/* ─── RESET & BASE ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--forest); }
body {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  background: var(--forest);
  color: var(--char);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra); }

/* ─── SKIP LINK ──────────────────────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 9999;
  background: var(--terra); color: white;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .875rem;
  padding: .75rem 1.5rem; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* ─── NAVIGATION ─────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--forest);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
  backdrop-filter: blur(10px);
  transition: background .3s, box-shadow .3s;
}
.nav-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: var(--nav-h);
}
.nav-brand {
  display: flex; align-items: center; gap: .9rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-anniversary-logo {
  display: block;
  width: 130px;
  height: 82px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.28));
}
.nav-logo {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo img { height: 40px; width: auto; display: block; }
.nav-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem; font-weight: 700; color: white; line-height: 1;
}
.nav-region {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .7rem; font-weight: 400;
  color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .2em;
  display: block; margin-top: 2px;
}
/* Desktop nav links */
.nav-menu {
  display: flex; align-items: center; list-style: none; gap: 0;
  margin: 0; padding: 0;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: .92rem; letter-spacing: .06em;
  color: rgba(255,255,255,.82); text-decoration: none;
  padding: 0 1rem; height: var(--nav-h);
  display: flex; align-items: center; gap: .25rem;
  border-bottom: 2px solid transparent;
  transition: all .2s; text-transform: uppercase;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a,
.nav-menu > li.current-menu-parent > a {
  color: white; border-bottom-color: var(--terra);
}
.nav-menu > li > a .icon { font-size: 16px; opacity: .6; }
/* Active page highlight via body class */
.nav-menu > li > a.nav-active,
.nav-menu > li.current > a {
  color: white !important; border-bottom-color: var(--terra) !important;
}
/* Dropdown toggle arrow on parent items */
.nav-menu > li.menu-has-children > a::after {
  content: '▾';
  font-family: inherit;
  font-size: 13px; font-weight: 700;
  opacity: .45; margin-left: .1rem;
  transition: transform .2s;
}
.nav-menu > li.menu-has-children:hover > a::after { transform: rotate(180deg); opacity: .8; }
/* Dropdown */
.nav-menu .sub-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: linear-gradient(180deg, #10321a, #09160e); min-width: 230px;
  border-top: 2px solid var(--terra);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
  z-index: 100; list-style: none; margin: 0; padding: 0;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { display: block; }
.nav-menu .sub-menu li a {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem 1.25rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .88rem; color: rgba(255,255,255,.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: all .15s;
}
.nav-menu .sub-menu li a:hover {
  color: white; background: rgba(96,188,70,.18);
  padding-left: 1.6rem;
}
.nav-menu .sub-menu li a .icon { font-size: 16px; color: var(--terra); flex-shrink: 0; }
/* Nav right */
.nav-right { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
/* A11y button */
.a11y-toggle-btn {
  display: flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.78);
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: .84rem; letter-spacing: .06em;
  padding: .42rem .85rem; transition: all .2s;
  white-space: nowrap; border-radius: 3px; text-transform: uppercase;
}
.a11y-toggle-btn:hover,
.a11y-toggle-btn[aria-expanded="true"] {
  background: var(--terra); border-color: var(--terra); color: white;
}
/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 4px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.hamburger span {
  width: 22px; height: 2px;
  background: rgba(255,255,255,.9); display: block; transition: .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* Mobile menu */
.mobile-menu {
  display: none; background: var(--forest);
  border-top: 1px solid rgba(255,255,255,.07);
  max-height: calc(100vh - var(--nav-h));
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: flex; align-items: center; gap: .5rem;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: .95rem; color: rgba(255,255,255,.72);
  text-decoration: none; padding: .75rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: color .2s; text-transform: uppercase; letter-spacing: .05em;
}
.mobile-menu a:hover { color: white; }
.mobile-menu a.mobile-sub {
  padding-left: 2.5rem; font-size: .82rem;
  color: rgba(255,255,255,.5) !important; text-transform: none; letter-spacing: .02em;
}
.mobile-menu a.mobile-sub .icon { font-size: 15px; color: var(--terra); }

/* ─── A11Y PANEL ─────────────────────────────────────────────────────────── */
.a11y-panel {
  display: none; position: fixed;
  top: var(--nav-h); right: 0; z-index: 2000;
  width: 330px; max-width: 100vw;
  background: #fff;
  border-left: 3px solid var(--terra); border-bottom: 3px solid var(--terra);
  box-shadow: -8px 8px 50px rgba(0,0,0,.18);
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.a11y-panel.open { display: block; }
.a11y-panel-header {
  background: var(--forest); padding: .9rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
}
.a11y-panel-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: .9rem; letter-spacing: .12em; text-transform: uppercase;
  color: white; display: flex; align-items: center; gap: .5rem;
}
.a11y-close-btn {
  background: none; border: 1px solid rgba(255,255,255,.25); color: white;
  cursor: pointer; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: .2s; padding: 0; border-radius: 2px;
}
.a11y-close-btn:hover { background: var(--terra); border-color: var(--terra); }
.a11y-section { padding: .9rem 1.25rem; border-bottom: 1px solid #f1f5f1; }
.a11y-section-label {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--terra); margin-bottom: .65rem;
}
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.a11y-btn {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: .6rem .4rem;
  border: 1.5px solid #dfe8df; background: #ffffff;
  cursor: pointer; transition: all .2s;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .74rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--char); text-align: center;
  line-height: 1.2; border-radius: 2px;
}
.a11y-btn .icon { color: var(--terra); font-size: 18px; }
.a11y-btn:hover { border-color: var(--terra); background: #f1f5f1; }
.a11y-btn.active { border-color: var(--terra); background: var(--terra); color: white; }
.a11y-btn.active .icon { color: white; }
.a11y-stepper {
  display: flex; align-items: center;
  border: 1.5px solid #dfe8df; overflow: hidden; border-radius: 2px;
}
.a11y-stepper button {
  width: 40px; height: 38px; border: none; background: #ffffff;
  cursor: pointer; font-size: .95rem; font-weight: 700;
  color: var(--terra); transition: background .2s; flex-shrink: 0;
}
.a11y-stepper button:hover { background: var(--terra); color: white; }
.a11y-stepper span {
  flex: 1; text-align: center;
  font-family: 'Barlow Condensed', sans-serif; font-size: .95rem; font-weight: 600;
  color: var(--char);
}
.a11y-reset {
  width: 100%; padding: .7rem; background: #ffffff;
  border: 1.5px solid #dfe8df;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: .84rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--char); cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  border-radius: 2px;
}
.a11y-reset:hover { background: #007a5e; border-color: #007a5e; color: white; }
/* A11y states */
body.a11y-high-contrast { filter: contrast(1.6) brightness(1.05); }
body.a11y-inverted { filter: invert(1) hue-rotate(180deg); }
body.a11y-inverted img { filter: invert(1) hue-rotate(180deg); }
body.a11y-grayscale { filter: grayscale(1); }
body.a11y-dyslexia, body.a11y-dyslexia * {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: .05em !important; word-spacing: .15em !important;
}
body.a11y-highlight-links a {
  text-decoration: underline !important;
  outline: 2px solid var(--terra) !important;
  background: #f1f5f1 !important; padding: 0 2px;
}
body.a11y-highlight-headings h1,
body.a11y-highlight-headings h2,
body.a11y-highlight-headings h3 {
  border-left: 4px solid var(--terra) !important; padding-left: .75rem !important;
}
body.a11y-stop-animation *, body.a11y-stop-animation *::before,
body.a11y-stop-animation *::after {
  animation-play-state: paused !important; transition: none !important;
}
body.a11y-big-cursor, body.a11y-big-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M8 4L8 30L14 24L20 36L24 34L18 22L28 22Z' fill='black' stroke='white' stroke-width='2'/%3E%3C/svg%3E") 8 4, auto !important;
}
body.a11y-text-spacing p, body.a11y-text-spacing li {
  letter-spacing: .1em !important; word-spacing: .2em !important; line-height: 2 !important;
}
#a11y-reading-guide {
  display: none; position: fixed; left: 0; right: 0; z-index: 9998;
  pointer-events: none; height: 36px;
  background: rgba(96,188,70,.15);
  border-top: 2px solid rgba(96,188,70,.4);
  border-bottom: 2px solid rgba(96,188,70,.4);
}
body.a11y-reading-guide-on #a11y-reading-guide { display: block; }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-color: #0f1a12;
  transform: scale(1.02);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center 58%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg,
    rgba(0,0,0,.85) 0%,
    rgba(0,0,0,.5) 55%,
    rgba(0,0,0,.12) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1400px; margin: 0 auto;
  padding: 16.25rem 2.5rem 7rem; width: 100%;
}
.hero-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: .7rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 1.5rem;
}
.hero-label::before { content: ''; width: 28px; height: 1px; background: var(--terra); }
.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(3.5rem, 9vw, 8rem); font-weight: 700;
  line-height: .92; color: white; margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}
.hero-title em { font-style: italic; color: var(--stone); }
.hero-desc {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.6); margin-bottom: 2.8rem;
  max-width: 460px; line-height: 1.75;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-terra {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--terra); color: white;
  padding: .9rem 2rem; text-decoration: none;
  border: 2px solid var(--terra); border-radius: 2px;
  transition: all .25s; display: inline-flex; align-items: center; gap: .4rem;
}
.btn-terra:hover { background: var(--forest); border-color: var(--forest); color: white; }
.btn-404-home,
.btn-404-home:visited {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}
.btn-404-home:hover,
.btn-404-home:focus-visible {
  background: #0d351a;
  border-color: #0d351a;
  color: white;
}
.btn-ghost {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  background: transparent; color: white;
  padding: .9rem 2rem; text-decoration: none;
  border: 2px solid rgba(255,255,255,.3); border-radius: 2px;
  transition: all .25s; display: inline-flex; align-items: center; gap: .4rem;
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,.08); }
.hero-scroll {
  position: absolute; bottom: 1rem; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  animation: bounce 2.2s ease-in-out infinite;
  pointer-events: none;
}
.hero-scroll span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}

/* ─── SECTIONS ───────────────────────────────────────────────────────────── */
.section { padding: 7rem 2.5rem; }
.section-inner { max-width: 1400px; margin: 0 auto; }
.section-tag {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: .65rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.section-tag::before { content: ''; width: 24px; height: 1px; background: var(--terra); }
.section-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700;
  line-height: 1.1; color: var(--char); letter-spacing: -.02em;
  margin-bottom: 3.5rem;
}
.section-heading em { font-style: italic; color: var(--terra); }

/* ─── JUBILEE BANNER ─────────────────────────────────────────────────────── */
.jubilee {
  background: var(--forest); padding: 6rem 2.5rem;
  position: relative; overflow: hidden;
}
.jubilee-inner {
  max-width: 1400px; margin: 0 auto; position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: center;
}
.jubilee-copy {
  max-width: 580px;
}
.jubilee-logo {
  width: min(360px, 28vw);
  height: auto;
  margin: 0;
  justify-self: end;
}
.jubilee-pill {
  display: inline-block; background: var(--terra);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: white; padding: .3rem .9rem; border-radius: 2px; margin-bottom: 1.5rem;
}
.jubilee-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 700;
  color: white; line-height: 1; letter-spacing: -.02em; margin-bottom: .75rem;
}
.jubilee-heading em { font-style: italic; color: var(--stone); }
.jubilee-sub {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 300;
  font-size: 1rem; color: rgba(255,255,255,.48);
  max-width: 500px; line-height: 1.75; margin-bottom: 2.5rem;
}
.jubilee-btns { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ─── NEWS GRID ──────────────────────────────────────────────────────────── */
.news-section { background: var(--cream); }
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border);
}
.news-card {
  background: white; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .3s; position: relative; overflow: hidden;
}
.news-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--terra); transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,.1); }
.news-card:hover::after { transform: scaleX(1); }
.news-img { height: 230px; overflow: hidden; background: var(--stone); }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--stone) 0%, var(--cream) 100%);
}
.news-img-placeholder .icon { font-size: 48px; color: var(--terra); opacity: .4; }
.news-tag-pill {
  position: absolute; top: 1rem; left: 1rem;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .28rem .65rem; color: white; border-radius: 2px; z-index: 2;
  background: var(--terra);
}
.news-body { padding: 1.75rem 1.75rem 2rem; flex: 1; display: flex; flex-direction: column; }
.news-date {
  font-family: 'Barlow Condensed', sans-serif; font-size: .68rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--terra); margin-bottom: .6rem;
}
.news-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem; font-weight: 700; line-height: 1.25; color: var(--char);
  margin-bottom: .75rem; letter-spacing: -.01em;
}
.news-excerpt { font-size: .875rem; line-height: 1.7; color: var(--mid); flex: 1; margin-bottom: 1.25rem; }
.news-read {
  font-family: 'Barlow Condensed', sans-serif; font-size: .7rem;
  font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--terra); display: inline-flex; align-items: center; gap: .3rem; margin-top: auto;
}

/* ─── DORF OVERVIEW (stats) ──────────────────────────────────────────────── */
.dorf-section { background: white; }
.dorf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.dorf-text p {
  font-size: 1.05rem; line-height: 1.8; color: var(--mid); margin-bottom: 1.5rem;
}
.dorf-text p strong { color: var(--char); }
.dorf-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-box {
  background: var(--cream); padding: 1.75rem; border-left: 3px solid var(--terra);
}
.stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.75rem; font-weight: 700; color: var(--terra);
  line-height: 1; margin-bottom: .35rem;
}
.stat-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: .75rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mid);
}

/* ─── LINKS / VEREINE ────────────────────────────────────────────────────── */
.links-section { background: var(--stone); }
.link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(0,0,0,.12); }
.overview-grid { grid-template-columns: repeat(3, 1fr); }
.vereine-grid { grid-template-columns: repeat(4, 1fr); }
.link-card {
  background: var(--cream); padding: 2rem 1.5rem;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: .75rem;
  transition: background .2s;
}
.link-card:hover { background: white; }
.link-card .icon { font-size: 26px; color: var(--terra); }
.link-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem; font-weight: 700; color: var(--char); line-height: 1.2;
}
.link-sub {
  font-family: 'Barlow Condensed', sans-serif; font-size: .78rem;
  color: var(--mid); line-height: 1.4;
}

/* ─── PAGE HERO / SUBPAGE ────────────────────────────────────────────────── */
.page-hero {
  background: var(--forest); padding: 7rem 2.5rem 4rem;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--terra);
}
.page-hero-inner { max-width: 1400px; margin: 0 auto; }
.breadcrumb {
  font-family: 'Barlow Condensed', sans-serif; font-size: .72rem;
  font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .5rem;
}
.breadcrumb a { color: rgba(255,255,255,.35); text-decoration: none; }
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb .icon { font-size: 14px; }
.page-hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; color: white;
  line-height: .95; letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.page-hero-title em { font-style: italic; color: var(--stone); }

/* ─── PAGE CONTENT ───────────────────────────────────────────────────────── */
.page-content { padding: 5rem 2.5rem; background: white; }
.page-content-inner { max-width: 820px; margin: 0 auto; }
.page-content-inner h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700;
  color: var(--char); margin-bottom: 1rem; margin-top: 3rem;
  letter-spacing: -.01em;
}
.page-content-inner h2:first-child { margin-top: 0; }
.page-content-inner h3 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--terra); margin-bottom: .75rem; margin-top: 2rem;
}
.page-content-inner p {
  font-size: 1.05rem; line-height: 1.85; color: var(--mid);
  margin-bottom: 1.25rem;
}
.page-content-inner p strong { color: var(--char); }
.page-content-inner ul, .page-content-inner ol {
  margin-bottom: 1.25rem; padding-left: 1.5rem;
}
.page-content-inner li { font-size: 1rem; line-height: 1.75; color: var(--mid); margin-bottom: .4rem; }
.page-content-inner a { color: var(--terra); }
.page-content-inner a:hover { color: var(--terra2); }
.info-box {
  background: var(--cream); border-left: 4px solid var(--terra);
  padding: 1.5rem 1.75rem; margin: 2rem 0; border-radius: 2px;
}
.info-box p { margin: 0; font-size: .95rem; }
.contact-box {
  background: var(--forest);
  color: white;
  border-left: 4px solid var(--terra);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  border-radius: 2px;
}
.contact-box h2 {
  color: white;
  margin-top: 0;
}
.contact-box p {
  color: rgba(255,255,255,.75);
  margin-bottom: 0;
}
.contact-box p strong { color: white; }
.contact-box a { color: var(--stone); }
.fire-banner {
  background: #b32025;
  color: white;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 1.2rem 2.5rem;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
  overflow: hidden;
  position: relative;
}
.fire-banner-hero {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 3;
  border-radius: 0;
}
.fire-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.1), transparent 42%);
  pointer-events: none;
}
.fire-banner:hover {
  color: white;
  transform: translateY(-2px);
}
.fire-banner-icon {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.26);
  color: white;
  font-size: 38px;
  padding: .65rem;
  width: 2.25em;
  height: 2.25em;
}
.fire-banner-text {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  flex-direction: column;
  gap: .25rem;
  position: relative;
  z-index: 1;
  text-align: center;
}
.fire-banner-kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.fire-banner-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
}
.fire-banner-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
}
.fire-banner-action {
  color: rgba(255,255,255,.8);
  font-size: 24px;
  position: relative;
  z-index: 1;
}
.ext-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--terra); text-decoration: none; border-bottom: 1px solid currentColor;
  padding-bottom: 1px; transition: color .2s;
}
.ext-link:hover { color: var(--terra2); }
.ext-link .icon { font-size: 16px; }

/* ─── DOWNLOADS ─────────────────────────────────────────────────────────── */
.download-section { margin-top: 3rem; }
.download-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
.download-card {
  background: var(--cream);
  border-left: 4px solid var(--terra);
  color: inherit;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.download-card:hover {
  background: #fff;
  transform: translateY(-2px);
}
.download-card > .icon {
  color: var(--terra);
  font-size: 26px;
}
.download-card-text {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: .2rem;
}
.download-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--char);
  line-height: 1.2;
}
.download-card-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra);
}
.download-card-action { margin-left: auto; }

/* ─── HISTORY TIMELINE ───────────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}
/* Background track */
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--stone);
  border-radius: 2px;
}
/* Animated fill – height driven by JS custom property --tl-progress */
.timeline::after {
  content: ''; position: absolute; left: 0; top: 0;
  width: 3px; border-radius: 2px;
  height: var(--tl-progress, 0px);
  background: linear-gradient(to bottom, var(--terra2), var(--terra));
  transition: height .12s linear;
}
.tl-item { position: relative; margin-bottom: 2.25rem; }
/* Dot on the line */
.tl-item::before {
  content: ''; position: absolute; left: -2.65rem; top: .3rem;
  width: 11px; height: 11px;
  background: var(--stone); border-radius: 50%;
  border: 2px solid var(--stone);
  box-shadow: 0 0 0 2px var(--stone);
  transition: background .3s, box-shadow .3s;
  z-index: 1;
}
.tl-item.tl-passed::before {
  background: var(--terra);
  border-color: white;
  box-shadow: 0 0 0 2px var(--terra);
}
.tl-year {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--terra); margin-bottom: .3rem;
}
.tl-text { font-size: 1rem; line-height: 1.75; color: var(--mid); }

/* ─── GALLERY ────────────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.gallery-item {
  aspect-ratio: 4/3; overflow: hidden; background: var(--stone);
  cursor: zoom-in; position: relative;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
  color: var(--mid); font-family: 'Barlow Condensed', sans-serif;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
}
.gallery-placeholder .icon { font-size: 36px; color: var(--terra); opacity: .4; }
/* ─── POEM / LIED ────────────────────────────────────────────────────────── */
.poem-block {
  background: var(--char); color: white;
  padding: 4rem; border-left: 4px solid var(--terra);
  margin: 2rem 0;
}
.poem-block p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem; line-height: 2; color: rgba(255,255,255,.85);
  margin-bottom: 1.5rem;
}
.poem-block .poem-author {
  font-family: 'Barlow Condensed', sans-serif; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--terra);
  margin-top: 2rem; margin-bottom: 0;
}

/* ─── SINGLE POST ────────────────────────────────────────────────────────── */
.single-post-layout { padding: 5rem 2.5rem; background: white; }
.single-post-layout-inner { max-width: 1100px; margin: 0 auto; width: 100%; }
.post-meta-bar {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.post-meta-bar .icon { font-size: 16px; color: var(--terra); }
.post-meta-item {
  font-family: 'Barlow Condensed', sans-serif; font-size: .78rem;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mid);
  display: flex; align-items: center; gap: .35rem;
}
.post-thumbnail { margin-bottom: 3rem; }
.post-thumbnail img {
  width: 100%;
  height: clamp(280px, 44vw, 520px);
  object-fit: cover;
  border-radius: 2px;
}
.post-body {
  max-width: 820px;
}
.post-body h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--char); }
.post-body p { font-size: 1.05rem; line-height: 1.85; color: var(--mid); margin-bottom: 1.25rem; }
.back-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--terra); text-decoration: none; margin-bottom: 2rem;
}
.back-link:hover { color: var(--terra2); }

/* ─── ARCHIVE / NEWS LIST ────────────────────────────────────────────────── */
.news-archive { padding: 5rem 2.5rem; }
.news-archive-inner { max-width: 1400px; margin: 0 auto; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2px; background: var(--border); }
.verein-news-section { margin-top: 4rem; }
.verein-news-section h2 em { color: var(--terra); }
.verein-news-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--forest); color: rgba(255,255,255,.55); }
.footer-main {
  max-width: 1400px; margin: 0 auto; padding: 5rem 2.5rem 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem;
}
.footer-brand-col .nav-brand { margin-bottom: 1.5rem; }
.footer-brand-col p {
  font-size: .875rem; line-height: 1.8; color: rgba(255,255,255,.45);
  max-width: 280px;
}
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: .65rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 1.25rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a {
  font-family: 'Barlow Condensed', sans-serif; font-size: .88rem;
  color: rgba(255,255,255,.5); text-decoration: none;
  transition: color .2s; display: flex; align-items: center; gap: .4rem;
}
.footer-links a:hover { color: white; }
.footer-links a .icon { font-size: 14px; color: var(--terra); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 2.5rem;
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom-text {
  font-family: 'Barlow Condensed', sans-serif; font-size: .78rem;
  letter-spacing: .06em; color: rgba(255,255,255,.25);
}
.footer-bottom-links {
  display: flex; gap: 1.5rem; list-style: none;
}
.footer-bottom-links a {
  font-family: 'Barlow Condensed', sans-serif; font-size: .78rem;
  color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s;
}
.footer-bottom-links a:hover { color: white; }

/* ─── ACCESSIBILITY REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; transition-duration: .01ms !important;
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .nav-menu > li > a { padding: 0 .75rem; font-size: .85rem; }
  .a11y-toggle-btn span:not(.icon) { display: none; }
  .a11y-toggle-btn { padding: .42rem .6rem; }
}
@media (max-width: 1100px) {
  .link-grid,
  .overview-grid,
  .vereine-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .jubilee-inner { grid-template-columns: 1fr; gap: 2rem; }
  .jubilee-copy { max-width: none; }
  .jubilee-logo { justify-self: start; width: min(280px, 60vw); }
}
@media (max-width: 960px) {
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .dorf-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .link-grid,
  .overview-grid,
  .vereine-grid { grid-template-columns: repeat(2, 1fr); }
  .a11y-toggle-btn span:not(.icon) { display: none; }
}
@media (max-width: 640px) {
  .nav-inner { padding: 0 1rem; }
  .nav-brand { gap: .65rem; }
  .nav-anniversary-logo {
    width: 90px;
    height: 58px;
  }
  .nav-name { display: none; }
  .nav-region { display: none; }
  .hero { min-height: 720px; align-items: flex-end; }
  .hero-slide { background-position: 58% center; }
  .hero-content { padding: 16.6rem 1.25rem 7.5rem; }
  .hero-scroll { bottom: .55rem; }
  .hero-scroll span:last-child { font-size: .58rem; }
  .section { padding: 4rem 1.25rem; }
  .jubilee { padding: 4rem 1.25rem; }
  .jubilee-logo { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .dorf-stats { grid-template-columns: 1fr 1fr; }
  .link-grid,
  .overview-grid,
  .vereine-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 1.25rem; }
  .page-hero { padding: 5.5rem 1.25rem 2.5rem; }
  .page-content { padding: 2.5rem 1.25rem; }
  .a11y-panel { width: 100vw; }
  .poem-block { padding: 2rem 1.25rem; }
  .archive-grid { grid-template-columns: 1fr; }
  .single-post-layout { padding: 3rem 1.25rem; }
  .single-post-layout-inner { max-width: 100%; }
  .post-body { max-width: 100%; }
  .timeline { padding-left: 1.75rem; }
  .tl-item::before { left: -2.1rem; }
  .hero-ctas { flex-direction: column; }
  .btn-terra, .btn-ghost { text-align: center; justify-content: center; }
  .fire-banner {
    gap: .85rem;
    padding: .8rem 1.25rem;
  }
  .fire-banner-title { font-size: clamp(1.55rem, 8vw, 2.1rem); }
  .fire-banner-sub { font-size: .95rem; }
  .fire-banner-icon {
    font-size: 30px;
    padding: .5rem;
  }
  .fire-banner-action { display: none; }
}
@media (max-width: 400px) {
  .dorf-stats { grid-template-columns: 1fr; }
  .link-grid,
  .overview-grid,
  .vereine-grid { grid-template-columns: 1fr; }
  .a11y-grid  { grid-template-columns: 1fr; }
}
