/* ===== Variables – nur #E50E4A, #1F6BA3, #54595F ===== */
:root {
  --color-pink: #E50E4A;
  --color-blue: #1F6BA3;
  --color-gray: #54595F;
  --color-bg: #f5f5f5;
  --color-surface: #ffffff;
  --color-text: #54595F;
  --color-text-muted: #54595F;
  --color-accent: #E50E4A;
  --color-accent-hover: #c90c3f;
  --color-primary: #1F6BA3;
  --color-primary-light: #1F6BA3;
  --color-border: rgba(84, 89, 95, 0.2);
  --color-success: #1F6BA3;
  --font-sans: "Roboto", sans-serif;
  --font-display: "Roboto", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 2px 12px rgba(84, 89, 95, 0.1);
  --shadow-hover: 0 8px 24px rgba(84, 89, 95, 0.15);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.3;
  color: var(--color-text);
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.625rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo.logo-img {
  display: block;
  line-height: 0;
}

.logo-image {
  display: block;
  height: 48px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 600px) {
  .logo-image {
    height: 40px;
    max-width: 200px;
  }
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-accent {
  color: var(--color-accent);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-text);
}

/* Hauptmenü mit modernem Untermenü */
.nav-main-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-main-item {
  position: relative;
}

.nav-main-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-text-muted);
  font-size: 18px;
  font-weight: normal;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  transition: color 0.2s;
  white-space: nowrap;
}

/* Spezifischer, damit font-weight: normal .nav a (500) überschreibt */
.nav-main-list .nav-main-link {
  font-weight: normal;
}

.nav-main-link:hover {
  color: var(--color-text);
  font-weight: normal;
}

.nav-main-chevron {
  display: none; /* Pfeil neben Ferienhäuser/Orte etc. ausgeblendet */
  font-size: 0.65em;
  opacity: 0.85;
  transition: transform 0.2s;
}

.nav-main-item--dropdown.is-open .nav-main-chevron {
  transform: rotate(180deg);
}

/* Untermenü-Panel (Desktop: Dropdown wie Referenz – Hover öffnet). Hintergrundfarbe = Hauptmenü-Link bei Hover. */
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-4px);
  margin: 0;
  padding: 0.5rem 0;
  min-width: 220px;
  max-width: 320px;
  background-color: #E50E4A;
  border: none;
  border-radius: 0 8px 8px 8px; /* links oben eckig, Rest abgerundet */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  z-index: 1002;
  max-height: 70vh;
  overflow-y: auto;
  pointer-events: none;
}

.nav-main-item--dropdown.is-open .nav-submenu,
.nav-main-item--dropdown.is-hover .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  margin-top: -1px; /* Überlappung, damit kein weißer Strich zwischen Link und Submenü */
  pointer-events: auto;
}

.nav-main-item--dropdown.is-open .nav-main-chevron,
.nav-main-item--dropdown.is-hover .nav-main-chevron {
  transform: rotate(180deg);
}

/* Hauptmenü-Link bei Hover/Offen: exakt dieselbe Hintergrundfarbe wie .nav-submenu */
.nav-main-item--dropdown.is-hover .nav-main-link,
.nav-main-item--dropdown.is-open .nav-main-link {
  background-color: #E50E4A;
  color: #fff;
  font-weight: normal;
  border-radius: 8px 8px 0 0;
  padding-bottom: 0.5rem; /* überlappt mit Submenü-Anschluss, kein weißer Strich */
}

@media (min-width: 769px) {
  .nav-main-item--dropdown.is-hover .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.nav-submenu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: #fff;
  font-weight: normal;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.15s;
  margin: 0;
  border-radius: 0;
}

.nav-submenu a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: normal;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Profil-Dropdown im Header */
.header-profil-dropdown {
  position: relative;
}
.header-profil-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.header-profil-chevron {
  font-size: 0.7em;
  opacity: 0.8;
  transition: transform 0.2s;
}
.header-profil-dropdown.is-open .header-profil-chevron {
  transform: rotate(180deg);
}
.header-profil-submenu {
  position: absolute;
  top: 100%;
  right: 0;
  margin: 0.25rem 0 0;
  padding: 0.5rem 0;
  min-width: 180px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  list-style: none;
  border: 1px solid var(--color-border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 1002;
}
.header-profil-dropdown:hover .header-profil-submenu,
.header-profil-dropdown.is-open .header-profil-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header-profil-submenu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.header-profil-submenu a:hover {
  background: var(--color-bg);
  color: var(--color-primary);
}

/* Desktop: Hauptmenü in der Mitte */
@media (min-width: 769px) {
  .header-inner {
    position: relative;
  }
  .header-nav-wrap {
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
  }
  .header-nav-wrap .nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .nav-main-link {
    font-size: 15px;
    padding: 0.3rem 0.35rem;
  }
  .nav-main-list {
    gap: 0 0.35rem;
  }
}

@media (min-width: 769px) and (max-width: 950px) {
  .nav-main-link {
    font-size: 13px;
    padding: 0.25rem 0.25rem;
  }
  .nav-main-list {
    gap: 0 0.2rem;
  }
}

/* Burger-Button (nur Mobile) */
.header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--color-text);
  border-radius: var(--radius);
  transition: background 0.2s;
}
.header-burger:hover {
  background: var(--color-bg);
}
.header-burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}
.header-inner.menu-open .header-burger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-inner.menu-open .header-burger-bar:nth-child(2) {
  opacity: 0;
}
.header-inner.menu-open .header-burger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
  }
  .header-inner {
    position: relative;
    flex-wrap: wrap;
    padding: 0.5rem 0.75rem;
  }
  .header-burger {
    display: flex;
    order: 2;
    margin-left: auto;
    z-index: 1002;
    position: relative;
  }
  .header-nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    background: var(--color-surface);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    display: none;
    overflow: auto;
  }
  .header-inner.menu-open .header-nav-wrap {
    display: flex;
  }
  .header-nav-wrap .nav,
  .header-nav-wrap .nav-main-list {
    flex-direction: column;
    gap: 0;
    align-items: center;
    width: 100%;
  }
  .header-nav-wrap .nav a,
  .header-nav-wrap .nav-main-link {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: none;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .header-nav-wrap .nav-main-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .header-nav-wrap .nav-main-item--dropdown .nav-main-link {
    justify-content: center;
  }
  .header-nav-wrap .nav-submenu {
    position: static;
    transform: none;
    margin: 0.5rem 0 0;
    padding: 0.35rem 0 0.75rem;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    max-height: none;
    box-shadow: none;
    border: none;
    border-radius: 8px;
    background-color: #E50E4A;
    opacity: 1;
    visibility: visible;
    display: none;
    pointer-events: auto;
  }
  .header-nav-wrap .nav-main-item--dropdown.is-open .nav-submenu {
    display: block;
  }
  .header-nav-wrap .nav-submenu a {
    padding: 0.65rem 1.5rem;
    font-size: 1.05rem;
    font-weight: normal;
    margin: 0;
    text-align: center;
    color: #fff;
  }
  .header-nav-wrap .nav-submenu a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: normal;
  }
  .header-nav-wrap .header-actions {
    flex-direction: column;
    padding-top: 1rem;
    align-items: center;
  }
  .header-nav-wrap .header-actions .btn {
    justify-content: center;
    min-width: 200px;
  }
  .header-profil-dropdown {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .header-profil-trigger {
    min-width: 200px;
  }
  .header-profil-submenu {
    position: static;
    margin-top: 0.5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    min-width: 200px;
    text-align: center;
  }
  .header-profil-dropdown:hover .header-profil-submenu,
  .header-profil-dropdown.is-open .header-profil-submenu {
    display: block;
  }
  .header-profil-dropdown:not(.is-open) .header-profil-submenu {
    display: none;
  }
  .header-profil-submenu a {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
}

.btn-ghost:hover {
  background: var(--color-bg);
}

.btn-primary {
  background: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow);
}

.btn-search {
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
  overflow: visible;
}

/* Hero-Slideshow Hintergrund */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

@keyframes hero-slide-zoom-out {
  from { transform: scale(1.15); }
  to { transform: scale(1); }
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  transform-origin: center center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  animation: hero-slide-zoom-out 4.5s ease-out forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 107, 163, 0.65) 0%, rgba(31, 107, 163, 0.5) 50%, rgba(84, 89, 95, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(84, 89, 95, 0.4);
}

.hero-sub {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Search Box ===== */
.search-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  max-width: 900px;
  margin: 0 auto;
  color: var(--color-text);
}

.search-field {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.search-field label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.search-field input,
.search-field select {
  padding: 0.6rem 0.75rem;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  min-height: 2.5rem;
  box-sizing: border-box;
}

.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(229, 14, 74, 0.2);
}

.search-field-date-range {
  position: relative;
  min-width: 200px;
  max-width: 200px;
  flex: 0 0 200px;
}

.search-date-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  min-height: 2.5rem;
  height: 2.5rem;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-date-trigger:hover {
  border-color: var(--color-text-muted);
}

.search-date-trigger:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(229, 14, 74, 0.2);
}

.search-date-sep {
  color: var(--color-text-muted);
}

.search-date-backdrop {
  display: none;
}

.search-date-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  z-index: 100;
  min-width: 560px;
}

.search-date-dropdown.is-open {
  display: block;
}

.calendar-dropdown-close {
  display: none;
}

/* Kalender im Dropdown: ausreichend Platz, damit Tageszahlen nicht abgeschnitten werden */
.calendar-new-dropdown {
  max-width: none;
  padding: 1rem;
}

.calendar-new-dropdown .calendar-table {
  width: 100%;
  table-layout: fixed;
}

.calendar-new-dropdown .calendar-table td,
.calendar-new-dropdown .calendar-table th {
  min-width: 2.25rem;
  padding: 0.25rem;
  overflow: visible;
}

.calendar-new-dropdown .calendar-day span {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  font-size: 0.8125rem;
  box-sizing: border-box;
}

.calendar-new-dropdown .calendar-month-head {
  font-size: 0.75rem;
}

.calendar-hint-dropdown {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
}

/* Hero-Suche: Beschriftung in den Boxen */
.search-box-hero .search-field-inline {
  flex-direction: column;
  gap: 0;
}

.search-box-hero .search-field-wrap-date {
  cursor: pointer;
}

.search-box-hero .search-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box-hero .search-field-wrap label {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #54595F;
  text-transform: none;
  letter-spacing: 0;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
  transition: opacity 0.2s;
}

.search-box-hero .search-field-wrap input,
.search-box-hero .search-field-wrap select {
  width: 100%;
}

.search-box-hero .search-field-wrap input[type="date"] {
  padding-left: 5.5rem;
}

.search-box-hero .search-field-wrap input[type="date"] {
  position: relative;
  z-index: 1;
  color: var(--color-text);
  caret-color: var(--color-text);
  cursor: pointer;
  background-color: var(--color-surface);
}

/* Leer: Nur Label "Anreise"/"Abreise" sichtbar – natives Datum-Placeholder ausblenden */
.search-box-hero .search-field-wrap input[type="date"]:not(.has-value)::-webkit-datetime-edit,
.search-box-hero .search-field-wrap input[type="date"]:not(.has-value)::-webkit-datetime-edit-text,
.search-box-hero .search-field-wrap input[type="date"]:not(.has-value)::-webkit-datetime-edit-month-field,
.search-box-hero .search-field-wrap input[type="date"]:not(.has-value)::-webkit-datetime-edit-day-field,
.search-box-hero .search-field-wrap input[type="date"]:not(.has-value)::-webkit-datetime-edit-year-field {
  opacity: 0;
}
.search-box-hero .search-field-wrap input[type="date"]:not(.has-value)::-moz-datetime-edit {
  opacity: 0;
}
.search-box-hero .search-field-wrap input[type="date"].has-value::-webkit-datetime-edit {
  color: var(--color-text);
}

.search-box-hero .search-field-wrap input[type="date"].has-value {
  padding-left: 0.75rem;
}

.search-box-hero .search-field-wrap input[type="date"].has-value ~ label {
  display: none;
}

/* Select: Bis zur Auswahl nur Beschriftung (erste Option = Label) */
.search-box-hero .search-field-wrap select {
  padding-left: 0.75rem;
}

.search-box-hero .search-field-wrap select.has-value {
  color: var(--color-text);
}

.search-box-hero .search-field-wrap select:not(.has-value) {
  color: var(--color-text-muted);
}

/* Hero: Anreise/Abreise mit Kalender-Dropdown (wie Suchseite) */
.hero-date-range-wrap .search-field-wrap {
  min-height: 2.75rem;
}

/* Label ausblenden, damit nur der Trigger-Text sichtbar ist (kein Überlappen) */
.hero-date-range-wrap .search-field-wrap label {
  display: none;
}

.hero-date-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-date-trigger:hover {
  border-color: var(--color-text-muted);
}

.hero-date-sep {
  color: var(--color-text-muted);
}

.hero-date-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  z-index: 9999;
  min-width: 560px;
}

.hero-date-dropdown.is-open {
  display: block;
}


@media (max-width: 768px) {
  .search-box {
    flex-direction: column;
  }
  .search-field {
    min-width: 100%;
  }
  .hero-date-dropdown.is-open {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    margin-top: 0;
    min-width: 0;
    max-height: 85vh;
    overflow: auto;
    z-index: 9999;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    -webkit-overflow-scrolling: touch;
    background: var(--color-surface);
  }
}

/* ===== Sections ===== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  margin: 0;
}

.link-more {
  font-weight: 600;
  color: var(--color-accent);
  transition: color 0.2s;
}

.link-more:hover {
  color: var(--color-accent-hover);
}

/* ===== Homepage Sections ===== */
.hp-container {
  max-width: 1200px;
  margin: 0 auto;
}

.hp-center-cta {
  text-align: center;
  margin-top: 2rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.65rem 1.6rem;
}

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

.btn-outline-sm {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-sm:hover {
  background: var(--color-accent);
  color: #fff;
}

.hp-section-sub {
  color: var(--color-text-muted);
  max-width: 700px;
  margin-bottom: 2rem;
}

/* Intro Section */
.hp-intro {
  text-align: center;
}

.hp-intro h2 {
  font-size: 1.6rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hp-intro p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.hp-service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.hp-service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.hp-service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-service-card span {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
}

/* USP Cards (4-grid) */
.hp-usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.hp-usp-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-usp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.hp-usp-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.hp-usp-card-body {
  padding: 0.8rem 1rem 1.1rem;
}

.hp-usp-card-body h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.hp-usp-card-body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* Features Grid */
.hp-features {
  background: var(--color-bg);
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.hp-features .hp-container {
  padding: 0 1.5rem;
}

.hp-features h2 {
  text-align: center;
}

.hp-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.hp-feature {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hp-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.hp-feature-icon {
  margin-bottom: 1rem;
}

.hp-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.hp-feature p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 1.2rem;
}

/* Split Sections (Image + Text side by side) */
.hp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hp-split-reverse {
  direction: rtl;
}

.hp-split-reverse > * {
  direction: ltr;
}

.hp-split-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hp-split-text h2 {
  margin-top: 0;
}

.hp-split-text p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.hp-split-text .btn {
  margin-top: 0.5rem;
}

.hp-text-block {
  margin-top: 2.5rem;
}

.hp-text-block h3 {
  font-size: 1.25rem;
  margin: 0 0 0.8rem;
}

.hp-text-block p {
  color: var(--color-text-muted);
  line-height: 1.7;
}

.hp-check-list {
  text-align: left;
  max-width: 500px;
  margin: 1rem auto 1.5rem;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.hp-check-list li {
  margin-bottom: 0.3rem;
}

/* Testimonials */
.hp-testimonials {
  background: var(--color-bg);
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.hp-testimonials .hp-container {
  padding: 0 1.5rem;
}

.hp-testimonials h2 {
  text-align: center;
}

.hp-testimonials .hp-section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hp-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hp-testimonial {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.hp-testimonial-stars {
  color: #f5a623;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.hp-testimonial p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0 0 1rem;
  font-style: italic;
}

.hp-testimonial-author {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* Beliebte Regionen */
.hp-regions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.hp-region-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.hp-region-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.hp-region-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
}

.hp-region-card span {
  display: block;
  padding: 0.8rem 1rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-surface);
}

/* Homepage mobile responsive */
@media (max-width: 900px) {
  .hp-service-cards {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .hp-service-card {
    aspect-ratio: 16/7;
  }

  .hp-usp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .hp-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .hp-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hp-split-reverse {
    direction: ltr;
  }

  .hp-split-img {
    order: -1;
  }

  .hp-testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .hp-intro h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .hp-usp-grid {
    grid-template-columns: 1fr;
  }

  .hp-features-grid {
    grid-template-columns: 1fr;
  }

  .hp-regions-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Destinations ===== */
.section-intro {
  margin: -0.5rem 0 1.5rem;
  color: var(--color-text-muted);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.destinations-empty {
  grid-column: 1 / -1;
  color: var(--color-text-muted);
  margin: 0;
}

.destinations-empty a {
  color: var(--color-accent);
  text-decoration: underline;
}

.destination-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.destination-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius) var(--radius) 0 0;
}

.destination-card span {
  display: block;
  padding: 0 1rem;
  background: var(--color-surface);
  font-weight: 600;
  color: var(--color-text);
}

.destination-card span:first-of-type {
  padding-top: 1rem;
  padding-bottom: 0.25rem;
}

.destination-card .destination-count {
  padding-bottom: 1rem;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== Listings / Property Cards ===== */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.listing-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.listing-card a {
  display: block;
}

.listing-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-border);
  overflow: hidden;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-surface);
  border-radius: 6px;
  color: var(--color-text);
}

.listing-heart {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: transform 0.2s;
}

.listing-heart:hover {
  transform: scale(1.1);
}

.listing-heart-form {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  z-index: 10;
}

.listing-heart-active {
  background: #E50E4A;
}

.listing-heart-link {
  position: absolute;
  top: 0.2rem;
  right: 0.2rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border-radius: 50%;
  font-size: 1.25rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s;
}

.listing-heart-link:hover {
  transform: scale(1.1);
}

/* Herz-Button inline (z. B. auf der Ferienhaus-Detailseite) */
.listing-heart-inline,
.favorite-form .listing-heart {
  position: static;
  vertical-align: middle;
}

.listing-body {
  padding: 1rem;
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.listing-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.listing-rating::before {
  content: "★";
  color: #E50E4A;
}

.listing-title {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-details {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.listing-details-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

.listing-detail-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.listing-detail-icon {
  flex-shrink: 0;
  color: var(--color-primary, #1f6ba3);
  opacity: 0.85;
  font-size: 1rem;
  width: 1em;
  text-align: center;
}

.listing-price {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-text);
}

.listing-price span {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.listing-price .listing-price-label {
  display: block;
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.15rem;
}

.listing-price-block {
  display: block;
}

.listing-price-includes {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.listing-price-includes-icon {
  flex-shrink: 0;
  color: #0d7d3d;
}

/* ===== CTA Section ===== */
.cta {
  background: #1F6BA3;
  border-radius: var(--radius-lg);
  margin: 2rem 1.5rem 3rem;
  max-width: calc(1280px - 3rem);
  margin-left: auto;
  margin-right: auto;
}

.cta-content {
  text-align: center;
  padding: 3rem 2rem;
}

.cta h2 {
  margin: 0 0 0.5rem;
  color: white;
  font-size: 1.75rem;
}

.cta p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.cta .btn-primary {
  background: white;
  color: var(--color-success);
}

.cta .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-success);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
}

.footer-logo-image {
  display: block;
  height: 44px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== Search Page ===== */
.page-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem;
}

.page-header-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* ===== Suchseite: Ganze Seite fixed, nur Liste scrollt ===== */
body.search-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

body.search-page .header {
  flex-shrink: 0;
}

.search-page .footer {
  display: none;
}

.search-page-fixed {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.search-page-fixed .search-filters-unified {
  flex-shrink: 0;
}

.search-page-fixed .search-layout {
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

/* ===== Suchseite: Breadcrumb für Ort ===== */
.search-place-breadcrumb {
  flex: 0 0 auto;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search-place-breadcrumb a {
  color: var(--color-primary);
  font-size: 0.9rem;
}

.search-place-breadcrumb a:hover {
  text-decoration: underline;
}

.search-place-current {
  font-weight: 600;
  font-size: 1rem;
}

.search-filters-unified {
  font-family: Roboto, sans-serif;
  font-weight: normal;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 0.35rem 1rem 0.75rem;
}

.search-filters-form {
  width: 100%;
}

.search-filters-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 0.5rem;
}

.search-filters-row .search-field {
  flex: 0 1 auto;
  min-width: 100px;
}

.search-filters-row .search-field-date-range {
  min-width: 200px;
  max-width: 200px;
  flex: 0 0 200px;
}

.search-filters-row .search-field-orientation {
  min-width: 0;
  max-width: 130px;
  flex: 0 1 130px;
}

/* Sortieren-Dropdown in derselben Zeile wie Suchen-Button */
.search-filters-row .search-field-sort {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 95px;
  padding-bottom: 5px;
}

.search-filters-row .search-sort-select {
  padding: 0.35rem 0.5rem 0.35rem 0.65rem;
  font-size: 0.8rem;
  min-height: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--color-border, #e0e0e0);
  border-radius: 999px;
  background: var(--color-surface, #fff);
  color: var(--color-text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 1.5rem;
}

.search-filters-row .search-sort-select:hover {
  border-color: var(--color-text-muted, #999);
}

.search-filters-row .search-sort-select:focus {
  outline: none;
  border-color: var(--color-primary, #1F6BA3);
  box-shadow: 0 0 0 2px rgba(31, 107, 163, 0.15);
}

@media (max-width: 900px) {
  .search-filters-slide-body .search-filters-row .search-field-sort {
    flex: 0 0 auto;
    width: auto;
  }
}

.search-filters-row .search-field label {
  font-size: 0.75rem;
}

.search-filters-row .search-field input,
.search-filters-row .search-field select {
  font-size: 0.875rem;
  min-width: 0;
}

.search-filters-row .btn-search {
  flex-shrink: 0;
  margin-left: 0.25rem;
}

/* Gemeinsamer Container für Kalender-Dropdown (eine Instanz für Desktop + Mobile) */
.search-filters-date-shared {
  position: relative;
  height: 0;
  overflow: visible;
}

/* Mobile: Filter als Slide-Panel; Datumszeile nur mobil */
.search-filters-date-row {
  display: none;
}
.search-filters-mobile-bar {
  display: none;
}
.search-filters-slide-backdrop {
  display: none;
}
.search-filters-slide-header,
.search-filters-slide-footer {
  display: none;
}
.search-filters-slide-wrapper {
  display: block;
}
.search-filters-slide-panel {
  display: block;
}

/* Annehmlichkeits-Filter: Button + Popup */
.search-field-amenity-btn {
  flex: 0 0 auto;
}

.btn-amenity-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-surface);
  font-size: 0.875rem;
  min-height: 2.5rem;
  height: 2.5rem;
  box-sizing: border-box;
}

.btn-amenity-trigger:hover {
  border-color: var(--color-accent);
  background: var(--color-bg);
}

.amenity-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-accent);
  color: white;
  border-radius: 10px;
}

/* Annehmlichkeiten-Popup */
.amenity-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1003;
  background: rgba(84, 89, 95, 0.4);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.amenity-popup-overlay.amenity-popup-open {
  display: flex;
}

.amenity-popup {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(84, 89, 95, 0.25);
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.amenity-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.amenity-popup-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}

.amenity-popup-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.amenity-popup-close:hover {
  background: var(--color-bg);
  color: var(--color-text);
}

.amenity-popup-body {
  padding: 1rem 1.25rem;
  overflow-y: auto;
}

.amenity-popup-group {
  margin-bottom: 1rem;
}

.amenity-popup-group:last-child {
  margin-bottom: 0;
}

.amenity-popup-cat {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.amenity-popup-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.amenity-popup-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  cursor: pointer;
  white-space: nowrap;
}

.amenity-popup-item input {
  margin: 0;
  cursor: pointer;
}

.amenity-popup-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 900px) {
  .search-filters-row {
    gap: 0.6rem;
  }
  .search-filters-row .search-field {
    min-width: 90px;
  }
}

/* ===== Suchseite: Split (Liste scrollbar, Karte fixed) ===== */
.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 45%);
  grid-template-rows: minmax(400px, 1fr);
  gap: 0;
  margin: 0;
  max-width: none;
  min-height: 0;
}

.results-area {
  padding: 1rem 1rem 1rem 1.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  border-right: 1px solid var(--color-border);
  min-height: 0;
  min-width: 0;
  max-height: calc(100vh - 180px);
  -webkit-overflow-scrolling: touch;
}

.search-results-count {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted, #555);
}

.search-results-page-info {
  font-weight: 500;
}

/* Pagination – modern, klar */
.search-pagination {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.search-pagination-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.search-pagination-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.search-pagination-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}

.search-pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.search-pagination-btn:hover {
  background: rgba(31, 107, 163, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(31, 107, 163, 0.15);
}

.search-pagination-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.search-pagination-btn-disabled {
  opacity: 0.45;
  cursor: default;
  color: var(--color-text-muted);
  border-color: var(--color-border);
}

.search-pagination-btn-icon {
  font-size: 1.1em;
  line-height: 1;
}

.search-pagination-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.15s;
}

.search-pagination-page:hover {
  background: rgba(31, 107, 163, 0.1);
  color: var(--color-primary);
  border-color: rgba(31, 107, 163, 0.25);
  transform: translateY(-1px);
}

.search-pagination-page:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.search-pagination-page-current {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  cursor: default;
  box-shadow: 0 2px 8px rgba(31, 107, 163, 0.35);
}

.search-pagination-page-current:hover {
  background: var(--color-primary);
  color: #fff;
  transform: none;
}

@media (max-width: 600px) {
  .search-pagination-inner {
    padding: 1rem 0.75rem;
  }
  .search-pagination-btn-text {
    display: none;
  }
  .search-pagination-page {
    min-width: 2rem;
    height: 2rem;
    font-size: 0.8125rem;
  }
}

.listings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.listing-card-row {
  display: flex;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.listing-card-empty .listing-card-link {
  cursor: default;
}

.listing-card-empty .listing-image-empty {
  background: linear-gradient(135deg, #f6f7f9, #eef1f4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-empty-illustration {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.listing-empty-icon {
  font-size: 2rem;
}

.listing-body-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.listing-empty-text {
  margin: 0.5rem 0 0;
  color: var(--color-text-muted);
  max-width: 460px;
}

.listing-empty-actions {
  margin-top: 0.9rem;
}

.listing-card-row .listing-card-link {
  display: flex;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.listing-card-row .listing-image {
  flex: 0 0 280px;
  width: 280px;
  height: 210px;
  min-height: 0;
  aspect-ratio: auto;
}

.listing-card-row .listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.listing-card-row .listing-body {
  flex: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.listing-details-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

.listing-details-price-row .listing-details-icons {
  margin-bottom: 0;
}

.listing-details-price-row .listing-price-block {
  flex-shrink: 0;
  text-align: right;
}

.listing-card-row .listing-price-block {
  text-align: right;
}

.listing-card-row .listing-price {
  text-align: right;
}

.listing-card-row .listing-price-includes {
  justify-content: flex-end;
}

.search-map-panel {
  position: relative;
  height: 100%;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  align-self: stretch;
}

.search-map {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 300px;
  background: var(--color-bg);
  position: relative; /* Wichtig fuer Leaflet */
}

.search-map-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.search-map-empty-inner {
  max-width: 320px;
}

.search-map-empty-title {
  margin: 0 0 0.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.search-map-empty-text {
  margin: 0 0 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.search-map-panel .search-map-hint {
  margin: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Preis-Marker auf der Karte (Leaflet DivIcon) */
.leaflet-price-marker-wrap {
  background: none !important;
  border: none !important;
}

/* Hover in Liste: zugehöriger Pin liegt über allen anderen */
.leaflet-marker-in-front {
  z-index: 9999 !important;
}

.leaflet-price-marker {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: #1F6BA3;
  color: #ffffff !important;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(84, 89, 95, 0.25);
  cursor: pointer;
  text-decoration: none;
  border: 2px solid #fff;
}

/* Kleine Spitze unten */
.leaflet-price-marker::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #1F6BA3;
}

.leaflet-price-marker:hover {
  background: var(--color-accent);
  color: #ffffff !important;
  z-index: 1000;
}

.leaflet-price-marker:hover::after {
  border-top-color: var(--color-accent);
}

/* Hover von Suchergebnis-Liste: Pin auf der Karte pink hervorheben */
.leaflet-price-marker.leaflet-price-marker-highlight {
  background: var(--color-accent) !important;
  color: #ffffff !important;
  z-index: 1000;
}
.leaflet-price-marker.leaflet-price-marker-highlight::after {
  border-top-color: var(--color-accent);
}

@media (max-width: 900px) {
  .search-layout {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .results-area {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .search-map-panel {
    position: relative;
    height: 400px;
    min-height: 400px;
  }
  .listing-card-row .listing-image {
    flex: 0 0 160px;
    width: 160px;
    height: 120px;
    min-height: 0;
  }
}

/* Mobile: Suchergebnis-Liste optimiert (vertikale Karten, kompakter) */
@media (max-width: 600px) {
  .search-page-fixed {
    flex: 1;
    min-height: 0;
  }
  .search-filters-unified {
    padding: 0.35rem 0.75rem 0.5rem;
  }
  /* Datumszeile nur auf Mobil: oberhalb der Filter-Bar, nicht im Slide */
  .search-filters-date-row {
    display: block;
    padding: 0.5rem 0 0.25rem;
    border-bottom: 1px solid var(--color-border);
  }
  .search-filters-date-row .search-field-date-mobile {
    width: 100%;
    max-width: 100%;
  }
  .search-filters-date-row .search-date-trigger {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 0.9375rem;
    text-align: left;
  }
  .search-filters-slide-body .search-field-date-desktop {
    display: none;
  }
  /* Backdrop für Kalender-Dropdown auf Mobile */
  .search-date-backdrop.is-visible {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.4);
    -webkit-tap-highlight-color: transparent;
  }
  /* Kalender-Dropdown auf Mobil fixiert, damit es sichtbar ist (liegt außerhalb Slide) */
  .search-filters-date-shared .search-date-dropdown.is-open {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: none;
    margin-top: 0;
    min-width: 0;
    max-height: 85vh;
    overflow: auto;
    z-index: 1002;
    box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    -webkit-overflow-scrolling: touch;
  }
  /* Schließen-Button auf Mobile sichtbar */
  .calendar-dropdown-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: auto;
    padding: 0;
    border: none;
    background: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
  }
  .calendar-dropdown-close:hover {
    background: var(--color-bg);
    color: var(--color-text);
  }
  /* Touch-optimierte Tageszellen im Dropdown */
  .calendar-new-dropdown .calendar-table td,
  .calendar-new-dropdown .calendar-table th {
    min-width: 0;
    padding: 0.15rem;
  }
  .calendar-new-dropdown .calendar-day span {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    font-size: 0.875rem;
  }
  .calendar-new-dropdown {
    padding: 1rem 0.75rem;
  }
  .calendar-new-dropdown .calendar-new-nav {
    margin-bottom: 1rem;
  }
  /* Mobile: Filter-Bar sichtbar, Desktop-Zeile versteckt in Slide */
  .search-filters-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.25rem 0;
  }
  .search-filters-mobile-bar .btn-filter-open {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }
  .search-filters-mobile-bar .btn-filter-open:hover {
    border-color: var(--color-accent);
    background: var(--color-surface);
  }
  .search-filters-mobile-bar .btn-filter-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
  }
  .search-filters-mobile-bar .btn-search-mobile {
    flex-shrink: 0;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
  }
  /* Slide-Panel: von rechts einschieben */
  .search-filters-slide-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .search-filters-slide-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
  .search-filters-slide-wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 92vw);
    max-width: 360px;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
  }
  .search-filters-slide-wrapper.is-open {
    transform: translateX(0);
  }
  .search-filters-slide-panel {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  }
  .search-filters-slide-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
  }
  .search-filters-slide-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
  }
  .search-filters-slide-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--color-text-muted);
    cursor: pointer;
    border-radius: var(--radius);
    -webkit-tap-highlight-color: transparent;
  }
  .search-filters-slide-close:hover {
    background: var(--color-bg);
    color: var(--color-text);
  }
  .search-filters-slide-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    -webkit-overflow-scrolling: touch;
  }
  .search-filters-slide-body .search-filters-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .search-filters-slide-body .search-filters-row .search-field,
  .search-filters-slide-body .search-filters-row .search-field-date-range {
    min-width: 0;
    flex: 1 1 auto;
    width: 100%;
  }
  .search-filters-slide-body .search-filters-row .search-filters-row-reset,
  .search-filters-slide-body .search-filters-row .btn-search {
    display: none;
  }
  .search-filters-slide-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-surface);
  }
  .search-filters-row {
    gap: 0.5rem 0.6rem;
  }
  .search-filters-row .search-field {
    min-width: 0;
  }
  .search-filters-row .search-field-date-range {
    min-width: 0;
    flex: 1 1 100%;
  }
  .results-area {
    padding: 0.75rem;
    -webkit-overflow-scrolling: touch;
  }
  .listings-list {
    gap: 0.75rem;
  }
  /* Karte vertikal: Bild oben volle Breite, Text darunter */
  .listing-card-row .listing-card-link {
    flex-direction: column;
    align-items: stretch;
  }
  .listing-card-row .listing-image {
    flex: none;
    width: 100%;
    height: 0;
    padding-bottom: 62.5%; /* 16:10 */
    min-height: 0;
    position: relative;
  }
  .listing-card-row .listing-image .listing-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .listing-card-row .listing-image .listing-carousel-inner,
  .listing-card-row .listing-image .listing-carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .listing-card-row .listing-image .listing-carousel-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .listing-card-row .listing-image .listing-heart-form,
  .listing-card-row .listing-image .listing-heart-link {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 3;
  }
  .listing-card-row .listing-body {
    padding: 0.75rem 1rem;
    flex: none;
  }
  .listing-card-row .listing-title {
    font-size: 15px;
    margin-bottom: 0.35rem;
    -webkit-line-clamp: 2;
  }
  .listing-card-row .listing-meta {
    font-size: 0.8125rem;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.4rem;
  }
  /* Icons und Preis auf Mobil: untereinander wenn nötig, mehr Abstand */
  .listing-card-row .listing-details-price-row {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 0.35rem;
  }
  .listing-card-row .listing-details-price-row .listing-details-icons {
    flex: 1 1 auto;
    min-width: 0;
  }
  .listing-card-row .listing-details-price-row .listing-price-block {
    flex: 0 0 auto;
    width: 100%;
    text-align: left;
    margin-top: 0.25rem;
    padding-top: 0.35rem;
    border-top: 1px solid var(--color-border);
  }
  .listing-card-row .listing-price {
    font-size: 1rem;
    text-align: left;
  }
  .listing-card-row .listing-price-includes {
    justify-content: flex-start;
    font-size: 0.75rem;
  }
  /* Herz-Button für Favoriten: gut tappbar */
  .listing-card-row .listing-heart,
  .listing-card-row .listing-heart-link {
    min-width: 44px;
    min-height: 44px;
  }
}

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

.filter-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.9375rem;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.results-count {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* ===== Property Detail Page ===== */
.detail-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* ===== Galerie VRBO-Style: Hauptbild + 2x2-Thumb-Grid ===== */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2px;
  width: 100%;
  max-width: 100%;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-bg);
  position: relative;
  z-index: 0;
}

.property-gallery-main {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--color-bg);
}

.property-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.property-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  position: relative;
  box-sizing: border-box;
}

.property-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

.property-gallery-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 6px 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.property-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}

.property-gallery-btn:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%) scale(1.05);
}

.property-gallery-btn:active {
  transform: translateY(-50%) scale(0.98);
}

.property-gallery-prev {
  left: 12px;
}

.property-gallery-next {
  right: 12px;
}

.property-gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 8px;
  z-index: 10;
}

.property-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 2px;
  min-height: 0;
}

.property-gallery-thumb {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
  min-height: 0;
}

.property-gallery-thumb:hover {
  opacity: 0.92;
}

.property-gallery-thumb.active {
  border-color: transparent;
  box-shadow: inset 0 0 0 0.5px var(--color-accent);
}

.property-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.property-gallery-more {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  border: 2px dashed var(--color-border);
  border-radius: 8px;
  background: transparent;
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.property-gallery-more-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  opacity: 0.85;
}

.property-gallery-more-icon svg {
  width: 22px;
  height: 22px;
}

.property-gallery-more:hover {
  background: var(--color-bg);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.property-gallery-more-count {
  font-size: 1.25rem;
  font-weight: 600;
}

.property-gallery-more-label {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* Einzelbild: nur Hauptbereich, volle Breite */
.property-gallery-single {
  grid-template-columns: 1fr;
}

@media (max-width: 768px) {
  .property-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 260px auto;
    height: auto;
    min-height: 320px;
  }

  .property-gallery-main {
    min-height: 260px;
  }

  .property-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    padding: 2px;
    min-height: 120px;
  }

  .property-gallery-thumb {
    aspect-ratio: 4/3;
    min-height: 0;
  }

  .property-gallery-more {
    min-height: 0;
    padding: 8px;
  }

  .property-gallery-more-count {
    font-size: 1rem;
  }
}

/* ===== Galerie-Lightbox (VRBO-Style: Fotogalerie mit Zurück-Button) ===== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.gallery-lightbox-content {
  position: relative;
  width: 100%;
  max-width: 1280px;
  max-height: 92vh;
  margin: 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gallery-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  flex-shrink: 0;
  background: #fff;
}

.gallery-lightbox-back {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.gallery-lightbox-back:hover {
  background: #f3f4f6;
}

.gallery-lightbox-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  flex: 1;
}

.gallery-lightbox-return {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.gallery-lightbox-return:hover {
  background: var(--color-accent-hover);
}

.gallery-lightbox-scroll {
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 575px);
  grid-auto-rows: minmax(325px, auto);
  gap: 1.5rem 1.5rem;
  align-content: start;
  justify-content: center;
}

.gallery-lightbox-item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  min-height: 0;
}

.gallery-lightbox-item img {
  width: 575px;
  height: 325px;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

.gallery-lightbox-caption {
  margin: 0;
  padding: 0.5rem 0.25rem 0;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.4;
}

@media (max-width: 1200px) {
  .gallery-lightbox-scroll {
    grid-template-columns: repeat(2, 1fr);
    justify-content: stretch;
  }
  .gallery-lightbox-item img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 575/325;
    object-fit: cover;
  }
}

@media (max-width: 600px) {
  .gallery-lightbox-content {
    max-height: 90vh;
    margin: 0.5rem;
  }
  .gallery-lightbox-header {
    flex-wrap: wrap;
  }
  .gallery-lightbox-return {
    order: 3;
    width: 100%;
  }
  .gallery-lightbox-scroll {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, auto);
    justify-content: stretch;
    gap: 1rem;
    padding: 1rem;
  }
  .gallery-lightbox-item img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 575/325;
    object-fit: cover;
  }
}

/* Vollbild-Lightbox im Fotogalerie-Popup */
.gallery-fullsize {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gallery-fullsize.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-fullsize-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.gallery-fullsize-content {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-fullsize-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.gallery-fullsize-close:hover {
  background: #fff;
}

.gallery-fullsize-img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.gallery-fullsize-prev,
.gallery-fullsize-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.gallery-fullsize-prev:hover,
.gallery-fullsize-next:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}

.gallery-fullsize-prev {
  left: 0.5rem;
}

.gallery-fullsize-next {
  right: 0.5rem;
}

.gallery-fullsize-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 0.875rem;
  border-radius: 8px;
}

.gallery-fullsize-caption {
  position: absolute;
  bottom: 3rem;
  left: 0.5rem;
  right: 0.5rem;
  margin: 0;
  padding: 0.25rem 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  line-height: 1.4;
  max-height: 3.5em;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .gallery-fullsize-prev {
    left: 0.25rem;
  }
  .gallery-fullsize-next {
    right: 0.25rem;
  }
  .gallery-fullsize-close {
    top: 0.5rem;
    right: 0.5rem;
  }
}

.detail-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
}

@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
    padding-bottom: 80px;
  }
  /* Anchor-Nav: einzeilige scrollbare Leiste auf Mobile */
  .detail-anchor-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .detail-anchor-nav::-webkit-scrollbar {
    display: none;
  }
  .detail-anchor-nav a {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.3rem 0.6rem;
  }
  .detail-anchor-nav a.is-active {
    color: var(--color-primary);
    background: rgba(13, 148, 136, 0.08);
    font-weight: 600;
  }
  .detail-anchor-nav.is-fixed {
    left: 0 !important;
    width: 100% !important;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  #detail-beschreibung,
  #detail-ausstattung,
  #detail-standort,
  #detail-bewertungen,
  #detail-verfuegbarkeit {
    scroll-margin-top: 6rem;
  }
  /* Bar immer sichtbar: Gesamtpreis + Jetzt buchen */
  .booking-widget-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 101;
    padding: 0.5rem 1rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0));
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
  }
  .booking-widget-bar-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--color-text);
    -webkit-tap-highlight-color: transparent;
  }
  .booking-widget-bar-total {
    font-weight: 700;
    font-size: 1.125rem;
    white-space: nowrap;
  }
  .booking-widget-bar-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .booking-widget-bar-chevron {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    flex-shrink: 0;
    transform: rotate(90deg);
  }
  .booking-widget-bar-btn {
    flex-shrink: 0;
    margin-left: auto;
    width: 39%;
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
  }
  .booking-widget-flyout-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .booking-widget.is-flyout-open .booking-widget-flyout-backdrop {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  .booking-widget-flyout {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    background: var(--color-surface);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    transition: max-height 0.3s ease;
  }
  .booking-widget.is-flyout-open .booking-widget-flyout {
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .booking-widget-flyout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    background: var(--color-surface);
    z-index: 1;
  }
  .booking-widget-flyout-title {
    font-weight: 600;
    font-size: 1rem;
  }
  .booking-widget-flyout-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--color-text-muted);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .booking-widget-flyout-body {
    padding: 1rem 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0) + 70px);
  }
  .booking-widget-flyout-submit {
    display: none;
  }
}

/* Desktop: Bar und Flyout-UI ausblenden, Widget wie gewohnt */
@media (min-width: 901px) {
  .booking-widget-bar,
  .booking-widget-flyout-backdrop,
  .booking-widget-flyout-header {
    display: none !important;
  }
  .booking-widget-flyout-body {
    padding: 0;
    padding-bottom: 0;
  }
  .booking-widget-flyout {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .booking-widget-flyout-submit {
    display: block;
  }
}

/* Mobile: Bar nur unter 900px anzeigen */
@media (min-width: 901px) {
  .booking-widget-bar {
    display: none !important;
  }
}

.booking-widget-contact-wrap {
  margin: 0.75rem 0 0;
  text-align: center;
}

.booking-widget-contact-btn {
  width: 100%;
  font-size: 0.9375rem;
}

/* Kontakt-Popup (Booking-Widget) – modern */
.contact-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(84, 89, 95, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.contact-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.contact-popup-overlay.is-open .contact-popup {
  transform: scale(1);
  opacity: 1;
}

.contact-popup {
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-surface, #fff);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

.contact-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.contact-popup-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.contact-popup-close {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: var(--color-bg);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.contact-popup-close:hover {
  color: var(--color-text);
  background: rgba(84, 89, 95, 0.12);
}

.contact-popup-close:active {
  transform: scale(0.96);
}

.contact-popup-form {
  padding: 1.5rem;
}

.contact-popup-field {
  margin-bottom: 1.125rem;
}

.contact-popup-field:last-of-type {
  margin-bottom: 0;
}

.contact-popup-field label,
.contact-popup-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.contact-popup-field .input,
.contact-popup-field .flatpickr-alt-input,
.contact-popup-field input.flatpickr-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-sizing: border-box;
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-popup-field .input::placeholder,
.contact-popup-field .flatpickr-alt-input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.8;
}

.contact-popup-field .input:focus,
.contact-popup-field .flatpickr-alt-input:focus,
.contact-popup-field input.flatpickr-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31, 107, 163, 0.15);
}

.contact-popup-field textarea.input {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}

.contact-popup-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.875rem;
}

.contact-popup-recaptcha {
  margin-top: 0.5rem;
}

.contact-popup-error {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-accent);
  line-height: 1.4;
}

.contact-popup-success-wrap {
  padding: 2rem 1.5rem;
  text-align: center;
}

.contact-popup-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 107, 163, 0.12);
  color: var(--color-success);
  border-radius: 50%;
  font-size: 1.75rem;
}

.contact-popup-success {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
}

.contact-popup-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.contact-popup-actions .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  transition: transform 0.15s ease;
}

.contact-popup-actions .btn:active {
  transform: scale(0.98);
}

@media (max-width: 480px) {
  .contact-popup-row {
    grid-template-columns: 1fr;
  }

  .contact-popup-header {
    padding: 1.25rem 1.25rem 1rem;
  }

  .contact-popup-form {
    padding: 1.25rem;
  }

  .contact-popup-success-wrap {
    padding: 1.75rem 1.25rem;
  }
}

.detail-main h1 {
  margin: 0 0 0.5rem;
  font-family: Roboto, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
}

.detail-location {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text);
}

/* Anchor-Menü unter der Galerie, nur im detail-main; wird fixed unter Header beim Scrollen */
.detail-anchor-nav-wrapper {
  /* min-height wird per JS gesetzt, wenn Nav fixed ist */
}

.detail-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-hover);
  font-size: 0.9375rem;
}

.detail-anchor-nav.is-fixed {
  position: fixed;
  top: 66px;
  /* left + width werden per JS an detail-main angepasst */
  z-index: 999;
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-hover);
}

.detail-anchor-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.detail-anchor-nav a:hover {
  color: var(--color-primary);
  background: var(--color-bg);
}

.detail-anchor-nav a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Scroll-Abstand wenn Nav fixed ist */
#detail-beschreibung,
#detail-ausstattung,
#detail-standort,
#detail-bewertungen,
#detail-verfuegbarkeit {
  scroll-margin-top: 8.5rem;
}


.detail-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  font-family: Roboto, sans-serif;
}

.detail-description h2 {
  font-size: 20px;
  font-family: Roboto, sans-serif;
  margin: 1.25em 0 0.5em;
  font-weight: 600;
}

.detail-description h3,
.detail-description h4 {
  font-family: Roboto, sans-serif;
}

.detail-description p {
  margin: 0 0 1rem;
}

/* Ausstattung / Annehmlichkeiten */
.detail-amenities {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.detail-amenities-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

.amenities-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.amenity-group {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
}

.amenity-category {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
}

.amenity-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem 1rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
}

.amenity-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.amenity-list li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 600;
  flex-shrink: 0;
}

/* Bewertungen */
.detail-reviews {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.review-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
}

.review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.review-rating {
  font-weight: 600;
  color: var(--color-primary);
}

.review-guest {
  font-weight: 600;
  color: var(--color-text);
}

.review-date {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.review-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
}

.review-comment {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
}

/* ===== Standort / Karte ===== */
.detail-map-section {
  position: relative;
  z-index: 1;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.property-map {
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin-bottom: 0.75rem;
  background: var(--color-bg);
}

/* Eigenes Pin-Icon auf der Ferienhaus-Karte (SVG) */
.property-map-pin-icon {
  background: none !important;
  border: none !important;
}

/* Leaflet-Zoom (+/-) und Steuerelemente unter Header & Anker-Nav */
.detail-map-section .leaflet-control-container,
.detail-map-section .leaflet-control-zoom {
  z-index: 400 !important;
}

.detail-address {
  font-size: 1rem;
  color: var(--color-text);
  margin: 0 0 0.5rem;
  line-height: 1.5;
}

.map-link-hint {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

.map-link-hint a {
  color: var(--color-accent);
  text-decoration: underline;
}

.map-link-hint a:hover {
  color: var(--color-accent-hover);
}

/* ===== Kalender (Verfügbarkeit) – Neu ===== */
.detail-calendar {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.detail-calendar .detail-amenities-title {
  margin-bottom: 0.5rem;
}

.calendar-hint {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
}

/* Neuer Kalender-Container */
.calendar-new {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  max-width: 560px;
}

.calendar-new-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.calendar-new-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.calendar-new-btn:hover {
  background: var(--color-bg);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.calendar-new-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  font-family: var(--font-display);
}

.calendar-new-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}

.calendar-new-grid .calendar-month {
  min-width: 0;
}

.calendar-new .calendar-month-head {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.calendar-new-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.calendar-new-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.calendar-new-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.calendar-new-dot-today {
  background: transparent;
  box-shadow: 0 0 0 2px var(--color-accent);
}

.calendar-new-dot-blocked {
  background: rgba(84, 89, 95, 0.2);
  background-image: linear-gradient(135deg, transparent 45%, var(--color-text-muted) 45%, var(--color-text-muted) 55%, transparent 55%);
}

.calendar-new-dot-selected {
  background: var(--color-accent);
}

/* Ähnliche Ferienhäuser */
.similar-properties {
  margin-top: 2rem;
}
.similar-properties-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 1rem;
}
.similar-properties-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.similar-property-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s, transform 0.2s;
}
.similar-property-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.similar-property-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f3f4f6;
}
.similar-property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.similar-property-body {
  padding: 0.75rem;
}
.similar-property-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}
.similar-property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
@media (max-width: 900px) {
  .similar-properties-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .similar-property-title {
    font-size: 0.8rem;
  }
  .similar-property-meta {
    font-size: 0.75rem;
    gap: 0.35rem;
  }
  .similar-property-body {
    padding: 0.5rem 0.6rem;
  }
}
@media (max-width: 480px) {
  .similar-properties-grid {
    grid-template-columns: 1fr;
  }
}

/* Kalender-Tabellen im neuen Design */
.calendar-new .calendar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  table-layout: fixed;
}

.calendar-new .calendar-table th {
  text-align: center;
  font-weight: 600;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding: 0.4rem 0 0.5rem;
}

.calendar-new .calendar-table td {
  text-align: center;
  padding: 0.2rem;
  vertical-align: middle;
}

.calendar-new .calendar-day {
  cursor: pointer;
}

.calendar-new .calendar-day span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-weight: 500;
  font-size: 0.875rem;
  transition: background 0.2s, color 0.2s;
}

/* Verfuegbare Tage gruen */
.calendar-new .calendar-day:not(.calendar-past):not(.calendar-blocked):not(.calendar-turnover):not(.calendar-checkin):not(.calendar-checkout):not(.calendar-inrange) span {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #2e7d32;
}

.calendar-new .calendar-day:hover:not(.calendar-past):not(.calendar-blocked) span {
  background: var(--color-bg);
}

.calendar-new .calendar-day:active:not(.calendar-past):not(.calendar-blocked) span {
  transform: scale(0.95);
}

.calendar-new .calendar-today:not(.calendar-checkin):not(.calendar-checkout) span {
  box-shadow: 0 0 0 2px var(--color-accent);
  font-weight: 600;
  color: var(--color-accent);
}

.calendar-new .calendar-past span {
  color: rgba(84, 89, 95, 0.4);
}

.calendar-new .calendar-past {
  cursor: default;
}

.calendar-new .calendar-blocked span {
  color: var(--color-text-muted);
  text-decoration: line-through;
  background: rgba(84, 89, 95, 0.08) !important;
  opacity: 0.8;
}

.calendar-new .calendar-blocked {
  cursor: not-allowed;
}

/* Turn-Over Tage (Wechseltage) */
.calendar-new .calendar-turnover span {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%) !important;
  color: #e65100;
}

.calendar-new .calendar-turnover .calendar-day-price {
  color: #e65100;
}

.calendar-new .calendar-day-turnover-hint {
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 9px;
  font-weight: bold;
  color: #e65100;
}

.calendar-new-dot-turnover {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border: 1px solid #ffb74d;
}

.calendar-new-dot-available {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 1px solid #81c784;
}

.calendar-new .calendar-inrange span {
  background: rgba(229, 14, 74, 0.12) !important;
  color: var(--color-accent);
  border-radius: 0;
}

.calendar-new .calendar-checkin span,
.calendar-new .calendar-checkout span {
  background: var(--color-accent) !important;
  color: #fff !important;
  font-weight: 600;
}

.calendar-new .calendar-checkin span {
  border-radius: 50% 0 0 50%;
}

.calendar-new .calendar-checkout span {
  border-radius: 0 50% 50% 0;
}

.calendar-new .calendar-empty {
  border: none;
  background: transparent;
  cursor: default;
}

.calendar-new .calendar-empty span {
  display: none;
}

@media (max-width: 600px) {
  .calendar-new-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .calendar-new {
    padding: 1rem 0.75rem;
    max-width: 100%;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
  .calendar-new .calendar-day span {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.9375rem;
  }
  .calendar-new .calendar-table td {
    padding: 0.15rem;
  }
  .calendar-new .calendar-table th {
    font-size: 0.7rem;
    padding: 0.3rem 0 0.4rem;
  }
  .calendar-new-nav {
    margin-bottom: 1rem;
  }
  .calendar-new-btn {
    width: 44px;
    height: 44px;
  }
  .calendar-new-legend {
    gap: 0.75rem 1rem;
    font-size: 0.75rem;
  }
}

/* ===== VRBO-Style Mobile Fullscreen Calendar ===== */
.mcal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: flex;
  flex-direction: column;
  background: var(--color-surface, #fff);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}
.mcal-overlay.is-open {
  transform: translateY(0);
  visibility: visible;
}

.mcal-header {
  flex-shrink: 0;
  padding: 0.75rem 1rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface, #fff);
}

.mcal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 0;
  margin: -0.25rem 0 0.25rem -0.5rem;
  -webkit-tap-highlight-color: transparent;
}

.mcal-dates {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mcal-date-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--color-border);
  border-radius: 10px;
  background: none;
  cursor: pointer;
  font: inherit;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s;
}
.mcal-date-tab-active {
  border-color: var(--color-accent, #e50e4a);
}

.mcal-date-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.mcal-date-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: 1px;
}
.mcal-date-tab:not(.mcal-date-tab-active) .mcal-date-value {
  color: var(--color-text-muted);
}
.mcal-date-value.has-date {
  color: var(--color-text);
}

.mcal-date-arrow {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.mcal-weekdays {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  padding: 0.625rem 0.75rem 0.375rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface, #fff);
  position: sticky;
  top: 0;
  z-index: 1;
}

.mcal-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0 0.75rem 1rem;
}

.mcal-month {
  padding-top: 1.25rem;
}

.mcal-month-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  padding-left: 0.25rem;
}

.mcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px 0;
}

.mcal-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
  min-height: 44px;
}
.mcal-cell:active:not(.mcal-past):not(.mcal-blocked) {
  transform: scale(0.92);
}

.mcal-empty {
  cursor: default;
}

.mcal-cell.mcal-available {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #2e7d32;
}

.mcal-cell.mcal-turnover {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  color: #e65100;
}

.mcal-cell.mcal-blocked {
  color: var(--color-text-muted);
  text-decoration: line-through;
  background: rgba(84, 89, 95, 0.08);
  opacity: 0.7;
  cursor: not-allowed;
}

.mcal-cell.mcal-past {
  color: rgba(84, 89, 95, 0.35);
  cursor: default;
}

.mcal-cell.mcal-today:not(.mcal-selected-start):not(.mcal-selected-end) {
  box-shadow: inset 0 0 0 2px var(--color-accent, #e50e4a);
  font-weight: 700;
}

.mcal-cell.mcal-selected-start,
.mcal-cell.mcal-selected-end {
  background: var(--color-accent, #e50e4a) !important;
  color: #fff !important;
  font-weight: 700;
  z-index: 1;
}
.mcal-cell.mcal-selected-start {
  border-radius: 50% 0 0 50%;
}
.mcal-cell.mcal-selected-end {
  border-radius: 0 50% 50% 0;
}
.mcal-cell.mcal-selected-start.mcal-selected-end {
  border-radius: 50%;
}

.mcal-cell.mcal-inrange {
  background: rgba(229, 14, 74, 0.1) !important;
  color: var(--color-accent, #e50e4a);
  border-radius: 0;
}

.mcal-footer {
  flex-shrink: 0;
  padding: 0.625rem 1rem;
  padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0));
  border-top: 1px solid var(--color-border);
  background: var(--color-surface, #fff);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mcal-legend {
  display: flex;
  gap: 0.75rem;
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  flex: 1;
  flex-wrap: wrap;
}

.mcal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.mcal-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mcal-dot-available {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border: 1px solid #81c784;
}
.mcal-dot-turnover {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  border: 1px solid #ffb74d;
}
.mcal-dot-blocked {
  background: rgba(84, 89, 95, 0.15);
  border: 1px solid #bbb;
}

.mcal-apply {
  flex-shrink: 0;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

@media (min-width: 901px) {
  .mcal-overlay {
    display: none !important;
  }
}

/* Booking widget */
.booking-widget {
  position: sticky;
  top: 80px;
  height: fit-content;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--color-border);
}

.booking-widget .price {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.booking-widget .price-note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.booking-widget .booking-field {
  margin-bottom: 1rem;
}

.booking-widget .booking-field-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.booking-widget .booking-field-wrap input,
.booking-widget .booking-field-wrap select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.9375rem;
}

/* Datum: Label oben, Eingabefeld sichtbar – Kalender öffnet zuverlässig */
.booking-widget .booking-field-wrap label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.booking-widget .booking-date-wrap {
  position: relative;
  cursor: pointer;
}

.booking-widget .booking-date-wrap.is-invalid .booking-date-input-area,
.booking-widget .booking-date-wrap.is-invalid .booking-date-display {
  outline: 2px solid #b94a48;
  outline-offset: 0;
  border-radius: 8px;
}
.booking-widget .booking-date-wrap.is-invalid .booking-date-display {
  border-color: #b94a48;
}

.booking-widget .booking-date-input-area {
  position: relative;
  min-height: 2.5rem;
}

.booking-widget .booking-date-wrap .booking-date-display {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 2.5rem 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2354595F' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.booking-widget .booking-date-wrap input[type="date"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  color: transparent;
  z-index: 1;
}

.booking-widget .booking-date-wrap .booking-date-display {
  z-index: 2;
}

.booking-widget .booking-date-wrap input[type="date"]::-webkit-datetime-edit,
.booking-widget .booking-date-wrap input[type="date"]::-webkit-datetime-edit-text,
.booking-widget .booking-date-wrap input[type="date"]::-webkit-datetime-edit-month-field,
.booking-widget .booking-date-wrap input[type="date"]::-webkit-datetime-edit-day-field,
.booking-widget .booking-date-wrap input[type="date"]::-webkit-datetime-edit-year-field {
  opacity: 0;
}

.booking-widget .booking-date-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
}

.booking-widget .booking-date-wrap input[type="date"]::-moz-datetime-edit {
  opacity: 0;
}

.booking-widget .booking-field-wrap input[type="date"] {
  width: 100%;
  cursor: pointer;
}

/* Flatpickr Input Styling */
.booking-widget .booking-date-wrap input[type="text"] {
  position: relative;
  width: 100%;
  padding: 0.75rem;
  padding-right: 2.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: #fff;
  cursor: pointer;
}

.booking-widget .booking-date-wrap input[type="text"]:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(229, 14, 74, 0.1);
}

.booking-widget .booking-date-wrap input[type="text"]::placeholder {
  color: var(--color-text-muted);
}

/* Flatpickr Alt-Input (das sichtbare Input) */
.booking-widget .booking-date-wrap input.flatpickr-alt-input,
.booking-widget .booking-date-wrap input.flatpickr-input[readonly] {
  background: #fff !important;
  cursor: pointer !important;
}

/* Kalender-Icon fuer Datums-Felder */
.booking-widget .booking-date-input-area {
  position: relative;
}

.booking-widget .booking-date-input-area::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2354595F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  opacity: 0.6;
}

.booking-widget .booking-field-wrap select {
  padding-left: 0.75rem;
}

.booking-widget .booking-field-wrap select.has-value {
  color: var(--color-text);
}

.booking-widget .booking-field-wrap select:not(.has-value) {
  color: var(--color-text-muted);
}

.booking-widget .btn-primary:not(.booking-widget-bar-btn) {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.booking-widget .summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--color-border);
}

.booking-widget .summary-row.total {
  font-weight: 700;
  font-size: 1.125rem;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
}

/* Buchungsstatus als Badge */
.booking-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}
.booking-status-badge--in_progress {
  background: rgba(31, 107, 163, 0.15);
  color: var(--color-primary);
}
.booking-status-badge--confirmed {
  background: rgba(34, 197, 94, 0.18);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.4);
}
.booking-status-badge--cancelled {
  background: rgba(185, 28, 28, 0.15);
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.35);
}

.booking-badge-paid {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(34, 197, 94, 0.18);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.booking-badge-outstanding {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(234, 88, 12, 0.15);
  color: #c2410c;
  border: 1px solid rgba(234, 88, 12, 0.4);
}

/* Mietvertrag-Badge: Ausstehend = rot, Unterzeichnet = grün */
.rental-contract-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}
.rental-contract-badge--pending {
  background: rgba(185, 28, 28, 0.15);
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.35);
}
.rental-contract-badge--signed {
  background: rgba(34, 197, 94, 0.18);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

/* ===== Blog/Seiten ===== */
.page-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.page-article {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem 2.5rem;
}

.page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.page-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-text);
}

.page-date {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Ort-Seite: CKEditor-Text unter der Ferienhaus-Liste */
.search-place-content {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

/* Beitragsbild */
.page-featured-image {
  margin: 0 0 1.5rem;
}
.page-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.page-article > .mw-hero-slides {
  margin: -2rem -2.5rem 1.5rem;
  width: calc(100% + 5rem);
  max-width: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: none;
}

.page-article > .mw-slideshow {
  margin: -2rem -2.5rem 1.5rem;
  width: calc(100% + 5rem);
  max-width: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: none;
}

/* Bildergalerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  line-height: 0;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  user-select: none;
}
.lightbox-nav.prev { left: 1rem; }
.lightbox-nav.next { right: 1rem; }
.lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.875rem;
}

/* Kategorie-Seiten-Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.category-card {
  display: block;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg, 0 4px 16px rgba(0,0,0,0.12));
}
.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.category-card-placeholder {
  width: 100%;
  height: 200px;
  background: var(--color-bg);
}
.category-card h2 {
  margin: 0;
  padding: 1rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.4;
}

/* Florida category modern layout */
.page-content--florida-category {
  max-width: 1180px;
}

.page-article--florida-category {
  background: linear-gradient(180deg, #f6fcff 0%, #ffffff 20%);
}

.page-article--florida-category .page-header {
  border-bottom: 0;
  margin-bottom: 0.6rem;
  padding-bottom: 0;
}

.florida-cat-hero {
  margin: -0.4rem 0 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #0d9488 0%, #0ea5a8 55%, #1f6ba3 100%);
  color: #fff;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 14px 34px rgba(14, 116, 144, 0.24);
}

.florida-cat-hero h1 {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.15;
}

.florida-cat-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.florida-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.florida-cat-pills a {
  background: #fff;
  color: #0f766e;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.florida-cat-image img {
  border-radius: 14px;
  min-height: 240px;
  object-fit: cover;
  box-shadow: 0 14px 28px rgba(2, 32, 71, 0.14);
}

.florida-cat-content {
  margin-top: 0.35rem;
}

.florida-cat-content h2 {
  margin-top: 2rem;
}

.florida-topic-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.25rem 0 0.75rem;
}

.florida-topic-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-surface);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.florida-topic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.florida-topic-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.florida-topic-card span {
  display: block;
  padding: 0.72rem 0.82rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.florida-category-grid .category-card {
  border: 1px solid var(--color-border);
}

@media (max-width: 900px) {
  .page-article--florida-category {
    background: #fff;
  }

  .florida-cat-hero {
    margin: -1.25rem -1rem 1rem;
    border-radius: 0;
    padding: 1rem;
  }

  .florida-cat-image img {
    border-radius: 0;
    min-height: 180px;
    box-shadow: none;
  }

  .florida-topic-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

/* CKEditor-Inhalt (Seiten-Body) */
.page-body.ck-content p { margin: 0 0 1em; }
.page-body.ck-content ul, .page-body.ck-content ol { margin: 0 0 1em; padding-left: 1.5em; }
.page-body.ck-content li { margin-bottom: 0.25em; }
.page-body.ck-content blockquote { margin: 1em 0; padding: 0.75em 1.25em; border-left: 4px solid var(--color-accent); background: var(--color-bg); font-style: italic; }
.page-body.ck-content .boot-page-cta { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--color-bg); border-radius: var(--radius); border: 1px solid var(--color-border); }
.page-body.ck-content .boot-page-cta .btn { margin-top: 0.35rem; text-decoration: none; display: inline-block; }
.page-body.ck-content figure.boot-page-figure { margin: 1.5rem 0; line-height: 0; }
.page-body.ck-content figure.boot-page-figure img { width: 100%; height: auto; margin: 0; display: block; border-radius: var(--radius); }
.page-body.ck-content figure.boot-page-figure--compact img { max-width: 640px; margin-left: auto; margin-right: auto; }
.page-body.ck-content .boot-content-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1.5rem 0; }
.page-body.ck-content .boot-content-gallery img { width: 100%; height: 180px; object-fit: cover; margin: 0; border-radius: var(--radius); }
@media (max-width: 700px) {
  .page-body.ck-content .boot-content-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* FareHarbor-Einbindung (Boote Cape Coral) */
.fareharbor-embed-wrap { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.fareharbor-embed-heading { font-family: var(--font-display); font-size: 1.35rem; margin: 0 0 0.5rem; }
.fareharbor-embed-lead { color: var(--color-text-muted); margin: 0 0 1rem; font-size: 0.95rem; }
.page-body.ck-content a { color: var(--color-primary); text-decoration: underline; }
.page-body.ck-content a:hover { color: var(--color-accent); }
.page-body.ck-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1em 0; }
.page-body.ck-content iframe[src*="youtube"],
.page-body.ck-content iframe[src*="youtu.be"] { width: 100%; aspect-ratio: 16 / 9; border: none; border-radius: var(--radius); margin: 1em 0; }
.page-body.ck-content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.page-body.ck-content th, .page-body.ck-content td { border: 1px solid var(--color-border); padding: 0.5rem 0.75rem; text-align: left; }
.page-body.ck-content th { background: var(--color-bg); font-weight: 600; }

/* Blog/Seiten – Mobile */
@media (max-width: 900px) {
  .page-content {
    padding: 0 0 3rem;
  }

  .page-article {
    border-radius: 0;
    box-shadow: none;
    padding: 1.25rem 1rem;
  }

  .page-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .page-category {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
  }

  .page-featured-image {
    margin: -1.25rem -1rem 1.25rem;
  }

  .page-featured-image img {
    border-radius: 0;
    width: 100%;
  }

  .page-article > .mw-hero-slides {
    margin: -1.25rem -1rem 1.25rem;
    width: calc(100% + 2rem);
    max-width: none;
    border-radius: 0;
  }

  .page-article > .mw-slideshow {
    margin: -1.25rem -1rem 1.25rem;
    width: calc(100% + 2rem);
    max-width: none;
    border-radius: 0;
  }

  .page-body.ck-content {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .page-body.ck-content img {
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    max-width: none;
    border-radius: 0;
  }
}

/* Florida Landing (modern) */
.page-content--florida {
  max-width: 1180px;
}

.page-article--florida {
  background: linear-gradient(180deg, #f8fcff 0%, #ffffff 18%);
}

.page-article--florida .page-header {
  border-bottom: 0;
  margin-bottom: 1.25rem;
  padding-bottom: 0;
}

.page-article--florida .page-header h1 {
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
  line-height: 1.15;
}

.page-article--florida .page-featured-image img {
  border-radius: 16px;
  min-height: 260px;
  object-fit: cover;
  box-shadow: 0 16px 42px rgba(13, 148, 136, 0.14);
}

.page-article--florida .page-body.ck-content > * + * {
  margin-top: 0.8rem;
}

.page-article--florida .page-body.ck-content h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.page-article--florida .page-body.ck-content h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.35rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.fl-hero-card {
  margin: 0.6rem 0 1.4rem;
  background: linear-gradient(130deg, #0d9488 0%, #0ea5a8 58%, #1f6ba3 100%);
  color: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 16px 34px rgba(15, 101, 128, 0.24);
}

.fl-hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
}

.fl-hero-card p + p {
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.86);
}

.fl-facts {
  margin: 1rem 0 1.5rem;
  padding-left: 0 !important;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.fl-facts li {
  margin: 0 !important;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 0.7rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.fl-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.3rem;
}

.fl-quick-nav a {
  text-decoration: none !important;
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 999px;
  padding: 0.45rem 0.82rem;
  background: rgba(13, 148, 136, 0.08);
  color: #0f766e !important;
  font-size: 0.86rem;
  font-weight: 600;
}

.fl-quick-nav a:hover {
  background: rgba(13, 148, 136, 0.16);
}

.fl-regions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0.8rem 0 1rem;
}

.fl-region {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  background: var(--color-surface);
}

.fl-region h3 {
  margin-top: 0 !important;
}

.fl-info-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0 1.2rem;
}

.fl-info-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fl-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.fl-info-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
}

.fl-info-card span {
  display: block;
  padding: 0.72rem 0.82rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.fl-staedte-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.fl-stadt-card {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.fl-stadt-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin: 0 !important;
  border-radius: 0 !important;
}

.fl-stadt-card h3 {
  margin: 0.6rem 0.8rem 0.2rem !important;
  font-size: 1.05rem;
}

.fl-stadt-card p {
  margin: 0 0.8rem 0.8rem !important;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.45;
}

.fl-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.fl-video-grid iframe {
  margin: 0 !important;
}

@media (max-width: 900px) {
  .page-article--florida {
    background: #fff;
  }

  .page-article--florida .page-featured-image img {
    min-height: 190px;
    border-radius: 0;
    box-shadow: none;
  }

  .fl-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fl-regions-grid,
  .fl-info-cards,
  .fl-staedte-grid,
  .fl-video-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog-Komponenten: Coupon-Banner */
.blog-coupon {
  display: block;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff3366 100%);
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.blog-coupon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  color: #fff !important;
}
a.blog-coupon:visited {
  color: #fff !important;
}
.blog-coupon code {
  background: rgba(255,255,255,0.25);
  padding: 0.15em 0.5em;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1em;
}
.blog-coupon small {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Blog-Komponenten: Feature-Grid */
.blog-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.blog-feature-item {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
}
.blog-feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.blog-feature-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.blog-feature-item span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Blog-Komponenten: Provider-Card */
.blog-provider-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.blog-provider-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-family: var(--font-display);
}
.blog-provider-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.blog-provider-card li {
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
}
.blog-provider-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
.blog-provider-card .blog-provider-highlight {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* Blog-Komponenten: CTA-Button */
.blog-cta-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff !important;
  text-decoration: none !important;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
  text-align: center;
}
.blog-cta-btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* Blog-Komponenten: Warnflaggen */
.blog-flag {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}

/* Blog-Komponenten: Info-Box */
.blog-info-box {
  background: var(--color-bg);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.blog-info-box strong {
  color: var(--color-primary);
}

/* Blog-Komponenten: FAQ-Akkordeon */
.blog-faq {
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}
.blog-faq > h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.blog-faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.blog-faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.15s;
}
.blog-faq-item summary:hover {
  background: var(--color-bg);
}
.blog-faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.blog-faq-item[open] summary::after {
  content: "\2212";
}
.blog-faq-item summary::-webkit-details-marker {
  display: none;
}
.blog-faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Blog-Komponenten Mobile */
@media (max-width: 900px) {
  .blog-feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .blog-feature-item {
    padding: 1rem 0.75rem;
  }
  .blog-provider-card {
    padding: 1.25rem 1rem;
  }
  .blog-coupon {
    padding: 1rem;
    font-size: 0.875rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 0;
  }
  .blog-cta-btn {
    display: block;
    text-align: center;
  }
}

/* ===== Login Page (Felder wie Suchseite) ===== */
.login-main {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  padding: 2rem;
  border: 1px solid var(--color-border);
}

.login-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.login-form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.login-form-field {
  flex: 1;
  min-width: 0;
}

.login-form-field input {
  width: 100%;
}

.login-forgot-link {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--color-primary);
}

.login-forgot-link:hover {
  color: var(--color-accent);
}

.login-form-recaptcha {
  margin: 0.75rem 0;
}

.login-form-recaptcha .login-field-error {
  margin-top: 0.35rem;
}

.login-field-error {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-accent);
}

.login-subtitle {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.login-submit {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
}

.login-footer {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ===== Skeleton Loading ===== */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.skeleton-pulse {
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-block {
  background: var(--color-border, #e0e0e0);
  border-radius: 4px;
}

.skeleton-listing-card .listing-card-inner {
  display: flex;
  width: 100%;
}

.skeleton-listing-card .listing-image {
  background: var(--color-border, #e0e0e0);
}

.skeleton-listing-card .listing-body {
  flex: 1;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.skeleton-listing-card .listing-body .skeleton-block {
  flex-shrink: 0;
}

.skeleton-listing-card:hover {
  transform: none;
  box-shadow: var(--shadow);
}

@media (max-width: 600px) {
  .skeleton-listing-card .listing-card-inner {
    flex-direction: column;
  }
  .skeleton-listing-card .listing-image {
    flex: none;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%;
  }
}

/* ===== Utility ===== */
.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 border: 0;
}

/* ===== Kontaktseite (/kontakt/) ===== */
.contact-page {
  padding: 2rem 1rem 4rem;
  background: var(--color-bg);
  min-height: calc(100vh - 180px);
}
.contact-page-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.contact-page-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 2rem;
}
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

/* Info-Karte (links) */
.contact-info-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.contact-info-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.25rem;
  line-height: 1.4;
}
.contact-info-subheading {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.contact-info-icon {
  flex-shrink: 0;
  color: var(--color-accent);
}
.contact-info-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.contact-info-link:hover { text-decoration: underline; }
.contact-info-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}
.contact-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text-muted);
  transition: background 0.2s, color 0.2s;
}
.contact-social-link:hover {
  background: var(--color-accent);
  color: #fff;
}
.contact-info-address {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}
.contact-info-address-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.5rem;
}
.contact-info-address address {
  font-style: normal;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Formular-Karte (rechts) */
.contact-form-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.contact-form-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1.5rem;
}
.contact-form-field {
  margin-bottom: 1.1rem;
}
.contact-form-field .input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.contact-form-field .input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(31, 107, 163, 0.12);
}
.contact-form-field .input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}
.contact-form-field textarea.input {
  resize: vertical;
  min-height: 120px;
}
.contact-form-field.has-error .input {
  border-color: var(--color-accent);
}
.contact-form-error {
  color: var(--color-accent);
  font-size: 0.8rem;
  margin: 0.3rem 0 0;
}

/* Datenschutz-Checkbox */
.contact-form-privacy { margin-top: 0.5rem; }
.contact-privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.contact-privacy-label .checkbox {
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Senden-Button */
.contact-submit {
  width: 100%;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  margin-top: 1rem;
}

/* Erfolgsmeldung */
.contact-success-msg {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #eef7ee;
  border: 1px solid #b5dbb5;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #2e7d32;
}
.contact-success-msg svg { flex-shrink: 0; color: #2e7d32; margin-top: 0.1rem; }
.contact-success-msg p { margin: 0; font-size: 0.95rem; line-height: 1.5; }

/* reCAPTCHA-Feld */
.contact-form-recaptcha { margin-bottom: 0.5rem; }

/* Responsive: Mobile */
@media (max-width: 768px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
  }
  .contact-page-title {
    font-size: 1.4rem;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem;
  }
}

.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ===== Mietwagen Hero & Video ===== */
.mw-hero {
  margin-bottom: 1.75rem;
}
.mw-hero-eyebrow {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.mw-hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 1.5rem;
  line-height: 1.45;
}
.mw-hero-alamo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eef4fa 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}
.mw-hero-alamo img {
  width: min(220px, 100%);
  height: auto;
  display: block;
}
.mw-hero-alamo-text p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-text);
}
.mw-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--color-primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(31, 107, 163, 0.35);
}
.mw-hero-cta:hover {
  background: #185a8a;
  color: #fff !important;
  transform: translateY(-1px);
}
.mw-video-section {
  margin-bottom: 2rem;
}
.mw-video-section h2 {
  margin-bottom: 0.35rem;
}
.mw-video-lead {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.mw-video-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  background: #000;
  aspect-ratio: 16 / 9;
}
.mw-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.mw-video-legal {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 0.65rem 0 0;
  line-height: 1.45;
}
@media (max-width: 640px) {
  .mw-hero-alamo {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mw-hero-alamo img {
    margin: 0 auto;
    max-width: 200px;
  }
}

/* ===== Mietwagen Hero Slides (Elementor-style) ===== */
.mw-hero-slides {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 2rem;
  box-shadow: var(--shadow-hover);
  background: #0a1628;
}
.mw-hero-slides-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.mw-hero-slide {
  flex: 0 0 100%;
  min-height: min(52vw, 420px);
  max-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.mw-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 40, 0.75) 0%,
    rgba(10, 22, 40, 0.25) 50%,
    rgba(10, 22, 40, 0.1) 100%
  );
  pointer-events: none;
}
.mw-hero-slide-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(52vw, 420px);
  max-height: 520px;
  padding: 2.5rem 1.5rem 3.25rem;
  text-decoration: none;
  color: #fff;
  box-sizing: border-box;
}
.mw-hero-slide-inner {
  text-align: center;
  max-width: 38rem;
}
.mw-hero-slide-heading {
  font-size: clamp(1.35rem, 4.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1.35rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
  letter-spacing: -0.02em;
}
.mw-hero-slide-btn {
  display: inline-block;
  background: var(--color-pink);
  color: #fff !important;
  padding: 0.7rem 1.85rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(229, 14, 74, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.mw-hero-slide-link:hover .mw-hero-slide-btn {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(229, 14, 74, 0.55);
  color: #fff !important;
}
.mw-hero-slides-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}
.mw-hero-slides-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}
.mw-hero-slides-prev { left: 0.75rem; }
.mw-hero-slides-next { right: 0.75rem; }
.mw-hero-slides-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 3;
}
.mw-hero-slide-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.mw-hero-slide-dot.active {
  background: #fff;
  transform: scale(1.25);
}
@media (max-width: 900px) {
  .mw-hero-slide,
  .mw-hero-slide-link {
    min-height: min(58vw, 360px);
    max-height: none;
  }
  .mw-hero-slides-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .mw-hero-slides-prev { left: 0.5rem; }
  .mw-hero-slides-next { right: 0.5rem; }
}

/* ===== Mietwagen Slideshow ===== */
.mw-slideshow {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 16 / 6;
  background: #0a1628;
}
.mw-slideshow-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.mw-slide {
  min-width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mw-slide img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
.mw-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.85));
  padding: 1.25rem 1.5rem 1rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
}
.mw-slideshow-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.mw-slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.mw-slideshow-dot.active {
  background: #fff;
  transform: scale(1.3);
}
.mw-slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.mw-slideshow-btn:hover {
  background: rgba(255,255,255,0.3);
}
.mw-slideshow-btn.prev { left: 1rem; }
.mw-slideshow-btn.next { right: 1rem; }
@media (max-width: 900px) {
  .mw-slideshow { aspect-ratio: 16 / 8; }
  .mw-slide-overlay { font-size: 0.95rem; padding: 1rem; }
  .mw-slideshow-btn { width: 36px; height: 36px; font-size: 1rem; }
}
@media (max-width: 480px) {
  .mw-slideshow { aspect-ratio: 4 / 3; }
}

/* ===== Mietwagen Page Components ===== */

/* Testimonial Cards */
.mw-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
.mw-testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
}
.mw-testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.mw-testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}
.mw-testimonial-name {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.mw-testimonial-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0;
}
.mw-testimonial-stars {
  color: #f5a623;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

/* Vehicle Class Grid */
.mw-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
.mw-vehicle-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  overflow: hidden;
}
.mw-vehicle-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.mw-vehicle-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}
.mw-vehicle-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  padding: 0.5rem 0;
  border-top: 1px solid var(--color-border);
}

/* Benefits Grid */
.mw-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
.mw-benefit-card {
  background: linear-gradient(135deg, #f0f7fc 0%, #ffffff 100%);
  border: 1px solid rgba(31, 107, 163, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.mw-benefit-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.mw-benefit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mw-benefit-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mw-benefit-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.mw-benefit-text {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0;
}

/* Stats Row */
.mw-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  color: #fff;
}
.mw-stat {
  text-align: center;
}
.mw-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}
.mw-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
}

/* Package Cards */
.mw-packages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
.mw-package-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s;
}
.mw-package-card:hover {
  box-shadow: var(--shadow-hover);
}
.mw-package-card h4 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary);
}
.mw-package-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mw-package-card li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.5;
}
.mw-package-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* Stations Grid */
.mw-stations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 2rem;
  margin: 1rem 0 2rem;
  padding: 0;
  list-style: none;
}
.mw-stations li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border);
}
.mw-stations li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* Disclaimer Box */
.mw-disclaimer {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-left: 4px solid #ffa000;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #5d4037;
}
.mw-disclaimer strong {
  color: #e65100;
}

/* Highlight Boxes */
.mw-highlight-box {
  background: linear-gradient(135deg, #e3f2fd 0%, #f0f7fc 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--color-primary);
}
.mw-highlight-box p {
  margin: 0.5rem 0;
}
.mw-highlight-box strong {
  color: var(--color-primary);
}

/* Related Pages Grid */
.mw-related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.mw-related-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.mw-related-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.mw-related-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}
.mw-related-card span {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-text);
}

/* Responsive Mietwagen */
@media (max-width: 900px) {
  .mw-testimonials {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .mw-vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .mw-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .mw-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    padding: 1.5rem 1rem;
  }
  .mw-packages {
    grid-template-columns: 1fr;
  }
  .mw-stations {
    grid-template-columns: 1fr;
  }
  .mw-related {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}
@media (max-width: 480px) {
  .mw-vehicle-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  .mw-vehicle-card {
    padding: 0.75rem;
  }
  .mw-vehicle-card img {
    height: 100px;
  }
  .mw-benefits {
    grid-template-columns: 1fr;
  }
  .mw-stats {
    grid-template-columns: 1fr 1fr;
  }
  .mw-related {
    grid-template-columns: 1fr;
  }
}

/* ===== PartnerBookingKit (#pbk-widget) – moderner Floridablog-Look ===== */
#pbk-widget {
  margin: 1.25rem 0 1.75rem;
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(165deg, rgba(31, 107, 163, 0.06) 0%, #ffffff 42%, #ffffff 100%);
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  font-family: var(--font-sans);
}

#pbk-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 200px at 10% -20%, rgba(31, 107, 163, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

#pbk-widget > * {
  position: relative;
  z-index: 1;
}

#pbk-widget #enterprise-pbk {
  font-family: var(--font-sans) !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  color: var(--color-text) !important;
  background: transparent !important;
}

#pbk-widget #enterprise-pbk a {
  color: var(--color-primary) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

#pbk-widget #enterprise-pbk a:hover {
  color: var(--color-accent) !important;
}

#pbk-widget #enterprise-pbk input[type="text"],
#pbk-widget #enterprise-pbk input[type="email"],
#pbk-widget #enterprise-pbk input[type="tel"],
#pbk-widget #enterprise-pbk input[type="password"],
#pbk-widget #enterprise-pbk select,
#pbk-widget #enterprise-pbk textarea {
  font-family: var(--font-sans) !important;
  border-radius: var(--radius) !important;
  border-color: var(--color-border) !important;
  box-shadow: 0 1px 2px rgba(84, 89, 95, 0.06) !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

#pbk-widget #enterprise-pbk input[type="text"]:focus,
#pbk-widget #enterprise-pbk input[type="email"]:focus,
#pbk-widget #enterprise-pbk input[type="tel"]:focus,
#pbk-widget #enterprise-pbk input[type="password"]:focus,
#pbk-widget #enterprise-pbk select:focus,
#pbk-widget #enterprise-pbk textarea:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(31, 107, 163, 0.2) !important;
  outline: none !important;
}

#pbk-widget #enterprise-pbk .enterprise-pbk-sublabel,
#pbk-widget #enterprise-pbk label.enterprise-pbk-sublabel {
  color: var(--color-text) !important;
  font-weight: 600 !important;
}

#pbk-widget #enterprise-pbk .enterprise-pbk-button-bar {
  margin-top: 1.25rem !important;
}

#pbk-widget #enterprise-pbk .enterprise-pbk-button:not(.enterprise-pbk-advance) {
  border-radius: var(--radius) !important;
  font-family: var(--font-sans) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  box-shadow: 0 4px 14px rgba(31, 107, 163, 0.2) !important;
  background: var(--color-primary) !important;
  background-image: none !important;
  filter: none !important;
  border: 1px solid rgba(31, 107, 163, 0.35) !important;
  color: #fff !important;
  height: auto !important;
  min-height: 40px !important;
  padding: 0.55rem 1rem !important;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease !important;
}

#pbk-widget #enterprise-pbk .enterprise-pbk-button:not(.enterprise-pbk-advance):hover {
  background: var(--color-accent) !important;
  border-color: rgba(229, 14, 74, 0.35) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(229, 14, 74, 0.22) !important;
}

@media (max-width: 900px) {
  #pbk-widget {
    padding: 1.1rem 1rem 1.2rem;
    margin: 1rem 0 1.25rem;
  }
}

/* PartnerBookingKit Widget - Überschrift ausblenden */
#pbk-widget .enterprise-pbk-page-heading,
.enterprise-pbk-page-heading {
  display: none !important;
}

/* PartnerBookingKit – Advance-Button (nur im Widget) */
#pbk-widget #enterprise-pbk .enterprise-pbk-button.enterprise-pbk-advance {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.8rem 1.25rem !important;
  border-radius: var(--radius) !important;
  background: var(--color-primary) !important;
  background-image: none !important;
  color: #fff !important;
  border: 1px solid rgba(31, 107, 163, 0.35) !important;
  box-shadow: 0 8px 24px rgba(31, 107, 163, 0.18) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease !important;
}

#pbk-widget #enterprise-pbk .enterprise-pbk-button.enterprise-pbk-advance:hover {
  background: var(--color-accent) !important;
  border-color: rgba(229, 14, 74, 0.35) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(229, 14, 74, 0.22) !important;
}

#pbk-widget #enterprise-pbk .enterprise-pbk-button.enterprise-pbk-advance:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(31, 107, 163, 0.25), 0 10px 28px rgba(229, 14, 74, 0.18) !important;
}
