/* ===== Treffpunkt Advent – Stylesheet ===== */

/* Schriften (lokal eingebunden, keine Verbindung zu Google) */
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --nacht: #1b1013;        /* Grundton dunkel, warm */
  --nacht-2: #26161a;
  --nacht-3: #331e23;
  --gruen: #01443c;        /* Tannengrün aus den Posts – nur gezielt */
  --gruen-dunkel: #013a33;
  --rot: #962d34;          /* Weinrot aus den Posts */
  --rot-hell: #b0363e;
  --weiss: #ffffff;
  --dunkel: #1f2a28;       /* Text auf weißen Karten */
  --gold: #d9b27c;         /* Gold aus dem Logo */
  --gold-hell: #f0d3a4;
  --creme: #f7eee1;
  --text: #f3ede4;
  --text-leise: #c4b3a2;
  --linie: rgba(217, 178, 124, .22);
  --radius: 14px;
  --max: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--nacht);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hell); text-underline-offset: 3px; }
a:hover { color: var(--creme); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--creme); margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.kicker {
  font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: .75rem; display: block;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--creme); color: var(--nacht); padding: 8px 12px; border-radius: 8px; }

/* ===== Navigation ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--gruen);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.nav-logo img { height: 50px; width: auto; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav ul a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 1rem; }
.nav ul a:hover { color: var(--gold-hell); }
.nav-toggle { display: none; background: none; border: 1px solid var(--linie); color: var(--creme); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .95rem; cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav ul {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--gruen); border-bottom: 1px solid var(--linie);
  }
  .nav ul.offen { display: flex; }
  .nav ul a { display: block; padding: 14px 16px; border-top: 1px solid var(--linie); }
}

/* ===== Hero ===== */
.hero {
  position: relative; min-height: min(88vh, 820px);
  display: grid; place-items: center; text-align: center;
  padding: 80px 0 72px; overflow: hidden; isolation: isolate;
}
.hero-bild {
  position: absolute; inset: 0; z-index: -2;
  background: url("img/stimmung-1.jpg") center 40% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(27,16,19,.35) 0%, rgba(27,16,19,.55) 60%, rgba(27,16,19,.9) 100%),
    linear-gradient(180deg, rgba(27,16,19,.15) 0%, rgba(27,16,19,.35) 70%, rgba(27,16,19,1) 100%);
}
.hero-logo { width: min(560px, 88vw); height: auto; margin: 0 auto 8px; filter: drop-shadow(0 6px 24px rgba(0,0,0,.5)); }
.hero-datum {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.6vw, 2.35rem); color: var(--creme); margin: 0 0 .25em;
}
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--gold-hell); font-weight: 600; margin-bottom: 1.75rem; }
.knoepfe { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.knopf {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: var(--rot); color: #fff; border: 2px solid var(--rot); transition: background .2s, color .2s, border-color .2s;
}
.knopf:hover { background: var(--rot-hell); border-color: var(--rot-hell); color: #fff; }
.knopf.leer { background: transparent; border-color: var(--gold); color: var(--gold-hell); }
.knopf.leer:hover { background: var(--gold); color: var(--nacht); }

/* ===== Infoleiste ===== */
.infos { margin-top: -48px; position: relative; z-index: 2; }
.infos .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info {
  background: var(--weiss); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.info h3 { font-size: 1.15rem; color: var(--rot); margin-bottom: .35em; font-style: italic; }
.info p { margin: 0; color: var(--dunkel); font-weight: 600; line-height: 1.45; }
.info p span { display: block; font-weight: 400; color: #5d6664; }
.info a { color: var(--rot); }
@media (max-width: 760px) { .infos .wrap { grid-template-columns: 1fr; } }

/* ===== Abschnitte ===== */
section.abschnitt { padding: 96px 0; }
section.abschnitt.dunkel { background: var(--nacht-2); }
section.abschnitt.gruen { background: var(--gruen); }
section.abschnitt.gruen .kicker { color: var(--gold-hell); }
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.intro-bild { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.intro-bild img { width: 100%; height: 100%; object-fit: cover; }
.hinweis {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 1.5rem;
  background: var(--rot); border-left: 3px solid var(--gold); border-radius: 10px; padding: 14px 18px;
}
.hinweis p { margin: 0; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; gap: 32px; } .intro-bild { aspect-ratio: 4 / 3; } }

/* ===== Programm ===== */
.programm-kopf { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.programm-kopf p { max-width: 520px; color: var(--text); margin: 0; }
.wochen { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.woche {
  background: var(--weiss); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.woche-titel { font-family: var(--serif); font-size: 1.3rem; color: #fff; margin: 0; padding: 16px 22px 0; background: var(--rot); }
.woche-zeit { font-size: .95rem; color: var(--gold-hell); font-weight: 600; margin: 0; padding: 2px 22px 14px; background: var(--rot); }
.woche.finale .woche-titel, .woche.finale .woche-zeit { background: #7a2229; }
.tage { list-style: none; margin: 0; padding: 4px 22px 12px; }
.tage li { border-top: 1px solid #e6e1dc; padding: 10px 0; }
.tage li:first-child { border-top: 0; }
@media (min-width: 900px) {
  .woche.finale { grid-column: 1 / -1; }
  .woche.finale .tage { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
}
@media (max-width: 760px) {
  .tage li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 9px 0; }
  .tage .act { text-align: right; }
  .tage .tag { white-space: nowrap; flex-shrink: 0; }
}
.tag { display: block; font-weight: 700; color: var(--dunkel); font-size: 1rem; }
.act { display: block; color: #6b7371; font-size: .98rem; }
.act.fest { color: var(--rot); font-weight: 600; }
.highlights { margin-top: 48px; }
.highlights h3 { margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { background: var(--rot); border-radius: 999px; padding: 8px 16px; font-weight: 600; color: #fff; font-size: 1rem; }

/* ===== Essen & Trinken ===== */
.karte { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.karte-box { background: var(--gruen); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; }
.karte-box h3 { color: var(--gold); font-style: italic; }
.karte-box ul { list-style: none; padding: 0; margin: 0; }
.karte-box li { padding: 9px 0; border-top: 1px dashed rgba(255,255,255,.2); }
.karte-box li:first-child { border-top: 0; }
.karte-box small { color: #c9d6d1; font-size: .95rem; }
@media (max-width: 760px) { .karte { grid-template-columns: 1fr; } }

/* ===== Galerie ===== */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.galerie figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.galerie figure:hover img { transform: scale(1.03); }
@media (max-width: 760px) {
  .galerie { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .galerie figure { scroll-snap-align: start; }
}

/* ===== Anfahrt & Kontakt ===== */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.box { background: var(--nacht); border: 1px solid var(--linie); border-radius: var(--radius); padding: 32px; }
.adresse { font-family: var(--serif); font-size: 1.6rem; color: var(--creme); line-height: 1.3; margin-bottom: 1rem; }
.social { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.25rem; }
.social a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--linie); color: var(--creme); text-decoration: none; font-weight: 600; font-size: 1rem;
}
.social a:hover { border-color: var(--gold); color: var(--gold-hell); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 760px) { .zwei { grid-template-columns: 1fr; } .box { padding: 24px; } }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--linie); padding: 40px 0 48px; color: var(--text-leise); font-size: .95rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer nav a { color: var(--text-leise); margin-left: 20px; text-decoration: none; }
footer nav a:first-child { margin-left: 0; }
footer nav a:hover { color: var(--gold-hell); }

/* ===== Rechtliche Seiten ===== */
.recht { padding: 64px 0 96px; }
.recht .wrap { max-width: 760px; }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.recht h2 { font-size: 1.35rem; margin-top: 2em; color: var(--gold); }
.recht p, .recht li { color: var(--text); }
.recht ul { padding-left: 1.2em; }
