/*
Theme Name: Landhaus Wagner
Theme URI: https://landhaus-wagner.com
Description: Schlankes Child-Theme auf Basis von GeneratePress. Gleiche Designsprache wie das bisherige Theme (Gold, Petrol, Open Sans, Karten-Layout), aber ohne Buchungssystem, Slider-Plugin und Altlasten. Polylang-ready.
Author: Landhaus Wagner
Template: generatepress
Version: 1.5.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: landhaus-wagner
Tags: custom-colors, custom-menu, featured-images, translation-ready
*/

/* ---------------------------------------------------------
   1. Fonts
--------------------------------------------------------- */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("assets/fonts/open-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("assets/fonts/open-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------
   2. Tokens
--------------------------------------------------------- */
:root {
  --lw-gold: #bfa06b;
  --lw-gold-dark: #a8894f;
  --lw-petrol: #677c8b;
  --lw-petrol-dark: #556874;
  --lw-ink: #333333;
  --lw-text: #444444;
  --lw-muted: #6f6f6f;
  --lw-line: #e3e3e3;
  --lw-soft: #f7f6f2;
  --lw-white: #ffffff;
  --lw-container: 1140px;
  --lw-radius: 2px;
  --lw-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --lw-header-h: 92px;
}

/* ---------------------------------------------------------
   3. Base
--------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body,
button,
input,
select,
textarea {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: var(--lw-white);
  color: var(--lw-text);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--lw-gold-dark); text-decoration: none; transition: color .18s ease; }
a:hover, a:focus { color: var(--lw-ink); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  color: var(--lw-ink);
  font-family: "Open Sans", sans-serif;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .02em;
}

h1 { font-size: clamp(28px, 3vw, 38px); }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: clamp(19px, 2vw, 23px); }
h4 { font-size: 18px; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }

blockquote {
  margin: 1.5em 0;
  padding: .2em 0 .2em 1.4em;
  border-left: 3px solid var(--lw-gold);
  color: var(--lw-muted);
  font-style: italic;
}

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

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed !important;
  top: 12px; left: 12px;
  z-index: 10000;
  width: auto; height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--lw-white);
  color: var(--lw-ink);
  box-shadow: var(--lw-shadow);
}

/* ---------------------------------------------------------
   4. Buttons
--------------------------------------------------------- */
.lw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 13px 26px;
  border: 1px solid var(--lw-gold);
  border-radius: var(--lw-radius);
  background: var(--lw-gold);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.lw-btn:hover, .lw-btn:focus {
  background: var(--lw-gold-dark);
  border-color: var(--lw-gold-dark);
  color: #fff;
}
.lw-btn--ghost {
  background: transparent;
  color: var(--lw-gold-dark);
}
.lw-btn--ghost:hover, .lw-btn--ghost:focus {
  background: var(--lw-gold);
  color: #fff;
}
.lw-btn__icon, .lw-btn svg { width: 15px; height: 15px; flex: none; }

.lw-link-more {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  color: var(--lw-gold-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lw-link-more svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------
   5. Top bar
--------------------------------------------------------- */
.lw-topbar {
  background: var(--lw-petrol);
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 300;
}
.lw-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 36px;
}
.lw-topbar__contact {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.lw-topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-left: 1px solid rgba(255, 255, 255, .18);
  line-height: 36px;
  white-space: nowrap;
}
.lw-topbar__item:first-child { padding-left: 0; border-left: 0; }
.lw-topbar__item svg { width: 13px; height: 13px; flex: none; opacity: .8; }
.lw-topbar__item a { color: inherit; }
.lw-topbar__item a:hover { color: #fff; }

.lw-lang { position: relative; }
.lw-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.lw-lang__toggle:hover { color: #fff; }
.lw-lang__toggle svg { width: 10px; height: 10px; }
.lw-lang__list {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 60;
  min-width: 150px;
  margin: 6px 0 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  box-shadow: var(--lw-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.lw-lang.is-open .lw-lang__list { opacity: 1; visibility: visible; transform: none; }
.lw-lang__list a {
  display: block;
  padding: 8px 16px;
  color: var(--lw-text);
  font-size: 12px;
}
.lw-lang__list a:hover { background: var(--lw-soft); color: var(--lw-ink); }
.lw-lang__list .current-lang a { color: var(--lw-gold-dark); font-weight: 700; }
.lw-lang__flag { display: inline-block; margin-right: 8px; vertical-align: -1px; }

/* ---------------------------------------------------------
   6. Header / navigation
--------------------------------------------------------- */
.lw-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--lw-line);
  transition: box-shadow .2s ease;
}
.lw-header.is-stuck { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.lw-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--lw-header-h);
}
.lw-brand { display: inline-flex; align-items: center; flex: none; }
.lw-brand img { width: 168px; height: auto; }
.lw-brand__text {
  color: var(--lw-gold);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}

.lw-nav { display: flex; align-items: center; }
.lw-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lw-nav > ul > li {
  position: relative;
  border-left: 1px solid #e8e8e8;
}
.lw-nav > ul > li:first-child { border-left: 0; }
.lw-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 22px;
  min-height: var(--lw-header-h);
  color: #3d3d3d;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1;
  text-transform: uppercase;
}
.lw-nav > ul > li > a:hover,
.lw-nav > ul > li.current-menu-item > a,
.lw-nav > ul > li.current-menu-ancestor > a { color: var(--lw-gold); }
.lw-nav .menu-item-has-children > a::after {
  content: "";
  width: 6px; height: 6px;
  margin-top: -2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.lw-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 55;
  display: block;
  min-width: 240px;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  box-shadow: var(--lw-shadow);
  border-top: 2px solid var(--lw-petrol);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.lw-nav li:hover > ul,
.lw-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.lw-nav ul ul li { border: 0; }
.lw-nav ul ul a {
  display: block;
  padding: 9px 20px;
  color: var(--lw-text);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .02em;
  text-transform: none;
}
.lw-nav ul ul a:hover { background: var(--lw-soft); color: var(--lw-gold-dark); }

.lw-nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lw-line);
  background: #fff;
  color: var(--lw-ink);
  cursor: pointer;
}
.lw-nav-toggle svg { width: 20px; height: 20px; }

/* Mobile drawer */
.lw-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 24, 28, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s;
}
.lw-mobile.is-open { opacity: 1; visibility: visible; }
.lw-mobile__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(86vw, 360px);
  height: 100%;
  padding: 22px;
  overflow-y: auto;
  background: #fff;
  transform: translateX(100%);
  transition: transform .25s ease;
}
.lw-mobile.is-open .lw-mobile__panel { transform: none; }
.lw-mobile__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lw-mobile__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--lw-line);
  background: #fff;
  color: var(--lw-ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.lw-mobile__close svg { width: 18px; height: 18px; }
.lw-mobile ul { margin: 0; padding: 0; list-style: none; }
.lw-mobile li { border-bottom: 1px solid var(--lw-line); }
.lw-mobile a {
  display: block;
  padding: 13px 2px;
  color: var(--lw-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lw-mobile ul ul { padding-left: 16px; }
.lw-mobile ul ul a { font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: none; }
.lw-mobile__contact { margin-top: 22px; color: var(--lw-muted); font-size: 13px; }
.lw-mobile__contact a { color: var(--lw-gold-dark); font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; padding: 3px 0; }

/* ---------------------------------------------------------
   7. Hero
--------------------------------------------------------- */
.lw-hero {
  position: relative;
  min-height: clamp(420px, 62vh, 620px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #2a2a2a;
}
.lw-hero__media,
.lw-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.lw-hero__media img { object-fit: cover; object-position: center 62%; }
.lw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 18, 20, .55) 0%, rgba(15, 18, 20, .18) 55%, rgba(15, 18, 20, .05) 100%);
}
.lw-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(40px, 7vh, 76px);
}
.lw-hero__box {
  display: inline-block;
  max-width: 560px;
  padding: 24px 28px;
  background: rgba(25, 28, 31, .58);
  backdrop-filter: blur(2px);
}
.lw-hero__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--lw-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.lw-hero__title {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300;
  letter-spacing: .01em;
  line-height: 1.3;
  text-transform: none;
}
.lw-hero__title strong { font-weight: 700; }
.lw-hero__cta { margin-top: 6px; }
.lw-hero__scroll {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lw-hero__scroll svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------
   8. Sections
--------------------------------------------------------- */
.lw-section { padding: clamp(54px, 8vw, 96px) 0; }
.lw-section--tight { padding: clamp(40px, 6vw, 70px) 0; }
.lw-section--soft { background: var(--lw-soft); }

.lw-section__head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.lw-section__kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--lw-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.lw-section__title { margin-bottom: 14px; }
.lw-section__lead { color: var(--lw-muted); font-size: 15.5px; font-weight: 300; }

/* ---------------------------------------------------------
   9. Room cards
--------------------------------------------------------- */
.lw-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}
.lw-card { display: flex; flex-direction: column; }
.lw-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eee;
  aspect-ratio: 3 / 2;
}
.lw-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.lw-card:hover .lw-card__media img { transform: scale(1.04); }
.lw-card__price {
  position: absolute;
  left: 0; bottom: 14px;
  padding: 8px 14px;
  background: var(--lw-gold);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.lw-card__price small { font-size: 10px; font-weight: 400; letter-spacing: .08em; }
.lw-card__body { padding: 22px 8px 0; text-align: center; }
.lw-card__title { margin: 0 0 8px; font-size: 19px; }
.lw-card__title a { color: inherit; }
.lw-card__meta {
  margin: 0 0 12px;
  color: var(--lw-muted);
  font-size: 12.5px;
  letter-spacing: .02em;
}
.lw-card__meta span + span::before { content: "·"; margin: 0 8px; color: var(--lw-gold); }
.lw-card__text { color: var(--lw-muted); font-size: 14px; }
.lw-card__foot { margin-top: 14px; }

/* ---------------------------------------------------------
   10. About + review
--------------------------------------------------------- */
.lw-split {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.lw-about { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
.lw-about__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lw-about__body { font-size: 14.5px; }

.lw-review {
  position: relative;
  padding: 30px 30px 26px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .06);
}
.lw-review__mark {
  color: var(--lw-gold);
  font-size: 40px;
  font-weight: 900;
  line-height: .6;
}
.lw-review__text { margin: 12px 0 20px; color: var(--lw-text); font-size: 14.5px; font-style: italic; }
.lw-review blockquote { margin: 0; padding: 0; border: 0; background: none; color: inherit; font-size: inherit; }
.lw-review__author { display: flex; align-items: center; gap: 12px; }
.lw-review__author img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.lw-review__name { color: var(--lw-ink); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------------------------------------------------------
   11. Features / location
--------------------------------------------------------- */
.lw-features { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); }
.lw-features__title { margin-bottom: 18px; font-size: 18px; }
.lw-list { margin: 0; padding: 0; list-style: none; }
.lw-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--lw-text);
  font-size: 14.5px;
}
.lw-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 13px; height: 7px;
  border-left: 2px solid var(--lw-gold);
  border-bottom: 2px solid var(--lw-gold);
  transform: rotate(-45deg);
}
.lw-address { font-size: 14.5px; }
.lw-address strong { display: block; margin-bottom: 2px; color: var(--lw-ink); font-weight: 700; }
.lw-address p { margin-bottom: 18px; }

/* ---------------------------------------------------------
   12. Page hero band
--------------------------------------------------------- */
.lw-page-hero {
  position: relative;
  padding: clamp(38px, 6vw, 64px) 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .74) 55%, rgba(255, 255, 255, .52) 100%),
    url("assets/img/hero.jpg") center 55% / cover no-repeat,
    var(--lw-soft);
  border-bottom: 1px solid var(--lw-line);
}
.lw-page-hero__title {
  margin: 0;
  color: #4a4a4a;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 300;
  letter-spacing: .04em;
}
.lw-page-hero__sub { margin: 8px 0 0; color: var(--lw-muted); font-size: 14px; }

/* ---------------------------------------------------------
   13. Content
--------------------------------------------------------- */
.lw-content { font-size: 15px; }
.lw-content > * { margin-left: auto; margin-right: auto; }
.lw-content::after { content: ""; display: table; clear: both; }
.lw-content img { max-width: 100%; height: auto; }
.lw-content h2, .lw-content h3 { margin-top: 1.6em; }
.lw-content ul li, .lw-content ol li { margin-bottom: .4em; }
.lw-content img { margin: 1.4em 0; }
.lw-content .wp-block-image { margin: 1.6em 0; }
.lw-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lw-content th, .lw-content td { padding: 9px 12px; border: 1px solid var(--lw-line); text-align: left; }
.lw-content th { background: var(--lw-soft); font-weight: 700; }

/* ---------------------------------------------------------
   14. Rooms listing / single room
--------------------------------------------------------- */
.lw-rooms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }

.lw-room { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.lw-room__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lw-room__gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lw-room__gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.lw-room__aside { position: sticky; top: calc(var(--lw-header-h) + 24px); }
.lw-room__title { margin-bottom: 6px; font-size: clamp(22px, 2.4vw, 29px); }
.lw-room__price { color: var(--lw-gold-dark); font-size: 17px; font-weight: 400; }
.lw-room__price small { color: var(--lw-muted); font-size: 12px; }
.lw-room__meta {
  margin: 14px 0 20px;
  padding: 12px 0;
  border-top: 1px solid var(--lw-line);
  border-bottom: 1px solid var(--lw-line);
  color: var(--lw-muted);
  font-size: 13px;
}
.lw-room__meta span + span::before { content: "·"; margin: 0 9px; color: var(--lw-gold); }
.lw-room__cta { width: 100%; }
.lw-room__note { margin-top: 12px; color: var(--lw-muted); font-size: 12px; text-align: center; }

.lw-tabs { margin-top: clamp(38px, 6vw, 64px); }
.lw-tabs__nav { display: flex; gap: 0; border-bottom: 1px solid var(--lw-line); }
.lw-tabs__btn {
  padding: 13px 22px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--lw-muted);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.lw-tabs__btn[aria-selected="true"] { color: var(--lw-gold-dark); border-bottom-color: var(--lw-gold); }
.lw-tabs__panel { max-width: 820px; padding: 26px 0 0; font-size: 15px; }
.lw-tabs__panel--avail { max-width: none; }
.lw-tabs__panel[hidden] { display: none; }

/* ---------------------------------------------------------
   15. Blog
--------------------------------------------------------- */
.lw-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.lw-post { display: flex; flex-direction: column; }
.lw-post__media { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: #eee; }
.lw-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.lw-post:hover .lw-post__media img { transform: scale(1.04); }
.lw-post__date { margin: 16px 0 6px; color: var(--lw-gold-dark); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lw-post__title { margin: 0 0 8px; font-size: 17px; line-height: 1.35; }
.lw-post__title a { color: var(--lw-ink); }
.lw-post__excerpt { color: var(--lw-muted); font-size: 14px; }

.lw-single { max-width: 780px; margin: 0 auto; }
.lw-single__meta { margin-bottom: 22px; color: var(--lw-muted); font-size: 12.5px; }
.lw-single__hero { margin: 0 0 30px; }
.lw-single__hero img { width: 100%; }

.lw-pagination { margin-top: 44px; }
.lw-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px; height: 36px;
  margin-right: 6px;
  border: 1px solid var(--lw-line);
  color: var(--lw-text);
  font-size: 13px;
}
.lw-pagination .current,
.lw-pagination a:hover { background: var(--lw-gold); border-color: var(--lw-gold); color: #fff; }

/* ---------------------------------------------------------
   16. Contact form
--------------------------------------------------------- */
.lw-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.lw-form__full { grid-column: 1 / -1; }
.lw-form label { display: block; margin-bottom: 6px; color: var(--lw-ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lw-form input, .lw-form select, .lw-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--lw-line);
  border-radius: 0;
  background: #fff;
  color: var(--lw-text);
  font: inherit;
  font-size: 14px;
  font-weight: 300;
}
.lw-form textarea { min-height: 150px; resize: vertical; }
.lw-form input:focus, .lw-form select:focus, .lw-form textarea:focus {
  outline: 0;
  border-color: var(--lw-gold);
}
.lw-form__consent { display: flex; gap: 10px; align-items: flex-start; color: var(--lw-muted); font-size: 12px; }
.lw-form__consent input { width: auto; margin-top: 3px; }
.lw-form__consent label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12px; }
.lw-form__hp { position: absolute; left: -9999px; }
.lw-notice { margin: 20px 0 0; padding: 14px 16px; border-left: 3px solid var(--lw-gold); background: var(--lw-soft); font-size: 14px; }
.lw-notice--error { border-color: #c0392b; }


/* Kontaktseite mit RentMora-Widget */
.lw-contact-layout { max-width: 960px; margin: 0 auto; }
.lw-contact-widget { margin-top: 30px; }
.lw-contact-widget iframe { display: block; width: 100%; min-height: 840px; border: 0; border-radius: 24px; background: transparent; overflow: hidden; }
.lw-contact-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 960px;
  margin: 50px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--lw-line);
}
.lw-contact-info h3 { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--lw-muted); }
.lw-contact-info p { margin: 0; font-size: 14px; }
@media (max-width: 782px) {
  .lw-contact-info { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------------------------------------------------------
   17. Footer
--------------------------------------------------------- */
.lw-footer {
  background: var(--lw-petrol);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 300;
}
.lw-footer a { color: inherit; }
.lw-footer a:hover { color: #fff; }
.lw-footer__top { padding: 56px 0 40px; }
.lw-footer__title {
  margin: 0 0 22px;
  padding-bottom: 10px;
  border-bottom: 1px dotted rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.lw-footer__rows { display: grid; gap: 10px; max-width: 520px; }
.lw-footer__row { display: flex; align-items: center; gap: 12px; }
.lw-footer__row svg { width: 15px; height: 15px; flex: none; opacity: .7; }
.lw-footer__label { min-width: 74px; color: rgba(255, 255, 255, .6); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.lw-footer__value { color: rgba(255, 255, 255, .92); }
.lw-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-size: 12px;
}
.lw-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; list-style: none; }
.lw-footer__legal li { margin: 0; padding: 0; list-style: none; }
.lw-footer__legal li::before { content: none; }
.lw-footer__legal a { text-decoration: none; }
.lw-footer__to-top {
  position: absolute;
  right: 24px;
  margin-top: -52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  color: #fff;
}
.lw-footer__to-top:hover { background: rgba(255, 255, 255, .1); }
.lw-footer { position: relative; }


/* ---------------------------------------------------------
   17b. Galerie-Lightbox
--------------------------------------------------------- */
.lw-room__shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}
.lw-room__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.lw-room__shot:hover img { transform: scale(1.03); }
.lw-tabs__panel img { cursor: zoom-in; }

.lw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: #3a3d40;
  background: rgba(42, 45, 48, .96);
  padding: 4vh 4vw;
}
.lw-lightbox.is-open { display: flex; }
.lw-lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  margin: 0;
}
.lw-lightbox__img {
  max-width: min(1280px, 92vw);
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
  background: #2c2f31;
}
.lw-lightbox__caption {
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lw-lightbox__count {
  position: absolute;
  top: 22px;
  left: 26px;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  letter-spacing: .12em;
}
.lw-lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.lw-lightbox__btn:hover, .lw-lightbox__btn:focus { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.lw-lightbox__btn svg { width: 20px; height: 20px; }
.lw-lightbox__prev { left: 3vw; }
.lw-lightbox__next { right: 3vw; }
.lw-lightbox__close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lw-lightbox__close svg { width: 18px; height: 18px; }
.lw-lightbox__close:hover { background: rgba(255, 255, 255, .12); }
body.lw-lightbox-open { overflow: hidden; }

/* ---------------------------------------------------------
   17c. Verfügbarkeitskalender
--------------------------------------------------------- */
.lw-avail {
  width: 100%;
  padding: 22px;
  border: 1px solid var(--lw-line);
  background: #fff;
}
.lw-avail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.lw-avail__month {
  color: var(--lw-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lw-avail__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--lw-line);
  background: #fff;
  color: var(--lw-ink);
  cursor: pointer;
}
.lw-avail__nav:hover { border-color: var(--lw-gold); color: var(--lw-gold-dark); }
.lw-avail__nav:disabled { opacity: .35; cursor: default; }
.lw-avail__nav svg { width: 14px; height: 14px; }
.lw-avail__dow,
.lw-avail__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.lw-avail__months {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 26px;
}
.lw-avail__month-block { min-width: 0; }
.lw-avail__month-block .lw-avail__month { display: block; margin-bottom: 8px; }
.lw-avail__month-block .lw-avail__day { font-size: 11.5px; }
.lw-avail__dow { margin-bottom: 6px; }
.lw-avail__dow span {
  padding: 4px 0;
  color: var(--lw-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
}
.lw-avail__day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  border: 1px solid #ececec;
  color: var(--lw-text);
  font-size: 12.5px;
  line-height: 1;
}
.lw-avail__day.is-empty { border-color: transparent; }
.lw-avail__day.is-past { color: #c2c2c2; background: #fafafa; }
.lw-avail__day.is-booked { background: var(--lw-petrol); border-color: var(--lw-petrol); color: #fff; }
.lw-avail__day.is-today { box-shadow: inset 0 0 0 1px var(--lw-gold); font-weight: 700; }
.lw-avail__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  color: var(--lw-muted);
  font-size: 12px;
}
.lw-avail__legend span { display: inline-flex; align-items: center; gap: 7px; }
.lw-avail__dot { width: 11px; height: 11px; border: 1px solid #ececec; background: #fff; }
.lw-avail__dot--booked { background: var(--lw-petrol); border-color: var(--lw-petrol); }
.lw-avail__note { margin-top: 14px; color: var(--lw-muted); font-size: 12.5px; }

@media (max-width: 1000px) {
  .lw-avail__months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .lw-avail__months { grid-template-columns: 1fr; }
  .lw-lightbox { padding: 0; }
  .lw-lightbox__img { max-width: 100vw; max-height: 76vh; }
  .lw-lightbox__prev { left: 8px; }
  .lw-lightbox__next { right: 8px; }
  .lw-lightbox__btn { width: 44px; height: 44px; }
  .lw-avail { padding: 16px; }
}


/* GeneratePress' Button-Styles für eigene Steuerelemente neutralisieren */
button.lw-tabs__btn,
button.lw-avail__nav,
button.lw-lightbox__btn,
button.lw-lightbox__close,
button.lw-nav-toggle,
button.lw-mobile__close,
button.lw-room__shot {
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  text-shadow: none;
}
button.lw-tabs__btn { background-color: transparent !important; }
button.lw-avail__nav { padding: 0 !important; background-color: #fff !important; }
button.lw-lightbox__btn,
button.lw-lightbox__close { padding: 0 !important; }
button.lw-nav-toggle,
button.lw-mobile__close,
button.lw-room__shot { padding: 0 !important; }
button.lw-avail__nav svg,
button.lw-lightbox__btn svg,
button.lw-lightbox__close svg,
button.lw-nav-toggle svg,
button.lw-mobile__close svg { flex: none; }

/* ---------------------------------------------------------
   18. Reveal animation (safe by default)
--------------------------------------------------------- */
.lw-reveal { opacity: 1; transform: none; }
.js .lw-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .lw-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .lw-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .lw-card__media img, .lw-post__media img { transition: none; }
}


/* Saison-Karten (Umgebung) */
.lw-season-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 34px 0; }
.lw-season {
  display: block;
  padding: 34px 28px;
  border: 1px solid var(--lw-line);
  background: var(--lw-soft);
  text-align: center;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.lw-season:hover { border-color: var(--lw-gold); background: #fff; box-shadow: var(--lw-shadow); }
.lw-season__label { display: block; margin-bottom: 8px; color: var(--lw-ink); font-size: 21px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lw-season__text { display: block; color: var(--lw-muted); font-size: 14px; }
@media (max-width: 600px) { .lw-season-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   19. WordPress core bits
--------------------------------------------------------- */
.alignwide { max-width: 1140px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image figcaption { color: var(--lw-muted); font-size: 12px; text-align: center; }

/* GeneratePress: keep its container out of the way */
.site-content, .separate-containers .inside-article { padding: 0; }
.entry-content { margin: 0; }

/* ---------------------------------------------------------
   20. Responsive
--------------------------------------------------------- */
@media (max-width: 1080px) {
  .lw-nav > ul > li > a { padding: 0 15px; font-size: 11px; }
  .lw-cards, .lw-rooms-grid, .lw-post-grid { gap: 24px; }
}

@media (max-width: 960px) {
  .lw-nav { display: none; }
  .lw-nav-toggle { display: inline-flex; }
  .lw-mobile { display: block; }
  .lw-split { grid-template-columns: 1fr; }
  .lw-room { grid-template-columns: 1fr; }
  .lw-room__aside { position: static; }
  .lw-topbar__item:nth-child(1) { display: none; }
}

@media (max-width: 782px) {
  body { font-size: 15px; }
  .lw-topbar__contact .lw-topbar__item:nth-child(3) { display: none; }
  .lw-header__inner { min-height: 76px; }
  .lw-brand img { width: 142px; }
  .lw-cards, .lw-rooms-grid, .lw-post-grid { grid-template-columns: 1fr 1fr; }
  .lw-features { grid-template-columns: 1fr; }
  .lw-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --lw-header-h: 72px; }
  .lw-container { padding: 0 18px; }
  .lw-cards, .lw-rooms-grid, .lw-post-grid { grid-template-columns: 1fr; }
  .lw-about { grid-template-columns: 1fr; }
  .lw-about__img { width: 180px; }
  .lw-hero { min-height: 78vh; }
  .lw-hero__box { padding: 18px 20px; }
  .lw-hero__scroll { display: none; }
  .lw-topbar__item { padding: 0 10px; font-size: 11px; }
  .lw-topbar__item:nth-child(2) { border-left: 0; padding-left: 0; }
  .lw-form { grid-template-columns: 1fr; }
  .lw-room__gallery { grid-template-columns: 1fr; }
  .lw-room__gallery img:first-child { aspect-ratio: 4 / 3; }
  .lw-tabs__btn { padding: 12px 12px; font-size: 11px; }
  .lw-footer__row span { min-width: 64px; }
}
