/* ==========================================================================
   FuF – Freunde und Förderer der WFB Langenfeld e.V.
   Corporate Design: Petrol #024F79 · Magenta #E4267D (aus dem Vereinslogo)
   ========================================================================== */

@import url('../fonts/fonts.css');

:root {
  /* Farben */
  --petrol: #024F79;
  --petrol-700: #013E60;
  --petrol-800: #03314B;
  --petrol-900: #02263A;
  --petrol-100: #D9E9F2;
  --petrol-050: #EEF5F9;
  --magenta: #E4267D;
  --magenta-600: #C2115F;
  --magenta-050: #FDEEF5;
  --ink: #122430;
  --body: #3D5466;
  --muted: #66808F;
  --line: #DCE7EE;
  --bg: #F6FAFC;
  --white: #FFFFFF;

  /* Typografie */
  --font-head: 'Lexend', 'Avenir Next', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(2, 38, 58, .06), 0 4px 12px rgba(2, 38, 58, .05);
  --shadow-md: 0 4px 10px rgba(2, 38, 58, .07), 0 18px 40px rgba(2, 38, 58, .10);
  --shadow-lg: 0 8px 16px rgba(2, 38, 58, .08), 0 30px 70px rgba(2, 38, 58, .16);

  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- Reset / Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.015em;
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--magenta-600); }

::selection { background: var(--magenta); color: #fff; }

:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--petrol-900);
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: 0 0 12px 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

section { position: relative; }

.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section-tint { background: var(--bg); }

/* ---------- Typo-Bausteine ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--magenta-600);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--magenta);
}

.h-section { font-size: clamp(1.85rem, 3.6vw, 2.6rem); font-weight: 700; }
.h-sub { max-width: 46rem; font-size: 1.1rem; }

.center { text-align: center; }
.center .kicker { justify-content: center; }
.center .kicker::before { display: none; }
.center .h-sub { margin-inline: auto; }

.mark { color: var(--magenta); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--magenta-600);
  color: #fff;
  box-shadow: 0 6px 18px rgba(194, 17, 95, .32);
}
.btn-primary:hover {
  background: var(--magenta);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(194, 17, 95, .4);
}

.btn-outline {
  border-color: var(--petrol-100);
  color: var(--petrol);
  background: #fff;
}
.btn-outline:hover {
  border-color: var(--petrol);
  color: var(--petrol);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  background: rgba(255, 255, 255, .04);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  transform: translateY(-2px);
}

.btn-lg { padding: 1.15rem 2.1rem; font-size: 1.06rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
  overflow: visible;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(2, 38, 58, .07);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 88px;
  transition: min-height .35s ease;
}
.site-header.is-scrolled .header-inner { min-height: 64px; }

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transform: translateY(18px);
  filter: drop-shadow(0 4px 10px rgba(2, 38, 58, .18));
  transition: width .4s ease, height .4s ease, transform .4s ease, filter .4s ease;
}
.site-header.is-scrolled .brand img {
  width: 46px;
  height: 46px;
  transform: translateY(0);
  filter: none;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.2;
  color: var(--petrol);
  letter-spacing: -.01em;
  transition: font-size .35s ease;
}
.site-header.is-scrolled .brand-name { font-size: .78rem; }
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .65rem;
  letter-spacing: .02em;
  color: var(--muted);
  transition: font-size .35s ease;
}
.site-header.is-scrolled .brand-name small { font-size: .6rem; }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: .55rem .85rem;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--petrol-050); color: var(--petrol); }

.header-cta { white-space: nowrap; padding: .7rem 1.3rem; font-size: .92rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--petrol);
  position: relative;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px rgba(2, 38, 58, .12);
    padding: .8rem 1.25rem 1.4rem;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  .main-nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .header-cta { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
}

/* Hintergrundbild – füllt den gesamten Hero */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Overlay: dunkler Petrol-Verlauf von links nach rechts */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(2, 24, 38, .92) 0%,
      rgba(2, 49, 75, .84) 30%,
      rgba(2, 49, 75, .55) 58%,
      rgba(2, 49, 75, .12) 82%,
      transparent 100%);
}

/* Container über dem Overlay */
.hero > .container {
  position: relative;
  z-index: 2;
  padding-block: clamp(5rem, 10vw, 8rem);
}

/* Text-Bereich: auf ~55% der Container-Breite begrenzen */
.hero-copy {
  max-width: 44rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: .45rem 1.05rem .45rem .6rem;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .02em;
  margin-bottom: 1.6rem;
}
.hero-badge .dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--magenta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.hero-badge .dot svg { width: 14px; height: 14px; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  font-weight: 700;
  margin-bottom: .45em;
}
.hero h1 .mark {
  color: #FF8DBE;
  position: relative;
  white-space: nowrap;
}
.hero h1 .mark svg {
  position: absolute;
  left: 0;
  bottom: -.18em;
  width: 100%;
  height: .32em;
  overflow: visible;
}
.hero h1 .mark svg path {
  fill: none;
  stroke: var(--magenta);
  stroke-width: 7;
  stroke-linecap: round;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, .88);
  max-width: 36rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: 2.2rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-size: .92rem;
  color: rgba(255, 255, 255, .82);
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.hero-proof svg { width: 17px; height: 17px; color: #7BE0B8; flex: none; }

.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: .7rem 1.05rem;
  font-family: var(--font-head);
  animation: chip-float 7s ease-in-out infinite;
}
.hero-chip strong { display: block; font-size: 1.05rem; line-height: 1.1; color: var(--petrol); }
.hero-chip small { font-size: .74rem; font-weight: 500; color: var(--muted); }
.hero-chip .chip-ico {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-chip .chip-ico svg { width: 20px; height: 20px; }
.chip-members { right: 10%; top: 28%; animation-delay: -2.5s; }
.chip-members .chip-ico { background: var(--magenta-050); color: var(--magenta-600); }
.chip-years { right: 6%; bottom: 26%; }
.chip-years .chip-ico { background: var(--petrol-050); color: var(--petrol); }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* dekoratives Herz (Logo-Motiv) */
.heart-deco {
  position: absolute;
  pointer-events: none;
  color: #fff;
  opacity: .05;
}
.heart-deco--hero {
  width: clamp(300px, 38vw, 560px);
  right: -90px;
  top: -110px;
  transform: rotate(12deg);
}

@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-bg-img { object-position: 65% center; }
  .hero > .container { padding-block: clamp(5rem, 10vw, 7rem) clamp(3.5rem, 7vw, 5rem); }
  .chip-members { right: 1rem; top: auto; bottom: 7rem; }
  .chip-years { right: 1rem; bottom: 1.5rem; }
  .hero-badge { font-size: .78rem; white-space: nowrap; }
}

/* ---------- Zahlenband ---------- */

.stats-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: 2.4rem;
}
.stat {
  text-align: center;
  padding: .6rem .5rem;
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: var(--petrol);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat b .suffix { color: var(--magenta); }
.stat span { font-size: .92rem; color: var(--muted); font-weight: 500; }

@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
}

/* ---------- Split-Sektionen ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.split.is-flipped > .split-media { order: 2; }

.split-media { position: relative; }
.split-media .photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 5 / 4;
}
.split-media::before {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 58%;
  height: 58%;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--petrol-100), var(--magenta-050));
  z-index: -1;
}

.media-badge {
  position: absolute;
  left: -14px;
  bottom: -20px;
  background: var(--petrol);
  color: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  max-width: 270px;
}
.media-badge .ring {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  background: var(--magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}
.media-badge p {
  margin: 0;
  font-size: .85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, .92);
}
.media-badge p strong { display: block; font-family: var(--font-head); font-size: .98rem; color: #fff; }

.feature-list {
  list-style: none;
  margin: 1.6rem 0 2rem;
  padding: 0;
  display: grid;
  gap: .9rem;
}
.feature-list li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.feature-list .fl-ico {
  flex: none;
  width: 30px;
  height: 30px;
  margin-top: .15rem;
  border-radius: 50%;
  background: var(--magenta-050);
  color: var(--magenta-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-list .fl-ico svg { width: 16px; height: 16px; }
.feature-list strong { color: var(--ink); font-weight: 600; }

@media (max-width: 920px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.is-flipped > .split-media { order: 0; }
  .split-media { max-width: 560px; overflow-x: hidden; }
  .split-media::before { right: 0; bottom: -12px; }
}

/* ---------- Karten-Grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: .45em; }
.card p { font-size: .98rem; }

.card-ico {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  background: var(--petrol-050);
  color: var(--petrol);
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.card-ico svg { width: 25px; height: 25px; }
.card:hover .card-ico {
  background: var(--magenta-600);
  color: #fff;
  transform: scale(1.07) rotate(-4deg);
}

/* ---------- Zitatband ---------- */

.quote-band {
  background:
    radial-gradient(900px 460px at 12% 120%, rgba(228, 38, 125, .2), transparent 60%),
    linear-gradient(150deg, var(--petrol-900), var(--petrol-700));
  color: #fff;
  overflow: hidden;
}
.quote-band .container { position: relative; }
.quote-inner {
  padding-block: clamp(4rem, 8vw, 6rem);
  text-align: center;
  max-width: 56rem;
  margin-inline: auto;
}
.quote-inner blockquote {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: #fff;
}
.quote-inner blockquote .mark { color: #FF8DBE; }
.quote-inner figcaption {
  margin-top: 1.4rem;
  font-size: .95rem;
  color: rgba(255, 255, 255, .72);
}
.heart-deco--quote {
  width: 380px;
  left: -130px;
  bottom: -150px;
  transform: rotate(-14deg);
}

/* ---------- News ---------- */

.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  color: inherit;
}
.news-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.news-card:hover .news-media img { transform: scale(1.06); }
.news-date {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(255, 255, 255, .94);
  color: var(--petrol);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  border-radius: 999px;
  padding: .35rem .85rem;
  box-shadow: var(--shadow-sm);
}
.news-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.22rem; font-weight: 600; }
.news-body p { font-size: .96rem; flex: 1; }
.news-more {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .93rem;
  color: var(--magenta-600);
}
.news-more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.news-card:hover .news-more svg { transform: translateX(4px); }

/* ---------- Vereinszeitung ---------- */

.zeitung-panel {
  background:
    radial-gradient(700px 380px at 100% 0%, rgba(228, 38, 125, .14), transparent 55%),
    linear-gradient(140deg, var(--petrol), var(--petrol-700));
  border-radius: var(--radius-lg);
  color: #fff;
  padding: clamp(2.4rem, 5vw, 3.8rem);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2.5rem;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.zeitung-panel h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.zeitung-panel p { color: rgba(255, 255, 255, .85); }
.zeitung-covers {
  position: relative;
  height: 230px;
}
.zeitung-covers .cover {
  position: absolute;
  width: 150px;
  aspect-ratio: 1 / 1.41;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--petrol);
  transition: transform .4s var(--ease);
}
.zeitung-covers .cover svg { width: 34px; height: 34px; color: var(--magenta); }
.zeitung-covers .cover small { font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.cover-1 { left: 6%; top: 14%; transform: rotate(-8deg); z-index: 1; }
.cover-2 { left: 33%; top: 2%; transform: rotate(2deg); z-index: 2; }
.cover-3 { left: 60%; top: 16%; transform: rotate(9deg); z-index: 1; }
.zeitung-panel:hover .cover-1 { transform: rotate(-11deg) translateY(-8px); }
.zeitung-panel:hover .cover-2 { transform: rotate(0deg) translateY(-12px); }
.zeitung-panel:hover .cover-3 { transform: rotate(12deg) translateY(-8px); }

@media (max-width: 880px) {
  .zeitung-panel { grid-template-columns: 1fr; }
  .zeitung-covers { height: 210px; max-width: 420px; }
}

/* Archiv-Seite */
.archiv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.4rem;
}
.archiv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.archiv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  color: inherit;
}
.archiv-card .ac-ico {
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  background: var(--petrol-050);
  color: var(--petrol);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, color .3s;
}
.archiv-card:hover .ac-ico { background: var(--magenta-600); color: #fff; }
.archiv-card .ac-ico svg { width: 27px; height: 27px; }
.archiv-card b { font-family: var(--font-head); font-size: 1.25rem; color: var(--ink); display: block; }
.archiv-card span { font-size: .85rem; color: var(--muted); }

/* ---------- Vorstand / Kontakt ---------- */

.person-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.person-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.person-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(160deg, var(--petrol-050), var(--petrol-100));
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .6s var(--ease);
}
.person-card:hover .person-photo img { transform: scale(1.05); }
.person-body { padding: 1.4rem 1.2rem 1.7rem; }
.person-body h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: .15em; }
.person-role {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--magenta-600);
  display: block;
  margin-bottom: .9rem;
}
.person-tel {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  color: var(--petrol);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .55rem 1.15rem;
  transition: border-color .25s, background .25s, color .25s;
}
.person-tel:hover { border-color: var(--petrol); background: var(--petrol-050); color: var(--petrol); }
.person-tel svg { width: 16px; height: 16px; }

.contact-meta {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.contact-meta .cm {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.contact-meta .cm-ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--petrol-050);
  color: var(--petrol);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-meta .cm-ico svg { width: 21px; height: 21px; }
.contact-meta b { font-family: var(--font-head); font-weight: 600; color: var(--ink); display: block; font-size: .95rem; }
.contact-meta p, .contact-meta a { font-size: .92rem; margin: 0; }
@media (max-width: 880px) { .contact-meta { grid-template-columns: 1fr; } }

/* ---------- CTA / Spenden ---------- */

.cta-band {
  background:
    radial-gradient(1000px 500px at 95% 0%, rgba(228, 38, 125, .22), transparent 55%),
    linear-gradient(155deg, var(--petrol-900), var(--petrol-700) 70%);
  color: #fff;
  overflow: hidden;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  position: relative;
  z-index: 1;
}
.cta-grid h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.cta-grid .h-sub { color: rgba(255, 255, 255, .85); }

.donate-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.9rem 1.7rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.donate-card h3 {
  color: #fff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.2rem;
}
.donate-card h3 svg { width: 21px; height: 21px; color: #FF8DBE; }
.donate-rows { display: grid; gap: .7rem; margin-bottom: 1.2rem; }
.donate-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .65rem .9rem;
  background: rgba(2, 38, 58, .35);
  border-radius: 12px;
  font-size: .92rem;
}
.donate-row span { color: rgba(255, 255, 255, .65); flex: none; }
.donate-row b { font-family: var(--font-head); font-weight: 600; letter-spacing: .015em; text-align: right; word-break: break-all; }
.copy-iban {
  width: 100%;
  justify-content: center;
  background: #fff;
  color: var(--petrol);
  border: none;
}
.copy-iban:hover { background: var(--petrol-050); color: var(--petrol); transform: translateY(-2px); }
.copy-iban.is-copied { background: #2FBF8F; color: #fff; }
.heart-deco--cta {
  width: 460px;
  right: -160px;
  bottom: -190px;
  transform: rotate(10deg);
}
@media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--petrol-900);
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: 4rem 3rem;
}
.site-footer h4 {
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.footer-brand img { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 14px; padding: 5px; }
.footer-brand b { font-family: var(--font-head); color: #fff; line-height: 1.3; font-size: 1rem; }
.footer-about { font-size: .9rem; line-height: 1.65; max-width: 30rem; }
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.2rem;
  padding: .6rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: .88rem;
  transition: background .25s, border-color .25s;
}
.footer-social:hover { background: rgba(255, 255, 255, .1); border-color: #fff; text-decoration: none !important; }
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom a { color: rgba(255, 255, 255, .7); }

.footer-sponsor {
  background: rgba(0, 0, 0, .25);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.75rem;
}
.footer-sponsor-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-sponsor-label {
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .01em;
}
.footer-sponsor-inner img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
  transition: opacity .2s;
}
.footer-sponsor-inner a:hover img { opacity: 1; }
.footer-sponsor-sub {
  font-size: .8rem;
  color: rgba(255, 255, 255, .45);
}
.footer-sponsor-name {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  text-align: left;
}
.footer-sponsor-name b {
  color: rgba(255, 255, 255, .92);
  font-size: .98rem;
  letter-spacing: .01em;
}
.footer-sponsor-name .footer-sponsor-sub { margin: 0; }

/* footer-credit (alle Seiten außer index) */
.footer-credit { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.footer-heart {
  color: #E4267D;
  width: 13px;
  height: 13px;
  vertical-align: -.1em;
  flex-shrink: 0;
}
.footer-heart-lg {
  width: 16px;
  height: 16px;
}
.footer-credit-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: color .2s;
}
.footer-credit-link:hover { color: #fff; }
.footer-credit-link img {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .75;
  transition: opacity .2s;
}
.footer-credit-link:hover img { opacity: 1; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Bus-Szene (Premium Drive-through) ---------- */
.bus-scene {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  isolation: isolate;
}

/* Hintergrund-Ebenen: nahtloser Verlauf Weiß -> Tint, Straße, Mittellinie */
.bus-scene-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bus-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 8%, rgba(2, 79, 121, .07) 0%, rgba(2, 79, 121, 0) 55%),
    linear-gradient(to bottom, #ffffff 0%, #f1f7fb 46%, var(--bg) 100%);
}
/* Straßenband, auf dem der Bus steht */
.bus-road {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(4.5rem, 9vw, 7.5rem);
  height: 1px;
  background: linear-gradient(to right,
    rgba(2, 38, 58, 0) 0%, rgba(2, 38, 58, .14) 18%,
    rgba(2, 38, 58, .14) 82%, rgba(2, 38, 58, 0) 100%);
  transform: translateY(2px);
}
/* gestrichelte Mittellinie – parallaxt beim Scrollen */
.bus-roadline {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(4.5rem, 9vw, 7.5rem);
  height: 4px;
  transform: translateY(10px);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent);
  background-image: repeating-linear-gradient(to right,
    rgba(2, 79, 121, .28) 0 26px, transparent 26px 60px);
  background-size: 60px 100%;
  opacity: .5;
}

.bus-scene-inner { position: relative; text-align: center; }

.bus-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--magenta-600);
  margin-bottom: .6rem;
}
.bus-headline {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* Bühne + Fahr-Spur */
.bus-stage {
  position: relative;
  width: 100%;
  margin-inline: auto;
  max-width: 1040px;
}
.bus-track {
  position: relative;
  will-change: transform;
}
.bus-img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(2, 38, 58, .16));
}
/* weicher Bodenschatten */
.bus-shadow {
  position: absolute;
  z-index: 1;
  left: 6%; right: 6%;
  bottom: -2.5%;
  height: 7%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(2, 38, 58, .32) 0%, rgba(2, 38, 58, 0) 70%);
  filter: blur(6px);
}
/* Bewegungsstreifen – beim Einfahren sichtbar, lösen sich auf */
.bus-streak {
  position: absolute;
  z-index: 0;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, rgba(2, 79, 121, .35), rgba(2, 79, 121, 0));
  opacity: 0;
}
.bus-streak-1 { top: 34%; width: 22%; right: -26%; }
.bus-streak-2 { top: 52%; width: 30%; right: -34%; }
.bus-streak-3 { top: 70%; width: 18%; right: -22%; }

.bus-sub {
  max-width: 46rem;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  color: var(--muted);
  font-size: 1.02rem;
}

@media (max-width: 760px) {
  .bus-streak { display: none; }
  .bus-img { filter: drop-shadow(0 14px 18px rgba(2, 38, 58, .14)); }
}

/* ---------- Unterseiten ---------- */

.page-hero {
  background:
    radial-gradient(800px 400px at 90% -20%, rgba(228, 38, 125, .18), transparent 60%),
    linear-gradient(160deg, var(--petrol-800), var(--petrol));
  color: #fff;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: .3em; }
.page-hero .page-lead { color: rgba(255, 255, 255, .85); max-width: 44rem; font-size: 1.08rem; margin: 0; }
.page-hero .kicker { color: #FF8DBE; }
.page-hero .kicker::before { background: var(--magenta); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  font-size: .85rem;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, .65);
}
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }

.prose { max-width: 50rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose h4 { font-size: 1.05rem; margin-top: 1.5em; }

/* Galerie */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}
.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  background: var(--petrol-050);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 38, 58, .35), transparent 45%);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }

.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1100px);
}
.lightbox::backdrop { background: rgba(2, 28, 44, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { border-radius: 14px; max-height: 82vh; width: auto; max-width: 100%; margin-inline: auto; }
.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

/* ---------- Formular ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.3rem 1.5rem;
}
.form-field { display: flex; flex-direction: column; gap: .45rem; }
.form-field.is-full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
}
.form-field label .req { color: var(--magenta-600); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: .85rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--petrol);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(2, 79, 121, .12);
}
.form-field .hint { font-size: .82rem; color: var(--muted); }
.form-consent {
  grid-column: 1 / -1;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  font-size: .92rem;
  background: var(--petrol-050);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}
.form-consent input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--magenta-600); flex: none; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.form-result {
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 500;
}
.form-result.is-ok { background: var(--petrol-050); color: var(--petrol-700); border: 1px solid var(--petrol-100); }
.form-result.is-error { background: var(--magenta-050); color: var(--magenta-600); border: 1px solid #F6C9DE; }

fieldset.form-section {
  border: none;
  margin: 0 0 .5rem;
  padding: 0;
  grid-column: 1 / -1;
}
fieldset.form-section legend {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--petrol);
  padding: 0;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
fieldset.form-section legend .num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--magenta-600);
  color: #fff;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll-Reveal & Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal-scale.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }
.section-head { margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
