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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* HEADER */
header {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
  overflow: hidden;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px 14px;
  text-align: center;
}

/* LOGO – hart begrenzt */
.logo { max-height: 56px; overflow: hidden; }
.logo img {
  max-height: 56px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  margin: 0 auto;
}

/* NAV */
.main-nav { margin-top: 12px; }
.main-nav ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  justify-content: center;
  gap: 34px;
}
.main-nav a {
  font-size: 15px; font-weight: 500; color: #374151;
  position: relative; padding-bottom: 6px;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: #111827;
  transition: width .25s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { width: 100%; }

/* BURGER */
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; margin: 14px auto 0;
}
.menu-toggle span {
  display: block; width: 26px; height: 2px;
  background: #111827; margin: 6px 0;
}

.filter-group input[type="range"] {
  margin-top: 6px;
}


/* HERO SLIDER */
.hero-wrapper { position: relative; overflow: hidden; }
.hero-slider { position: absolute; inset: 0; z-index: -2; }
.hero-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slider img.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.78);
  z-index: -1;
}
.hero {
  max-width: 1240px; margin: 0 auto;
  padding: 120px 24px 100px;
}
.hero h1 {
  font-size: clamp(32px,4vw,46px);
  font-weight: 600; max-width: 820px; margin-bottom: 24px;
}
.hero p { font-size: 18px; max-width: 760px; color: #4b5563; }

/* SECTIONS */
.section { max-width: 1240px; margin: 0 auto; padding: 90px 24px; }
.section-light { background: #f9fafb; }
.section-dark { background: #111827; color: #f9fafb; }
.section h2 { font-size: 30px; margin-bottom: 28px; }
.section-intro { font-size: 18px; max-width: 760px; margin-bottom: 40px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 36px;
}
.feature { border-left: 3px solid #111827; padding-left: 18px; }
.section-dark .feature { border-left-color: #9ca3af; }

.text-link { display: inline-block; margin-top: 24px; font-weight: 500; }

/* FOOTER */
footer { background: #f9fafb; border-top: 1px solid #e5e7eb; }
.footer-container {
  max-width: 1240px; margin: 0 auto;
  padding: 48px 24px; font-size: 14px;
}

/* MOBILE */
@media (max-width: 900px) {
  .logo { max-height: 44px; }
  .logo img { max-height: 44px !important; }

  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 18px; }

  .menu-toggle { display: block; }
}



/* ===== noUiSlider GMIM STYLE ===== */
#roomsSlider {
  margin-top: 6px;
}

.noUi-target {
  background: #e5e7eb;
  border-radius: 4px;
  border: none;
  box-shadow: none;
  height: 6px;
}

.noUi-connect {
  background: #2563eb; /* GMIM-Blau */
}

.noUi-handle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2563eb;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  cursor: pointer;
  top: -6px;
}

.noUi-handle::before,
.noUi-handle::after {
  display: none; /* keine Striche im Griff */
}


/* Dezentere Zwischenüberschriften für Rechtstexte */
.legal-content h2 {
  font-size: 1.15rem; /* Nur ca. 2 Schriftgrößen größer als Standard (1rem) */
  margin-top: 30px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
  font-weight: 600;
}

.legal-content h3 {
  font-size: 1.05rem; /* Minimal größer als der Normaltext */
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 600;
}

