/* ============================================================
   KA & KA Hotel Restaurant Warsow — Stylesheet
   ============================================================ */


/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --orange:      #FF8503;
  --orange-dark: #e07200;
  --navy:        #0A3B56;
  --navy-mid:    #0d4e72;
  --dark:        #1a1a1a;
  --white:       #FFFFFF;
  --light:       #F8F6F2;
  --light-mid:   #EEEBE6;
  --text:        #222222;
  --text-mid:    #555555;
  --text-muted:  #888888;
  --border:      #DEDBD5;

  --ff-head:   'Montserrat', system-ui, sans-serif;
  --ff-body:   'DM Sans', system-ui, sans-serif;

  --nav-h:     70px;
  --max-w:     1140px;
  --pad-x:     clamp(1.25rem, 5vw, 4rem);
  --pad-y:     clamp(3rem, 7vw, 6rem);
}

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--pad-x);
  background: rgba(10, 59, 86, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 0.45rem 0.9rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  margin-left: 0.5rem;
  padding: 0.45rem 1.2rem !important;
}
.nav-cta:hover { background: var(--orange-dark) !important; }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-image: url('../images/slider_home1a.jpg');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-img.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(5,25,45,0.55) 0%,
    rgba(5,25,45,0.50) 50%,
    rgba(5,25,45,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
  max-width: 760px;
}

.hero-eyebrow {
  font-family: var(--ff-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.25rem;
  animation: fadeUp 0.8s 0.2s both;
}

/* Auf schmalen Displays bricht „seit 1993" in eine eigene Zeile, statt
   den Trenner am Zeilenende stehen zu lassen. */
@media (max-width: 560px) {
  .hero-eyebrow .eyebrow-sep { display: none; }
  .hero-eyebrow .eyebrow-line2 {
    display: block;
    margin-top: 0.4rem;
  }
}

.hero-logo-img {
  width: min(340px, 80vw);
  margin: 0 auto 1.5rem;
  animation: fadeUp 0.8s 0.4s both;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.4));
}

.hero-tagline {
  font-family: var(--ff-head);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  animation: fadeUp 0.8s 0.6s both;
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.25rem;
  animation: fadeUp 0.8s 0.75s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.9s both;
}

/* ── Page Hero (inner pages) ─────────────────────────────────── */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: 3rem;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  background: var(--navy);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--orange);
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-hero-eyebrow {
  font-family: var(--ff-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.page-hero-title {
  font-family: var(--ff-head);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
}

/* ── Section Scaffold ────────────────────────────────────────── */
.section { padding: var(--pad-y) var(--pad-x); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-light { background: var(--light); }

.eyebrow {
  font-family: var(--ff-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.sec-title {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1rem;
}
.sec-title--white { color: #fff; }

.orange-line {
  width: 44px; height: 3px;
  background: var(--orange);
  margin: 1rem 0 1.5rem;
}

.body-text {
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--text-mid);
  max-width: 560px;
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }
.reveal-d4 { transition-delay: 0.28s; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.btn-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

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

/* ── Intro Section ───────────────────────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-img-wrap {
  position: relative;
}

.intro-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

.intro-img-label {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--orange);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
}

/* ── Amenities ───────────────────────────────────────────────── */
.amenities-grid {
  display: grid;
  /* minmax(0, …) statt 1fr: sonst wächst eine Spalte auf die Breite des
     längsten Wortes und das Raster ragt aus dem Bildschirm. */
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.amenity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.amenity:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.amenity-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--light);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.amenity-icon svg {
  width: 24px; height: 24px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amenity-name {
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.amenity-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Lange Komposita („Veranstaltungsservice") sonst breiter als die Spalte.
   Silbentrennung greift über lang="de" im <html>. */
.amenity-name,
.amenity-sub {
  max-width: 100%;
  -webkit-hyphens: auto;
          hyphens: auto;
  overflow-wrap: break-word;
}

/* ── Rooms Teaser ────────────────────────────────────────────── */
.rooms-teaser {
  background: var(--navy);
  padding: var(--pad-y) var(--pad-x);
}

.rooms-teaser-header {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.rooms-cards {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.room-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: var(--dark);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s;
}
.room-card:hover { transform: translateY(-4px); }

.room-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.room-card:hover img { transform: scale(1.04); }

.room-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,25,45,0.88) 0%, rgba(5,25,45,0.2) 60%, transparent 100%);
}

.room-card-body {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}

.room-card-cat {
  font-family: var(--ff-head);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

.room-card-name {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.room-card-price {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}

.room-card-price span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

/* Die ganze Karte ist ein Link (siehe index.html) */
.room-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.room-card-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--ff-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.room-card-more::after {
  content: ' →';
  transition: margin-left 0.25s;
}

.room-card:hover .room-card-more::after { margin-left: 0.25rem; }

/* ── Location ────────────────────────────────────────────────── */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.location-map-wrap {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
  aspect-ratio: 4/3;
}

.location-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.location-list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.loc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.loc-name {
  font-family: var(--ff-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.loc-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.loc-dist {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Photo Gallery ───────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 0.5rem;
  margin-top: 2rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 3px;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ── Content Block (das-hotel etc.) ─────────────────────────── */
.content-block {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

.content-block--reverse {
  grid-template-columns: 2fr 3fr;
}
.content-block--reverse .content-text { order: 2; }
.content-block--reverse .content-media { order: 1; }

.content-text h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.content-text p {
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.content-text ul {
  list-style: none;
  margin: 1rem 0;
}

.content-text ul li {
  padding: 0.35rem 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-mid);
  position: relative;
}
.content-text ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.72rem;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.content-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.16);
}

/* ── Feature Cards ───────────────────────────────────────────── */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.feature-card-body {
  padding: 1.5rem;
}

.feature-card-body h3 {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.feature-card-body p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ── Zimmer Table ────────────────────────────────────────────── */
.price-section {
  margin-top: 2.5rem;
}

.price-table-wrap {
  overflow-x: auto;
  margin-top: 1.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.price-table th {
  background: var(--navy);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.2rem;
  text-align: left;
}

.price-table th:not(:first-child) { text-align: center; }

.price-table td {
  padding: 0.75rem 1.2rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
}

.price-table td:not(:first-child) {
  text-align: center;
  font-family: var(--ff-head);
  font-weight: 600;
  color: var(--navy);
}

.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--light); }

.price-note {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Vier Spalten passen auf dem Handy nicht nebeneinander. Statt seitlich zu
   scrollen wird jede Tabellenzeile zu einer Karte: Aufenthaltsdauer als
   Überschrift, darunter je Zimmertyp eine Zeile (Name aus data-label). */
@media (max-width: 640px) {
  .price-table-wrap {
    overflow-x: visible;
    border: none;
    border-radius: 0;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td { display: block; }

  .price-table thead {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .price-table tr {
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 1rem;
    overflow: hidden;
  }

  .price-table tr:last-child { margin-bottom: 0; }

  .price-table tr:nth-child(even) td:not(:first-child) { background: transparent; }

  /* Erste Zelle = Aufenthaltsdauer, dient als Kartenkopf */
  .price-table td:first-child {
    background: var(--navy);
    color: #fff;
    font-family: var(--ff-head);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.75rem 1rem;
    border-bottom: none;
  }

  .price-table td:not(:first-child) {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    text-align: right;
    padding: 0.65rem 1rem;
  }

  .price-table td:not(:first-child)::before {
    content: attr(data-label);
    font-family: var(--ff-body);
    font-weight: 400;
    color: var(--text-mid);
    text-align: left;
  }

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

/* ── Room Detail Cards ───────────────────────────────────────── */
.room-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (max-width: 1000px) {
  .room-detail-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .room-detail-grid { grid-template-columns: 1fr; }
}

.room-detail-card {
  /* Sprungziel für die Links von der Startseite – Abstand für die fixierte
     Navigationsleiste plus etwas Luft. */
  scroll-margin-top: calc(var(--nav-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.room-detail-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.12); }

.room-detail-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.room-detail-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem;
}

.room-detail-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: var(--ff-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.room-detail-body h3 {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.room-detail-body p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.room-detail-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.room-feature-tag {
  font-family: var(--ff-head);
  font-size: 0.7rem;
  font-weight: 500;
  background: var(--light);
  color: var(--text-mid);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.room-detail-price {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: auto;           /* Preis + Button bündig, auch bei kürzerem Text */
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.room-detail-price span {
  color: var(--orange);
}

.room-detail-price small {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--ff-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-mid);
}

.room-detail-cta {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
}

/* ── Contact ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--ff-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 1.5rem 0 0.6rem;
}
.contact-info h3:first-child { margin-top: 0; }

.contact-info p, .contact-info address {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
}

.contact-info a {
  color: var(--orange);
  font-weight: 500;
}
.contact-info a:hover { text-decoration: underline; }
.contact-info .btn { color: #fff; }
.contact-info .btn:hover { color: #fff; }

.contact-map {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.14);
  aspect-ratio: 4/3;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Ausflugstipps ───────────────────────────────────────────── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.tip-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
  transition: box-shadow 0.25s, transform 0.25s;
}
.tip-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.tip-dist {
  font-family: var(--ff-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.tip-card h3 {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.tip-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.tip-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
}
.tip-link:hover { text-decoration: underline; }

/* Kategorie-Tabs für die Ausflugstipps */
.tips-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.25rem;
}

.tips-tabs .tab {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tips-tabs .tab:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.tips-tabs .tab.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.tips-tabs .tab:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.tip-card[hidden] { display: none; }

@keyframes tipFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.tip-card.fade-in { animation: tipFade 0.35s ease both; }

@media (prefers-reduced-motion: reduce) {
  .tip-card.fade-in { animation: none; }
}

/* ── Reservierung ────────────────────────────────────────────── */
.reservation-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 3px;
  transition: border-color 0.2s;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-textarea { min-height: 120px; resize: vertical; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Hinweis „Anfrage ist keine Reservierung" über dem Absenden-Button */
.form-notice {
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.25rem;
  background: var(--light);
  border-left: 3px solid var(--orange);
  border-radius: 3px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-mid);
}

.form-notice strong {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--navy);
}

.form-hint {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: -0.1rem 0 0.6rem;
}

/* Auf breiten Schirmen muss die Personenauswahl nicht über die volle
   Formularbreite laufen */
.form-select--narrow { max-width: 260px; }

/* ── Zimmerauswahl (Menge je Zimmerart) ──────────────────────── */
.room-picker {
  border: 1.5px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.room-pick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--border);
}

.room-pick:last-child { border-bottom: none; }

.room-pick-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.room-pick-name {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: break-word;
}

.room-pick-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.room-pick-qty {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.qty-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--navy);
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 3px;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.qty-btn:hover:not(:disabled) {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.qty-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.qty-input {
  width: 48px;
  padding: 0.4rem 0.2rem;
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 3px;
}

.qty-input:focus { outline: none; border-color: var(--orange); }

/* Spinner ausblenden – die Plus/Minus-Schaltflächen übernehmen das */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-input { -moz-appearance: textfield; appearance: textfield; }

.room-picker-hint {
  margin-top: 0.55rem;
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.room-picker-hint--ok { color: var(--text-mid); }

.room-picker-hint--warn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.6rem 0.75rem;
  color: #8a4b00;
  background: #fff5e6;
  border: 1px solid #ffd9a0;
  border-radius: 3px;
}

.hint-action {
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--orange);
  border: none;
  border-radius: 3px;
  padding: 0.45rem 0.8rem;
  transition: background 0.2s;
}

.hint-action:hover { background: var(--orange-dark); }

/* ── Preisvorschau im Reservierungsformular ──────────────────── */
.price-summary {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.price-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 0.3rem 0;
}

.price-summary-row strong {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* Die Zimmerliste kann mehrere Einträge enthalten und muss umbrechen dürfen */
#ps-rooms {
  white-space: normal;
  text-align: right;
}

.price-summary-total {
  margin-top: 0.4rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  font-size: 1rem;
}

.price-summary-total strong {
  font-size: 1.25rem;
  color: var(--orange);
}

.price-summary-note {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Honeypot – für Nutzer unsichtbar, Bots füllen es aus. Nicht auf display:none
   setzen: das erkennen viele Spam-Bots. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.reservation-info {
  background: var(--navy);
  color: #fff;
  border-radius: 4px;
  padding: 2rem;
}

.reservation-info h3 {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 1.25rem 0 0.5rem;
}
.reservation-info h3:first-child { margin-top: 0; }

.reservation-info p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.75);
}

.reservation-info a {
  color: var(--orange);
  font-weight: 500;
}
.reservation-info a:hover { text-decoration: underline; }

.reservation-info ul {
  margin: 0.5rem 0 0;
}

.reservation-info ul li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}
.reservation-info ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.68rem;
  width: 5px; height: 5px;
  background: var(--orange);
  border-radius: 50%;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner {
  background: var(--orange);
  padding: 3rem var(--pad-x);
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.cta-banner p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem;
}

.cta-banner .btn-outline-white {
  border-color: #fff;
  font-size: 0.78rem;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 3.5rem var(--pad-x) 0;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.72;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--ff-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--orange); }

.footer-addr {
  font-size: 0.88rem;
  line-height: 1.75;
}

.footer-addr a {
  color: var(--orange);
  font-weight: 500;
}
.footer-addr a:hover { text-decoration: underline; }

/* E-Mail-Adresse ohne JavaScript: Das Element bleibt ein <a>, bekommt aber
   kein href (siehe js/main.js). Dann soll es nicht wie ein toter Verweis
   aussehen, sondern wie normaler Text. */
a.mail-link:not([href]) {
  color: inherit;
  cursor: text;
  text-decoration: none;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-bottom a:hover { color: var(--orange); }

/* ── Sprachauswahl ───────────────────────────────────────────── */
/* Eigene Bedienung; übersetzt wird weiterhin vom Elfsight-Widget über den
   URL-Parameter ?lang=… Dessen eigene Oberfläche wird ausgeblendet, weil
   sie ihre Liste immer nach unten aufklappt und unten rechts damit aus dem
   Bild läuft.
   Bewusst NICHT display:none, sondern nur unsichtbar und unklickbar: Das
   Widget-Skript soll weiterlaufen und die Übersetzung anwenden.
   Aufbau im DOM:
     body
       └ div#__EAAPS_PORTAL.es-portal-root
           └ div.es-embed-root …
   ⚠️ Nur `es-portal-root`/`es-embed-root` und die Portal-ID ansteuern. Die
   übrigen Klassen sind entweder generiert (fKiDP, gHBNEe, EmbedRoot__Root-…)
   oder enthalten die App-Kennung – beides ändert sich bei Updates. */
#__EAAPS_PORTAL,
body .es-portal-root {
  position: fixed !important;
  inset: auto auto 0 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.langbar {
  position: fixed;
  z-index: 190;   /* unter der Navigation (200): Menü liegt immer davor */
  right: clamp(0.9rem, 2vw, 1.5rem);
  bottom: calc(clamp(0.9rem, 2vw, 1.5rem) + env(safe-area-inset-bottom, 0px));
}

/* ── Schaltfläche ── */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem 0.45rem 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(10,59,86,0.12), 0 8px 28px rgba(10,59,86,0.1);
  font-family: var(--ff-head);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lang-btn:hover { border-color: var(--orange); }
.lang-btn:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* Weltkugel mit der Flagge der aktuellen Sprache */
.lang-globe {
  display: block;
  width: 26px;
  height: 26px;
}

.lang-chevron {
  width: 11px;
  height: auto;
  color: var(--text-muted);
  transition: transform 0.25s;
}

.langbar.is-open .lang-chevron { transform: rotate(180deg); }

/* ── Aufklappbereich ── */
/* Klappt nach oben auf – die Leiste sitzt unten am Bildschirmrand. */
.lang-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.5rem);
  width: max-content;
  min-width: 200px;
  max-width: min(300px, calc(100vw - 2rem));
  padding: 0.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(10,59,86,0.14), 0 16px 40px rgba(10,59,86,0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.langbar.is-open .lang-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Nur die Liste scrollt, der Hinweis bleibt immer sichtbar */
.lang-list {
  max-height: min(50vh, 380px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.lang-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 3px;
  font-size: 0.9rem;
  color: var(--text);
  transition: background 0.15s;
}

.lang-list a:hover { background: var(--light); }
.lang-list a:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }

.lang-flag {
  width: 22px;
  height: auto;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(10,59,86,0.15);
}

/* Der Sprachname steht immer in der jeweiligen Sprache und wird vom
   Übersetzer nicht angefasst (translate="no" an .langbar im HTML). */
.lang-word {
  font-family: var(--ff-head);
  font-weight: 600;
  color: var(--navy);
}

.lang-list a.is-active { background: var(--light); }

/* Hinweis auf die Datenübertragung – trägt translate="yes" und darf
   deshalb als einziger Teil der Auswahl mitübersetzt werden. */
.lang-note {
  margin: 0.35rem 0 0;
  padding: 0.6rem 0.7rem;
  background: var(--light);
  border-radius: 4px;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.lang-note a { color: var(--orange); }
.lang-note a:hover { text-decoration: underline; }
.lang-list a.is-active .lang-word { color: var(--orange); }

/* Ohne JavaScript bliebe eine Liste ohne Funktion stehen – das Skript
   entfernt das hidden-Attribut. */
.langbar[hidden] { display: none; }

@media (max-width: 480px) {
  .lang-btn-text { display: none; }
}

/* ── Karte erst auf Klick laden ──────────────────────────────── */
.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  height: 100%;
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--light);
  border: 1px solid var(--border);
}

.map-consent svg {
  width: 34px;
  height: 34px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-consent p {
  max-width: 34ch;
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--text-mid);
}

.map-consent > a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
}

.map-consent > a:hover { color: var(--orange); }


/* ── Amenity Grid Variants ───────────────────────────────────── */
.amenities-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.amenities-grid--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.amenities-grid--6 .amenity {
  padding: 1.5rem 1rem;
}

/* ── Mobile-Navigation ───────────────────────────────────────── */
/* Ab hier reicht die Breite nicht mehr für alle Menüpunkte nebeneinander.
   Das Panel liegt bewusst absolut in der .nav und nicht fixed am Viewport:
   Der backdrop-filter der .nav macht sie zum Bezugsrahmen für fixed-
   positionierte Kinder – ein fixed-Panel wäre dadurch nur so hoch wie die
   Navigationsleiste selbst und damit praktisch unsichtbar. */
@media (max-width: 900px) {
  .nav-burger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--pad-x) calc(1.5rem + env(safe-area-inset-bottom, 0px));
    background: var(--navy);
    box-shadow: 0 12px 24px rgba(0,0,0,0.28);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  /* Dynamische Viewporthöhe, wo unterstützt – sonst greift der Wert oben */
  @supports (max-height: 100dvh) {
    .nav-links { max-height: calc(100dvh - var(--nav-h)); }
  }

  .nav-links.open { display: flex; }

  /* Ohne display:block bleiben die Links inline – die vertikalen Innen-
     abstände würden dann die Zeilenhöhe nicht vergrößern und die Einträge
     überlagern sich. */
  .nav-links li { display: block; }

  .nav-links a {
    display: block;
    font-size: 0.85rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-radius: 0;
  }

  .nav-links a.nav-cta {
    margin-left: 0 !important;
    margin-top: 1rem;
    padding: 0.9rem 1.2rem !important;
    text-align: center;
    border-bottom: none;
    border-radius: 3px;
  }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .amenities-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amenities-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .amenities-grid--6 .amenity { padding: 1.5rem; }

  .intro-grid,
  .location-grid,
  .contact-grid,
  .reservation-grid,
  .content-block { grid-template-columns: 1fr; gap: 2.5rem; }

  .content-block--reverse .content-text,
  .content-block--reverse .content-media { order: unset; }

  .rooms-cards { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-column: span 2; grid-row: auto; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .amenities-grid--4,
  .amenities-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amenities-grid { gap: 1rem; }
  .amenity { padding: 1.5rem 0.75rem; }
  .amenities-grid--6 .amenity { padding: 1.25rem 0.75rem; }

  .rooms-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }

  .hero-actions { flex-direction: column; align-items: center; }

  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-column: auto; }
}
