/* ==========================================================================
   Chalet-Loft Wutachblick — Stylesheet
   Palette: Schwarzwald-Grün & Altgold, passend zur gedruckten Gästemappe
   ========================================================================== */

:root {
  --forest: #1f3a2d;
  --forest-deep: #16281f;
  --gold: #b9862f;
  --gold-light: #d9ad5f;
  --cream: #f7f2e7;
  --cream-2: #efe7d6;
  --stone: #3c362c;
  --stone-soft: #6b6255;
  --line: #ddd2b8;
  --radius: 2px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--forest);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section-rule {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin: 0.7em 0 1.4em;
  border-radius: 2px;
}
.prose-lg p {
  font-size: 1.08rem;
  line-height: 1.75;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Kontur-Motiv (Signature-Element: Höhenlinien des Wutachtals) --- */
.contour {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  opacity: 0.16;
  pointer-events: none;
}

/* ---------- Header / Navigation ------------------------------------------ */
.site-header {
  background: var(--forest);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--gold);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  row-gap: 14px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand img {
  height: 64px;
  width: auto;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-text strong {
  font-weight: 600;
  font-size: 1.45rem;
}
.brand small {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 700;
}
nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  text-decoration: none;
  color: var(--cream);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--gold-light);
}
.nav-toggle { display: none; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
.btn-outline:hover { background: rgba(247,242,231,0.1); }
.btn-outline-forest {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn-outline-forest:hover { background: var(--forest); color: var(--cream); }

/* ---------- Hero ----------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
  padding: 110px 0 90px;
}
.hero .wrap { position: relative; z-index: 2; max-width: 760px; }
.hero-grid {
  max-width: 1120px !important;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}
.hero-photo img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  display: block;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-photo { order: -1; }
  .hero-photo img { height: 260px; }
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--cream-2);
  max-width: 54ch;
  margin: 1.1em 0 2em;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(217,173,95,0.35);
  padding-top: 18px;
}

.page-hero {
  background: var(--forest);
  color: var(--cream);
  padding: 64px 0 54px;
  position: relative;
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero p { color: var(--cream-2); max-width: 60ch; margin-top: 0.6em; }

/* ---------- Sections -------------------------------------------------------*/
section { padding: 74px 0; }
.section-alt { background: var(--cream-2); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.card h3 { display: flex; align-items: center; gap: 10px; }
.card-icon {
  width: 34px; height: 34px;
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--forest);
  color: var(--gold-light);
  border-radius: 50%;
  font-size: 1rem;
}

.feature-row {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: none; }
.feature-row .card-icon { margin-top: 2px; }
.feature-row h3 { margin-bottom: 0.25em; }
.feature-row p { margin: 0; color: var(--stone-soft); }

.sleep-item {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.sleep-item:last-child { border-bottom: none; }
.sleep-item img {
  width: 180px;
  height: 130px;
  object-fit: cover;
  border-radius: var(--radius);
  flex: none;
}
.sleep-item h3 { margin-bottom: 0.3em; }
.sleep-item p { margin: 0; color: var(--stone-soft); }

@media (max-width: 640px) {
  .sleep-item { flex-direction: column; align-items: flex-start; }
  .sleep-item img { width: 100%; height: 200px; }
}

.photo-block {
  background: linear-gradient(155deg, var(--gold-light), var(--forest) 130%);
  border-radius: var(--radius);
  min-height: 380px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.photo-block span {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 0.95rem;
  background: rgba(22,40,31,0.55);
  padding: 8px 14px;
  border-radius: var(--radius);
}
.photo-placeholder {
  background: var(--cream-2);
  border: 1px dashed var(--stone-soft);
  border-radius: var(--radius);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone-soft);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
}
.photo-cover {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.duo-photo {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 100%;
  min-height: 420px;
}
.duo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
@media (max-width: 640px) {
  .duo-photo { grid-template-columns: 1fr 1fr; grid-template-rows: none; min-height: 220px; }
}
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery-strip figure { margin: 0; }
.gallery-wide {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.map-embed {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: var(--radius);
  display: block;
}

.photo-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.photo-overview a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}
.photo-overview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.photo-overview a:hover img { transform: scale(1.06); }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(22,40,31,0.94);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox:target { display: flex; }
.lightbox figure { margin: 0; max-width: 900px; }
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: block;
  margin: 0 auto;
}
.lightbox figcaption {
  color: var(--cream);
  text-align: center;
  margin-top: 14px;
  font-size: 0.9rem;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  color: var(--cream);
  font-size: 2.2rem;
  text-decoration: none;
  line-height: 1;
  z-index: 501;
}
.lightbox-close:hover { color: var(--gold-light); }

@media (max-width: 860px) { .photo-overview { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .photo-overview { grid-template-columns: repeat(2, 1fr); } }

.callout {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 36px 40px;
  text-align: center;
}
.callout h2 { color: var(--cream); }
.callout p { color: var(--cream-2); margin: 0.6em auto 1.4em; max-width: 56ch; }

.callout-gold {
  border-left: 4px solid var(--gold);
  background: var(--cream-2);
  padding: 20px 24px;
  border-radius: var(--radius);
}

.stat-band {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 46px 0;
  border-top: 1px solid rgba(217,173,95,0.25);
  border-bottom: 1px solid rgba(217,173,95,0.25);
}
.stat-band .grid-3 { gap: 20px; text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 0.35em;
}
.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  color: var(--cream-2);
}

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1em; }
.tag-list span {
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  background: var(--cream-2);
  border: 1px solid var(--line);
  color: var(--stone);
  padding: 6px 14px;
  border-radius: 20px;
}

table.facts { width: 100%; border-collapse: collapse; }
table.facts th, table.facts td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
table.facts th { color: var(--forest); font-weight: 700; width: 40%; }

/* ---------- Contact form --------------------------------------------------*/
.form-grid { display: grid; gap: 18px; }
label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--forest); margin-bottom: 6px; }
input, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--stone);
}
input:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
textarea { resize: vertical; min-height: 130px; }

/* ---------- Footer ----------------------------------------------------------*/
footer.site-footer {
  background: var(--forest-deep);
  color: var(--cream-2);
  padding: 50px 0 28px;
  font-size: 0.9rem;
}
footer.site-footer .grid-3 { gap: 32px; margin-bottom: 34px; }
footer.site-footer h3 { color: var(--gold-light); font-size: 0.95rem; margin-bottom: 0.6em; }
footer.site-footer a { text-decoration: none; opacity: 0.9; }
footer.site-footer a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(247,242,231,0.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  opacity: 0.75;
}
.footer-bottom a { margin-left: 16px; }

/* ---------- Responsive -----------------------------------------------------*/
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 60px; }
  nav.main-nav {
    order: 3;
    width: 100%;
    padding-top: 14px;
    margin-top: 4px;
    border-top: 1px solid rgba(217,173,95,0.25);
  }
  nav.main-nav ul { flex-wrap: wrap; gap: 12px 22px; justify-content: flex-start; }
  .site-header .btn { order: 2; }
  .brand { order: 1; }
}

@media (max-width: 640px) {
  .brand img { height: 52px; }
  .brand-text strong { font-size: 1.2rem; }
  nav.main-nav ul { font-size: 0.85rem; }
  section { padding: 54px 0; }
  .callout { padding: 30px 22px; }
}

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

/* Sichtbarer Fokus für Tastaturnutzung */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
