/* ===================================================================
   Landhotel Lortz — Frontend-CSS
   Palette abgeleitet aus RoomRaccoon-Buchungsstrecke (Markenkonsistenz).
   Fonts: tahu (Script, Hero/Akzent) + Lora Variable (Body/Headings).
   Design-Prinzipien: frontend-design-Skill (kein KI-Look, mutige Palette,
   asymmetrisch wo sinnvoll, Mobile-First, clamp()-Typo).
   ================================================================== */

/* ───────────────────── @font-face ──────────────────── */

@font-face {
  font-family: "Spectral";
  src: url("/assets/fonts/spectral-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Spectral";
  src: url("/assets/fonts/spectral-italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Spectral";
  src: url("/assets/fonts/spectral-semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tahu";
  src: url("/assets/fonts/tahu.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ───────────────────── Design-Tokens ──────────────────── */

:root {
  /* Palette (aus Buchungsstrecke) */
  --oliv-dark:    #384710;   /* Primary — Headlines, Footer-Hintergrund */
  --oliv:         #475A14;   /* Button-Hover, Section-Dividers */
  --oliv-light:   #738E2B;   /* Akzent — Links, Icons */
  --camel:        #E1B878;   /* Secondary / CTA-Highlight */
  --camel-dark:   #c89a56;   /* CTA-Hover (abgeleitet, nicht aus Palette) */
  --creme:        #FFF5EA;   /* Section-Background warm */
  --paper:        #ffffff;   /* harter Weiß für Content-Karten */

  /* Grautöne */
  --ink:          #1c1c1b;   /* Fließtext */
  --ink-soft:     #525251;   /* Sekundärtext */
  --line:         #e5e2dc;   /* feine Trennlinien, warm getönt */

  /* Signalfarben */
  --success:      #1f6f43;
  --error:        #a52020;

  /* Typo */
  --font-script:  "Tahu", "Allura", "Pacifico", cursive;
  --font-serif:   "Spectral", "Georgia", serif;

  /* Layout */
  --container:    1200px;
  --container-nd: 1400px;   /* narrow wide */
  --gutter:       clamp(1rem, 3vw, 2rem);
  --radius:       8px;
  --radius-lg:    16px;

  /* Spacing-Skala (mobile-first via clamp) */
  --space-xs:     clamp(0.5rem, 1vw, 0.75rem);
  --space-sm:     clamp(0.75rem, 1.5vw, 1rem);
  --space-md:     clamp(1rem, 2.5vw, 1.75rem);
  --space-lg:     clamp(2rem, 5vw, 3.5rem);
  --space-xl:     clamp(3rem, 8vw, 6rem);

  /* Schatten — warm getönt, nicht hartes Grau */
  --shadow-sm:    0 1px 2px rgba(56, 71, 16, 0.06), 0 2px 6px rgba(56, 71, 16, 0.05);
  --shadow-md:    0 2px 4px rgba(56, 71, 16, 0.08), 0 8px 24px rgba(56, 71, 16, 0.08);
  --shadow-lg:    0 8px 16px rgba(56, 71, 16, 0.10), 0 24px 48px rgba(56, 71, 16, 0.12);
}

/* ───────────────────── Reset + Base ──────────────────── */

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

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

body {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--oliv-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s;
}

a:hover,
a:focus-visible {
  color: var(--oliv-light);
}

::selection {
  background: var(--camel);
  color: var(--oliv-dark);
}

/* ───────────────────── Typografie ──────────────────── */

h1, h2, h3, h4 {
  color: var(--oliv-dark);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.script,
h1.script,
h2.script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--oliv-dark);
  line-height: 1.1;
}

h1.script  { font-size: clamp(2.75rem, 7vw, 5rem); }
h2.script  { font-size: clamp(2rem, 5vw, 3.25rem); }

.lead {
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.55;
}

.lead--xl {
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

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

small {
  font-size: 0.85em;
  color: var(--ink-soft);
}

ul, ol {
  padding-left: 1.5em;
  margin: 0 0 1em;
}

li + li {
  margin-top: .35em;
}

blockquote {
  margin: var(--space-md) 0;
  padding: var(--space-sm) var(--space-md);
  border-left: 3px solid var(--camel);
  font-style: italic;
  color: var(--ink-soft);
}

/* ───────────────────── Layout-Primitives ──────────────────── */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container-wide {
  max-width: var(--container-nd);
}

.section {
  padding: var(--space-xl) 0;
}

.section--creme {
  background: var(--creme);
}

.section--dark {
  background: var(--oliv-dark);
  color: var(--paper);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--paper);
}

.section--dark a {
  color: var(--camel);
}

/* Grids */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Asymmetrisches Zwei-Spalten-Split (für Fullwidth-Bühne-Pattern) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-lg);
}

.split--image-right {
  direction: rtl;
}

.split--image-right > * {
  direction: ltr;
}

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

/* ───────────────────── Buttons ──────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 0.95em 2.25em;
  font: inherit;
  font-weight: 600;
  letter-spacing: .03em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

/* Haupt-CTA (alle „Jetzt buchen"-Varianten): Oliv-Dark + weiße Schrift. */
.btn--primary {
  background: var(--oliv-dark);
  color: var(--paper);
  border-color: var(--oliv-dark);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--oliv);
  border-color: var(--oliv);
  color: var(--paper);
}

.btn--outline {
  background: transparent;
  color: var(--oliv-dark);
  border-color: var(--oliv-dark);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--oliv-dark);
  color: var(--paper);
}

.btn--on-dark {
  color: var(--paper);
  border-color: var(--paper);
}

.btn--on-dark:hover,
.btn--on-dark:focus-visible {
  background: var(--paper);
  color: var(--oliv-dark);
}

/* Header-CTA: Oliv-Dark + weiße Schrift, aber kompakter als .btn--primary,
   damit er in der Nav neben den Textlinks nicht dominiert. */
.btn--cta {
  background: var(--oliv-dark);
  color: var(--paper);
  border-color: var(--oliv-dark);
  padding: .5em 1.4em;
  font-size: .95em;
  letter-spacing: .04em;
}

.btn--cta:hover,
.btn--cta:focus-visible {
  background: var(--oliv);
  border-color: var(--oliv);
  color: var(--paper);
}

.btn--sm { padding: .55em 1.4em; font-size: .9em; }
.btn--lg { padding: 1.1em 2.75em; font-size: 1.05em; }

/* ───────────────────── Hero ──────────────────── */

.hero {
  position: relative;
  min-height: 75vh;
  display: grid;
  place-items: center;
  padding: var(--space-xl) var(--gutter);
  color: var(--paper);
  overflow: hidden;
  background: var(--oliv-dark);
}

.hero--compact {
  min-height: 40vh;
}

/* Ab Tablet aufwärts: Hero-Höhe mit clamp() begrenzen — verhindert extremes
   Vertical-Crop bei 4K-/Ultrawide-Monitoren. */
@media (min-width: 901px) {
  .hero {
    height: clamp(550px, 75vh, 850px);
    min-height: 0;
  }
  .hero--compact {
    height: clamp(320px, 40vh, 480px);
    min-height: 0;
  }
}

/* Slider: alle Slides übereinander gestapelt, fade zwischen aktiven */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slider .slide.is-active {
  opacity: 1;
}

/* <picture> ist default display:inline → hat ohne explizite Höhe keinen Raum.
   Erzwingt eine Blockfläche, damit `height: 100%` am inneren img korrekt
   auf die Container-Höhe (.slide / .hero-bg) greift. */
.hero-slider .slide picture,
.hero-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slider .slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Default: unten festnageln. Pro Slide über Inline-Style `object-position` überschreibbar. */
  object-position: center bottom;
}

/* Scrim: dunkler Overlay über Hero-Fotos, damit Text lesbar bleibt */
.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 28, 27, 0.28) 0%, rgba(28, 28, 27, 0.55) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Alte .hero-bg bleibt für Non-Slider-Heroes (z. B. Unterseiten) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Default: unten festnageln. Per-Seite override via Inline-Style `object-position`. */
  object-position: center bottom;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 28, 27, 0.3) 0%, rgba(28, 28, 27, 0.55) 100%);
}

/* Slider-Dots unten mittig */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 3;
}

.hero-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.hero-dots button:hover {
  background: rgba(255,255,255,.4);
}

.hero-dots button.is-active {
  background: var(--camel);
  border-color: var(--camel);
  transform: scale(1.3);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  text-align: center;
}

.hero-content h1 {
  color: var(--paper);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content .lead {
  color: rgba(255,255,255,0.9);
  margin: 0 auto var(--space-md);
}

/* Logo-Overlay im Hero (z.B. Wirtshaus Alexander) — rundes Logo auf dunklem Grund,
   kein Scrim nötig, Shadow unterstützt die Abhebung vom Hintergrundbild. */
.hero-logo {
  display: block;
  margin: 0 auto var(--space-md);
  width: clamp(160px, 20vw, 240px);
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.35));
}

/* Impressionen-Grid (3er oder 4er Foto-Reihe) — ohne Textcard, nur Bilder */
.impression {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
}

.impression:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.impression img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ───────────────────── Cards ──────────────────── */

.card {
  background: var(--creme);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  color: inherit;
  text-decoration: none;
  display: block;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

/* Alle Elemente innerhalb einer Card: keine Default-Link-Unterstreichung */
.card,
.card * {
  text-decoration: none;
}

.card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: var(--space-md);
}

.card-body h3 {
  margin-top: 0;
  margin-bottom: .5rem;
}

/* ───────────────────── Header + Footer ──────────────────── */

.site-header {
  padding: var(--space-sm) 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.site-logo {
  display: block;
  flex-shrink: 0;
}

.site-logo img {
  height: clamp(60px, 7.5vw, 90px);
  width: auto;
}

.site-nav {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 500;
  padding: .4em 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s, color .15s;
}

.site-nav a:not(.btn):hover,
.site-nav a.is-active:not(.btn) {
  color: var(--oliv-dark);
  border-bottom-color: var(--camel);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .5em;
  cursor: pointer;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 6px auto;
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    padding: var(--space-sm) 0;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a:not(.btn) {
    padding: .9em var(--space-md);
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }
  .site-nav a:not(.btn):last-of-type {
    border-bottom: 0;
  }
  .site-nav a:not(.btn):hover,
  .site-nav a.is-active:not(.btn) {
    border-bottom-color: var(--line);
    background: var(--creme);
  }
  .site-nav .btn--cta {
    margin: var(--space-sm) var(--space-md) 0;
    text-align: center;
  }
  .site-header .container {
    position: relative;
  }
}

.site-footer {
  background: var(--oliv-dark);
  color: var(--paper);
  padding: var(--space-lg) 0;
  margin-top: var(--space-xl);
}

.site-footer a {
  color: var(--camel);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--paper);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 700px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-meta {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .9em;
  color: rgba(255,255,255,.75);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.smartline-credit {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .85em;
  opacity: .85;
  transition: opacity .15s;
}

.smartline-credit:hover {
  opacity: 1;
  color: rgba(255,255,255,.9);
}

/* ───────────────────── Panel-Section mit Hintergrundbild ──────────────────── */
/* Vorbild: bestatterin .quote--panel. CTA-Band mit Foto-Hintergrund + Overlay. */

.section--panel {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  padding: clamp(4rem, 10vw, 7rem) var(--gutter);
  text-align: center;
}

.panel-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.panel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* panel-cta.jpg ist server-seitig bereits auf 2:1 Bett-Fokus gecroppt.
     Daher reicht center — kein Decken-Streifen mehr möglich. */
  object-position: center;
}

.panel-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(56, 71, 16, 0.55) 0%, rgba(56, 71, 16, 0.75) 100%);
}

.panel-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.panel-content h2 {
  color: var(--paper);
  margin-bottom: var(--space-md);
}

.panel-content .lead {
  color: rgba(255,255,255,0.92);
  margin: 0 auto var(--space-md);
}

/* ───────────────────── Split-Section (edge-to-edge, Bild + Text) ────── */
/* Vorbild: bestatterin .split-section — Bild läuft bis Browser-Rand links,
   Text läuft bis Rand rechts. Mobile: untereinander. */

.split-section {
  display: grid;
  grid-template-columns: 1fr;
}

.split-section__media {
  margin: 0;
}

.split-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.split-section__text {
  padding: var(--space-lg) var(--gutter);
}

.split-section__text > * {
  max-width: 56ch;
  margin-left: 0;
  margin-right: auto;
}

.split-section__text > :first-child { margin-top: 0; }
.split-section__text > :last-child  { margin-bottom: 0; }

.split-section--creme {
  background: var(--creme);
}

@media (min-width: 768px) {
  .split-section {
    grid-template-columns: 2fr 1fr;
    align-items: stretch;
  }
  .split-section--reverse {
    grid-template-columns: 1fr 2fr;
  }
  .split-section--reverse .split-section__media { order: 2; }
  .split-section__media img { min-height: 520px; }
  .split-section__text {
    padding: var(--space-xl) clamp(2rem, 5vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ───────────────────── Stage: 2/3 Bild + 1/3 Text ──────────────────── */
/* Vorbild: bestatterin .intro-section — Fullwidth-Grid mit großem Bild. */

.stage {
  padding: var(--space-xl) 0;
}

.stage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .stage-grid {
    grid-template-columns: 2fr 1fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
  .stage-grid--image-right {
    grid-template-columns: 1fr 2fr;
  }
  .stage-grid--image-right .stage-media {
    order: 2;
  }
}

.stage-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stage-copy {
  padding: 0 var(--gutter);
}

@media (min-width: 900px) {
  .stage-copy {
    padding: 0 var(--gutter) 0 0;
  }
}

/* ───────────────────── Utility ──────────────────── */

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

.text-center { text-align: center; }
.text-right  { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.flex { display: flex; gap: var(--space-sm); align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* ───────────────────── Content-Split (Content-Seiten, container-breit) ───────── */
/* Fürs 50/50-Layout auf hotel/pool-sauna/wirtshaus — Bild + Text gleichgewichtig,
   Bild mit Rundung + Schatten. Fullwidth-Split bleibt der Startseite vorbehalten. */

.content-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.content-split + .content-split {
  margin-top: var(--space-xl);
}

.content-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  transition: box-shadow .3s ease;
}

.content-split__text > :first-child { margin-top: 0; }
.content-split__text > :last-child  { margin-bottom: 0; }

@media (min-width: 800px) {
  .content-split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
  }
  .content-split--reverse .content-split__media { order: 2; }
}

/* ───────────────────── Zimmer-Blöcke (hotel.php) ──────────────────── */

.room-size {
  display: inline-block;
  margin: 0 0 1rem;
  padding: .25em .9em;
  background: var(--camel);
  color: var(--oliv-dark);
  font-size: .9em;
  font-weight: 600;
  letter-spacing: .05em;
  border-radius: 999px;
}

.room-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.25rem 0 0;
}

.room-thumb {
  flex: 0 0 auto;
  width: clamp(72px, 12vw, 96px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid var(--line);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

.room-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-thumb:hover,
.room-thumb:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--camel);
  outline: none;
}

/* ───────────────────── Kontakt (kontakt.php) ──────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

.contact-address {
  font-style: normal;
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--creme);
  border-left: 3px solid var(--camel);
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 1.5;
}

/* ───────────────────── Region (region.php) ──────────────────── */

/* Wanderwege-Tabelle im Content-Split */
.wander-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: .95em;
}

.wander-table th,
.wander-table td {
  padding: .6em .5em;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.wander-table thead th {
  color: var(--oliv-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--oliv-light);
}

.wander-table tbody tr:last-child td {
  border-bottom: none;
}

.nowrap { white-space: nowrap; }

/* Ausflugsziel-Karte */
.ziel-card {
  background: var(--creme);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}

.ziel-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.ziel-card__media {
  position: relative;
  overflow: hidden;
}

.ziel-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ziel-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--oliv-dark);
  color: var(--paper);
  padding: .3em .9em;
  font-size: .8em;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 999px;
}

.ziel-card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ziel-card__body h3 {
  margin-top: 0;
  margin-bottom: .25rem;
}

.ziel-card__meta {
  color: var(--oliv-light);
  font-size: .9em;
  font-weight: 600;
  letter-spacing: .02em;
  margin: 0 0 .75rem;
}

.ziel-card__tipp {
  margin-top: .75rem;
  padding: .75rem 1rem;
  background: rgba(225, 184, 120, 0.18);
  border-left: 3px solid var(--camel);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95em;
  color: var(--ink);
}

.ziel-card__link {
  color: var(--oliv-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--camel);
  padding-bottom: 1px;
}

.ziel-card__link:hover,
.ziel-card__link:focus-visible {
  color: var(--oliv);
  border-bottom-color: var(--oliv);
}

/* ───────────────────── Legal (Impressum / Datenschutz) ──────────────── */

.legal {
  max-width: 72ch;
  margin: 0 auto;
}

.legal h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--oliv-dark);
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal h3 {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
}

.legal p,
.legal ul {
  color: var(--ink);
}

.legal .meta {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
