:root {
  --green: #0c8f45;
  --green-dark: #056332;
  --lime: #b7ff45;
  --black: #080b09;
  --cream: #f2f1e9;
  --white: #fff;
  --muted: #aeb5af;
  --line: rgba(255, 255, 255, 0.17);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}
.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line);
  transition: 0.35s;
  background: #000;
}
.site-header.scrolled {
  height: 72px;
  background: #000;
  backdrop-filter: none;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--green);
  font: 900 25px/1 "Barlow Condensed";
  transform: skew(-7deg);
}
.brand-copy {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  line-height: 1;
}
.brand-copy strong {
  font: 800 20px "Barlow Condensed";
  letter-spacing: 0.6px;
}
.brand-copy small {
  font-size: 10px;
  letter-spacing: 2px;
  color: #c7cdc9;
  margin-top: 4px;
}
.desktop-nav {
  display: flex;
  gap: 30px;
}
.desktop-nav a,
.footer-links a {
  color: #fff;
  text-decoration: none;
  font: 700 14px "Barlow Condensed";
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}
.desktop-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: 0.3s;
}
.desktop-nav a:hover:after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.ticket-link {
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font: 800 14px "Barlow Condensed";
  letter-spacing: 1px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 34px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 7px 0;
}
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #071d10;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12vw;
  gap: 22px;
  transform: translateY(-100%);
  transition: 0.45s;
}
.mobile-menu.open {
  transform: translateY(0);
}
.mobile-menu a {
  font: 800 45px "Barlow Condensed";
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}
.hero {
  height: 100vh;
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 130px 8vw 70px;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url("./bilder/vfb-platz-header.jpg") center/cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 10, 6, 0.93) 0%,
      rgba(4, 10, 6, 0.58) 50%,
      rgba(4, 10, 6, 0.18) 100%
    ),
    linear-gradient(0deg, rgba(8, 11, 9, 0.75), transparent 55%);
}
.hero-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent calc(25% - 1px),
    rgba(255, 255, 255, 0.08) 25%
  );
  opacity: 0.42;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 930px;
}
.eyebrow {
  font: 800 14px "Barlow Condensed";
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow.green {
  color: var(--green);
}
h1,
h2,
h3 {
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(76px, 10vw, 158px);
  line-height: 0.78;
  letter-spacing: -4px;
}
h1 span,
h2 span {
  color: var(--lime);
}
.hero-text {
  max-width: 590px;
  margin: 34px 0;
  font-size: 18px;
  line-height: 1.65;
  color: #d9dedb;
}
.hero-buttons {
  display: flex;
  gap: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  text-decoration: none;
  text-transform: uppercase;
  font: 800 14px "Barlow Condensed";
  letter-spacing: 1.5px;
  transition: 0.3s;
}
.button:hover {
  transform: translateY(-3px);
}
.button-primary {
  background: var(--green);
  color: #fff;
}
.button-primary:hover {
  background: var(--lime);
  color: #07110a;
}
.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(0, 0, 0, 0.12);
}
.button-dark {
  background: #08130c;
  color: #fff;
}
.button-light {
  background: #fff;
  color: #0b3b21;
}
.hero-side-label {
  position: absolute;
  right: 2vw;
  top: 50%;
  z-index: 3;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font: 700 11px Inter;
  letter-spacing: 4px;
  color: #d6ded8;
}
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 8vw;
  z-index: 3;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-indicator span {
  width: 45px;
  height: 1px;
  background: #fff;
  animation: pulse 1.8s infinite;
}
.match-center,
.news-section,
.team-section {
  padding: 110px 8vw;
  background: var(--cream);
  color: #0a0c0b;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 50px;
}
.section-head h2,
.statement-content h2,
.cta-copy h2 {
  font-size: clamp(60px, 7vw, 108px);
  line-height: 0.8;
  letter-spacing: -2px;
}
.text-link {
  color: #101411;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  border-bottom: 1px solid #101411;
  padding-bottom: 5px;
}
.match-card {
  background: var(--green);
  padding: 34px 40px;
  display: grid;
  grid-template-columns: 1fr 2.2fr auto;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.match-card:after {
  content: "VFB";
  position: absolute;
  right: 8%;
  top: -42px;
  font: 900 190px "Barlow Condensed";
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.match-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 2;
}
.match-meta span {
  font: 800 13px "Barlow Condensed";
  text-transform: uppercase;
  letter-spacing: 2px;
}
.match-meta strong {
  font: 700 18px "Barlow Condensed";
  text-transform: uppercase;
}
.match-meta small {
  color: #d9f1e3;
}
.match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  position: relative;
  z-index: 2;
}
.team {
  text-align: center;
  flex: 1;
}
.team h3 {
  font-size: 22px;
  margin-top: 12px;
}
.crest {
  width: 78px;
  height: 88px;
  margin: auto;
  display: grid;
  place-items: center;
  font: 900 28px "Barlow Condensed";
  clip-path: polygon(50% 0, 100% 18%, 90% 78%, 50% 100%, 10% 78%, 0 18%);
}
.green-crest {
  background: #fff;
  color: var(--green);
}
.opponent-crest {
  background: #151915;
  color: #fff;
}
.versus {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.versus span {
  font: 900 36px "Barlow Condensed";
}
.versus small {
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 2px;
}
.versus strong {
  font: 800 18px "Barlow Condensed";
}
.news-section {
  background: #e7e8df;
}
.filter-row {
  display: flex;
  gap: 8px;
}
.filter {
  border: 1px solid #b8beb8;
  background: transparent;
  padding: 10px 17px;
  text-transform: uppercase;
  font: 700 12px "Barlow Condensed";
  cursor: pointer;
}
.filter.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.news-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 22px;
}
.news-card {
  background: #fff;
  transition: 0.35s;
}
.news-card:hover {
  transform: translateY(-8px);
}
.news-card.hidden {
  display: none;
}
.news-image {
  height: 270px;
  background-size: cover;
  background-position: center;
  position: relative;
  filter: saturate(0.8);
}
.featured .news-image {
  height: 360px;
}
.image-one {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent),
    url("./bilder/artikel-1.png");
}
.image-two {
  background-image: url("./bilder/artikel-2.png");
}
.image-three {
  background-image: url("./bilder/artikel-3.png");
}
.tag {
  position: absolute;
  left: 18px;
  top: 18px;
  background: var(--green);
  color: #fff;
  padding: 7px 10px;
  font: 800 10px "Barlow Condensed";
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.news-copy {
  padding: 25px;
}
.news-copy time {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #69706b;
}
.news-copy h3 {
  font-size: 31px;
  line-height: 1;
  margin: 13px 0;
}
.news-copy p {
  font-size: 14px;
  line-height: 1.6;
  color: #616862;
  margin-bottom: 22px;
}
.news-copy a {
  font: 800 12px "Barlow Condensed";
  text-transform: uppercase;
  color: #0d3c22;
  text-decoration: none;
}
.statement-section {
  height: 740px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 8vw;
  overflow: hidden;
}
.statement-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1508098682722-e99c43a406b2?auto=format&fit=crop&w=2000&q=85")
    center/cover;
}
.statement-section:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 16, 8, 0.94),
    rgba(2, 16, 8, 0.46),
    rgba(2, 16, 8, 0.08)
  );
}
.statement-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}
.statement-content p:not(.eyebrow) {
  max-width: 500px;
  line-height: 1.7;
  color: #d4dbd6;
  margin: 30px 0;
}
.team-section {
  background: #101411;
  color: #fff;
}
.team-section .text-link {
  color: #fff;
  border-color: #fff;
}
.player-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #2d332f;
}
.player-card {
  min-height: 260px;
  background: #171c18;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  transition: 0.35s;
  position: relative;
  overflow: hidden;
}
.player-card:before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -40px;
  right: -45px;
}
.player-card:hover,
.player-card.active {
  background: var(--green);
  transform: translateY(-10px);
}
.player-card span {
  font: 900 70px "Barlow Condensed";
  color: rgba(255, 255, 255, 0.18);
  position: absolute;
  top: 22px;
  left: 27px;
}
.player-card strong {
  font: 800 30px "Barlow Condensed";
  text-transform: uppercase;
}
.player-card small {
  margin-top: 7px;
  color: #bfc6c1;
}
.cta-section {
  padding: 90px 8vw;
  background: var(--green);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: end;
}
.cta-actions p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
}
footer {
  padding: 60px 8vw 30px;
  background: #060806;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}
footer > p {
  grid-column: 1/-1;
  border-top: 1px solid #1e231f;
  padding-top: 24px;
  color: #6f7771;
  font-size: 11px;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s,
    transform 0.8s;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.6);
    transform-origin: left;
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}
@media (max-width: 1000px) {
  .desktop-nav,
  .ticket-link {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .match-card {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured {
    grid-column: 1/-1;
  }
  .player-strip {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .site-header {
    height: 72px;
    padding: 0 20px;
  }
  .brand-mark {
    width: 45px;
    height: 45px;
  }
  .brand-copy strong {
    font-size: 17px;
  }
  .hero {
    min-height: 680px;
    padding: 120px 22px 55px;
  }
  .hero-lines {
    background: repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(50% - 1px),
      rgba(255, 255, 255, 0.06) 50%
    );
  }
  h1 {
    font-size: 72px;
    letter-spacing: -2px;
  }
  .hero-text {
    font-size: 15px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-side-label {
    display: none;
  }
  .scroll-indicator {
    left: 22px;
  }
  .match-center,
  .news-section,
  .team-section {
    padding: 80px 22px;
  }
  .section-head {
    align-items: flex-start;
    gap: 30px;
    flex-direction: column;
  }
  .section-head h2,
  .statement-content h2,
  .cta-copy h2 {
    font-size: 66px;
  }
  .match-card {
    padding: 28px 20px;
  }
  .match-teams {
    gap: 10px;
  }
  .crest {
    width: 58px;
    height: 68px;
  }
  .team h3 {
    font-size: 16px;
  }
  .versus span {
    font-size: 28px;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .featured {
    grid-column: auto;
  }
  .featured .news-image,
  .news-image {
    height: 250px;
  }
  .statement-section {
    height: 650px;
    padding: 22px;
  }
  .player-strip {
    grid-template-columns: 1fr;
  }
  .cta-section {
    padding: 75px 22px;
    grid-template-columns: 1fr;
    gap: 35px;
  }
  footer {
    padding: 50px 22px 25px;
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}
.site-header.scrolled .brand-logo {
  width: 58px;
  height: 58px;
}
.match-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin: auto;
}
.footer-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.youth-home {
  padding: 110px 8vw;
  background: #f2f1e9;
  color: #0a0c0b;
}
.youth-home-grid {
  background: #0d2316;
  color: #fff;
  padding: 45px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 45px;
}
.youth-home-grid h3 {
  font: 800 42px "Barlow Condensed";
  text-transform: uppercase;
}
.youth-home-grid p {
  line-height: 1.7;
  color: #ccd8d0;
  margin: 16px 0 28px;
}
.youth-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.youth-badges span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 18px;
  font: 700 18px "Barlow Condensed";
  text-transform: uppercase;
}
.subhero {
  min-height: 430px;
  padding: 155px 8vw 75px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(2, 14, 7, 0.9), rgba(2, 14, 7, 0.3)),
    url("./bilder/vfb-platz-header.jpg") center/cover;
}
.subhero h1 {
  font: 900 clamp(72px, 10vw, 150px)/0.8 "Barlow Condensed";
  text-transform: uppercase;
}
.content-section {
  padding: 90px 8vw;
  background: var(--cream);
  color: #0a0c0b;
  min-height: 420px;
}
.inner-news {
  grid-template-columns: repeat(3, 1fr);
}
.fixtures-list {
  display: grid;
  gap: 12px;
}
.fixture-row {
  background: #fff;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
.fixture-team {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
}
.fixture-team.away {
  justify-content: flex-end;
  text-align: right;
}
.fixture-team img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}
.fixture-meta {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.fixture-meta strong {
  font: 800 25px "Barlow Condensed";
  color: var(--green);
}
.fixture-meta small {
  color: #687069;
}
.source-note {
  margin-top: 24px;
  color: #616862;
}
.article-page {
  max-width: 1000px;
  margin: auto;
}
.article-page time {
  color: var(--green);
  font-weight: 700;
}
.article-page h2,
.intro-grid h2 {
  font: 900 clamp(48px, 7vw, 88px)/0.9 "Barlow Condensed";
  text-transform: uppercase;
  margin: 20px 0 30px;
}
.article-page p,
.intro-grid p,
.legal p {
  font-size: 17px;
  line-height: 1.8;
  color: #535b55;
  margin-bottom: 22px;
}
.article-page .button {
  margin-top: 20px;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 35px;
}
.age-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.info-card {
  background: #fff;
  padding: 34px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}
.info-card h3 {
  font: 800 31px "Barlow Condensed";
  text-transform: uppercase;
  margin-bottom: 15px;
}
.info-card p {
  line-height: 1.7;
  color: #626a64;
}
.contact-form {
  display: grid;
  gap: 18px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #c7ccc8;
  background: #fff;
  font: inherit;
}
.legal {
  max-width: 980px;
}
.legal h2 {
  font: 800 44px "Barlow Condensed";
  margin-bottom: 25px;
}
@media (max-width: 700px) {
  .brand-logo {
    width: 56px;
    height: 56px;
  }
  .youth-home {
    padding: 80px 22px;
  }
  .youth-home-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .fixture-row {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .fixture-team,
  .fixture-team.away {
    justify-content: center;
    text-align: center;
  }
  .inner-news,
  .age-grid {
    grid-template-columns: 1fr;
  }
  .subhero {
    padding: 130px 22px 55px;
    min-height: 360px;
  }
  .subhero h1 {
    font-size: 70px;
  }
  .content-section {
    padding: 65px 22px;
  }
}

/* page overrides */
body.news-page,
body.subpage {
  background: #fff;
  color: #222;
}
body.news-page .site-header,
body.subpage .site-header {
  background: #000;
}
body.news-page section,
body.subpage section {
  background: #fff;
  color: #222;
}
.hero h1,
.hero .hero-text,
.hero .eyebrow,
.hero .button {
  color: #fff !important;
}
.about,
.about-section,
.unity,
.section-dark {
  background: #080b09 !important;
  color: #fff !important;
}

/* === Vereinsfarben und Seitenkorrekturen === */
:root {
  --club-green: #047c06;
}

/* Navigations-Unterstrich in der originalen Logofarbe */
.desktop-nav a::after {
  background: var(--club-green);
  height: 3px;
}

/* Mitglied werden in der originalen Logofarbe */
.ticket-link {
  color: var(--club-green);
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}
.ticket-link:hover {
  color: #16a51a;
  text-shadow: 0 0 14px rgba(4, 124, 6, 0.45);
}

/* Schrift im Headerbild */
.hero h1 span {
  color: var(--club-green) !important;
}

/* Logo auf schwarzer Navigation deutlich sichtbarer */
.brand-logo {
  background: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  padding: 3px;
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 5px 12px rgba(0, 0, 0, 0.6));
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}
.brand:hover .brand-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.95))
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.7));
}

/* Alle einzelnen Newsartikel erhalten durchgehend weißen Hintergrund */
body.article-body,
body.article-body main,
body.article-body .content-section,
body.article-body .article-page {
  background: #fff;
  color: #101411;
}
body.article-body .article-page {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: max(8vw, calc((100vw - 1000px) / 2));
  padding-right: max(8vw, calc((100vw - 1000px) / 2));
}

/* Impressum und Datenschutz durchgehend weiß */
body.legal-body,
body.legal-body main,
body.legal-body .content-section,
body.legal-body .legal {
  background: #fff;
  color: #101411;
}
body.legal-body .subhero {
  background: #fff;
  color: #101411;
  min-height: 330px;
}
body.legal-body .subhero .eyebrow {
  color: var(--club-green);
}
body.legal-body .legal {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: max(8vw, calc((100vw - 980px) / 2));
  padding-right: max(8vw, calc((100vw - 980px) / 2));
}

@media (max-width: 700px) {
  body.article-body .article-page,
  body.legal-body .legal {
    padding-left: 22px;
    padding-right: 22px;
  }
}

/* === Weitere Vereinsfarben-Anpassungen === */
/* Headline im Bildbereich der einzelnen Newsartikel wieder weiß */
body.article-body .subhero,
body.article-body .subhero h1,
body.article-body .subhero .eyebrow {
  color: #fff !important;
}

/* Zusammenhalt in der grünen Vereinsfarbe */
.statement-content h2 span {
  color: var(--club-green) !important;
}

/* Einheitlicher grüner Hovereffekt wie bei „Mitglied werden“ */
.hero-buttons .button-primary,
.youth-home .button-primary,
.statement-content .button-primary {
  transition:
    transform 0.3s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}
.hero-buttons .button-primary:hover,
.youth-home .button-primary:hover,
.statement-content .button-primary:hover {
  background: #16a51a;
  color: #fff !important;
  box-shadow: 0 0 18px rgba(4, 124, 6, 0.55);
  transform: translateY(-3px);
}

/* Spielplan: aktuelles Spiel und abgesagte Partie */
.fixture-row.fixture-highlight {
  border-left: 6px solid var(--green);
}
.fixture-row.fixture-cancelled {
  opacity: 0.68;
}
.fixture-row.fixture-cancelled .fixture-meta strong,
.fixture-row.fixture-cancelled .fixture-meta small {
  text-decoration: line-through;
}

/* === Social-Media-Icons in der Navigation === */
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--club-green);
  text-decoration: none;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
.social-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* WhatsApp-Icon als lokale PNG-Datei */
.social-link .whatsapp-icon {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
  background: transparent;
}
.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--club-green);
  background: rgba(4, 124, 6, 0.13);
  box-shadow: 0 0 15px rgba(4, 124, 6, 0.38);
}

/* === Drei dezente, dreiblättrige Kleeblätter === */
.clover-decoration {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.clover-decoration span {
  position: absolute;
  width: 150px;
  height: 175px;
  opacity: 0.075;
  transform: rotate(-12deg);
}
.clover-decoration span::before {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 190'%3E%3Cg fill='%23ffffff'%3E%3Cellipse cx='80' cy='48' rx='31' ry='43'/%3E%3Cellipse cx='48' cy='86' rx='31' ry='43' transform='rotate(-48 48 86)'/%3E%3Cellipse cx='112' cy='86' rx='31' ry='43' transform='rotate(48 112 86)'/%3E%3Cpath d='M76 103h9l15 76H88z'/%3E%3C/g%3E%3C/svg%3E");
}
.clover-decoration span:nth-child(1) {
  left: 58%;
  top: 10%;
  width: 130px;
}
.clover-decoration span:nth-child(2) {
  right: 8%;
  top: 39%;
  width: 190px;
  transform: rotate(17deg);
}
.clover-decoration span:nth-child(3) {
  left: 45%;
  bottom: -4%;
  width: 165px;
  transform: rotate(-27deg);
}
.statement-content {
  z-index: 2;
}

@media (max-width: 1000px) {
  .header-actions {
    gap: 12px;
  }
  .social-link {
    width: 34px;
    height: 34px;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding-right: 14px;
  }
  .header-actions {
    gap: 8px;
  }
  .social-links {
    gap: 6px;
  }
  .social-link {
    width: 32px;
    height: 32px;
  }
  .social-link svg {
    width: 17px;
    height: 17px;
  }
  .clover-decoration span:nth-child(1) {
    left: 52%;
    top: 8%;
  }
  .clover-decoration span:nth-child(2) {
    right: -10%;
    top: 42%;
  }
  .clover-decoration span:nth-child(3) {
    left: 36%;
    bottom: -8%;
  }
}

/* Vereinsgeschichte */
.history-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.history-content h2 {
  font-size: clamp(48px, 6vw, 86px);
  line-height: 0.92;
  margin-bottom: 28px;
  color: #0b3b21;
}
.history-content .history-lead {
  font-size: 20px;
  font-weight: 600;
  color: #244b35;
  margin-bottom: 35px;
}
.history-content p {
  font-size: 16px;
  line-height: 1.9;
  color: #3f4942;
  margin: 0 auto 24px;
}

/* Lokale Artikelbilder */
.article-hero-image {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  margin: 0 0 36px;
  border-radius: 4px;
}

/* Kontaktformular – einheitliche Vereinsfarbe */
.contact-form .button-primary:hover,
.contact-form button:hover {
  background: var(--green) !important;
  color: #fff !important;
  filter: brightness(1.12);
}

/* Rechtstexte */
.legal {
  max-width: 980px;
  margin: 0 auto;
}
.legal h2 {
  margin-top: 38px;
  margin-bottom: 14px;
  font-size: 36px;
  color: #0b3b21;
}
.legal h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 25px;
  color: #0b3b21;
}
.legal p,
.legal li {
  line-height: 1.8;
  color: #37413a;
}
.legal ul {
  padding-left: 22px;
  margin-bottom: 20px;
}
.legal a {
  color: var(--green);
  font-weight: 700;
}

/* Dropdown-Navigation: Der Verein */
.desktop-nav {
  overflow: visible;
}
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 7px;
}
.nav-dropdown-toggle span {
  font-size: 11px;
  transition: transform 0.25s ease;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  min-width: 230px;
  padding: 10px;
  background: #050705;
  border-top: 3px solid var(--club-green);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s;
  z-index: 200;
}
.nav-dropdown-menu a {
  display: block !important;
  padding: 12px 16px !important;
  white-space: nowrap;
  color: #fff !important;
  text-transform: none !important;
  font-size: 14px !important;
}
.nav-dropdown-menu a::after {
  display: none !important;
}
.nav-dropdown-menu a:hover {
  background: var(--club-green);
  color: #fff !important;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-dropdown:hover .nav-dropdown-toggle span {
  transform: rotate(180deg);
}
.mobile-menu-heading {
  display: block;
  padding: 18px 28px 8px;
  color: var(--club-green);
  font: 800 15px "Barlow Condensed";
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile-menu .mobile-sub-link {
  padding-left: 44px;
  font-size: 16px;
}
.club-content {
  max-width: 1050px;
  margin: 0 auto;
}
.club-content > h2 {
  font: 900 clamp(48px, 7vw, 88px)/0.9 "Barlow Condensed";
  text-transform: uppercase;
  margin-bottom: 28px;
  color: #0b3b21;
  text-align: center;
}
.club-content > .history-lead {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #244b35;
  margin-bottom: 36px;
}
.club-content h3 {
  font: 800 32px "Barlow Condensed";
  text-transform: uppercase;
  color: #0b3b21;
  margin: 34px 0 14px;
}
.club-content p,
.club-content li {
  font-size: 16px;
  line-height: 1.8;
  color: #3f4942;
}
.club-content p {
  margin-bottom: 18px;
}
.club-content ul {
  padding-left: 24px;
  margin-bottom: 24px;
}
.club-content a {
  color: var(--green);
  font-weight: 700;
}
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px;
}
.board-grid .info-card {
  height: 100%;
}
.sponsor-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 35px 0;
}
.sponsor-placeholder {
  min-height: 160px;
  background: #fff;
  border: 1px solid #d9dedb;
  display: grid;
  place-items: center;
  font: 800 24px "Barlow Condensed";
  text-transform: uppercase;
  color: #8a928d;
}
.address-card {
  background: #fff;
  border-left: 5px solid var(--club-green);
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}
@media (max-width: 1100px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .board-grid,
  .sponsor-placeholder-grid {
    grid-template-columns: 1fr;
  }
  .club-content h3 {
    font-size: 27px;
  }
}

/* === Korrekturen: Unterseiten „Der Verein“ === */
body.club-subpage .content-section,
body.club-subpage .club-content {
  color: #101411;
}

body.club-subpage .club-content > h2,
body.club-subpage .club-content > .history-lead,
body.club-subpage .club-content h3,
body.club-subpage .club-content h4,
body.club-subpage .club-content p,
body.club-subpage .club-content li,
body.club-subpage .club-content strong,
body.club-subpage .info-card h3,
body.club-subpage .info-card p,
body.club-subpage .address-card,
body.club-subpage .address-card p {
  color: #101411;
}

/* Vereinsgeschichte behält bewusst die grüne Gestaltung. */
body:not(.club-subpage) .history-content h2 {
  color: #0b3b21;
}

/* Buttons in den Vereins-Unterseiten: lesbare schwarze Schrift und Vereins-Hover. */
body.club-subpage .button,
body.club-subpage .button-primary {
  background: var(--club-green);
  color: #101411 !important;
  border: 1px solid var(--club-green);
  box-shadow: none;
  transition:
    transform 0.3s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

body.club-subpage .button:hover,
body.club-subpage .button-primary:hover {
  background: #16a51a;
  border-color: #16a51a;
  color: #101411 !important;
  box-shadow: 0 0 18px rgba(4, 124, 6, 0.45);
  transform: translateY(-3px);
}

/* === Impressum & Datenschutz sofort sichtbar und linksbündig === */
body.legal-body .content-section {
  padding: 70px 8vw 100px;
  text-align: left;
}

body.legal-body .content-section > .legal {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

body.legal-body .legal h2,
body.legal-body .legal h3,
body.legal-body .legal p,
body.legal-body .legal li,
body.legal-body .legal ul {
  text-align: left;
}

body.legal-body .legal h2:first-child {
  margin-top: 0;
}

@media (max-width: 700px) {
  body.legal-body .content-section {
    padding: 50px 22px 75px;
  }
}

/* Diagonale Feldmarker-Fußball-Animation */
.team-section.team-section--marquee-only {
  position: relative;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #020905;
  color: #ffffff;
}

.team-marquee {
  position: relative;
  width: 100%;
  height: clamp(300px, 27vw, 410px);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 14% 20%,
      rgba(17, 138, 45, 0.24),
      transparent 36%
    ),
    radial-gradient(
      circle at 86% 80%,
      rgba(31, 159, 58, 0.18),
      transparent 40%
    ),
    linear-gradient(135deg, #020905 0%, #04130b 50%, #071b10 100%);
  border-top: 1px solid rgba(17, 138, 45, 0.34);
  border-bottom: 2px solid var(--green);
}

.team-marquee__stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190vw;
  min-height: 195%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  transform: translate(-50%, -50%) rotate(-30deg) scale(1.08);
  transform-origin: center;
}

.team-marquee__row {
  display: flex;
  width: max-content;
  flex: 0 0 auto;
  will-change: transform;
}

.team-marquee__track {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
  animation: teamMarqueeLeft 120s linear infinite;
}

.team-marquee__row--right .team-marquee__track {
  animation-name: teamMarqueeRight;
  animation-duration: 132s;
}

.team-marquee__row--muted {
  opacity: 0.34;
}
.team-marquee__row--soft {
  opacity: 0.62;
}
.team-marquee__row--bright {
  opacity: 1;
}

.team-marquee span {
  display: inline-block;
  white-space: nowrap;
  font:
    900 clamp(39px, 4.9vw, 84px) / 0.88 "Barlow Condensed",
    sans-serif;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.team-marquee__solid {
  color: #f4f5f3;
  text-shadow: 0 0 22px rgba(17, 138, 45, 0.18);
}

.team-marquee__solid--green {
  color: #1f9f3a;
}

.team-marquee__outline {
  color: transparent;
  -webkit-text-stroke: 1.8px rgba(31, 159, 58, 0.96);
  text-stroke: 1.8px rgba(31, 159, 58, 0.96);
}

.team-marquee:hover .team-marquee__track {
  animation-play-state: paused;
}

@keyframes teamMarqueeLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes teamMarqueeRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

@media (max-width: 700px) {
  .team-marquee {
    height: 340px;
  }

  .team-marquee__stage {
    width: 270vw;
    min-height: 210%;
    gap: 5px;
    transform: translate(-50%, -50%) rotate(-30deg) scale(1.05);
  }

  .team-marquee span {
    font-size: clamp(34px, 10.5vw, 62px);
    line-height: 0.9;
  }

  .team-marquee__track {
    gap: 12px;
    padding-right: 12px;
    animation-duration: 112s;
  }

  .team-marquee__row--right .team-marquee__track {
    animation-duration: 124s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .team-marquee__track {
    animation-play-state: paused;
  }
}

/* Dynamische News-Verwaltung */
#home-news-grid:empty,
#news-archive-grid:empty {
  min-height: 280px;
}

#dynamic-article:empty {
  min-height: 420px;
}

.article-page p {
  margin-bottom: 1.25rem;
}

/* === Finale Navigation: Mannschaften & Jugend wie Der Verein === */
.nav-dropdown-menu {
  max-height: min(70vh, 520px);
  overflow-y: auto;
}

/* Impressum/Datenschutz: Inhalt schwarz, Footer und Vereinsname weiß */
body.legal-body .legal,
body.legal-body .legal h1,
body.legal-body .legal h2,
body.legal-body .legal h3,
body.legal-body .legal h4,
body.legal-body .legal p,
body.legal-body .legal li,
body.legal-body .legal span,
body.legal-body .legal div {
  color: #101411 !important;
}
body.legal-body footer,
body.legal-body footer .footer-brand,
body.legal-body footer .footer-brand strong,
body.legal-body footer .footer-links a,
body.legal-body footer > p {
  color: #ffffff !important;
}
body.legal-body footer .footer-links a:hover {
  color: var(--club-green, #0c8f45) !important;
}

/* Mobile-Menü vollständig ausblenden, damit keine letzten Links oben links sichtbar bleiben */
.mobile-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mannschafts- und Jugendseiten */
.team-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 32px;
  align-items: start;
}
.training-card,
.squad-card {
  background: #ffffff;
  border: 1px solid rgba(9, 67, 31, 0.14);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
  padding: 30px;
}
.training-card h3,
.squad-card h3 {
  color: #101411;
  margin-bottom: 14px;
}
.training-list,
.player-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.training-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(9, 67, 31, 0.12);
  color: #101411;
}
.training-list li:last-child {
  border-bottom: 0;
}
.training-list strong {
  color: var(--club-green);
}
.player-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  counter-reset: player;
}
.player-list li {
  counter-increment: player;
  color: #101411;
  padding: 10px 0;
  border-bottom: 1px solid rgba(9, 67, 31, 0.1);
}
.player-list li::before {
  content: counter(player, decimal-leading-zero) " ";
  color: var(--club-green);
  font-weight: 800;
  margin-right: 8px;
}
.team-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.team-page-actions .primary-button,
.team-page-actions .secondary-button {
  color: #0a7e0c !important;
}
.training-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #5d665f;
}
@media (max-width: 800px) {
  .team-details-grid {
    grid-template-columns: 1fr;
  }
  .player-list {
    grid-template-columns: 1fr;
  }
}

.sponsor-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.sponsor-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.sponsor-card img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* === Korrektur: Artikel-Buttons und Vereins-Unterseiten === */
body.article-body .article-page .button-primary:hover {
  background: #16a51a;
  color: #ffffff !important;
  box-shadow: 0 0 18px rgba(4, 124, 6, 0.55);
  transform: translateY(-3px);
}

body.club-subpage .button,
body.club-subpage .button-primary,
body.club-subpage .button:hover,
body.club-subpage .button-primary:hover {
  color: #ffffff !important;
}

/* Filterbereich auf der Seite „Aktuell“ */
.news-archive-section .news-archive-head {
  margin-bottom: 34px;
}

.news-archive-section .news-archive-head h2 {
  margin: 0;
  color: #0a0c0b;
}

@media (max-width: 760px) {
  .news-archive-section .news-archive-head {
    align-items: flex-start;
    gap: 22px;
  }

  .news-archive-section .filter-row {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* =========================================================
   RESPONSIVE NAVIGATION – SCROLLBAR UND VOLLSTÄNDIGE LINKS
   ========================================================= */

@media (max-width: 1100px) {
  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 45;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;

    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;

    padding:
      calc(105px + env(safe-area-inset-top))
      clamp(24px, 7vw, 58px)
      calc(40px + env(safe-area-inset-bottom));

    gap: 8px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    background: #071d10;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      transform 0.45s ease,
      opacity 0.3s ease,
      visibility 0s linear 0.45s;
  }

  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.45s ease,
      opacity 0.3s ease,
      visibility 0s linear 0s;
  }

  .mobile-menu > a {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    padding: 11px 0;

    color: #ffffff;
    font: 800 clamp(26px, 7vw, 42px) / 1 "Barlow Condensed", sans-serif;
    text-decoration: none;
    text-transform: uppercase;
  }

  .mobile-menu-heading {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    margin-top: 12px;
    padding: 12px 0 4px;

    color: var(--club-green, #118a2d);
    font: 800 15px / 1.2 "Barlow Condensed", sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-menu .mobile-sub-link {
    padding: 8px 0 8px 20px;
    font-size: clamp(20px, 5.5vw, 29px);
  }

  body.mobile-menu-open {
    overflow: hidden;
    touch-action: none;
  }

  body.mobile-menu-open .mobile-menu {
    touch-action: pan-y;
  }
}

@media (max-width: 480px) {
  .mobile-menu {
    padding-top: calc(90px + env(safe-area-inset-top));
    padding-right: 24px;
    padding-left: 24px;
  }

  .mobile-menu > a {
    padding-block: 9px;
  }

  .mobile-menu-heading {
    margin-top: 8px;
  }
}

/* Mobile Headerüberschriften: lange Titel innerhalb des Bildbereichs halten */
@media (max-width: 700px) {
  .subhero {
    overflow: hidden;
  }

  .subhero > div {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .subhero h1.subhero-title-responsive {
    max-width: 100%;
    margin: 0;
    font-size: clamp(36px, 11vw, 62px);
    line-height: 0.9;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .subhero h1.subhero-title-responsive {
    font-size: 34px;
  }
}

