/* Wippertalmühle – Stylesheet */

:root {
  --wald: #23382b;
  --wald-hell: #3d5c45;
  --moos: #6f8a4e;
  --creme: #f6f1e7;
  --papier: #fffdf8;
  --holz: #a4652d;
  --ringelblume: #e08a1e;
  --text: #2a2a26;
  --text-leise: #5e5c55;
  --linie: #e2dccd;
  --radius: 14px;
  --schatten: 0 10px 30px rgba(35, 56, 43, .12);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--papier);
}

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

a { color: var(--holz); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--wald);
  margin: 0 0 .5em;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ringelblume);
  margin-bottom: .6rem;
}

.lead { font-size: 1.15rem; color: var(--text-leise); max-width: 46rem; }

section { padding: clamp(64px, 10vw, 112px) 0; }
.section-creme { background: var(--creme); }

.btn {
  display: inline-block;
  padding: .85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s, background .15s, color .15s;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ringelblume); color: #fff; }
.btn-primary:hover { background: #c97810; }
.btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* ---------- Kopfzeile ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s, box-shadow .25s;
}
.header.scrolled { background: rgba(255, 253, 248, .96); box-shadow: 0 2px 16px rgba(0,0,0,.08); backdrop-filter: blur(6px); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
  color: #fff; text-decoration: none;
}
.logo svg { width: 34px; height: 34px; flex: none; }
.header.scrolled .logo { color: var(--wald); }

.nav { display: flex; gap: 1.6rem; align-items: center; }
.nav a { color: #fff; text-decoration: none; font-weight: 500; font-size: .97rem; }
.nav a:hover { color: var(--ringelblume); }
.header.scrolled .nav a { color: var(--wald); }
.header.scrolled .nav a:hover { color: var(--ringelblume); }
.nav .btn { padding: .55em 1.2em; color: #fff !important; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; color: #fff;
}
.header.scrolled .nav-toggle { color: var(--wald); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100vh, 1000px); min-height: min(100svh, 1000px);
  display: flex; align-items: flex-end;
  color: #fff;
  background: url("../img/hero.jpg") center 60% / cover no-repeat;
  padding: 0 0 clamp(60px, 12vh, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,32,24,.55) 0%, rgba(20,32,24,.1) 35%, rgba(20,32,24,.65) 100%);
}
.hero .container { position: relative; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 5rem); max-width: 14ch; margin-bottom: .3em; }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 36rem; margin: 0 0 2rem; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.hero .eyebrow { color: #ffd08a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.fakten {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  margin-top: 2.6rem; padding: 0; list-style: none; font-size: .95rem;
}
.fakten li { display: flex; align-items: center; gap: .45rem; }
.fakten svg { width: 20px; height: 20px; color: #ffd08a; }

/* ---------- Willkommen ---------- */
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.intro-bilder { position: relative; aspect-ratio: 4 / 5; }
.intro-bilder img { position: absolute; border-radius: var(--radius); box-shadow: var(--schatten); object-fit: cover; }
.intro-bilder img:first-child { width: 78%; height: 82%; top: 0; right: 0; }
.intro-bilder img:last-child { width: 52%; height: 48%; bottom: 0; left: 0; border: 6px solid var(--papier); }

.merkmale { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.6rem; margin-top: 2rem; padding: 0; list-style: none; }
.merkmale li { display: flex; gap: .8rem; align-items: flex-start; }
.merkmale svg { width: 26px; height: 26px; flex: none; color: var(--moos); margin-top: 2px; }
.merkmale strong { display: block; color: var(--wald); }
.merkmale span { color: var(--text-leise); font-size: .95rem; }

/* ---------- Unterkünfte ---------- */
.kopf { text-align: center; margin: 0 auto 3rem; }
.kopf .lead { margin: 0 auto; }

.angebote { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.karte {
  background: var(--papier); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--schatten); display: flex; flex-direction: column;
}
.karte-bild { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.karte:hover .karte-bild img { transform: scale(1.04); }
.badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--wald); color: #fff; font-size: .82rem; font-weight: 600;
  padding: .35em .9em; border-radius: 999px;
}
.karte-inhalt { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.karte-inhalt p { color: var(--text-leise); margin-top: 0; }
.ausstattung { list-style: none; padding: 0; margin: .4rem 0 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.ausstattung li { background: var(--creme); border-radius: 999px; padding: .3em .9em; font-size: .88rem; color: var(--wald); }
.karte-fuss { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.2rem; border-top: 1px solid var(--linie); }
.preis { font-size: .95rem; color: var(--text-leise); }
.preis strong { font-family: var(--serif); font-size: 1.5rem; color: var(--wald); }

/* ---------- Bildband ---------- */
.bildband {
  position: relative; padding: clamp(100px, 18vw, 200px) 0;
  background: url("../img/sonnenaufgang.jpg") center / cover fixed;
  color: #fff; text-align: center;
}
.bildband::before { content: ""; position: absolute; inset: 0; background: rgba(20, 32, 24, .45); }
.bildband blockquote { position: relative; margin: 0 auto; max-width: 42rem; font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.35; }

/* ---------- Galerie ---------- */
.filter { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter button {
  font: inherit; font-size: .95rem; padding: .5em 1.2em; border-radius: 999px;
  border: 1.5px solid var(--linie); background: var(--papier); color: var(--wald); cursor: pointer;
}
.filter button[aria-pressed="true"] { background: var(--wald); border-color: var(--wald); color: #fff; }

.galerie { columns: 3 280px; column-gap: 16px; }
.galerie a { display: block; margin-bottom: 16px; border-radius: 10px; overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.galerie img { width: 100%; height: auto; transition: transform .5s, opacity .3s; }
.galerie a:hover img { transform: scale(1.03); }
.galerie a[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(12, 18, 14, .94); align-items: center; justify-content: center; padding: 20px;
}
.lightbox.offen { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; width: auto; border-radius: 6px; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer;
}
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-zu { top: 18px; right: 18px; }
.lb-zurueck { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-weiter { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-text { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #ddd; font-size: .95rem; }

/* ---------- Umgebung ---------- */
.umgebung { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.umgebung-bild img { border-radius: var(--radius); box-shadow: var(--schatten); width: 100%; }
.umgebung-bild figcaption { font-size: .9rem; color: var(--text-leise); margin-top: .6rem; }
.ziele { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.ziele li { display: grid; grid-template-columns: 74px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--linie); }
.ziele li:last-child { border-bottom: 0; }
.ziele .km { font-family: var(--serif); font-size: 1.15rem; color: var(--holz); font-weight: 600; }
.ziele strong { display: block; color: var(--wald); }
.ziele span { color: var(--text-leise); font-size: .95rem; }

/* ---------- Natur & Sterne ---------- */
.section-nacht { background: #111b15; color: #d9dccf; }
.section-nacht h2, .section-nacht h3 { color: #fff; }
.section-nacht .lead, .section-nacht .ziele span, .section-nacht figcaption { color: #aeb3a3; }
.section-nacht .ziele li { border-color: rgba(255, 255, 255, .12); }
.section-nacht .ziele strong { color: #fff; }
.section-nacht .ziele .km { color: var(--ringelblume); }
.himmel-story { align-items: center; }
.himmel-story img { border-radius: var(--radius); width: 100%; cursor: zoom-in; }
.himmel-bilder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 3rem 0 .8rem; }
.himmel-bilder figure { margin: 0; }
.himmel-bilder img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 10px; cursor: zoom-in; }
.himmel-bilder figcaption { font-size: .9rem; margin-top: .5rem; }
.bildnachweis { font-size: .85rem; color: #8a8f80; margin: 0 0 3rem; }
.naturkalender { max-width: 760px; margin: 0 auto; }
.naturkalender .ziele li { grid-template-columns: 110px 1fr; }

/* ---------- Wandern ---------- */
.touren { display: grid; gap: 40px; }
.tour { display: grid; grid-template-columns: 3fr 2fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.tour-karte { aspect-ratio: auto; height: 480px; background-image: url("../img/bach.jpg"); }
.tour-info h3 { margin-top: 0; }
.tour-daten { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tour-daten li { background: var(--creme); border-radius: 8px; padding: .5rem .9rem; font-size: .85rem; color: var(--text-leise); }
.tour-daten strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--wald); }
.btn-tour { border-color: var(--wald); color: var(--wald); }
.btn-tour:hover { background: var(--wald); color: #fff; }
.touren-mehr { text-align: center; margin-top: 2.5rem; color: var(--text-leise); }

/* ---------- Baufortschritt ---------- */
.zeitleiste { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 2.5rem; }
.zeitleiste figure { margin: 0; }
.zeitleiste img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 10px; cursor: zoom-in; }
.zeitleiste figcaption { font-size: .9rem; color: var(--text-leise); margin-top: .5rem; }

/* ---------- Anfahrt & Kontakt ---------- */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }

.karte-platzhalter {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--wald) url("../img/einfahrt.jpg") center / cover;
  display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
}
.karte-platzhalter::before { content: ""; position: absolute; inset: 0; background: rgba(20,32,24,.68); }
.karte-platzhalter > div { position: relative; padding: 24px; max-width: 26rem; }
.karte-platzhalter p { font-size: .9rem; opacity: .9; }
.karte-platzhalter iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.anfahrt-liste { padding-left: 1.2rem; }
.anfahrt-liste li { margin-bottom: .6rem; }
.hinweis { background: #fff4e3; border-left: 4px solid var(--ringelblume); padding: .9rem 1.1rem; border-radius: 0 8px 8px 0; font-size: .95rem; }
.gps { font-family: ui-monospace, Consolas, monospace; background: var(--creme); padding: .15em .5em; border-radius: 4px; }

.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.formular .voll { grid-column: 1 / -1; }
.formular label { display: block; font-size: .88rem; font-weight: 600; color: var(--wald); margin-bottom: .3rem; }
.formular input, .formular select, .formular textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .7em .9em;
  border: 1.5px solid var(--linie); border-radius: 8px; background: var(--papier); color: var(--text);
}
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--moos); box-shadow: 0 0 0 3px rgba(111,138,78,.2); }
.formular textarea { min-height: 120px; resize: vertical; }
.formular .klein { font-size: .85rem; color: var(--text-leise); }

.kontaktdaten { list-style: none; padding: 0; margin: 1.5rem 0; }
.kontaktdaten li { display: flex; gap: .8rem; align-items: center; margin-bottom: .8rem; }
.kontaktdaten svg { width: 22px; height: 22px; color: var(--moos); flex: none; }

/* ---------- Fußzeile ---------- */
.footer { background: var(--wald); color: #cfd8cf; padding: 56px 0 32px; font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--ringelblume); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer h4 { color: #fff; font-family: var(--serif); font-size: 1.15rem; margin: 0 0 .8rem; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .4rem; }
.footer .logo { color: #fff; margin-bottom: 1rem; }
.footer-unten { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .88rem; }

/* ---------- Rechtliche Unterseiten ---------- */
.rechtlich { padding: 140px 0 80px; }
.rechtlich .container { max-width: 800px; }
.rechtlich h2 { font-size: 1.5rem; margin-top: 2rem; }
.platzhalter { background: #fff4e3; padding: 0 .3em; border-radius: 3px; }

/* ---------- Einblenden ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .intro, .umgebung, .zweispaltig, .tour { grid-template-columns: 1fr; }
  .tour-karte { height: 420px; }
  .intro-bilder { max-width: 520px; width: 100%; margin: 0 auto; }
  .zeitleiste, .himmel-bilder { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .bildband { background-attachment: scroll; }
}

/* Menü klappt früher ein, damit alle Punkte in eine Zeile passen */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--papier); padding: 8px 20px 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,.1);
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .nav.offen { transform: none; }
  .nav a { color: var(--wald); padding: .9rem 0; border-bottom: 1px solid var(--linie); }
  .nav .btn { margin-top: 1rem; text-align: center; border-bottom: 0; }
  .header.menue-offen { background: var(--papier); }
  .header.menue-offen .logo, .header.menue-offen .nav-toggle { color: var(--wald); }
}

@media (max-width: 820px) {
  .angebote { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .merkmale, .formular { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ziele li { grid-template-columns: 60px 1fr; }
}
