/* ============================================================
   Dresdner Singen — Stylesheet
   Design: "Unter der Linde" — Gemeinschaft, Volkslied, Wärme.
   Palette: tiefes Lindengrün + Honiggold + warmes Papier.
   Schrift: Fraunces (Überschriften) + Mulish (Text).
   ============================================================ */

:root {
  /* Farben */
  --ink:        #241f18;   /* warmes Fast-Schwarz, Fließtext        */
  --ink-soft:   #4a4234;   /* gedämpft                              */
  --paper:      #f6f1e6;   /* warmes Elfenbein, Seitenhintergrund   */
  --paper-2:    #efe6d4;   /* Karten / abgesetzte Flächen           */
  --pine:       #1e3b2e;   /* tiefes Lindengrün, dunkle Sektionen   */
  --pine-2:     #2d5540;   /* mittleres Grün                        */
  --honey:      #bd7f24;   /* Honig/Bernstein, Akzent               */
  --honey-2:    #e0ad57;   /* helleres Gold                         */
  --cream:      #f3ecdd;   /* Text auf dunklem Grund                */
  --line:       rgba(36,31,24,.14);
  --line-light: rgba(243,236,221,.22);

  /* Typo */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Maße */
  --wrap: 1080px;
  --wrap-narrow: 720px;
  --radius: 14px;
  --radius-lg: 22px;
}

/* ---------- Reset / Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.125rem;          /* 18px Basis — gut lesbar für alle */
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--honey); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 560;
  line-height: 1.12;
  color: var(--pine);
  font-optical-sizing: auto;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

/* Sichtbarer Fokus für Tastaturnutzung */
a:focus-visible, button:focus-visible, input:focus-visible,
summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.narrow { max-width: var(--wrap-narrow); }

/* Sprungmarke „Zum Inhalt" */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--pine); color: var(--cream);
  padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Eyebrow / Zierlinie (Signatur: Liedzeile) ---------- */
.eyebrow {
  font-family: var(--body);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--honey);
  margin: 0 0 .9rem;
  display: inline-flex; align-items: center; gap: .7rem;
}
.eyebrow::before {
  content: ""; width: 30px; height: 2px;
  background: var(--honey); display: inline-block; border-radius: 2px;
}
/* dezente „Notenlinie" als Trenner */
.staff-rule {
  border: 0; height: 0; margin: 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.staff-rule::after {
  content: "•  •  •";
  position: absolute; top: -.85em; left: 50%; transform: translateX(-50%);
  color: var(--honey); letter-spacing: .4em; font-size: .7rem;
  background: var(--paper); padding: 0 .8rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  font-family: var(--body); font-weight: 800; font-size: 1rem;
  padding: .85em 1.5em; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .15s ease, color .15s ease;
  min-height: 48px;
}
.btn-primary { background: var(--honey); color: #2a1c05; }
.btn-primary:hover { background: var(--honey-2); color: #2a1c05; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--line-light); }
.btn-ghost:hover { border-color: var(--honey); color: var(--honey-2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-outline:hover { background: var(--pine); color: var(--cream); transform: translateY(-2px); }

/* ---------- Kopfzeile / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,241,230,.92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
/* Logo vollständig zeigen (nicht beschneiden). mix-blend-mode blendet den
   weißen Hintergrund der JPG-Datei sauber in die Kopfzeile ein. */
.brand__mark {
  height: 56px; width: auto; max-width: 240px;
  object-fit: contain; border: 0; border-radius: 0;
  background: transparent; mix-blend-mode: multiply;
}
.brand__tag {
  font-family: var(--body); font-weight: 800;
  font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--honey); border-left: 1px solid var(--line);
  padding-left: .75rem; line-height: 1.5; max-width: 8.5rem;
}
@media (max-width: 900px) { .brand__tag { display: none; } }
@media (max-width: 480px) { .brand__mark { height: 44px; } }

.nav__links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: inline-block; padding: .5rem .8rem; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--pine); background: var(--paper-2); }
.nav__cta { margin-left: .4rem; }
.nav__cta .btn { padding: .6em 1.1em; min-height: 44px; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 10px; border-radius: 10px; color: var(--pine);
}
.nav__toggle svg { display: block; }

@media (max-width: 860px) {
  .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 16px 18px; box-shadow: 0 18px 30px rgba(30,59,46,.12);
    transform: translateY(-140%); transition: transform .28s ease; visibility: hidden;
  }
  .nav__links.open { transform: translateY(0); visibility: visible; }
  .nav__links a { padding: .9rem .6rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__links li:last-child a { border-bottom: 0; }
  .nav__links .btn { margin-top: 10px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--pine); color: var(--cream); position: relative; overflow: hidden; }
.hero::before {
  /* dezenter Lichtschein oben rechts (Honig) */
  content: ""; position: absolute; width: 620px; height: 620px; right: -180px; top: -260px;
  background: radial-gradient(circle, rgba(224,173,87,.28), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
  padding: 4.5rem 22px 4rem;
}
.hero h1 {
  color: var(--cream); font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 600;
  margin: 0 0 1rem;
}
.hero h1 em { font-style: italic; color: var(--honey-2); }
.hero__lead { font-size: 1.22rem; color: #e7ddc9; max-width: 34ch; margin: 0 0 1.2rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 0 0 1.8rem;
  font-weight: 700; color: var(--honey-2); font-size: 1rem;
}
.hero__meta span { display: inline-flex; align-items: center; gap: .7rem; }
.hero__meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--honey); display: inline-block; flex: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__art {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-light);
  box-shadow: 0 24px 50px rgba(0,0,0,.28); background: var(--pine-2);
  aspect-ratio: 1 / 1;
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; }
.hero__fade { opacity: 0; transform: translateY(14px); animation: rise .7s ease forwards; }
.hero__fade:nth-child(2){ animation-delay:.08s } 
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 22px 2.5rem; }
  .hero__art { order: -1; max-width: 340px; }
}

/* ---------- Sektionen ---------- */
section { padding: 4.5rem 0; }
.section-head { max-width: 44ch; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
h2.section-title { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.lede { font-size: 1.18rem; color: var(--ink-soft); }

.bg-paper2 { background: var(--paper-2); }
.bg-pine { background: var(--pine); color: var(--cream); }
.bg-pine h2, .bg-pine h3 { color: var(--cream); }
.bg-pine .lede { color: #e2d8c3; }
.bg-pine a { color: var(--honey-2); }

/* ---------- Termin-Karte („Einladung") ---------- */
.next {
  display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
  background: var(--paper); border: 1px solid var(--line);
  border-left: 6px solid var(--honey);
  border-radius: var(--radius-lg); padding: 2rem 2.2rem;
  box-shadow: 0 14px 34px rgba(30,59,46,.09);
}
.next__date {
  text-align: center; background: var(--pine); color: var(--cream);
  border-radius: var(--radius); padding: 1rem 1.4rem; min-width: 128px;
}
.next__date .d { font-family: var(--display); font-size: 3rem; font-weight: 600; line-height: 1; color: var(--honey-2); }
.next__date .m { text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: .82rem; margin-top: .35rem; }
.next__date .y { font-size: .8rem; opacity: .7; }
.next__body h3 { margin: 0 0 .3rem; font-size: 1.6rem; }
.next__body p { margin: .2rem 0; }
.next__where { font-weight: 800; color: var(--pine-2); }
.next__cta { margin: 1rem 0 .9rem !important; }
.next__art img {
  display: block; width: 250px; max-width: 100%;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(30,59,46,.10);
}
@media (max-width: 1000px) {
  .next { grid-template-columns: auto 1fr; }
  .next__art { grid-column: 1 / -1; justify-self: center; }
}
@media (max-width: 620px) {
  .next { grid-template-columns: 1fr; text-align: center; padding: 1.6rem; }
  .next__date { justify-self: center; }
  .next__art img { width: 280px; }
}

/* ---------- Text-/About-Bereich ---------- */
.prose p { margin: 0 0 1.1rem; }
.prose { max-width: 62ch; }
.prose .sig { font-family: var(--display); font-style: italic; font-size: 1.3rem; color: var(--pine); }

.stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.6rem; margin: 2rem 0 0; }
.stat { }
.stat .n { font-family: var(--display); font-size: 2.4rem; font-weight: 600; color: var(--honey); line-height: 1; }
.stat .l { font-weight: 700; color: var(--ink-soft); font-size: .95rem; }

.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: start; }
.about-grid img { border-radius: var(--radius-lg); box-shadow: 0 16px 34px rgba(30,59,46,.14); }
@media (max-width: 820px){ .about-grid { grid-template-columns: 1fr; } .about-grid .about-media { max-width: 320px; } }

/* ---------- Newsletter ---------- */
.signup {
  background: linear-gradient(160deg, var(--pine), #16301f);
  color: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.4rem); position: relative; overflow: hidden;
}
.signup::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(224,173,87,.22), transparent 60%);
}
.signup h2 { color: var(--cream); }
.signup .lede { color: #e2d8c3; margin-bottom: 1.6rem; }
.nl-form { display: grid; gap: 1rem; max-width: 480px; position: relative; z-index: 1; }
.nl-form label { font-weight: 700; font-size: .95rem; color: #e7ddc9; }
.nl-form input[type=email] {
  width: 100%; font: inherit; padding: .95em 1.1em; border-radius: 12px;
  border: 2px solid var(--line-light); background: rgba(255,255,255,.96); color: var(--ink);
}
.nl-consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: #e2d8c3; }
.nl-consent input { margin-top: .35rem; width: 20px; height: 20px; accent-color: var(--honey); flex: none; }
.nl-consent a { color: var(--honey-2); }
.nl-form .btn { justify-self: start; }
.nl-note { font-size: .86rem; color: #bcae95; margin: .2rem 0 0; }
/* Honeypot gegen Spam */
.nl-hp { position: absolute; left: -5000px; } 
.form-msg { display:none; padding:.9em 1.1em; border-radius:12px; font-weight:700; }
.form-msg.ok { display:block; background: rgba(224,173,87,.18); color: var(--honey-2); border:1px solid var(--honey); }

/* ---------- Messenger-Gruppen ---------- */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.group-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.3rem; text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.group-card:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(30,59,46,.12); border-color: var(--honey); color: var(--ink); }
.group-card img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.group-card b { display: block; font-size: 1.05rem; }
.group-card span { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 700px){ .groups { grid-template-columns: 1fr; } }

/* ---------- Eindrücke / Galerie ---------- */
.session { margin-bottom: 3rem; }
.session h3 { font-size: 1.5rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--line); }
.session h3 .place { font-family: var(--body); font-weight: 700; font-size: .95rem; color: var(--honey); margin-left: .4rem; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.media-grid video, .media-grid img {
  width: 100%; border-radius: var(--radius); background: #000;
  box-shadow: 0 10px 24px rgba(30,59,46,.12); aspect-ratio: 16/11; object-fit: cover;
}
.media-grid img { object-fit: cover; }

/* ---------- Archiv ---------- */
.year-block { margin-bottom: 2.6rem; }
.year-block h3 { font-size: 1.7rem; color: var(--honey); margin-bottom: 1.1rem; }
.pdf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.1rem; }
.pdf-card {
  display: block; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pdf-card:hover { transform: translateY(-4px); box-shadow: 0 16px 28px rgba(30,59,46,.16); border-color: var(--honey); color: var(--ink); }
.pdf-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--paper-2); }
.pdf-card .cap { padding: .6rem .7rem; font-weight: 800; font-size: .92rem; display:flex; align-items:center; justify-content:space-between; gap:.4rem; }
.pdf-card .cap .pdf-ico { color: var(--honey); font-size: .78rem; font-weight: 800; }

/* ---------- Status-Seiten (Anmeldung / Bestätigung / Abmeldung) ---------- */
.status { display: grid; place-items: center; padding: 4.5rem 0 5rem; }
.status__card {
  max-width: 640px; text-align: center;
  background: var(--paper); border: 1px solid var(--line);
  border-left: 6px solid var(--honey);
  border-radius: var(--radius-lg); padding: 3rem 2.4rem;
  box-shadow: 0 18px 44px rgba(30,59,46,.10);
}
.status__icon {
  width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 1.6rem;
  background: var(--pine); color: var(--honey-2);
}
.status__card h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); margin: 0 0 .7rem; }
.status__lead { font-size: 1.12rem; color: var(--ink-soft); margin: 0 0 1.2rem; }
.status__hint {
  background: var(--paper-2); border-radius: var(--radius);
  padding: 1rem 1.2rem; font-size: .97rem; text-align: left; margin: 1.6rem 0 0;
}
.status__hint strong { color: var(--pine); }
.status__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.8rem; }
@media (max-width: 560px) { .status__card { padding: 2.2rem 1.4rem; } }

/* ---------- Partner (Sonstiges) ---------- */
.partner { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: center; margin-bottom: 2.6rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; }
.partner img { border-radius: var(--radius); margin-inline: auto; }
.partner h3 { margin-bottom: .5rem; }
.partner h3 a { color: var(--pine); text-decoration: none; }
.partner h3 a:hover { color: var(--honey); }
@media (max-width: 700px){ .partner { grid-template-columns: 1fr; text-align:center; } .partner .partner-media{ max-width: 220px; margin-inline:auto; } }

/* ---------- Impressum / Datenschutz (Textseiten) ---------- */
.legal { padding-top: 3rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal address { font-style: normal; font-weight: 600; color: var(--ink); line-height: 1.9; background: var(--paper-2);
  border-left: 4px solid var(--honey); padding: 1.1rem 1.4rem; border-radius: 0 12px 12px 0; }

/* ---------- Fußzeile ---------- */
.site-footer { background: #16301f; color: #cbdccf; padding: 3.2rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { font-family: var(--body); font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  font-size: .8rem; color: var(--honey-2); margin: 0 0 1rem; }
.site-footer a { color: #dbe6db; text-decoration: none; }
.site-footer a:hover { color: var(--honey-2); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-brand p { color: #a9c0af; max-width: 34ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .9rem; color: #9fb6a5; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; } }

/* Utility */
.center { text-align: center; }
.mt-2 { margin-top: 1.4rem; }
