/* =========================================================
   Lavendeltraum Tawern — Design tokens
   Palette: warm plaster stone + muted lavender + brass
   Type: Fraunces (display) / Karla (body) / Space Mono (labels)
   ========================================================= */

:root {
  --stone-50:  #F5F1EA;
  --stone-100: #EDE7DB;
  --stone-200: #DED4C2;
  --stone-800: #3A362E;
  --stone-900: #29261F;

  --lavender-700: #5B4E7A;
  --lavender-600: #6E5F91;
  --lavender-400: #9C8DBE;
  --lavender-200: #E2DBEE;
  --lavender-100: #EFEAF6;

  --gold-600: #A07C3F;
  --gold-500: #B6924F;

  --sage-600: #6C7654;

  --ink: #29261F;
  --paper: #FBF9F5;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", monospace;

  --max-width: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender-600);
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
}

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

h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-optical-sizing: auto;
  margin-top: 14px;
}

h2 em, h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--lavender-700);
}

p { margin: 0 0 1em; }

.section {
  padding: 96px 0;
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
}

.section-head {
  max-width: 620px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }

.lede {
  font-size: 19px;
  color: var(--stone-800);
  max-width: 640px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--lavender-700);
  color: var(--paper);
}
.btn-primary:hover { background: var(--stone-900); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-outline {
  background: transparent;
  border-color: var(--lavender-600);
  color: var(--lavender-700);
}
.btn-outline:hover { background: var(--lavender-100); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow .35s ease;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-scrolled {
  background: rgba(251,249,245,0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--stone-200);
}

.logo {
  font-family: var(--font-display);
  font-size: 21px;
  font-style: italic;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color .35s ease;
}
.site-header.is-scrolled .logo { color: var(--stone-900); }

.logo span { color: var(--lavender-400); }
.site-header.is-scrolled .logo span { color: var(--lavender-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  transition: color .35s ease, opacity .2s ease;
}
.nav-links a:hover { opacity: 0.7; }
.site-header.is-scrolled .nav-links a { color: var(--stone-800); }

.nav-links a.btn-primary { color: var(--paper) !important; padding: 10px 18px; }

.nav-toggle { display: none; }

@media (max-width: 780px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.06);
  animation: hero-settle 1.8s ease-out forwards;
}

@keyframes hero-settle {
  to { transform: scale(1); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(41,38,31,0.18) 0%, rgba(41,38,31,0.12) 32%, rgba(41,38,31,0.72) 82%, rgba(41,38,31,0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 88px;
  padding-top: 180px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lavender-200);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--gold-500);
}

.hero h1 {
  color: #fff;
  font-size: clamp(38px, 6.4vw, 78px);
  line-height: 1.04;
  max-width: 14ch;
}

.hero-sub {
  margin-top: 26px;
  max-width: 46ch;
  font-size: 19px;
  color: rgba(255,255,255,0.86);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-facts {
  margin-top: 64px;
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.22);
  padding-top: 26px;
}

.hero-fact .num {
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  color: #fff;
}
.hero-fact .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-top: 4px;
}

/* ---------- Intro ---------- */

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
}

.intro-body p {
  color: var(--stone-800);
  font-size: 17.5px;
}

.intro-body p:first-child {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  color: var(--stone-900);
  line-height: 1.45;
}

/* ---------- Vorteile ---------- */

.vorteile {
  background: var(--stone-900);
  color: var(--stone-50);
}

.vorteile .section-head h2 { color: #fff; }
.vorteile .lede { color: rgba(245,241,234,0.72); }

.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

@media (max-width: 980px) {
  .vorteile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .vorteile-grid { grid-template-columns: 1fr; }
}

.vorteil-card {
  background: var(--stone-900);
  padding: 36px 26px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s ease;
}
.vorteil-card:hover { background: #34302A; }

.vorteil-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold-500);
  letter-spacing: 0.08em;
}

.vorteil-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  margin: 18px 0 10px;
  color: #fff;
}

.vorteil-text {
  font-size: 14.5px;
  color: rgba(245,241,234,0.68);
  line-height: 1.55;
}

/* ---------- Bloom calendar (signature element) ---------- */

.bloom {
  background: var(--lavender-100);
  border-top: 1px solid var(--stone-200);
  border-bottom: 1px solid var(--stone-200);
}

.bloom-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) {
  .bloom-grid { grid-template-columns: 1fr; gap: 40px; }
}

.bloom-text .lede { color: var(--stone-800); }

.bloom-quote {
  margin-top: 24px;
  padding-left: 20px;
  border-left: 2px solid var(--gold-500);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--stone-900);
}

.calendar {
  font-family: var(--font-mono);
}

.calendar-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
}

.month {
  text-align: center;
}

.month-bar {
  height: 64px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid var(--stone-200);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.month-bar .fill {
  width: 100%;
  background: linear-gradient(180deg, var(--lavender-400), var(--lavender-700));
}

.month.is-bloom .month-bar { border-color: var(--lavender-600); }
.month.is-bloom .fill { height: 100%; }
.month:not(.is-bloom) .fill { height: 16%; background: var(--stone-200); }

.month-label {
  margin-top: 8px;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone-800);
}
.month.is-bloom .month-label { color: var(--lavender-700); font-weight: 700; }

.calendar-legend {
  margin-top: 22px;
  display: flex;
  gap: 26px;
  font-size: 12px;
  color: var(--stone-800);
  flex-wrap: wrap;
}
.calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.bloom { background: var(--lavender-600); }
.dot.rest { background: var(--stone-200); border: 1px solid var(--stone-800); }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 10px;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-grid figure:hover img { transform: scale(1.055); }

.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(0deg, rgba(41,38,31,0.78), rgba(41,38,31,0));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-grid figure:hover figcaption { opacity: 1; }

.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-wide { grid-column: span 2; }
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .g-wide, .g-tall { grid-column: span 1; grid-row: span 1; }
}

/* ---------- Ausstattung ---------- */

.ausstattung {
  background: var(--paper);
}

.aus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

@media (max-width: 860px) {
  .aus-grid { grid-template-columns: 1fr; gap: 40px; }
}

.aus-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aus-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--stone-200);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
}

.aus-list li span:first-child { color: var(--stone-800); }
.aus-list li span:last-child {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--lavender-700);
  text-align: right;
}

.map-frame {
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--stone-200);
}

.map-frame img { width: 100%; }

.route-list {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--stone-800);
}
.route-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--stone-200);
}
.route-list li span:last-child { color: var(--lavender-700); }

/* ---------- Anfrage ---------- */

.anfrage {
  background: var(--stone-900);
  color: #fff;
}

.anfrage .section-head h2 { color: #fff; }
.anfrage .lede { color: rgba(245,241,234,0.72); }

.anfrage-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

@media (max-width: 900px) {
  .anfrage-grid { grid-template-columns: 1fr; gap: 40px; }
}

.anfrage-side p { color: rgba(245,241,234,0.72); font-size: 15px; }

.airbnb-note {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  font-size: 13.5px;
  color: rgba(245,241,234,0.78);
  font-family: var(--font-mono);
  line-height: 1.6;
}

form.anfrage-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.68);
}

.field input,
.field textarea,
.field select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 2px;
  padding: 13px 14px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
}

.field select option { color: #111; }

.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,0.35); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid var(--lavender-400);
  outline-offset: 1px;
  border-color: var(--lavender-400);
}

.field textarea { resize: vertical; min-height: 110px; }

.form-note {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: rgba(245,241,234,0.5);
}

.form-status {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 13px;
  min-height: 18px;
}
.form-status.ok { color: #B7D9A8; }
.form-status.err { color: #E3A9A0; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--stone-900);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(245,241,234,0.6);
  font-size: 13px;
  font-family: var(--font-mono);
}

.footer-grid a { text-decoration: none; color: rgba(245,241,234,0.8); }
.footer-grid a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
