/* ===== Variables – CI: #77634d (Blau), #81a59e (Salbei) ===== */
:root {
  --color-pink: #81a59e;
  --color-blue: #77634d;
  --color-gray: #54595F;
  --color-bg: #f5f5f5;
  --color-surface: #ffffff;
  --color-text: #54595F;
  --color-text-muted: #54595F;
  --color-heading: #77634d;
  --color-accent: #81a59e;
  --color-accent-hover: #6a8d86;
  --color-primary: #77634d;
  --color-primary-light: #77634d;
  --color-border: rgba(84, 89, 95, 0.2);
  --color-success: #77634d;
  --font-sans: "Quicksand", "Roboto", system-ui, sans-serif;
  --font-display: "Marcellus", Georgia, serif;
  --radius: 0px;
  --radius-lg: 0px;
  --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-surface);
}

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

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

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

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

h1 {
  font-size: 50px;
  font-weight: 100;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 34px;
  font-weight: 100;
  margin: 0 0 0.625rem;
}

h3 {
  font-size: 26px;
  font-weight: 100;
  margin: 0 0 0.5rem;
}

h4 {
  font-size: 20px;
  font-weight: 100;
  margin: 0 0 0.5rem;
}

h5 {
  font-size: 1.125rem;
  font-weight: 100;
  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: 0.3rem 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: 80px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  object-position: left center;
}

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

.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ü: ruhig, editorial – feine Linie, helles Panel, CI nur als Akzent */
.nav-main {
  --nav-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-ink: rgba(45, 52, 64, 0.92);
  --nav-ink-soft: rgba(45, 52, 64, 0.58);
}

.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 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--nav-ink-soft);
  font-size: 18px;
  font-weight: normal;
  text-transform: none;
  text-decoration: none;
  padding: 0.4rem 0.3rem;
  border-radius: 0;
  background: transparent;
  white-space: nowrap;
  transition: color 0.45s var(--nav-ease);
}

/* Gradient-Unterstrich, wächst von der Mitte */
.nav-main-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 0;
  height: 1px;
  transform: translateX(-50%);
  background-color: #81a59e;
  opacity: 0;
  transition:
    width 0.5s var(--nav-ease),
    opacity 0.35s var(--nav-ease);
}

.nav-main-list .nav-main-link {
  font-weight: normal;
}

.nav-main .nav-main-link:hover {
  color: var(--nav-ink);
  background: transparent;
}

.nav-main .nav-main-link:hover::after {
  width: calc(100% - 1rem);
  opacity: 1;
}

.nav-main .nav-main-link:focus-visible {
  outline: 1px solid var(--color-primary);
  outline-offset: 4px;
}

.nav-main-chevron {
  display: none;
  font-size: 0.65em;
  opacity: 0.5;
  transition: transform 0.45s var(--nav-ease);
}

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

/* Aktiver Dropdown-Trigger: gleiche Sprache wie Top-Links, Linie sichtbar */
.nav-main-item--dropdown.is-hover .nav-main-link,
.nav-main-item--dropdown.is-open .nav-main-link {
  color: var(--color-primary);
  background: transparent;
  box-shadow: none;
}

.nav-main-item--dropdown.is-hover .nav-main-link::after,
.nav-main-item--dropdown.is-open .nav-main-link::after {
  width: calc(100% - 1rem);
  opacity: 1;
}

.nav-main-item--dropdown.is-hover .nav-main-link:hover,
.nav-main-item--dropdown.is-open .nav-main-link:hover {
  color: var(--color-blue);
  background: transparent;
}

/* Untermenü: helle Karte, dezenter Schatten (Akzent im Link-Hover) */
.nav-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  transform: translateY(-5px);
  transform-origin: top left;
  margin: 0;
  padding: 0.5rem 0;
  width: max-content;
  min-width: 300px;
  max-width: min(94vw, 720px);
  background-color: var(--color-surface);
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 44px -20px rgba(17, 24, 39, 0.2),
    0 10px 22px -12px rgba(17, 24, 39, 0.1);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s var(--nav-ease),
    visibility 0.35s var(--nav-ease),
    transform 0.45s var(--nav-ease);
  z-index: 1002;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: 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);
  pointer-events: auto;
}

@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;
  margin: 0;
  color: var(--nav-ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: normal;
  white-space: nowrap;
  border-radius: 0;
  transition:
    background-color 0.35s var(--nav-ease),
    color 0.35s var(--nav-ease),
    box-shadow 0.35s var(--nav-ease);
}

.nav-submenu a:hover {
  background-color: rgba(119, 99, 77, 0.06);
  color: var(--color-primary);
  font-weight: normal;
  box-shadow: inset 3px 0 0 0 var(--color-pink);
}

.nav-submenu a:focus-visible {
  outline: 1px solid var(--color-primary);
  outline-offset: -1px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-main-link,
  .nav-main-link::after,
  .nav-submenu,
  .nav-submenu a,
  .header-profil-submenu,
  .header-profil-submenu a,
  .header-profil-chevron {
    transition-duration: 0.01ms !important;
  }
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-search-trigger {
  padding: 0.45rem 0.55rem;
  line-height: 0;
  color: var(--color-text-muted);
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
}
.header-search-trigger:hover {
  color: var(--color-primary);
  background: rgba(119, 99, 77, 0.08);
}
.header-search-icon {
  display: block;
}

/* ===== Sprachumschalter (Pill-Toggle DE/EN) ===== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.2rem 0.35rem 0.2rem 0.45rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 999px;
  height: 2.1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lang-switch:hover {
  border-color: rgba(129, 165, 158, 0.35);
  box-shadow: 0 1px 6px rgba(129, 165, 158, 0.08);
}
.lang-switch-icon {
  display: block;
  margin-right: 0.25rem;
  color: var(--color-text-muted);
  opacity: 0.7;
  flex-shrink: 0;
}
.lang-switch-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.65rem;
  padding: 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: 999px;
  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}
.lang-switch-option:hover {
  color: var(--color-primary);
  background: rgba(119, 99, 77, 0.08);
}
.lang-switch-option:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.lang-switch-option.is-active {
  color: #ffffff;
  background: var(--color-pink);
  cursor: default;
  box-shadow: 0 1px 4px rgba(129, 165, 158, 0.25);
}
.lang-switch-option.is-active:hover {
  color: #ffffff;
  background: var(--color-pink);
}

@media (prefers-reduced-motion: reduce) {
  .lang-switch,
  .lang-switch-option {
    transition: none;
  }
}

/* Mobile (Burger-Menü): Utility-Leiste oben im Overlay */
@media (max-width: 768px) {
  .header-nav-wrap .header-utility {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
  }
  .header-nav-wrap .lang-switch {
    margin: 0;
  }
}

/* Such-Dialog – an Kontakt-Popup & CI angelehnt */
.header-search-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: min(28rem, calc(100vw - 1.75rem));
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 20px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.header-search-dialog::backdrop {
  background: rgba(84, 89, 95, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-search-dialog-shell {
  background: var(--color-surface);
  border-radius: 20px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  overflow: hidden;
}
.header-search-dialog-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-pink) 100%);
}
.header-search-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.25rem 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}
.header-search-dialog-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 100;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.header-search-dialog-close {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: var(--color-bg);
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.header-search-dialog-close:hover {
  color: var(--color-text);
  background: rgba(84, 89, 95, 0.12);
}
.header-search-dialog-close:active {
  transform: scale(0.96);
}
.header-search-dialog-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.header-search-dialog-intro {
  margin: 0 0 1.15rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.header-search-dialog-intro strong {
  font-weight: 600;
  color: var(--color-text);
}
.header-search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.header-search-input-wrap {
  position: relative;
  display: block;
}
.header-search-input-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
  display: flex;
  opacity: 0.85;
}
.header-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 1rem 0.8rem 2.85rem;
  font-size: 1rem;
  font-family: var(--font-sans);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.header-search-input::placeholder {
  color: rgba(84, 89, 95, 0.55);
}
.header-search-input:hover {
  border-color: rgba(119, 99, 77, 0.35);
}
.header-search-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-surface);
  box-shadow: 0 0 0 3px rgba(119, 99, 77, 0.18);
}
.header-search-input-wrap:focus-within .header-search-input-icon {
  color: var(--color-primary);
  opacity: 1;
}
.header-search-submit {
  width: 100%;
  padding: 0.8rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 14px;
  letter-spacing: 0.02em;
}
.header-search-submit:hover {
  box-shadow: 0 8px 24px rgba(129, 165, 158, 0.25);
}

/* Ergebnisseite /textsuche/ */
.site-text-search-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}
.site-text-search-h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}
.site-text-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
  margin-bottom: 2rem;
}
.site-text-search-input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
  font-family: inherit;
}
.site-text-search-submit {
  flex: 0 0 auto;
}
.site-text-search-section {
  margin-bottom: 2rem;
}
.site-text-search-section-title {
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  color: var(--color-primary);
}
.site-text-search-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.site-text-search-item--card {
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.site-text-search-item--card:hover {
  border-color: rgba(119, 99, 77, 0.35);
  box-shadow: var(--shadow-hover);
}
.site-text-search-card-link {
  display: flex;
  align-items: stretch;
  gap: 0.85rem 1rem;
  padding: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-height: 5.5rem;
}
.site-text-search-item-thumb {
  flex-shrink: 0;
  width: 112px;
  min-height: 80px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-bg);
  align-self: stretch;
}
.site-text-search-item-thumb picture {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 80px;
}
.site-text-search-item-thumb .site-text-search-thumb-img {
  width: 100%;
  height: 100%;
  min-height: 80px;
  object-fit: cover;
  display: block;
  vertical-align: top;
}
.site-text-search-thumb-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 80px;
  background: linear-gradient(
    135deg,
    rgba(119, 99, 77, 0.12) 0%,
    rgba(84, 89, 95, 0.08) 100%
  );
}
.site-text-search-thumb-placeholder--page {
  background: linear-gradient(
    135deg,
    rgba(129, 165, 158, 0.08) 0%,
    rgba(119, 99, 77, 0.1) 100%
  );
}
.site-text-search-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.15rem 0.35rem 0.15rem 0;
}
.site-text-search-item-title {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--color-text);
  transition: color 0.2s ease;
}
.site-text-search-item--card:hover .site-text-search-item-title {
  color: var(--color-primary);
}
.site-text-search-meta {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}
@media (max-width: 480px) {
  .site-text-search-card-link {
    flex-wrap: wrap;
  }
  .site-text-search-item-thumb {
    width: 100%;
    min-height: 140px;
    max-height: 180px;
  }
  .site-text-search-item-thumb picture,
  .site-text-search-item-thumb .site-text-search-thumb-img,
  .site-text-search-thumb-placeholder {
    min-height: 140px;
    max-height: 180px;
  }
}
.site-text-search-empty,
.site-text-search-hint {
  color: var(--color-text-muted, #5c6370);
  margin: 0;
  line-height: 1.5;
}

.header-nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  min-width: 0;
}

/* 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.45;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.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: 0;
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-top: 2px solid var(--color-primary);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 18px 44px -20px rgba(17, 24, 39, 0.2),
    0 10px 22px -12px rgba(17, 24, 39, 0.1);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transform-origin: top right;
  transition:
    opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  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;
  margin: 0;
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  border-radius: 0;
  transition:
    background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.header-profil-submenu a:hover {
  background-color: rgba(119, 99, 77, 0.06);
  color: var(--color-primary);
  box-shadow: inset 3px 0 0 0 var(--color-pink);
}

.header-profil-submenu a:focus-visible {
  outline: 1px solid var(--color-primary);
  outline-offset: -1px;
}

.header-profil-submenu-sep {
  height: 1px;
  margin: 0.35rem 0;
  background: rgba(17, 24, 39, 0.08);
  list-style: none;
}

/* Desktop: Logo links (2 Zeilen), Utilities oben + Menü rechts */
@media (min-width: 769px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 1.5rem;
    row-gap: 0.15rem;
  }
  .logo {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: center;
  }
  .header-burger {
    display: none;
  }
  .header-nav-wrap {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    width: 100%;
  }
  .header-nav-wrap .nav {
    position: static;
    transform: none;
    max-width: 100%;
  }
  .header-nav-wrap .nav-main-list {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .logo-image {
    height: 64px;
    max-width: 260px;
  }
  .nav-main-link {
    font-size: 15px;
    padding: 0.3rem 0.35rem;
  }
  .nav-main-link::after {
    bottom: 0.15rem;
  }
  .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-link::after {
    bottom: 0.12rem;
  }
  .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.2rem 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: flex-start;
    align-items: center;
    gap: 0.5rem;
    padding: 4.5rem 2rem 2rem;
    display: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .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;
    position: relative;
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: none;
    width: 100%;
    max-width: 22rem;
    text-align: center;
    box-sizing: border-box;
    border-radius: 0;
    color: rgba(45, 52, 64, 0.62);
    background: transparent;
    transition: color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .header-nav-wrap .nav-main-link::after {
    left: 50%;
    bottom: 0.5rem;
    transform: translateX(-50%);
  }
  .header-nav-wrap .nav-main .nav-main-link:hover {
    color: rgba(45, 52, 64, 0.92);
    background: transparent;
  }
  .header-nav-wrap .nav-main .nav-main-link:hover::after {
    width: min(8rem, 55%);
    opacity: 1;
  }
  .header-nav-wrap .nav-main-item--dropdown.is-open .nav-main-link,
  .header-nav-wrap .nav-main-item--dropdown.is-hover .nav-main-link {
    color: var(--color-primary);
    background-color: rgba(119, 99, 77, 0.06);
  }
  .header-nav-wrap .nav-main-item--dropdown.is-open .nav-main-link::after,
  .header-nav-wrap .nav-main-item--dropdown.is-hover .nav-main-link::after {
    width: min(8rem, 55%);
    opacity: 1;
  }
  .header-nav-wrap .nav-main-item--dropdown.is-open .nav-main-link:hover,
  .header-nav-wrap .nav-main-item--dropdown.is-hover .nav-main-link:hover {
    color: var(--color-blue);
    background-color: rgba(119, 99, 77, 0.08);
  }
  .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-main-chevron {
    display: inline-block;
    margin-left: 0.4rem;
    font-size: 0.7em;
    opacity: 0.6;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .header-nav-wrap .nav-main-item--dropdown.is-open .nav-main-chevron {
    transform: rotate(180deg);
    opacity: 0.9;
  }
  .header-nav-wrap .nav-submenu {
    position: static;
    transform: none;
    margin: 0.3rem auto 0.6rem;
    padding: 0;
    width: 100%;
    max-width: 22rem;
    max-height: 0;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    display: block;
    pointer-events: auto;
    transition:
      max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.3s ease,
      visibility 0.3s ease,
      margin 0.3s ease;
  }
  .header-nav-wrap .nav-main-item--dropdown.is-open .nav-submenu {
    max-height: 2000px;
    overflow: visible;
    padding: 0.45rem 0;
    opacity: 1;
    visibility: visible;
  }
  .header-nav-wrap .nav-submenu li {
    position: relative;
  }
  .header-nav-wrap .nav-submenu li + li {
    border-top: 1px solid rgba(17, 24, 39, 0.04);
  }
  .header-nav-wrap .nav-submenu a {
    padding: 0.7rem 1.25rem;
    font-size: 0.98rem;
    font-weight: normal;
    margin: 0;
    white-space: normal;
    text-align: center;
    color: rgba(45, 52, 64, 0.78);
    border-radius: 0;
    line-height: 1.35;
    transition:
      background-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .header-nav-wrap .nav-submenu a:hover,
  .header-nav-wrap .nav-submenu a:focus-visible {
    background-color: rgba(119, 99, 77, 0.05);
    color: var(--color-primary);
    box-shadow: none;
  }
  .header-nav-wrap .header-utility .btn,
  .header-nav-wrap .header-utility .header-login-link {
    justify-content: center;
  }
  .header-nav-wrap .header-utility .header-profil-dropdown {
    width: auto;
    display: block;
  }
  .header-nav-wrap .nav-main-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .header-nav-wrap .header-utility .header-profil-submenu {
    position: absolute;
    top: 100%;
    right: 0;
    margin: 0.25rem 0 0;
    width: auto;
    min-width: 180px;
    max-width: none;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    display: block;
  }
  .header-nav-wrap .header-utility .header-profil-dropdown.is-open .header-profil-submenu,
  .header-nav-wrap .header-utility .header-profil-dropdown:hover .header-profil-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .header-nav-wrap .header-utility .header-profil-dropdown:not(.is-open) .header-profil-submenu {
    display: block;
  }
  .header-profil-submenu a {
    padding: 0.75rem 1rem;
    margin: 0;
    border-radius: 0;
  }
  .header-profil-submenu a:hover {
    box-shadow: inset 0 0 0 1px rgba(119, 99, 77, 0.12);
  }
}

/* ===== 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;
  border-radius: var(--radius);
}

.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(119, 99, 77, 0.38) 0%, rgba(119, 99, 77, 0.28) 50%, rgba(84, 89, 95, 0.22) 100%);
  z-index: 1;
}

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

.hero .hero-heading {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 100;
  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);
}

/* Startseite: größere Hero-Suchbox */
.search-box.search-box-hero {
  max-width: 1020px;
  padding: 1.15rem 1.25rem;
  gap: 0.6rem;
}

.search-box.search-box-hero .search-field {
  min-width: 152px;
}

.search-box.search-box-hero .search-field select {
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  min-height: 2.875rem;
}

.search-box.search-box-hero .btn-search {
  padding: 0.8rem 1.65rem;
  font-size: 1rem;
  min-height: 2.875rem;
  align-self: stretch;
}

.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: var(--radius);
  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(129, 165, 158, 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: var(--radius);
  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(129, 165, 158, 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.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  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.9rem;
}

.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.875rem;
}

/* 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.875rem;
  padding: 0.65rem 0.9rem;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  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: 34px;
  font-weight: 100;
  color: var(--color-heading);
}

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

.section-header h2,
.section-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 100;
  color: var(--color-heading);
}

.section-header h2 {
  font-size: 34px;
}

.section-header h3 {
  font-size: 26px;
}

/* Sectiontitel (Startseite) */
.hp-ferienhaus-text .hp-container > h2,
.hp-ferienhaus-text .hp-container > h3 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-weight: 100;
  color: var(--color-heading);
}

.hp-ferienhaus-text .hp-container > h2 {
  font-size: 34px;
}

.hp-ferienhaus-text .hp-container > h3 {
  font-size: 26px;
}

.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 h1 {
  font-size: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 100;
  color: #81a59e;
}

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

.hp-intro .hp-tagline {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.hp-intro.hp-closing h2 {
  font-size: 34px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  color: #81a59e;
}

.hp-closing-tagline {
  margin-top: 2rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
}

.hp-intro .hp-usp-grid {
  margin-top: 2.75rem;
  text-align: left;
}

.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: 100;
  font-size: 1.15rem;
}

/* Service: Bild links, Text + Team rechts */
.hp-service .hp-split {
  align-items: stretch;
}

.hp-service .hp-split-img {
  min-height: 280px;
}

.hp-service .hp-split-text .ck-content p:last-child {
  margin-bottom: 0;
}

.hp-split-text .hp-team-strip {
  justify-content: flex-start;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border, #e5e7eb);
}

/* Team-Strip unter „Service aus einer Hand“ */
.hp-team-strip {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.75rem, 3vw, 2rem);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border, #e5e7eb);
}

.hp-team-member {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 7.5rem;
  max-width: none;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.hp-team-member:hover {
  transform: translateY(-2px);
}

.hp-team-member:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: var(--radius-md, 8px);
}

.hp-team-photo {
  display: block;
  flex-shrink: 0;
  width: 7rem;
  height: 7rem;
  max-width: 7rem;
  min-width: 7rem;
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  border: 3px solid #fff;
  background: var(--color-surface, #f8fafc);
}

.hp-team-name {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-heading);
}

/* USP Cards (Startseite – vier nebeneinander, CI) */
.hp-usp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.hp-usp-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

div.hp-usp-card {
  cursor: default;
}

.hp-usp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(119, 99, 77, 0.35);
}

.hp-usp-card:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.hp-usp-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.45s ease;
}

.hp-usp-card:hover img {
  transform: scale(1.04);
}

.hp-usp-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1.25rem;
  background: #77634d;
  border-top: 2px solid rgba(255, 255, 255, 0.25);
}

.hp-usp-card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 26px;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hp-usp-card-body p {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  color: #fff;
  line-height: 1.5;
}

/* Features Grid – Warum Cape Manatee */
.hp-features {
  max-width: 100%;
  padding: clamp(3.5rem, 6vw, 5rem) 0;
  background: linear-gradient(180deg, #f7faf9 0%, #eef3f2 55%, #f5f8f7 100%);
  color: var(--color-text);
}

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

.hp-features-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.hp-features-eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-hover);
  background: rgba(129, 165, 158, 0.14);
  border: 1px solid rgba(129, 165, 158, 0.22);
  border-radius: 999px;
}

.hp-features-header h2 {
  margin: 0;
  font-size: clamp(1.875rem, 3.8vw, 2.375rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-primary);
}

.hp-features-lead {
  margin: 1.1rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

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

.hp-features-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hp-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  background: linear-gradient(160deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  box-shadow:
    0 4px 6px rgba(84, 89, 95, 0.06),
    0 12px 32px rgba(106, 141, 134, 0.28);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.hp-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%);
  pointer-events: none;
}

.hp-feature::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -25%;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hp-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 8px 16px rgba(84, 89, 95, 0.08),
    0 20px 44px rgba(106, 141, 134, 0.38);
}

.hp-feature-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 1.25rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.hp-feature:hover .hp-feature-icon {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.22);
}

.hp-feature-icon svg {
  display: block;
  width: 1.85rem;
  height: 1.85rem;
}

.hp-feature h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.35;
  color: #fff;
}

.hp-feature p {
  position: relative;
  z-index: 1;
  margin: 0;
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

/* 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 {
  align-self: stretch;
}

.hp-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  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: 26px;
  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: #81a59e;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

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

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

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

.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, minmax(0, 1fr));
    gap: 1rem;
  }

  .hp-intro .hp-usp-grid {
    margin-top: 2rem;
  }

  .hp-service .hp-split-img {
    min-height: 200px;
  }

  .hp-split-text .hp-team-strip {
    justify-content: space-between;
  }

  .hp-team-strip {
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hp-team-strip::-webkit-scrollbar {
    display: none;
  }

  .hp-team-member {
    width: 4.75rem;
  }

  .hp-team-photo {
    width: 4.5rem;
    height: 4.5rem;
    max-width: 4.5rem;
    min-width: 4.5rem;
    border-width: 2px;
  }

  .hp-team-name {
    font-size: 0.75rem;
  }

  .hp-usp-card img {
    max-height: 220px;
  }

  .hp-usp-card-body {
    padding: 1.15rem 1.2rem 1.35rem;
  }

  .hp-usp-card-body h3 {
    font-size: 26px;
  }

  .hp-usp-card-body p {
    font-size: 1rem;
  }

  .hp-features {
    padding: 3rem 0;
  }

  .hp-features-header {
    margin-bottom: 2rem;
  }

  .hp-features-lead {
    font-size: 1rem;
  }

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

  .hp-features-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-feature {
    padding: 1.65rem 1.25rem 1.5rem;
    border-radius: 12px;
  }

  .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 h1 {
    font-size: 50px;
  }
}

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

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

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

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

  .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-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;
  color: var(--color-accent);
  cursor: pointer;
  transition: transform 0.2s, color 0.2s, background 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: var(--color-accent);
  color: var(--color-surface);
}

.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: var(--color-accent);
  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: #81a59e;
}

.listing-title {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.3;
  color: #77634d;
  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-accent);
  opacity: 0.85;
  font-size: 1rem;
  width: 1em;
  text-align: center;
}

.listing-price {
  font-weight: 600;
  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: #77634d;
  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: 34px;
}

.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 (CI: var(--color-blue) #77634d, var(--color-pink) #81a59e) ===== */
.footer {
  position: relative;
  background: #81a59e;
  color: #fff;
  margin-top: 3rem;
  padding: 0;
  overflow: hidden;
}

.footer-accent {
  height: 4px;
  background: var(--color-pink);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1rem 0.9rem;
}

/* --- Footer Grid --- */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover {
  opacity: 0.85;
}

.footer-logo-image {
  display: block;
  height: auto;
  width: auto;
  max-width: min(100%, 420px);
  max-height: 135px;
  object-fit: contain;
  object-position: left center;
}

.footer-tagline {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover {
  background: var(--color-pink);
  color: #fff;
}

/* --- Footer Spalten-Titel --- */
.footer-col-title {
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
  color: #fff;
}

/* --- Footer Menü --- */
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-menu li a {
  color: #fff;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-menu li a:hover {
  color: #fff;
}

/* --- Footer Kontakt --- */
.footer-address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #fff;
  margin: 0 0 0.75rem;
}

.footer-address p {
  margin: 0;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-contact-links a:hover {
  color: #fff;
}

.footer-contact-links svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* --- Divider & Bottom --- */
.footer-divider {
  height: 1px;
  margin: 2rem 0 1.25rem;
  background: rgba(255, 255, 255, 0.15);
}

.footer-bottom-bar {
  background: var(--color-blue);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.5rem 0;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: #fff;
  line-height: 1.6;
}

.footer-copy a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-copy a:hover {
  color: #fff;
}

.footer-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}

.footer-legal-links a {
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: #fff;
}

.footer-legal-links span {
  color: #fff;
  font-size: 0.8125rem;
}

.footer-legal {
  font-size: 0.75rem;
  color: #fff;
}

.footer-legal a {
  color: #fff;
}

.footer-legal a:hover {
  color: #fff;
}

@media (min-width: 901px) {
  .footer-inner {
    padding: 1rem 2.5rem 1rem;
  }

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

/* ===== 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: var(--font-sans);
  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, #77634d);
  box-shadow: 0 0 0 2px rgba(119, 99, 77, 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: var(--radius);
  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 .amenity-popup-title {
  margin: 0;
  font-size: 1.375rem;
  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-place-header {
  margin: 0;
}

.search-place-heading {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text, #1a1a1a);
}

.search-place-intro {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-text-muted, #555);
}

.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(119, 99, 77, 0.08);
  border-color: var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(119, 99, 77, 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(119, 99, 77, 0.1);
  color: var(--color-primary);
  border-color: rgba(119, 99, 77, 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(119, 99, 77, 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: #77634d;
  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 #77634d;
}

.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.25rem;
    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: 16px;
    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: 0;
  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: 0;
  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: 0;
  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: 0;
  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: 0;
  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.375rem;
  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: 0;
  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;
  }
  /* Widget-Inhalt nur in Bar/Flyout, kein Kasten im Seitenfluss */
  .booking-widget {
    position: static;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  /* 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-accent);
    border-top: 1px solid var(--color-accent-hover);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  }
  .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: #fff;
    -webkit-tap-highlight-color: transparent;
  }
  .booking-widget-bar-total {
    font-weight: 100;
    font-size: 1.125rem;
    white-space: nowrap;
  }
  .booking-widget-bar-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .booking-widget-bar-chevron {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.88);
    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-accent);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
    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 rgba(255, 255, 255, 0.35);
    position: sticky;
    top: 0;
    background: var(--color-accent);
    z-index: 1;
  }
  .booking-widget-flyout-title {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
  }
  .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: rgba(255, 255, 255, 0.9);
    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: 100;
  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;
  font-family: var(--font-sans);
  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(119, 99, 77, 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(119, 99, 77, 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: var(--radius);
  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: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
}

.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: 91px;
  /* 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: var(--font-sans);
}

.detail-description h2 {
  font-size: 22px;
  font-family: var(--font-display);
  margin: 1.25em 0 0.5em;
  font-weight: 600;
}

.detail-description h3,
.detail-description h4 {
  font-family: var(--font-display);
}

.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.375rem;
  font-weight: 100;
  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: 1.25rem;
  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: 0;
  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: 100;
  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.4rem;
  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: 0;
  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: 1.125rem;
  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: 1rem;
  }
  .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(129, 165, 158, 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, #81a59e);
}

.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: 100;
  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, #81a59e);
  font-weight: 100;
}

.mcal-cell.mcal-selected-start,
.mcal-cell.mcal-selected-end {
  background: var(--color-accent, #81a59e) !important;
  color: #fff !important;
  font-weight: 100;
  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(129, 165, 158, 0.1) !important;
  color: var(--color-accent, #81a59e);
  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 – CI Salbei (#81a59e) */
.booking-widget {
  --bw-text: #fff;
  --bw-text-muted: rgba(255, 255, 255, 0.88);
  --bw-border: rgba(255, 255, 255, 0.35);
  --bw-input-bg: #fff;
  position: sticky;
  top: 91px;
  height: fit-content;
  background: var(--color-accent);
  color: var(--bw-text);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 8px 28px rgba(84, 89, 95, 0.22);
  border: 1px solid var(--color-accent-hover);
}

.booking-widget .price {
  font-size: 1.5rem;
  font-weight: 100;
  margin-bottom: 0.25rem;
  color: var(--bw-text);
}

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

.booking-widget .booking-min-stay-hint {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: var(--bw-text-muted);
}

.booking-widget #summary-discount-row {
  color: #fff !important;
}

.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 rgba(84, 89, 95, 0.15);
  font-size: 0.9375rem;
  background: var(--bw-input-bg);
  color: var(--color-text);
}

.booking-widget .booking-field-wrap input {
  border-radius: 8px;
}

.booking-widget .booking-field-wrap select,
.booking-widget #book-guests {
  border-radius: 0;
}

/* 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(--bw-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(129, 165, 158, 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,
.booking-widget .btn-primary.booking-widget-bar-btn,
.booking-widget .btn-primary.booking-widget-flyout-submit {
  background: var(--color-primary);
  color: #fff;
  border: none;
}

.booking-widget .btn-primary:hover,
.booking-widget .btn-primary.booking-widget-bar-btn:hover,
.booking-widget .btn-primary.booking-widget-flyout-submit:hover {
  background: #5e4f3d;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.booking-widget .btn-ghost,
.booking-widget .booking-widget-contact-btn {
  color: var(--bw-text);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
}

.booking-widget .btn-ghost:hover,
.booking-widget .booking-widget-contact-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--bw-text);
}

.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(--bw-border);
  color: var(--bw-text);
}

.booking-widget .summary-row.total {
  font-weight: 600;
  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(119, 99, 77, 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 (flach wie Startseite, ohne Karten-Rahmen) ===== */
.page-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.page-article {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.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: 50px;
  font-weight: 100;
  color: var(--color-heading);
}

.page-body.ck-content h1 {
  font-size: 50px;
}

.page-body.ck-content h2 {
  font-size: 34px;
}

.page-body.ck-content h3 {
  font-size: 26px;
}

.page-body.ck-content h4 {
  font-size: 20px;
}

.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: 0 0 1.5rem;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: none;
}

.page-article > .mw-slideshow {
  margin: 0 0 1.5rem;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  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);
}
#florida-grid .category-card h2 {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.35;
}

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

.page-article--florida-category {
  background: transparent;
}

.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%, #77634d 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: 50px;
  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: 100;
}

.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;
}

div.florida-topic-card {
  cursor: default;
}

.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) {
  .florida-cat-hero {
    margin: 0 0 1rem;
    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) */
/* CKEditor 5 Bilder: Zentrierung & Ausrichtung im Frontend nachbilden */
.ck-content figure.image {
  display: table;
  margin: 1em auto;
  max-width: 100%;
}
.ck-content figure.image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.ck-content figure.image > figcaption {
  display: table-caption;
  caption-side: bottom;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding-top: 0.4em;
  text-align: center;
}
.ck-content figure.image-style-align-center,
.ck-content figure.image-style-block-align-center {
  margin-left: auto;
  margin-right: auto;
}
.ck-content figure.image-style-block-align-left {
  margin-left: 0;
  margin-right: auto;
}
.ck-content figure.image-style-block-align-right {
  margin-left: auto;
  margin-right: 0;
}
.ck-content figure.image-style-align-left {
  float: left;
  margin: 0.5em 1.5em 1em 0;
}
.ck-content figure.image-style-align-right {
  float: right;
  margin: 0.5em 0 1em 1.5em;
}

.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); }
}

/* Restaurant-Karten (Blog CKEditor, z. B. Top Restaurants Cape Coral) */
.page-body.ck-content .blog-restaurant-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.25rem 0 2rem;
}
.page-body.ck-content .blog-restaurant-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.25rem;
  margin: 0;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.page-body.ck-content .blog-restaurant-card h3 {
  margin: 0 0 0.6rem;
  font-size: 26px;
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: 1.3;
}
.page-body.ck-content .blog-restaurant-card p {
  margin: 0 0 0.65em;
  font-size: 0.95rem;
  line-height: 1.55;
}
.page-body.ck-content .blog-restaurant-card p:last-child {
  margin-bottom: 0;
}
.page-body.ck-content .blog-restaurant-card strong {
  color: var(--color-primary);
}

/* Blog: großes Teaser-Bild + Karten-Fotos (z. B. Sehenswürdigkeiten Cape Coral) */
.page-body.ck-content .blog-sight-hero {
  margin: 0.5rem 0 1.35rem;
  line-height: 0;
}
.page-body.ck-content .blog-sight-hero img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 0;
  display: block;
}
.page-body.ck-content .blog-sight-figure {
  margin: 0 0 0.9rem;
  line-height: 0;
}
.page-body.ck-content .blog-sight-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 0;
  display: block;
}

/* Über-uns: modernes Team-Layout */
.page-article--about .page-header {
  text-align: center;
  margin-bottom: 0.5rem;
}
.page-article--about .page-header h1 {
  font-size: 50px;
  margin-bottom: 0.25rem;
}
.page-body--about.ck-content > p:first-child {
  margin-top: 0;
}
.page-body.ck-content .about-page {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.page-body.ck-content .about-intro {
  margin: 0;
}
.page-body.ck-content .about-intro p {
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
}
.page-body.ck-content .about-intro p:last-child {
  margin-bottom: 0;
}
.page-body.ck-content .about-intro-lead {
  margin-bottom: 1em;
}
.page-body.ck-content .about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
}
.page-body.ck-content .about-value {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.page-body.ck-content .about-value strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-heading);
  font-weight: 600;
}
.page-body.ck-content .about-value span {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}
.page-body.ck-content .about-section-title {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--color-heading);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.page-body.ck-content .about-section-lead {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.page-body.ck-content .about-team-section {
  margin: 0;
}
.page-body.ck-content .about-team-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0;
}
.page-body.ck-content .about-team-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.25rem;
}
.page-body.ck-content .about-team-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  margin: 0;
  padding: 0;
}
/* Team-Liste: alle Karten wie Benjamin – Foto links, Text rechts */
.page-body.ck-content .about-team-list .about-team-card,
.page-body.ck-content .about-team-card--featured {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 0;
  margin-bottom: 0;
}
.page-body.ck-content .about-team-list .about-team-card .about-team-photo img,
.page-body.ck-content .about-team-card--featured .about-team-photo img {
  aspect-ratio: 3 / 4;
  height: 100%;
  min-height: 280px;
}
.page-body.ck-content .about-team-list .about-team-card .about-team-body,
.page-body.ck-content .about-team-card--featured .about-team-body {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-body.ck-content .about-team-list .about-team-card:hover,
.page-body.ck-content .about-team-card--featured:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.page-body.ck-content .about-team-photo {
  margin: 0;
  line-height: 0;
  overflow: hidden;
}
.page-body.ck-content .about-team-photo img {
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}
.page-body.ck-content .about-team-body {
  padding: 1.25rem 1.35rem 1.4rem;
}
.page-body.ck-content .about-team-body h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--color-heading);
  line-height: 1.25;
}
.page-body.ck-content .about-team-role {
  margin: 0 0 0.35rem !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent) !important;
}
.page-body.ck-content .about-team-body p {
  margin: 0 0 0.75em;
  font-size: 0.93rem;
  line-height: 1.58;
}
.page-body.ck-content .about-team-body p:last-child {
  margin-bottom: 0;
}
.page-body.ck-content .about-team-note {
  margin-top: 0.5rem !important;
}
.page-body.ck-content .about-team-quote {
  margin: 1rem 0 0 !important;
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  border-left: 3px solid var(--color-accent);
  background: rgba(129, 165, 158, 0.08);
  font-style: italic;
  font-size: 0.92rem !important;
  line-height: 1.55 !important;
  color: var(--color-heading) !important;
}
.page-body.ck-content .about-team-contact {
  margin-top: 0.75rem !important;
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
  color: var(--color-text-muted) !important;
}
.page-body.ck-content .about-care,
.page-body.ck-content .about-contact {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1.5rem 1.75rem;
  margin: 0;
}
.page-body.ck-content .about-care p,
.page-body.ck-content .about-contact p {
  margin: 0 0 0.85em;
  line-height: 1.6;
}
.page-body.ck-content .about-care p:last-child,
.page-body.ck-content .about-contact p:last-child {
  margin-bottom: 0;
}
.page-body.ck-content .about-contact-name {
  font-family: var(--font-display);
  font-size: 1.1rem !important;
  color: var(--color-heading) !important;
  margin-bottom: 0.5rem !important;
}
.page-body.ck-content .about-memorial {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(119, 99, 77, 0.06) 0%, rgba(129, 165, 158, 0.08) 100%);
  border: 1px solid var(--color-border);
  padding: 1.5rem 1.75rem;
  margin: 0;
}
.page-body.ck-content .about-memorial-photo {
  margin: 0;
  line-height: 0;
}
.page-body.ck-content .about-memorial-photo img {
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  filter: grayscale(15%);
  border-radius: 0;
}
.page-body.ck-content .about-memorial-body {
  text-align: left;
}
.page-body.ck-content .about-memorial-body .about-section-title {
  margin-bottom: 0.35rem;
}
.page-body.ck-content .about-memorial-role {
  margin: 0 0 0.85rem !important;
  font-size: 0.88rem !important;
  color: var(--color-text-muted) !important;
  line-height: 1.45 !important;
}
.page-body.ck-content .about-memorial-dates {
  margin: 0 !important;
  font-family: var(--font-display);
  font-size: 1rem !important;
  color: var(--color-heading) !important;
  line-height: 1.55 !important;
}
@media (max-width: 900px) {
  .page-body.ck-content .about-values {
    grid-template-columns: 1fr;
  }
  .page-body.ck-content .about-team-list .about-team-card,
  .page-body.ck-content .about-team-card--featured {
    grid-template-columns: 1fr;
  }
  .page-body.ck-content .about-team-list .about-team-card .about-team-photo img,
  .page-body.ck-content .about-team-card--featured .about-team-photo img {
    aspect-ratio: 16 / 10;
    min-height: unset;
  }
}
@media (max-width: 600px) {
  .page-body.ck-content .about-team-list .about-team-card .about-team-body,
  .page-body.ck-content .about-team-card--featured .about-team-body {
    padding: 1.25rem;
  }
  .page-body.ck-content .about-memorial {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-body.ck-content .about-memorial-photo img {
    max-width: 220px;
    margin: 0 auto;
    aspect-ratio: 3 / 4;
  }
  .page-body.ck-content .about-memorial-body {
    text-align: center;
  }
}

/* Ferienhausvermietung (Eigentümer-Landingpage) */
.page-content--rental {
  max-width: none;
  padding: 0 0 4rem;
}
.page-content--rental .page-article--rental {
  max-width: 1280px;
  margin: 1.75rem auto 0;
}
.page-content--rental .page-header h1 {
  font-size: 50px;
  margin-bottom: 0.25rem;
}
.rental-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 72vh, 760px);
  display: flex;
  align-items: stretch;
  color: #fff;
}
.rental-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.rental-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.35) 42%, rgba(15, 23, 42, 0.72) 100%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.45) 100%);
}
.rental-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.5rem;
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.rental-hero__copy {
  max-width: none;
  padding-left: clamp(0.5rem, 2vw, 2rem);
}
.rental-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 50px;
  line-height: 1.08;
  font-weight: 600;
  color: #fff;
  text-wrap: balance;
}
.rental-hero__form-card {
  background: #fff;
  color: var(--color-text);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.24);
  padding: 1.75rem 1.65rem 1.5rem;
}
.rental-hero__form-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-heading);
}
.rental-hero__form-lead {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.rental-hero__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.rental-hero__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.rental-hero__field .rental-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.72rem 0.85rem;
  font: inherit;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rental-hero__field textarea.rental-input {
  min-height: 6.5rem;
  resize: vertical;
}
.rental-hero__field .rental-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.rental-hero__field.has-error .rental-input {
  border-color: #dc2626;
}
.rental-hero__error {
  margin: 0;
  font-size: 0.78rem;
  color: #dc2626;
}
.rental-hero__field--privacy {
  margin-top: 0.15rem;
}
.rental-hero__privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  cursor: pointer;
}
.rental-hero__privacy input {
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.rental-hero__privacy a {
  color: var(--color-accent);
}
.rental-hero__submit {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  background: #81a59e;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.rental-hero__submit:hover {
  transform: translateY(-1px);
  background: #6f928b;
}
.rental-hero__success {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.22);
}
.rental-hero__success p {
  margin: 0;
  color: var(--color-heading);
  line-height: 1.55;
}
@media (max-width: 900px) {
  .rental-hero {
    min-height: auto;
  }
  .rental-hero__inner {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 2rem;
  }
  .rental-hero__copy {
    order: -1;
    padding-left: 0;
    margin-bottom: 0.25rem;
  }
  .rental-hero__title {
    font-size: 50px;
  }
  .page-content--rental .page-article--rental {
    margin-top: 0;
    padding: 0;
  }
}
.page-body--rental.ck-content > p:first-child {
  margin-top: 0;
}
.page-body--rental.ck-content h1 {
  font-size: 50px;
}
.page-body--rental.ck-content h2 {
  font-size: 34px;
}
.page-body--rental.ck-content h3 {
  font-size: 26px;
}
.page-body--rental.ck-content h4 {
  font-size: 20px;
}
.page-content--rental .blog-faq > h2 {
  font-size: 34px;
}
.page-body.ck-content .rental-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.page-body.ck-content .rental-intro {
  background: linear-gradient(135deg, rgba(119, 99, 77, 0.08) 0%, rgba(129, 165, 158, 0.12) 100%);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem 1.75rem;
  margin: 0;
}
.page-body.ck-content .rental-intro p {
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
}
.page-body.ck-content .rental-intro p:last-child {
  margin-bottom: 0;
}
.page-body.ck-content .rental-intro-sub {
  font-size: 1.08rem !important;
  font-weight: 600;
  color: var(--color-heading) !important;
}
.page-body.ck-content .rental-section-title {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--color-heading);
  margin: 0 0 0.65rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.page-body.ck-content .rental-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-accent);
}
.page-body.ck-content .rental-icon svg {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
}
.page-body.ck-content .rental-icon--title {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.12);
}
.page-body.ck-content .rental-icon--title svg {
  width: 1.2rem;
  height: 1.2rem;
}
.page-body.ck-content .rental-icon--benefit {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.14);
  margin-bottom: 0.15rem;
}
.page-body.ck-content .rental-icon--benefit svg {
  width: 1.25rem;
  height: 1.25rem;
}
.page-body.ck-content .rental-list--checked {
  list-style: none;
  padding-left: 0;
}
.page-body.ck-content .rental-list--checked li {
  position: relative;
  padding-left: 1.65rem;
}
.page-body.ck-content .rental-list--checked li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--color-accent);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.page-body.ck-content .rental-benefit {
  background: rgba(129, 165, 158, 0.08);
  border: 1px solid var(--color-border);
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.page-body.ck-content .rental-benefit__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.page-body.ck-content .rental-section-lead {
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  font-size: 0.98rem;
}
.page-body.ck-content .rental-feature,
.page-body.ck-content .rental-partner,
.page-body.ck-content .rental-services,
.page-body.ck-content .rental-why,
.page-body.ck-content .rental-types,
.page-body.ck-content .rental-steps-section,
.page-body.ck-content .rental-benefits-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1.5rem 1.75rem;
  margin: 0;
}
.page-body.ck-content .rental-feature p,
.page-body.ck-content .rental-partner p,
.page-body.ck-content .rental-services p,
.page-body.ck-content .rental-why p,
.page-body.ck-content .rental-types p {
  margin: 0 0 0.85em;
  line-height: 1.6;
}
.page-body.ck-content .rental-feature p:last-child,
.page-body.ck-content .rental-partner p:last-child,
.page-body.ck-content .rental-why p:last-child {
  margin-bottom: 0;
}
.page-body.ck-content .rental-feature--premium .rental-subtitle {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--color-heading);
  margin: 1.35rem 0 0.55rem;
  line-height: 1.3;
}
.page-body.ck-content .rental-feature--premium .rental-subtitle:first-of-type {
  margin-top: 1.1rem;
}
.page-body.ck-content .rental-feature--premium .rental-subtitle + p {
  margin-top: 0;
}
.page-body.ck-content .rental-feature--premium > p:last-child {
  margin-bottom: 0;
}
.page-body.ck-content .rental-list {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
  line-height: 1.65;
}
.page-body.ck-content .rental-list--columns {
  columns: 2;
  column-gap: 2rem;
}
.page-body.ck-content .rental-list li {
  margin-bottom: 0.35rem;
  break-inside: avoid;
}
.page-body.ck-content .rental-cta {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(129, 165, 158, 0.14) 100%);
  border: 1px solid rgba(13, 148, 136, 0.22);
  padding: 1.5rem 1.75rem;
  margin: 0;
  text-align: center;
}
.page-body.ck-content .rental-cta p {
  margin: 0 0 0.85em;
  line-height: 1.6;
}
.page-body.ck-content .rental-cta-action {
  margin: 1.25rem 0 0 !important;
}
.page-body.ck-content .rental-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  background: var(--color-accent);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.page-body.ck-content .rental-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.28);
  color: #fff !important;
}
.page-body.ck-content .rental-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}
.page-body.ck-content .rental-benefit strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-heading);
  font-weight: 600;
  line-height: 1.35;
}
.page-body.ck-content .rental-benefit span {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.page-body.ck-content .rental-steps {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: rental-step;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.page-body.ck-content .rental-steps li {
  counter-increment: rental-step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 1rem;
  align-items: start;
  padding: 1rem 1.15rem;
  background: rgba(129, 165, 158, 0.08);
  border: 1px solid var(--color-border);
}
.page-body.ck-content .rental-steps li::before {
  content: counter(rental-step);
  grid-row: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.page-body.ck-content .rental-steps li strong {
  display: block;
  color: var(--color-heading);
  font-size: 1rem;
}
.page-body.ck-content .rental-steps li span {
  grid-column: 2;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .page-body.ck-content .rental-benefits {
    grid-template-columns: 1fr;
  }
  .page-body.ck-content .rental-list--columns {
    columns: 1;
  }
}
@media (max-width: 600px) {
  .page-body.ck-content .rental-intro,
  .page-body.ck-content .rental-feature,
  .page-body.ck-content .rental-partner,
  .page-body.ck-content .rental-services,
  .page-body.ck-content .rental-why,
  .page-body.ck-content .rental-types,
  .page-body.ck-content .rental-steps-section,
  .page-body.ck-content .rental-benefits-section,
  .page-body.ck-content .rental-cta {
    padding: 1.15rem 1.2rem;
  }
}

/* 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: 34px; 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 1.5rem 3rem;
  }

  .page-article {
    padding: 0;
  }

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

  .page-header h1 {
    font-size: 50px;
    line-height: 1.25;
  }

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

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

  .page-featured-image img {
    border-radius: var(--radius);
    width: 100%;
  }

  .page-article > .mw-hero-slides {
    margin: 0 0 1.25rem;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
  }

  .page-article > .mw-slideshow {
    margin: 0 0 1.25rem;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
  }

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

  .page-body.ck-content img {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius);
  }
}

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

.page-article--florida {
  background: transparent;
}

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

.page-article--florida .page-header h1 {
  font-size: 50px;
  line-height: 1.15;
}

.page-article--florida .page-featured-image img {
  border-radius: var(--radius-lg);
  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: 34px;
}

.page-article--florida .page-body.ck-content h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.35rem;
  font-size: 26px;
}

.fl-hero-card {
  margin: 0.6rem 0 1.4rem;
  background: linear-gradient(130deg, #0d9488 0%, #0ea5a8 58%, #77634d 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: 26px;
}

.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 .page-featured-image img {
    min-height: 190px;
    border-radius: var(--radius-lg);
    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: 100;
  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: 26px;
  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: 100;
}
.blog-provider-card .blog-provider-highlight {
  font-weight: 100;
  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: 34px;
  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.625rem;
  font-weight: 100;
  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;
}

/* =====================================================
   Owner-Portal (Login + Dashboard + Belegungskalender)
   Marken-Farben: Blau #77634d (primär), Salbei #81a59e (CTA)
   ===================================================== */

.owner-dash [hidden],
.owner-auth [hidden],
.owner-cal-popover[hidden],
.owner-cal-popover [hidden] {
  display: none !important;
}

:root {
  --owner-blue: #77634d;
  --owner-blue-dark: #155a8a;
  --owner-blue-soft: #e8f1f8;
  --owner-pink: #81a59e;
  --owner-pink-dark: #6a8d86;
  --owner-gray: #54595F;
  --owner-gray-soft: #f5f5f5;
  --owner-gray-line: rgba(84, 89, 95, 0.18);
  --owner-success: #77634d;
  --owner-warn: #b45309;
  --owner-danger: #b91c1c;
}

/* ============ Login-Seite ============ */
.owner-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 2rem 1rem 3rem;
  background: var(--color-bg);
}

.owner-auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--owner-gray-line);
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.owner-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--owner-blue);
  margin-bottom: 0.85rem;
}

.owner-auth-brand-dot {
  width: 8px;
  height: 8px;
  background: var(--owner-blue);
  display: inline-block;
}

.owner-auth-title {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--owner-gray);
}

.owner-auth-subtitle {
  margin: 0 0 1.5rem;
  color: var(--owner-gray);
  opacity: 0.8;
  font-size: 0.95rem;
}

.owner-auth-messages,
.owner-auth-form,
.owner-auth-footer {
  margin: 0;
}

.owner-auth-messages {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.owner-auth-alert {
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--owner-gray-line);
  background: var(--owner-gray-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.owner-auth-alert--warn { background: #fff7ed; border-color: #fdba74; color: #7c2d12; }
.owner-auth-alert--error { background: #fef2f2; border-color: #fca5a5; color: #7f1d1d; }
.owner-auth-alert--success { background: #ecfdf5; border-color: #6ee7b7; color: #065f46; }
.owner-auth-alert--info { background: var(--owner-blue-soft); border-color: rgba(119, 99, 77, 0.25); color: var(--owner-blue-dark); }

.owner-auth-alert-link {
  margin-left: auto;
  font-weight: 600;
  text-decoration: underline;
}

.owner-auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.owner-auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.owner-auth-field > label {
  font-weight: 600;
  color: var(--owner-gray);
}

.owner-auth-field input {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--owner-gray-line);
  background: #fff;
  font-size: 0.95rem;
  transition: border-color .15s, box-shadow .15s;
}

.owner-auth-field input:focus {
  outline: none;
  border-color: var(--owner-blue);
  box-shadow: 0 0 0 3px rgba(119, 99, 77, 0.15);
}

.owner-auth-forgot {
  align-self: flex-end;
  font-size: 0.82rem;
  color: var(--owner-blue);
  margin-top: 0.15rem;
}

.owner-auth-forgot:hover { text-decoration: underline; }

.owner-auth-field-error {
  margin: 0;
  font-size: 0.82rem;
  color: var(--owner-danger);
}

.owner-auth-submit {
  margin-top: 0.35rem;
  background: var(--owner-pink);
  color: #fff;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}

.owner-auth-submit:hover {
  background: var(--owner-pink-dark);
  box-shadow: 0 4px 12px rgba(129, 165, 158, 0.25);
}

.owner-auth-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--owner-gray-line);
  font-size: 0.88rem;
  color: var(--owner-gray);
  text-align: center;
}

.owner-auth-footer a { color: var(--owner-blue); font-weight: 600; }
.owner-auth-footer a:hover { text-decoration: underline; }

/* ============ Dashboard-Layout ============ */
.owner-dash {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

.owner-dash-header {
  background: #81a59e;
  color: #fff;
  padding: 1.5rem 1.5rem 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.owner-dash-header::after {
  content: "";
  position: absolute;
  inset: auto -120px -200px auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.owner-dash-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.owner-dash-eyebrow {
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
}

.owner-dash-title {
  margin: 0 0 0.2rem;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.owner-dash-subtitle {
  margin: 0;
  opacity: 0.85;
  font-size: 0.95rem;
}

.owner-dash-logout {
  align-self: flex-start;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background .15s;
}

.owner-dash-logout:hover { background: rgba(255, 255, 255, 0.22); }

.owner-dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
  position: relative;
}

.owner-dash-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  backdrop-filter: blur(2px);
}

.owner-dash-stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.owner-dash-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* ============ Toasts ============ */
.owner-toasts {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.owner-toast {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--owner-gray-line);
  border-left: 4px solid var(--owner-blue);
  font-size: 0.92rem;
  color: var(--owner-gray);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  animation: owner-toast-in .25s ease-out both;
  transition: opacity .35s, transform .35s;
}

.owner-toast.is-leaving { opacity: 0; transform: translateY(-4px); }

.owner-toast--success { border-left-color: #16a34a; }
.owner-toast--error { border-left-color: var(--owner-danger); }
.owner-toast--warning { border-left-color: #d97706; }
.owner-toast--info { border-left-color: var(--owner-blue); }

.owner-toast-icon {
  width: 8px; height: 8px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.6;
}

.owner-toast-text { flex: 1; }

@keyframes owner-toast-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Empty State ============ */
.owner-dash-empty {
  background: #fff;
  border: 1px solid var(--owner-gray-line);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.owner-dash-empty h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: var(--owner-gray);
}

.owner-dash-empty p {
  margin: 0;
  color: var(--owner-gray);
  opacity: 0.8;
}

/* ============ Hauptregister (Buchungen / Kalender / Profil) ============ */
.owner-main-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  background: var(--owner-gray-soft);
  border: 1px solid var(--owner-gray-line);
  padding: 0.3rem;
  margin-bottom: 1.25rem;
}

.owner-main-tabs button {
  appearance: none;
  background: transparent;
  border: none;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--owner-gray);
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 140px;
  justify-content: center;
  transition: background .15s, color .15s, box-shadow .15s;
}

.owner-main-tabs button:hover { color: var(--owner-blue-dark); }

.owner-main-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--owner-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.owner-main-tabs button svg { flex-shrink: 0; }

/* PM-Portal: Seiten-Navigation (Links statt Register) */
.pm-portal-nav .pm-portal-nav-link {
  text-decoration: none;
  background: transparent;
  border: none;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--owner-gray);
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 140px;
  justify-content: center;
  transition: background .15s, color .15s, box-shadow .15s;
  border-radius: 2px;
}
.pm-portal-nav .pm-portal-nav-link:hover { color: var(--owner-blue-dark); }
.pm-portal-nav .pm-portal-nav-link.is-active {
  background: #fff;
  color: var(--owner-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.pm-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--owner-gray-soft);
  border: 1px solid var(--owner-gray-line);
  border-radius: 8px;
}
.pm-filters label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--owner-gray);
}
.pm-filters select,
.pm-filters input[type="search"],
.pm-filters input[type="text"] {
  min-width: 10rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--owner-gray-line);
  border-radius: 6px;
  font: inherit;
}
.pm-property-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pm-property-list-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--owner-gray-line);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.pm-property-list-item a:hover {
  border-color: var(--owner-blue);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
}
.pm-property-list-meta {
  font-size: 0.9rem;
  color: var(--owner-gray);
  text-align: right;
}

.owner-main-panel { animation: owner-panel-in .2s ease-out both; }

@keyframes owner-panel-in {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ Profil-Karte ============ */
.owner-profile-card {
  background: #fff;
  border: 1px solid var(--owner-gray-line);
  padding: 1.5rem 1.5rem 1.75rem;
}

.owner-profile-head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--owner-gray-line);
}

.owner-profile-title {
  margin: 0 0 0.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--owner-gray);
}

.owner-profile-sub {
  margin: 0;
  color: var(--owner-gray);
  opacity: 0.8;
  font-size: 0.92rem;
}

.owner-profile-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.owner-profile-fieldset legend {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--owner-gray);
  opacity: 0.7;
  padding: 0;
  margin-bottom: 0.65rem;
}

.owner-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.owner-profile-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
}

.owner-profile-field--wide { grid-column: 1 / -1; }

.owner-profile-field label {
  font-weight: 600;
  color: var(--owner-gray);
}

.owner-profile-field input,
.owner-profile-field select {
  font: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--owner-gray-line);
  background: #fff;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}

.owner-profile-field input:focus,
.owner-profile-field select:focus {
  outline: none;
  border-color: var(--owner-blue);
  box-shadow: 0 0 0 3px rgba(119, 99, 77, 0.15);
}

.owner-profile-error {
  margin: 0;
  font-size: 0.82rem;
  color: var(--owner-danger);
}

.owner-profile-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--owner-gray-line);
}

@media (max-width: 600px) {
  .owner-profile-grid { grid-template-columns: 1fr; }
  .owner-profile-card { padding: 1.1rem 1rem 1.25rem; }
  .owner-main-tabs button { flex: 1 1 100%; }
}

/* ============ Property-Tabs ============ */
.owner-dash-nav {
  background: #fff;
  border: 1px solid var(--owner-gray-line);
  border-bottom: none;
  margin-bottom: -1px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.owner-dash-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.owner-dash-nav li { flex-shrink: 0; }

.owner-dash-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.1rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--owner-gray);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .15s, border-color .15s, background .15s;
}

.owner-dash-nav a:hover { color: var(--owner-blue); background: var(--owner-blue-soft); }

.owner-dash-nav a.is-active {
  color: var(--owner-blue);
  border-bottom-color: var(--owner-blue);
}

.owner-dash-nav-meta {
  font-size: 0.75rem;
  background: var(--owner-blue-soft);
  color: var(--owner-blue-dark);
  padding: 0.05rem 0.45rem;
  font-weight: 700;
}

.owner-dash-nav a.is-active .owner-dash-nav-meta {
  background: var(--owner-blue);
  color: #fff;
}

/* ============ Property-Card ============ */
.owner-prop {
  background: #fff;
  border: 1px solid var(--owner-gray-line);
  margin-bottom: 1.5rem;
  scroll-margin-top: 80px;
}

.owner-prop-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--owner-gray-line);
}

.owner-prop-title {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--owner-gray);
}

.owner-prop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--owner-gray);
  opacity: 0.85;
}

.owner-prop-meta span {
  position: relative;
  padding-right: 0.65rem;
}

.owner-prop-meta span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: 0;
  color: var(--owner-gray-line);
}

.owner-prop-meta--accent {
  color: var(--owner-pink) !important;
  font-weight: 600;
  opacity: 1 !important;
}

.owner-prop-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: var(--owner-blue);
  color: #fff;
  border: 1px solid var(--owner-blue);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, box-shadow .15s;
}

.owner-prop-cta:hover {
  background: var(--owner-blue-dark);
  box-shadow: 0 3px 10px rgba(119, 99, 77, 0.25);
}

.owner-prop-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.owner-prop-body {
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.owner-prop-body--bookings,
.owner-prop-body--calendar {
  grid-template-columns: 1fr;
}

.owner-prop-h3 {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--owner-gray);
  opacity: 0.7;
}

.owner-prop-empty {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--owner-gray-soft);
  color: var(--owner-gray);
  font-size: 0.9rem;
}

.owner-prop-conflict {
  margin: 0 0 0.65rem 0;
  padding: 0.7rem 0.9rem;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  border-radius: 6px;
  font-size: 0.88rem;
}
.owner-prop-conflict strong { color: #78350f; }

.owner-bk-source {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: #e2e8f0;
  color: #475569;
  white-space: nowrap;
}
.owner-bk-source--website        { background: #ccfbf1; color: #115e59; }
.owner-bk-source--airbnb         { background: #fee2e2; color: #b91c1c; }
.owner-bk-source--booking_com    { background: #dbeafe; color: #1d4ed8; }
.owner-bk-source--vrbo           { background: #fef3c7; color: #92400e; }
.owner-bk-source--expedia        { background: #ede9fe; color: #6d28d9; }
.owner-bk-source--direct_beds24  { background: #f1f5f9; color: #475569; }
.owner-bk-source--other          { background: #f3f4f6; color: #4b5563; }

.owner-bk-flag {
  display: inline-block;
  margin-left: 0.35rem;
  width: 1.1em;
  height: 1.1em;
  line-height: 1.1em;
  text-align: center;
  border-radius: 50%;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 700;
  font-size: 0.75rem;
}
.owner-prop-table tr[data-bk-conflict="1"] {
  background: #fff7ed;
}

.owner-prop-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--owner-gray-line);
}

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

.owner-prop-table th,
.owner-prop-table td {
  text-align: left;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--owner-gray-line);
}

.owner-prop-table thead th {
  background: var(--owner-gray-soft);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--owner-gray);
}

.owner-prop-table-nights { text-align: right !important; }

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

.owner-prop-table tbody tr.is-current {
  background: var(--owner-blue-soft);
  font-weight: 600;
}

.owner-prop-table tbody tr.is-current td:first-child {
  position: relative;
  padding-left: 1.1rem;
}

.owner-prop-table tbody tr.is-current td:first-child::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--owner-blue);
}

.owner-prop-table-empty td {
  text-align: center;
  color: var(--owner-gray);
  opacity: 0.7;
  font-style: italic;
  padding: 1rem 0.85rem !important;
}

.owner-prop-table-actions { width: 1%; text-align: right !important; white-space: nowrap; }

.owner-prop-table-note {
  color: var(--owner-gray);
  font-size: 0.88rem;
  max-width: 280px;
  word-break: break-word;
}

.owner-prop-table--self tbody tr.is-current {
  background: #fff5f8;
}

.owner-prop-table--self tbody tr.is-current td:first-child::before {
  background: var(--owner-pink);
}

.owner-btn-link {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: var(--owner-danger);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background .15s, border-color .15s;
}

.owner-btn-link:hover {
  background: #fef2f2;
  border-color: rgba(185, 28, 28, 0.3);
}

.owner-btn-link svg { stroke: currentColor; }

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

/* === Buchungs-Tabs === */
.owner-prop-bookings-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.owner-prop-bookings-head .owner-prop-h3 { margin: 0; }

.owner-bookings-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.2rem;
  background: var(--owner-gray-soft);
  border: 1px solid var(--owner-gray-line);
}

.owner-bookings-tabs button {
  appearance: none;
  background: transparent;
  border: none;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--owner-gray);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background .15s, color .15s;
}

.owner-bookings-tabs button:hover {
  background: rgba(119, 99, 77, 0.08);
  color: var(--owner-blue-dark);
}

.owner-bookings-tabs button[aria-selected="true"] {
  background: #fff;
  color: var(--owner-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.owner-bookings-tab-count {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--owner-gray-line);
  color: var(--owner-gray);
  padding: 0.05rem 0.4rem;
  font-variant-numeric: tabular-nums;
  min-width: 18px;
  text-align: center;
}

.owner-bookings-tabs button[aria-selected="true"] .owner-bookings-tab-count {
  background: var(--owner-blue);
  color: #fff;
}

/* ============ Belegungskalender ============ */
.owner-prop-cal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.owner-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: var(--owner-gray);
}

.owner-cal-legend li { display: inline-flex; align-items: center; gap: 0.35rem; }

.owner-cal-dot {
  width: 12px; height: 12px;
  background: #e9eef2;
  border: 1px solid var(--owner-gray-line);
  display: inline-block;
}

.owner-cal-dot.is-free { background: #fff; }
.owner-cal-dot.is-booked { background: var(--owner-blue); border-color: var(--owner-blue); }
.owner-cal-dot.is-turnover {
  background: linear-gradient(135deg, #fff 0 50%, var(--owner-blue) 50% 100%);
  border-color: var(--owner-blue);
}
.owner-cal-dot.is-blocked { background: #b0b8bf; border-color: #9aa1a8; }
.owner-cal-dot.is-owner_block { background: var(--owner-pink); border-color: var(--owner-pink-dark); }
.owner-cal-dot.is-reserved {
  background: repeating-linear-gradient(
    45deg,
    var(--owner-blue) 0 3px,
    rgba(255, 255, 255, 0.55) 3px 6px
  );
  border-color: var(--owner-blue);
}

.owner-cal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}

.owner-cal-month {
  border: 1px solid var(--owner-gray-line);
  padding: 0.65rem 0.6rem 0.7rem;
  background: #fff;
}

.owner-cal-month-title {
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--owner-gray);
}

.owner-cal-weekdays,
.owner-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.owner-cal-weekdays {
  font-size: 0.65rem;
  color: var(--owner-gray);
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 4px;
  font-weight: 600;
}

.owner-cal-day {
  appearance: none;
  background: #fff;
  border: 1px solid #eef1f3;
  color: var(--owner-gray);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  padding: 0;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: transform .12s, box-shadow .12s;
}

.owner-cal-day.is-empty { background: transparent; border-color: transparent; }
.owner-cal-day.is-past { color: #c4c8cc; background: #fafbfc; border-color: transparent; }
.owner-cal-day.is-free { background: #fff; }

.owner-cal-day.is-blocked { background: #b0b8bf; color: #fff; border-color: #9aa1a8; }

.owner-cal-day.is-turnover {
  background: linear-gradient(135deg, #fff 0 50%, var(--owner-blue) 50% 100%);
  color: #0d3a55;
  border-color: var(--owner-blue);
}

.owner-cal-day.is-booked {
  background: var(--owner-blue);
  color: #fff;
  border-color: var(--owner-blue);
}

/* „Reserviert für Buchung“: Mietvertrag noch nicht unterzeichnet — der Tag
   ist gesperrt, aber Buchungsnummer/Gastdaten werden NICHT angezeigt.
   Visuell durch Schraffur (Linien) vom „echten“ Belegt-Tag unterscheidbar. */
.owner-cal-day.is-reserved {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.6) 0 3px,
      rgba(255, 255, 255, 0) 3px 6px
    ),
    var(--owner-blue);
  color: #fff;
  border-color: var(--owner-blue);
}

.owner-cal-day.is-owner_block {
  background: var(--owner-pink);
  color: #fff;
  border-color: var(--owner-pink-dark);
}

.owner-cal-day.is-today {
  position: relative;
  box-shadow: inset 0 0 0 2px var(--owner-pink);
  font-weight: 700;
}

.owner-cal-day.is-today.is-free { background: #fff5f8; }

.owner-cal-day.is-free,
.owner-cal-day.has-bnr,
.owner-cal-day.is-reserved,
.owner-cal-day.is-deletable { cursor: pointer; }

.owner-cal-day.is-free:hover {
  background: var(--owner-blue-soft);
  border-color: var(--owner-blue);
}

.owner-cal-day.has-bnr:hover,
.owner-cal-day.is-deletable:hover { transform: scale(1.05); z-index: 1; }

.owner-cal-day.has-bnr:focus-visible,
.owner-cal-day.is-deletable:focus-visible,
.owner-cal-day.is-active {
  outline: 2px solid var(--owner-pink);
  outline-offset: 2px;
  z-index: 2;
}

/* === Auswahl-Modus === */
[data-owner-section].is-selecting .owner-cal-day.is-free { cursor: pointer; }
[data-owner-section].is-selecting .owner-cal-day.is-free:hover {
  background: var(--owner-blue-soft);
  border-color: var(--owner-blue);
}

[data-owner-section].is-selecting .owner-cal-day.is-past,
[data-owner-section].is-selecting .owner-cal-day.is-booked,
[data-owner-section].is-selecting .owner-cal-day.is-reserved,
[data-owner-section].is-selecting .owner-cal-day.is-blocked,
[data-owner-section].is-selecting .owner-cal-day.is-turnover {
  cursor: not-allowed;
  opacity: 0.55;
}

.owner-cal-day.is-sel-start,
.owner-cal-day.is-sel-end {
  background: var(--owner-pink) !important;
  color: #fff !important;
  border-color: var(--owner-pink-dark) !important;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--owner-pink);
}

.owner-cal-day.is-sel-range {
  background: #ffe5ec !important;
  color: var(--owner-pink-dark) !important;
  border-color: #ffb8c9 !important;
}

/* === Action-Bar (Auswahl) === */
.owner-cal-actionbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.85rem;
  background: #fff;
  border: 1px solid var(--owner-pink);
  border-left-width: 4px;
  box-shadow: 0 4px 14px rgba(129, 165, 158, 0.08);
  animation: owner-bar-in .25s ease-out both;
}

@keyframes owner-bar-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.owner-cal-actionbar-state {
  flex: 1 1 200px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.88rem;
  color: var(--owner-gray);
}

.owner-cal-actionbar-state strong {
  font-size: 0.95rem;
  color: var(--owner-pink-dark);
}

.owner-cal-actionbar-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.65rem;
  flex: 2 1 320px;
}

.owner-cal-actionbar-note {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.78rem;
  color: var(--owner-gray);
}

.owner-cal-actionbar-note input {
  font: inherit;
  font-size: 0.92rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--owner-gray-line);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}

.owner-cal-actionbar-note input:focus {
  outline: none;
  border-color: var(--owner-blue);
  box-shadow: 0 0 0 3px rgba(119, 99, 77, 0.15);
}

.owner-cal-actionbar-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* === Owner-Buttons (innerhalb Action-Bar / Popover) === */
.owner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}

.owner-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.owner-btn--primary {
  background: var(--owner-pink);
  color: #fff;
  border-color: var(--owner-pink);
}
.owner-btn--primary:hover:not(:disabled) {
  background: var(--owner-pink-dark);
  border-color: var(--owner-pink-dark);
  box-shadow: 0 4px 12px rgba(129, 165, 158, 0.25);
}

.owner-btn--ghost {
  background: transparent;
  color: var(--owner-gray);
  border-color: var(--owner-gray-line);
}
.owner-btn--ghost:hover { background: var(--owner-gray-soft); }

.owner-btn--danger {
  background: var(--owner-danger);
  color: #fff;
  border-color: var(--owner-danger);
}
.owner-btn--danger:hover { background: #991b1b; border-color: #991b1b; }

/* ============ Popover ============ */
.owner-cal-popover {
  position: absolute;
  z-index: 100;
  background: #fff;
  color: var(--owner-gray);
  border: 1px solid var(--owner-gray-line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  font-size: 0.88rem;
  min-width: 220px;
  max-width: 320px;
  animation: owner-pop-in .18s ease-out both;
}

@keyframes owner-pop-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.owner-cal-popover-arrow {
  position: absolute;
  top: -6px; left: 50%;
  width: 10px; height: 10px;
  background: #fff;
  border-left: 1px solid var(--owner-gray-line);
  border-top: 1px solid var(--owner-gray-line);
  transform: translateX(-50%) rotate(45deg);
}

.owner-cal-popover-body { padding: 0.8rem 0.9rem; }

.owner-cal-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--owner-gray-line);
  font-size: 1rem;
  color: var(--owner-blue);
}

.owner-cal-popover-close {
  background: transparent;
  border: none;
  color: var(--owner-gray);
  padding: 0.15rem;
  display: inline-flex;
  cursor: pointer;
  opacity: 0.6;
}
.owner-cal-popover-close:hover { opacity: 1; }

.owner-cal-popover-meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.owner-cal-popover-meta > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.owner-cal-popover-meta dt {
  margin: 0;
  font-weight: 600;
  color: var(--owner-gray);
  opacity: 0.7;
}

.owner-cal-popover-meta dd {
  margin: 0;
  color: var(--owner-gray);
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.owner-cal-popover-actions {
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--owner-gray-line);
}

.owner-cal-popover-actions .owner-btn--danger {
  width: 100%;
  font-size: 0.85rem;
  padding: 0.55rem 0.8rem;
}

/* ============ Responsive ============ */

@media (max-width: 600px) {
  .owner-dash-header { padding: 1.25rem 1rem 1rem; }
  .owner-dash-title { font-size: 1.4rem; }
  .owner-cal-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .owner-cal-day { height: 36px; font-size: 0.9rem; }
  .owner-cal-actionbar-form { flex-direction: column; align-items: stretch; }
  .owner-cal-actionbar-actions { justify-content: flex-end; }
  .owner-prop-head { padding: 0.95rem 1rem; }
  .owner-prop-body { padding: 1rem; }
}

/* ===== 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.875rem;
  font-weight: 100;
  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.375rem;
  font-weight: 100;
  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: 1.25rem;
  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.375rem;
  font-weight: 100;
  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(119, 99, 77, 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.525rem;
  }
  .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: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem 1.75rem;
  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);
}
/* Logo-Spalte: direktes img, figure oder CKEditor-<p> mit Bild */
.mw-hero-alamo > :not(.mw-hero-alamo-text) {
  flex: 0 0 auto;
  margin: 0;
  max-width: 100%;
}
.mw-hero-alamo > :not(.mw-hero-alamo-text) img {
  width: min(220px, 100%);
  height: auto;
  display: block;
  margin: 0;
  border-radius: var(--radius);
}
.mw-hero-alamo-text {
  flex: 1 1 16rem;
  min-width: min(100%, 14rem);
  text-align: left;
}
.mw-hero-alamo-text p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-text);
  text-align: left;
}
.mw-hero-alamo-text .mw-hero-cta {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  min-height: 2.75rem;
}
/* CKEditor: Absatz-/Bild-Abstände im Hero zurücksetzen */
.page-body.ck-content .mw-hero-alamo > :not(.mw-hero-alamo-text) {
  margin: 0;
}
.page-body.ck-content .mw-hero-alamo > :not(.mw-hero-alamo-text) img {
  margin: 0;
}
.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: 100;
  font-size: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(119, 99, 77, 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;
}

/* Mietwagen Florida: Intro (Video + TOC), Alamo-Split, Karte */
.mw-intro-grid {
  display: grid;
  gap: 1.5rem;
  margin: 0 0 2rem;
  align-items: start;
}
@media (min-width: 901px) {
  .mw-intro-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  }
}
.mw-toc {
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: var(--radius-lg, 12px);
  padding: 1rem 1.15rem;
  background: var(--color-bg-alt, #f8fafc);
  font-size: 0.95rem;
}
.mw-toc-title {
  font-weight: 100;
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.mw-toc ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.55;
}
.mw-toc a {
  text-decoration: none;
}
.mw-toc a:hover {
  text-decoration: underline;
}
.mw-alamo-split,
.mw-so-findest-grid {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 1.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .mw-alamo-split,
  .mw-so-findest-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.mw-banner-wrap {
  margin: 0 0 2rem;
  text-align: center;
}
.mw-banner-wrap img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg, 12px);
}
.mw-top8-list li {
  margin-bottom: 0.85rem;
  line-height: 1.55;
}
.mw-map-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  box-shadow: var(--shadow-hover, 0 4px 24px rgba(0, 0, 0, 0.08));
  margin: 1rem 0 2rem;
  min-height: 280px;
}
.mw-map-wrap iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* ===== Mietwagen Florida: Lead, Icons, Karten, FAQ ===== */
.page-content--mietwagen-florida .page-article--mietwagen-florida .page-header h1 {
  font-size: 50px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.page-body--mietwagen-fl .mw-lead-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.35rem 1.5rem;
  margin: 0 0 2rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 50%, #e6fffa 100%);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 10px 32px rgba(13, 148, 136, 0.1);
}
.page-body--mietwagen-fl .mw-lead-card-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.35rem;
}
.page-body--mietwagen-fl .mw-lead-card-body {
  flex: 1;
  min-width: 0;
}
.page-body--mietwagen-fl .mw-lead-card-body p {
  margin: 0;
  line-height: 1.65;
  color: var(--color-text);
}

.page-body--mietwagen-fl h2 {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin-top: 2rem;
}
.page-body--mietwagen-fl h2:first-of-type {
  margin-top: 0;
}
.page-body--mietwagen-fl .mw-h2-ic {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(13, 148, 136, 0.12);
  color: var(--color-primary);
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.page-body--mietwagen-fl .mw-toc-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-body--mietwagen-fl .mw-toc-title i {
  color: var(--color-primary);
}

.page-body--mietwagen-fl .mw-icon-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.page-body--mietwagen-fl .mw-icon-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.65rem;
  line-height: 1.55;
}
.page-body--mietwagen-fl .mw-icon-list .mw-ili {
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  margin-top: 0.12rem;
  color: var(--color-primary);
}
.page-body--mietwagen-fl .mw-icon-list--checks .mw-ili {
  color: #059669;
}

.page-body--mietwagen-fl .mw-top8-grid {
  display: grid;
  gap: 1rem;
  margin: 0 0 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .page-body--mietwagen-fl .mw-top8-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .page-body--mietwagen-fl .mw-top8-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.page-body--mietwagen-fl .mw-top8-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  padding: 1.15rem;
  box-shadow: var(--shadow, 0 2px 12px rgba(0, 0, 0, 0.06));
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
  box-sizing: border-box;
}
.page-body--mietwagen-fl .mw-top8-card:hover {
  box-shadow: var(--shadow-hover, 0 4px 24px rgba(0, 0, 0, 0.08));
  transform: translateY(-2px);
}
.page-body--mietwagen-fl .mw-top8-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.14),
    rgba(119, 99, 77, 0.12)
  );
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}
.page-body--mietwagen-fl .mw-top8-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-text);
}

.page-body--mietwagen-fl .mw-highlight-box {
  margin: 2rem 0;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, #fafbfc 0%, #f4f6f8 100%);
}
.page-body--mietwagen-fl .mw-highlight-box--checklist {
  border-color: rgba(13, 148, 136, 0.28);
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 100%);
}
.page-body--mietwagen-fl .mw-highlight-box-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 100;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.page-body--mietwagen-fl .mw-highlight-box-head i {
  color: var(--color-primary);
}

.page-body--mietwagen-fl .mw-insurance-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.page-body--mietwagen-fl .mw-insurance-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  margin-bottom: 0.65rem;
  background: var(--color-bg);
  border-radius: var(--radius, 8px);
  border: 1px solid var(--color-border);
}
.page-body--mietwagen-fl .mw-insurance-list .mw-ili {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(119, 99, 77, 0.1);
  color: #77634d;
}

.page-body--mietwagen-fl .mw-info-cards {
  display: grid;
  gap: 1rem;
  margin: 0 0 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .page-body--mietwagen-fl .mw-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .page-body--mietwagen-fl .mw-info-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.page-body--mietwagen-fl .mw-info-card {
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  box-shadow: var(--shadow, 0 2px 12px rgba(0, 0, 0, 0.06));
}
.page-body--mietwagen-fl .mw-info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 26px;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.page-body--mietwagen-fl .mw-info-card h3 i {
  color: var(--color-primary);
  font-size: 1rem;
}
.page-body--mietwagen-fl .mw-info-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.page-body--mietwagen-fl .mw-related-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 2rem;
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 560px) {
  .page-body--mietwagen-fl .mw-related-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.page-body--mietwagen-fl .mw-related-list li {
  margin: 0;
}
.page-body--mietwagen-fl .mw-related-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}
.page-body--mietwagen-fl .mw-related-list a:hover {
  border-color: var(--color-primary);
  background: rgba(13, 148, 136, 0.05);
}

.blog-faq.blog-faq--mietwagen-fl {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
}
.blog-faq.blog-faq--mietwagen-fl > h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.blog-faq.blog-faq--mietwagen-fl .faq-heading-icon {
  color: var(--color-primary);
  font-size: 1.15em;
}

@media (max-width: 640px) {
  .mw-hero-alamo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .mw-hero-alamo-text {
    text-align: center;
    flex: 1 1 auto;
    min-width: 0;
  }
  .mw-hero-alamo-text p {
    text-align: center;
  }
  .mw-hero-alamo > :not(.mw-hero-alamo-text) img {
    margin-left: auto;
    margin-right: 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: 100;
  font-size: 0.95rem;
  box-shadow: 0 4px 18px rgba(129, 165, 158, 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(129, 165, 158, 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: 100;
  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(119, 99, 77, 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: 100;
  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: 100;
}

/* 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: 20px;
  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: 100;
}

/* 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(119, 99, 77, 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(119, 99, 77, 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(119, 99, 77, 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(119, 99, 77, 0.2) !important;
  background: var(--color-primary) !important;
  background-image: none !important;
  filter: none !important;
  border: 1px solid rgba(119, 99, 77, 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(129, 165, 158, 0.35) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(129, 165, 158, 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(119, 99, 77, 0.35) !important;
  box-shadow: 0 8px 24px rgba(119, 99, 77, 0.18) !important;
  font-weight: 100 !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(129, 165, 158, 0.35) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(129, 165, 158, 0.22) !important;
}

#pbk-widget #enterprise-pbk .enterprise-pbk-button.enterprise-pbk-advance:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(119, 99, 77, 0.25), 0 10px 28px rgba(129, 165, 158, 0.18) !important;
}

/* ===== Cookie-Einwilligung (GTM / GA / Ads) – CMP-Panel ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.cookie-consent-open {
  overflow: hidden;
}

.cookie-consent-root[hidden] {
  display: none !important;
}

.cookie-consent-root.is-open {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0;
  pointer-events: none;
}

.cookie-consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 41, 55, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.cookie-consent-root.is-open .cookie-consent-backdrop {
  opacity: 0.5;
}

.cookie-consent-banner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  padding: 0.75rem 0.75rem max(0.75rem, env(safe-area-inset-bottom));
  pointer-events: none;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.28s ease;
}

.cookie-consent-root.is-open .cookie-consent-banner {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent-backdrop,
  .cookie-consent-banner {
    transition: none;
  }

  .cookie-consent-root.is-open .cookie-consent-banner {
    transform: none;
  }
}

.cookie-consent-inner {
  pointer-events: auto;
  position: relative;
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: 20px;
  box-shadow:
    0 25px 60px rgba(17, 24, 39, 0.18),
    0 0 0 1px rgba(119, 99, 77, 0.08);
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(90vh, 640px);
  -webkit-overflow-scrolling: touch;
}

.cookie-consent-accent {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.cookie-consent-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.35rem 0.75rem;
}

.cookie-consent-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(119, 99, 77, 0.12) 0%, rgba(129, 165, 158, 0.08) 100%);
  color: var(--color-primary);
}

.cookie-consent-head-text {
  min-width: 0;
}

.cookie-consent-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 100;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
  color: var(--color-text);
  line-height: 1.2;
}

.cookie-consent-lead {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.cookie-consent-lead a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-lead a:hover {
  color: var(--color-accent);
}

.cookie-consent-note {
  margin: 0 1.35rem 0.65rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border-radius: 10px;
}

.cookie-consent-gpc {
  font-size: 0.8125rem;
  margin: 0 1.35rem 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(119, 99, 77, 0.09);
  border-radius: 10px;
  border-left: 3px solid var(--color-primary);
  color: var(--color-text);
  line-height: 1.45;
}

.cookie-consent-details {
  margin: 0 1.35rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-bg);
}

.cookie-consent-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  list-style: none;
  transition: background 0.2s ease;
}

.cookie-consent-summary:hover {
  background: rgba(119, 99, 77, 0.06);
}

.cookie-consent-summary::-webkit-details-marker {
  display: none;
}

.cookie-consent-summary-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  margin-top: -4px;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.cookie-consent-details[open] .cookie-consent-summary-chevron {
  transform: rotate(225deg);
  margin-top: 2px;
}

.cookie-consent-categories {
  padding: 0 0.65rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-consent-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.75rem;
  align-items: start;
  padding: 0.85rem 0.75rem;
  background: var(--color-surface);
  border-radius: 12px;
  border: 1px solid rgba(84, 89, 95, 0.12);
}

.cookie-consent-row--locked {
  opacity: 0.92;
}

.cookie-consent-row-main {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}

.cookie-consent-row-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  cursor: pointer;
}

.cookie-consent-row--locked .cookie-consent-row-title {
  cursor: default;
}

.cookie-consent-row-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(119, 99, 77, 0.12);
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
}

.cookie-consent-row .cookie-consent-switch,
.cookie-consent-row .cookie-consent-switch--fake-on {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.cookie-consent-row-desc {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

/* Toggle-Schalter */
.cookie-consent-switch {
  position: relative;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-consent-switch-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

.cookie-consent-switch-input:disabled {
  cursor: not-allowed;
}

.cookie-consent-switch-ui {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: rgba(84, 89, 95, 0.25);
  transition: background 0.22s ease, box-shadow 0.22s ease;
  pointer-events: none;
}

.cookie-consent-switch-ui::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.22s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.cookie-consent-switch-input:focus-visible + .cookie-consent-switch-ui {
  box-shadow: 0 0 0 3px rgba(119, 99, 77, 0.35);
}

.cookie-consent-switch-input:checked + .cookie-consent-switch-ui {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a7ab8 100%);
}

.cookie-consent-switch-input:checked + .cookie-consent-switch-ui::after {
  transform: translateX(20px);
}

.cookie-consent-switch-input:disabled + .cookie-consent-switch-ui {
  opacity: 0.45;
}

.cookie-consent-switch--fake-on .cookie-consent-switch-ui {
  background: linear-gradient(135deg, rgba(119, 99, 77, 0.45) 0%, rgba(119, 99, 77, 0.65) 100%);
}

.cookie-consent-switch--fake-on .cookie-consent-switch-ui::after {
  transform: translateX(20px);
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent-switch-ui,
  .cookie-consent-switch-ui::after,
  .cookie-consent-summary-chevron {
    transition: none;
  }
}

.cookie-consent-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 0 1.35rem 1.35rem;
}

.cookie-consent-actions .cookie-consent-btn {
  width: 100%;
  justify-content: center;
}

.cookie-consent-btn {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  padding: 0.65rem 0.9rem !important;
  min-height: 44px;
  border-radius: 12px !important;
}

.cookie-consent-btn--secondary {
  background: var(--color-bg) !important;
  color: var(--color-text) !important;
  border: 1px solid var(--color-border) !important;
  box-shadow: none !important;
}

.cookie-consent-btn--secondary:hover {
  background: rgba(119, 99, 77, 0.08) !important;
  border-color: rgba(119, 99, 77, 0.25) !important;
}

.cookie-consent-btn--primary {
  box-shadow: 0 8px 22px rgba(129, 165, 158, 0.22) !important;
}

.cookie-consent-btn--primary:hover {
  box-shadow: 0 10px 26px rgba(129, 165, 158, 0.28) !important;
}

.cookie-consent-btn--primary:focus-visible,
.cookie-consent-btn--secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(119, 99, 77, 0.3) !important;
}

.footer-legal-links .footer-cookie-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-links .footer-cookie-btn:hover {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 901px) {
  .cookie-consent-root.is-open {
    justify-content: center;
    padding: 1.5rem;
  }

  .cookie-consent-banner {
    max-width: 520px;
    padding-bottom: 1rem;
  }
}

@media (max-width: 900px) {
  .cookie-consent-inner {
    border-radius: 20px 20px 0 0;
  }

  .cookie-consent-head {
    padding: 1.15rem 1.1rem 0.65rem;
  }

  .cookie-consent-title {
    font-size: 1.2rem;
  }

  .cookie-consent-note,
  .cookie-consent-gpc,
  .cookie-consent-details {
    margin-left: 1.1rem;
    margin-right: 1.1rem;
  }

  .cookie-consent-actions {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
    padding-bottom: max(1.1rem, env(safe-area-inset-bottom));
  }

  .cookie-consent-root.is-open {
    justify-content: flex-end;
  }

  .cookie-consent-banner {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }
}
