/* ==========================================================================
   Pfadfinder Erlenbach — Stylesheet
   Farben & Typografie nach DPSG Corporate Design (Stand April 2026)
   ========================================================================== */

/* ---- Schriften (lokal, DSGVO-konform) ---- */
@font-face {
  font-family: "Arvo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/arvo-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Arvo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/arvo-bold.woff2") format("woff2");
}
@font-face {
  font-family: "Arvo";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/arvo-italic.woff2") format("woff2");
}

/* ---- Farben: reduzierte Nacht-Palette — Nacht, Off-White, ein Kupfer-Akzent ---- */
:root {
  --dpsg-blau: #003056;        /* Lilie (Logo) */
  --nacht: #12151c;            /* Nachthimmel — Header, Hero, Footer */
  --nacht-hell: #1c2029;
  --kupfer: #c97b3d;           /* einziger Akzent: warmes Kupfer */
  --kupfer-hell: #e0aa74;
  --papier: #f6f4ef;           /* ruhiges Off-White, Inhaltsflächen */
  --creme: #fdfcf9;
  --sand: #ece8df;             /* Chips, feine Flächen */
  --linie: #e2ddd2;
  --woelflinge: #ff6400;       /* Stufenfarbe Wölflinge (nur Detail-Akzente) */
  --pfadfinder: #00823c;       /* Stufenfarbe Pfadfinderstufe (nur Detail-Akzente) */
  --text: #23252b;
  --text-hell: #ffffff;
  --grau: #6f6c64;
  --font-head: "Arvo", "Rockwell", "Merriweather", serif;
  --font-body: "Calibri", "Segoe UI", -apple-system, sans-serif;
  --radius: 10px;
  --shadow: 0 1px 10px rgba(18, 21, 28, 0.08);
  --maxw: 1080px;
}

/* ---- Reset & Basis ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--papier);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--kupfer); }
a:hover { color: var(--nacht); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--nacht); line-height: 1.25; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* Dynamischer Unterstrich (DPSG-Gestaltungselement) */
.u-underline::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 0.35rem;
  margin-top: 0.5rem;
  background: var(--kupfer);
  border-radius: 2px;
  transform: skewX(-18deg);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
section { padding: 3.5rem 0; }

/* ---- Header / Navigation ---- */
.site-header {
  background: var(--nacht);
  color: var(--text-hell);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.2rem;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-hell);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand img { width: 2.4rem; height: auto; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4)); }
.brand small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.72rem; opacity: 0.85; letter-spacing: 0.03em; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 6px;
  color: #fff;
  font-size: 1.4rem;
  padding: 0.15rem 0.6rem;
  cursor: pointer;
}
.site-nav ul { display: flex; gap: 0.25rem; list-style: none; }
.site-nav a {
  display: block;
  padding: 0.55rem 0.85rem;
  color: var(--text-hell);
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--kupfer); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--nacht); box-shadow: var(--shadow); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 0.5rem 1rem 1rem; }
}

/* ---- Hero ---- */
.hero {
  background: radial-gradient(ellipse at 50% 150%, rgba(201, 123, 61, 0.35) 0%, rgba(28, 32, 41, 0.6) 45%, var(--nacht) 80%), var(--nacht);
  color: var(--text-hell);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
/* Sternenhimmel — dezent */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 30% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 55% 24%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 88% 28%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 45% 40%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 8% 45%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 65% 6%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 20% 60%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 22%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 48% 10%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 52%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 80% 45%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 15%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 25% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 10%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 70% 35%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 60%, #fff 50%, transparent 51%);
}
.hero .wrap { position: relative; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.25rem; max-width: 38rem; margin-top: 1rem; opacity: 0.95; }
.hero .lilie-bg {
  position: absolute;
  right: -4rem;
  top: 50%;
  transform: translateY(-50%) rotate(-5deg);
  width: 24rem;
  opacity: 0.09;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.hero .u-underline::after { background: var(--kupfer); }

/* ---- Startseiten-Hero: Zeltlager-Foto (Schwarzzelte mit Fahne) + Wappen ---- */
.hero-start {
  background:
    linear-gradient(to right, rgba(18, 21, 28, 0.88) 0%, rgba(18, 21, 28, 0.55) 55%, rgba(18, 21, 28, 0.25) 100%),
    url("../img/zeltlager-hero.jpg") center 35% / cover no-repeat,
    var(--nacht);
  padding: 5rem 0 4.5rem;
}
.hero-start::before { display: none; }
.hero-start .lilie-bg { display: none; }
.hero-wappen {
  display: inline-block;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
}
.hero-wappen img { width: 7rem; height: auto; }
@media (max-width: 820px) {
  .hero-szene { width: 130vw; right: -20vw; opacity: 0.8; }
  .hero-start .wrap { padding-bottom: 9rem; }
  .hero-wappen img { width: 5rem; }
}
.hero-ctas { margin-top: 1.75rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-rot { background: var(--kupfer); color: var(--nacht); }
.btn-rot:hover { color: var(--nacht); }
.btn-hell { background: transparent; color: var(--kupfer-hell); border: 1.5px solid var(--kupfer-hell); }
.btn-hell:hover { color: var(--kupfer-hell); }

/* ---- Karten (Stufen) ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.card {
  background: var(--creme);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-head {
  padding: 1.4rem 1.5rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 3px solid var(--linie);
}
.card-head img { width: 3rem; }
.card-head h3 { margin: 0; }
.card-head small { color: var(--grau); }
.card-woelflinge .card-head { border-top-color: var(--woelflinge); }
.card-pfadfinder .card-head { border-top-color: var(--pfadfinder); }
.card-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; }
.zeit {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0.6rem 0;
  padding: 0.5rem 0.8rem;
  background: var(--sand);
  border-radius: 6px;
  display: inline-block;
}

/* ---- Dunkle Zwischen-Sektionen (Lagerfeuer-Akzent) ---- */
.section-beige { background: var(--nacht); color: #d9dbd0; }
.section-beige h2 { color: #fff; }
.section-beige a { color: var(--kupfer-hell); }
.section-beige a:hover { color: #fff; }

/* ---- Termine ---- */
.termine-liste { list-style: none; margin-top: 1.5rem; display: grid; gap: 1rem; }
.termin {
  display: flex;
  gap: 1.2rem;
  background: var(--creme);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.3rem;
  align-items: center;
}
.termin.vergangen { opacity: 0.55; }
.termin-datum {
  flex: 0 0 5.2rem;
  text-align: center;
  font-family: var(--font-head);
  background: var(--nacht-hell);
  color: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.3rem;
  line-height: 1.2;
}
.termin-datum .tag { font-size: 1.4rem; font-weight: 700; display: block; }
.termin-datum .monat { font-size: 0.85rem; text-transform: uppercase; }
.termin-info h3 { margin-bottom: 0.15rem; }
.termin-info p { font-size: 1rem; color: var(--grau); }
.termin-stufe {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  background: transparent;
  border: 1.5px solid var(--linie);
  color: var(--grau);
  border-radius: 999px;
  padding: 0.05rem 0.65rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.stufe-woelflinge { border-color: var(--woelflinge); color: #b34a06; }
.stufe-pfadfinder { border-color: var(--pfadfinder); color: var(--pfadfinder); }
.stufe-alle { border-color: var(--linie); color: var(--grau); }

/* ---- Zeitstrahl (Historie) ---- */
.timeline { list-style: none; margin-top: 2rem; position: relative; padding-left: 2rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  background: var(--linie);
  border-radius: 2px;
}
.timeline li { position: relative; padding: 0 0 2rem 1rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.95rem;
  top: 0.35rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--kupfer);
  border: 3px solid var(--papier);
}
.timeline .jahr { font-family: var(--font-head); font-weight: 700; color: var(--kupfer); font-size: 1.15rem; }
.timeline-foto {
  margin-top: 0.7rem;
  max-width: 22rem;
  aspect-ratio: 3 / 2;
  border: 1.5px dashed var(--kupfer);
  border-radius: 8px;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grau);
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
  padding: 0.5rem;
}
.timeline-foto img { border-radius: 8px; object-fit: cover; width: 100%; height: 100%; }

/* ---- Platzhalter-Markierung ---- */
.platzhalter {
  background: var(--sand);
  border: 1px dashed var(--kupfer);
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  font-style: italic;
  color: var(--grau);
}

/* ---- Kontakt ---- */
.kontakt-box {
  background: var(--creme);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  max-width: 34rem;
}
.kontakt-box .mail {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
}

/* ---- Rechtstexte ---- */
.rechtstext h2 { margin-top: 2rem; }
.rechtstext p, .rechtstext ul { margin-bottom: 0.9rem; }
.rechtstext ul { padding-left: 1.4rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--nacht);
  color: rgba(255, 255, 255, 0.9);
  padding: 2.5rem 0 2rem;
  margin-top: 3rem;
  font-size: 0.95rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: var(--kupfer-hell); }
.site-footer nav ul { display: flex; gap: 1.2rem; list-style: none; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-brand img { width: 2.6rem; }

@media print {
  .site-header, .site-footer, .hero-ctas { display: none; }
}
