/* Wanderclub Wadrill – Stylesheet */
:root {
  --wald: #23361f;
  --wald-2: #2f4a2a;
  --moos: #4b672d;
  --moos-hell: #e4ead4;
  --papier: #f7f2e7;
  --papier-2: #efe6d3;
  --rinde: #6a4a2f;
  --tinte: #222a1f;
  --tinte-2: #4d5548;
  --wein: #8b2e2a;
  --gold: #c9a43a;
  --linie: #ddd2bb;
  --radius: 14px;
  --schatten: 0 10px 30px -12px rgba(35, 54, 31, .35);
  --max: 1180px;
  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--tinte);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moos); text-underline-offset: 3px; }
a:hover { color: var(--wald); }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; color: var(--wald); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3, .h3 { font-size: 1.5rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.hand { font-family: var(--hand); font-weight: 600; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--wald); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.skip:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 231, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--linie);
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wald); }
.marke img { width: 40px; height: auto; }
.marke b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1; display: block; }
.marke small { display: block; font-family: var(--hand); font-size: 1.05rem; color: var(--rinde); line-height: 1.1; margin-top: 2px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a {
  display: block; padding: 10px 14px; border-radius: 999px;
  text-decoration: none; color: var(--tinte); font-weight: 600; font-size: 1rem;
}
.nav a:hover { background: var(--moos-hell); color: var(--wald); }
.nav a[aria-current="page"], .nav a[aria-current="page"]:hover { background: var(--wald); color: #fff; }
.nav-knopf {
  display: none; background: none; border: 1px solid var(--linie); border-radius: 10px;
  width: 46px; height: 46px; cursor: pointer; color: var(--wald);
}
.nav-knopf svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 900px) {
  .kopf { backdrop-filter: none; background: var(--papier); }
  .nav-knopf { display: grid; place-items: center; }
  .nav {
    max-height: calc(100vh - 76px); overflow-y: auto;
    position: fixed; inset: 76px 0 auto 0; background: var(--papier);
    border-bottom: 1px solid var(--linie); box-shadow: var(--schatten);
    transform: translateY(-120%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.offen { transform: none; visibility: visible; }
  .nav ul { flex-direction: column; padding: 12px 16px 20px; }
  .nav a { padding: 14px 16px; font-size: 1.1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(84vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--wald); }
.hero-bilder, .hero-bilder img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bilder img { object-fit: cover; opacity: 0; transition: opacity 1.4s ease, transform 8s ease; transform: scale(1.04); }
.hero-bilder img.aktiv { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,30,18,.82) 0%, rgba(20,30,18,.55) 38%, rgba(20,30,18,0) 70%), linear-gradient(180deg, rgba(20,30,18,0) 50%, rgba(20,30,18,.6) 100%); }
.hero-inhalt { position: relative; z-index: 2; padding: 120px 0 64px; }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero .hand { font-size: clamp(1.6rem, 3vw, 2.2rem); color: #f3dd94; display: block; margin-bottom: .2em; }
.hero p.lead { font-size: 1.2rem; max-width: 52ch; opacity: .95; }
.hero-punkte { position: absolute; z-index: 3; right: 24px; bottom: 28px; display: flex; gap: 8px; }
.hero-punkte button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.hero-punkte button[aria-current="true"] { background: #fff; width: 26px; border-radius: 6px; }

.seitenkopf { background: var(--wald) center/cover no-repeat; color: #fff; position: relative; }
.seitenkopf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,30,18,.85), rgba(20,30,18,.35)); }
.seitenkopf .wrap { position: relative; z-index: 1; padding: 88px 0 56px; }
.seitenkopf h1 { color: #fff; margin: 0; }
.seitenkopf .hand { color: #f3dd94; font-size: 1.7rem; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  background: var(--gold); color: var(--wald); font-weight: 700; text-decoration: none; border: 2px solid var(--gold);
  font-size: 1rem; cursor: pointer; font-family: var(--sans); transition: transform .15s ease, background .2s;
}
.knopf:hover { background: #d8b54b; color: var(--wald); transform: translateY(-1px); }
.knopf.zweit { background: transparent; color: inherit; border-color: currentColor; }
.knopf.zweit:hover { background: rgba(255,255,255,.1); }
.knopf.gruen { background: var(--wald); border-color: var(--wald); color: #fff; }
.knopf.gruen:hover { background: var(--wald-2); color: #fff; }
.knopf[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(56px, 8vw, 104px) 0; }
.abschnitt.hell { background: #fffdf8; }
.abschnitt.dunkel { background: var(--wald); color: #e9eee0; }
.abschnitt.dunkel h2, .abschnitt.dunkel h3 { color: #fff; }
.kicker { font-family: var(--hand); font-size: 1.6rem; color: var(--rinde); display: block; line-height: 1; margin-bottom: .25em; }
.dunkel .kicker { color: #f3dd94; }
.zwei { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.zwei.umgekehrt > :first-child { order: 2; }
@media (max-width: 860px) { .zwei { grid-template-columns: 1fr; } .zwei.umgekehrt > :first-child { order: 0; } }
.bild-rahmen { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.bild-rahmen img { width: 100%; height: 100%; object-fit: cover; }
.polaroid { background: #fff; padding: 12px 12px 44px; box-shadow: var(--schatten); transform: rotate(-2deg); position: relative; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: var(--hand); font-size: 1.4rem; color: var(--tinte-2); }

/* Karten */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .karten { grid-template-columns: 1fr; } }
.karte { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--linie), var(--schatten); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s ease; }
a.karte:hover { transform: translateY(-4px); color: inherit; }
.karte img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.karte .inhalt { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.karte .inhalt p { color: var(--tinte-2); }
.karte .mehr { margin-top: auto; font-weight: 700; color: var(--moos); }

/* Fakten */
.fakten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 760px) { .fakten { grid-template-columns: repeat(2, 1fr); } }
.fakt { border-top: 2px solid rgba(255,255,255,.25); padding-top: 14px; }
.fakt b { font-family: var(--serif); font-size: 2.2rem; color: #f3dd94; display: block; line-height: 1.1; }

/* Zitat / Motto */
.motto { text-align: center; max-width: 760px; margin: 0 auto; }
.motto p { font-family: var(--hand); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.4; color: var(--wald); margin: 0; }
.motto span { display: block; margin-top: 16px; color: var(--rinde); font-weight: 600; }

/* Zeitleiste */
.zeitleiste { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--linie); }
.zeitleiste li { position: relative; padding: 0 0 26px 28px; }
.zeitleiste li::before { content: ""; position: absolute; left: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--moos); box-shadow: 0 0 0 4px var(--papier); }
.zeitleiste b { font-family: var(--serif); color: var(--wald); font-size: 1.15rem; }

/* Sprüche */
.sprueche { columns: 3 280px; column-gap: 20px; }
.spruch { break-inside: avoid; background: #fff; border-radius: 12px; padding: 20px 22px; margin: 0 0 20px; border: 1px solid var(--linie); }
.spruch p { font-size: 1.08rem; margin: 0 0 8px; }
.spruch cite { font-style: normal; font-family: var(--hand); font-size: 1.35rem; color: var(--rinde); }
.spruch.dialog p { margin-bottom: 4px; }
.spruch.dialog p small { font-family: var(--hand); font-size: 1.15rem; color: var(--rinde); }

/* Menükarte */
.menues { display: grid; gap: 14px; }
.menue { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 18px; align-items: baseline; background: #fff; padding: 18px 22px; border-radius: 12px; box-shadow: 0 1px 0 var(--linie); }
.menue .nr { font-family: var(--serif); font-weight: 600; color: var(--wein); }
.menue h3 { margin: 0; font-size: 1.15rem; }
.menue .preis { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; white-space: nowrap; }
.menue p { grid-column: 2 / -1; margin: 0; color: var(--tinte-2); }
.menue.aus { opacity: .6; }
.etikett { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--moos-hell); color: var(--wald); margin-left: 6px; vertical-align: middle; }
.etikett.rot { background: #f3d9d6; color: var(--wein); }

.hinweis { background: var(--moos-hell); border-radius: 12px; padding: 18px 22px; }
.hinweis a { color: var(--wald); font-weight: 600; }
.hinweis.gold { background: #f7ecc8; }
.termin { display: flex; gap: 20px; align-items: center; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--schatten); }
.termin .datum { flex: none; width: 84px; text-align: center; background: var(--wald); color: #fff; border-radius: 12px; padding: 10px 6px; line-height: 1.1; }
.termin .datum b { display: block; font-family: var(--serif); font-size: 2rem; }
.termin .datum small { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.termin h3 { margin: 0 0 4px; }
.termin p { margin: 0; color: var(--tinte-2); }

/* Galerie */
.alben { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.album { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; display: block; color: #fff; text-decoration: none; background: var(--wald); box-shadow: var(--schatten); }
.album img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.album:hover { color: #fff; }
.album:hover img { transform: scale(1.05); }
.album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,22,13,.85)); }
.album span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 14px; }
.album b { display: block; font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.album small { opacity: .85; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter button { border: 1px solid var(--linie); background: #fff; padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; color: var(--tinte); }
.filter button[aria-pressed="true"] { background: var(--wald); color: #fff; border-color: var(--wald); }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.raster button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; background: var(--papier-2); }
.raster img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, opacity .3s; }
.raster button:hover img { transform: scale(1.06); }
.zurueck { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; margin-bottom: 18px; }

.leuchtkasten { position: fixed; inset: 0; z-index: 200; background: rgba(12,16,10,.94); display: none; align-items: center; justify-content: center; }
.leuchtkasten.offen { display: flex; }
.leuchtkasten img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.leuchtkasten button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; display: grid; place-items: center; }
.leuchtkasten button:hover { background: rgba(255,255,255,.25); }
.lk-zu { top: 16px; right: 16px; }
.lk-vor { right: 16px; top: 50%; translate: 0 -50%; }
.lk-zur { left: 16px; top: 50%; translate: 0 -50%; }
.lk-info { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #d9dccf; font-size: .95rem; }

/* Formulare */
.formular { display: grid; gap: 18px; }
.formular .reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .formular .reihe { grid-template-columns: 1fr; } }
.feld label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .98rem; }
.feld input, .feld textarea, .feld select {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfc4ab; border-radius: 10px; background: #fff; color: var(--tinte);
}
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--moos); box-shadow: 0 0 0 3px rgba(95,125,58,.25); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: var(--tinte-2); }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--wald); }
.hp { position: absolute; left: -5000px; }
.meldung { padding: 14px 18px; border-radius: 10px; font-weight: 600; display: none; }
.meldung.ok { display: block; background: var(--moos-hell); color: var(--wald); }
.meldung.fehler { display: block; background: #f3d9d6; color: var(--wein); }

.bestell { display: grid; gap: 10px; }
.bestell-zeile { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: #fff; border-radius: 12px; padding: 14px 16px; border: 1px solid var(--linie); }
.bestell-zeile.aus { opacity: .55; }
.bestell-zeile b { font-family: var(--serif); }
.bestell-zeile small { display: block; color: var(--tinte-2); }
.zaehler { display: flex; align-items: center; gap: 4px; }
.zaehler button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--linie); background: var(--papier); font-size: 1.2rem; cursor: pointer; color: var(--wald); }
.zaehler button:hover:not([disabled]) { background: var(--moos-hell); }
.zaehler output { width: 32px; text-align: center; font-weight: 700; font-size: 1.1rem; }
.summe { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px; background: var(--wald); color: #fff; border-radius: 12px; font-size: 1.1rem; }
.summe b { font-family: var(--serif); font-size: 1.6rem; }

.kontaktliste { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.kontaktliste li { display: flex; gap: 14px; align-items: flex-start; }
.kontaktliste svg { width: 22px; height: 22px; flex: none; color: var(--moos); margin-top: 3px; }
.panel { background: #fff; border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: 0 1px 0 var(--linie), var(--schatten); }

/* Rechtstexte */
.text { max-width: 760px; }
.text h2 { font-size: 1.6rem; margin-top: 1.6em; }
.text h3 { font-size: 1.2rem; margin-top: 1.3em; }

/* ---------- Fußzeile ---------- */
.fuss { background: #1a2717; color: #c9d1bf; padding: 64px 0 28px; font-size: .98rem; }
.fuss a { color: #e9eee0; }
.fuss .spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .fuss .spalten { grid-template-columns: 1fr; gap: 28px; } }
.fuss h4 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fuss .motto-klein { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.fuss .motto-klein img { filter: invert(1) brightness(.9); opacity: .85; height: 46px; width: auto; }
.fuss .motto-klein span { font-family: var(--hand); font-size: 1.5rem; color: #f3dd94; line-height: 1.15; }
.fuss .unten { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }

/* Einblenden */
.einblenden { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.einblenden.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .einblenden { opacity: 1; transform: none; }
}
