/* Feldbergblick — Modern-Premium Redesign */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fraunces-latin.woff2') format('woff2');
}

:root {
  --bg: #faf9f6;
  --ink: #1d1f1b;
  --pine: #3c4a36;
  --pine-dark: #2e3a29;
  --line: #e3e1da;
  --muted: #6d6f68;
  --radius: 8px;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --section: clamp(72px, 12vw, 130px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.02rem;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 760px; }

/* Typo */
h1, h2, .display {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }

.label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pine);
  margin-bottom: 18px;
}

.lead { font-size: 1.12rem; color: var(--muted); }

section, .section { padding-top: var(--section); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

@media (prefers-reduced-transparency: reduce) {
  .site-header.scrolled { background: var(--bg); backdrop-filter: none; }
}

.site-header .bar {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-desktop { display: none; align-items: center; gap: 28px; }

.nav-desktop a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s;
}

.nav-desktop a:hover { border-color: var(--line); }
.nav-desktop a[aria-current="page"] { border-color: var(--pine); }

/* Google Translate im Header */
.gt-slot { display: flex; align-items: center; }
.gt-slot .goog-te-gadget { font-size: 0 !important; color: transparent !important; }
.gt-slot .goog-te-gadget .goog-te-combo {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  margin: 0;
}
.gt-slot .goog-te-gadget > span { display: none; }

.menu-btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 10px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s cubic-bezier(0.3, 0.9, 0.4, 1), opacity 0.2s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-panel {
  position: absolute;
  top: 10px;
  right: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 60px 30px 24px;
  min-width: 200px;
  box-shadow: 0 18px 44px rgba(29, 31, 27, 0.14);
  display: flex;
  flex-direction: column;
  transform-origin: top right;
  transform: scale(0.92);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.3, 1.3, 0.4, 1), opacity 0.2s;
}

.menu-panel.open { transform: scale(1); opacity: 1; pointer-events: auto; }

.menu-panel a {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.menu-panel a:last-child { border-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  .menu-panel, .menu-btn span, .site-header { transition: none; }
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-btn, .menu-panel { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--pine);
  color: #fff;
  font-weight: 600;
  font-size: 0.98rem;
  border: 0;
  border-radius: 999px;
  padding: 14px 30px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.3, 0.9, 0.4, 1), background 0.2s;
}

.btn:hover { background: var(--pine-dark); }
.btn:active { transform: scale(0.97); }

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn.ghost:hover { background: rgba(29, 31, 27, 0.05); }

.btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }

.on-dark .btn { background: var(--bg); color: var(--ink); }
.on-dark .btn:hover { background: #fff; }

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

.hero {
  padding-top: clamp(24px, 5vw, 64px);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-copy .lead { margin: 22px 0 30px; max-width: 34em; }

.hero-photo img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}

/* ---------- Fakten ---------- */

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts > div {
  padding: 26px 20px;
  border-bottom: 1px solid var(--line);
}

.facts > div:nth-child(odd) { border-right: 1px solid var(--line); }

@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts > div { border-bottom: 0; border-right: 1px solid var(--line); }
  .facts > div:last-child { border-right: 0; }
}

.facts strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  display: block;
  line-height: 1.2;
}

.facts span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Galerie ---------- */

.gallery-grid { display: none; }

@media (min-width: 900px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .gallery-grid figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
  .gallery-grid figure.wide { grid-column: span 2; }
  .gallery-grid img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  .gallery-grid figure:hover img { transform: scale(1.03); }
  .gallery-grid figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 30px 16px 12px;
    color: #fff;
    font-size: 0.88rem;
    background: linear-gradient(transparent, rgba(20, 22, 18, 0.55));
  }
  .carousel-box { display: none; }
  @media (prefers-reduced-motion: reduce) {
    .gallery-grid img { transition: none; }
    .gallery-grid figure:hover img { transform: none; }
  }
}

/* Mobiles Carousel */
.carousel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  touch-action: pan-y;
  background: var(--line);
}

.carousel-track { display: flex; will-change: transform; }
.carousel-track figure { flex: 0 0 100%; margin: 0; }

.carousel-track img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

.carousel .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(250, 249, 246, 0.85);
  color: var(--ink);
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s;
}

.carousel .arrow:active { transform: translateY(-50%) scale(0.94); }
.carousel .arrow.prev { left: 10px; }
.carousel .arrow.next { right: 10px; }

.carousel-caption { margin: 14px 2px 0; }
.carousel-caption strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }
.carousel-caption p { margin: 2px 0 0; color: var(--muted); font-size: 0.95rem; }

.carousel-dots { display: flex; gap: 7px; justify-content: center; margin-top: 16px; }

.carousel-dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 0; padding: 0;
  background: var(--line);
  cursor: pointer;
}

.carousel-dots button.active { background: var(--pine); }

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

.amenities {
  display: grid;
  gap: 44px;
}

@media (min-width: 900px) {
  .amenities { grid-template-columns: repeat(3, 1fr); gap: 56px; }
}

.amenities h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pine);
  margin: 0 0 6px;
}

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

.amenities li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.amenities .group + .group { margin-top: 34px; }

/* ---------- Zitate ---------- */

.quotes-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: none;
}

.quotes-scroller::-webkit-scrollbar { display: none; }

.quote {
  flex: 0 0 min(85%, 460px);
  scroll-snap-align: start;
  border-top: 2px solid var(--ink);
  padding-top: 26px;
}

.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.4;
}

.quote footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.quote .stars { color: var(--pine); letter-spacing: 2px; margin-right: 8px; }

/* ---------- CTA-Block ---------- */

.cta-block {
  background: var(--pine-dark);
  color: #fff;
  border-radius: 14px;
  padding: clamp(44px, 7vw, 80px) clamp(24px, 6vw, 72px);
  display: grid;
  gap: 26px;
  align-items: center;
}

.cta-block h2 { color: #fff; }
.cta-block p { color: rgba(255, 255, 255, 0.75); margin: 10px 0 0; max-width: 36em; }

@media (min-width: 900px) {
  .cta-block { grid-template-columns: 1fr auto; }
}

/* ---------- FAQ ---------- */

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--line); }

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  padding: 22px 2px;
  font: inherit;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-item .plus {
  color: var(--pine);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.3, 1.1, 0.4, 1);
  flex-shrink: 0;
}

.faq-item[data-open] .plus { transform: rotate(45deg); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.3, 1, 0.4, 1);
}

.faq-item[data-open] .faq-answer { grid-template-rows: 1fr; }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 2px 24px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .faq-answer, .faq-item .plus { transition: none; }
}

/* ---------- Buchung ---------- */

.booking-grid { display: grid; gap: 48px; }

@media (min-width: 900px) {
  .booking-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
}

.calendar { max-width: 440px; }

.calendar .cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar .cal-head strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
}

.calendar .cal-head button {
  border: 1px solid var(--line);
  background: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s;
}

.calendar .cal-head button:hover { border-color: var(--ink); }
.calendar .cal-head button:active { transform: scale(0.94); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.cal-grid .dow {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 0;
}

.cal-grid button {
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.98rem;
  padding: 10px 0;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
}

.cal-grid button:hover:not(:disabled) { background: rgba(60, 74, 54, 0.08); }
.cal-grid button:disabled { color: #c6c4bc; cursor: default; }
.cal-grid button.in-range { background: rgba(60, 74, 54, 0.12); border-radius: 0; }
.cal-grid button.edge { background: var(--pine); color: #fff; }

.stay-panel { border-top: 2px solid var(--ink); padding-top: 26px; }
.stay-panel h2 { font-size: 1.5rem; }
.stay-panel > p { color: var(--muted); margin: 10px 0 4px; }

.stay-panel .dates div {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.stay-panel .dates span { color: var(--muted); }
.stay-panel .voucher { margin-top: 22px; }

.stay-panel .voucher label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.stay-panel .voucher input,
.stay-panel .voucher select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  padding: 8px 0 10px;
  font: inherit;
  font-size: 1.02rem;
  color: var(--ink);
  transition: border-color 0.2s;
}

.stay-panel .voucher input:focus-visible,
.stay-panel .voucher select:focus-visible {
  outline: none;
  border-bottom: 1.5px solid var(--pine);
}

.stay-panel .voucher ::placeholder { color: #b9b7ae; }

.stay-panel .cta-row { margin-top: 28px; }
.stay-panel .hint { font-size: 0.88rem; color: var(--muted); margin-top: 16px; }

.map-note {
  border-top: 1px solid var(--line);
  margin-top: var(--section);
  padding-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.map-note p { margin: 0; color: var(--muted); max-width: 34em; }

/* ---------- Tipps ---------- */

.tipp {
  display: grid;
  gap: 26px;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}

.tipp:last-of-type { border-bottom: 0; }

.tipp img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.tipp h2 { font-size: 1.5rem; margin-bottom: 10px; }
.tipp .label { margin-bottom: 10px; }
.tipp p { color: var(--muted); margin: 0 0 0.7em; }
.tipp p:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .tipp { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .tipp:nth-child(even) .tipp-media { order: 2; }
}

/* ---------- Kontakt ---------- */

.contact-form { max-width: 640px; }

.contact-form .field { margin-bottom: 30px; }

.contact-form label,
.contact-form .fl {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  border-radius: 0;
  padding: 10px 0 12px;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  transition: border-color 0.2s;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-bottom: 1.5px solid var(--pine);
}

.contact-form ::placeholder { color: #b9b7ae; }
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ---------- Impressum ---------- */

.imprint p { margin: 0.4em 0; }
.imprint .block { padding: 26px 0; border-bottom: 1px solid var(--line); }
.imprint .legal { font-size: 0.92rem; color: var(--muted); }

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

.site-footer {
  margin-top: var(--section);
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
}

.site-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: baseline;
}

.site-footer .brandline { font-family: var(--serif); font-size: 1.1rem; }
.site-footer .links a { color: var(--ink); text-decoration: none; margin-right: 22px; }
.site-footer .links a:hover { text-decoration: underline; }

.site-footer .note {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 680px;
  margin-top: 22px;
}

.site-footer .note a { color: var(--muted); }

/* ---------- Scroll-Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.reveal.shown { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
