/* ============================================================
   GÄSTEHAUS SEESTERN – MAIN STYLESHEET
   ============================================================ */

/* --- VARIABLES --- */
:root {
  --primary:       #006B9F;
  --primary-dark:  #00527A;
  --primary-light: #E8F4FB;
  --accent:        #E07322;
  --accent-dark:   #C05E10;
  --text:          #333333;
  --text-mid:      #666666;
  --text-light:    #999999;
  --white:         #FFFFFF;
  --bg:            #FFFFFF;
  --bg-light:      #F0F6FA;
  --bg-section:    #E4EFF7;
  --border:        #D5E5EF;
  --footer-bg:     #1A3547;
  --footer-text:   #A8BDD0;
  --star:          #FFC107;
  --green:         #4C9940;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.08);
  --shadow:        0 3px 14px rgba(0,107,159,.14);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.16);
  --radius:        5px;
  --radius-lg:     10px;
  --ease:          cubic-bezier(.4,0,.2,1);
  --font:          'Open Sans', sans-serif;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 56px 0; }
.section-light { background: var(--bg-light); }
.section-blue  { background: var(--bg-section); }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.section-header p {
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto;
  font-size: .9375rem;
}
.section-header .divider {
  width: 50px; height: 3px;
  background: var(--accent);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .25s var(--ease), transform .2s, box-shadow .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(224,115,34,.35);
}
.btn-blue {
  background: var(--primary);
  color: #fff;
}
.btn-blue:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}
.btn-lg { padding: 13px 30px; font-size: 1rem; }
.btn-sm { padding: 7px 14px; font-size: .8125rem; }

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
#header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  color: var(--text);
}
.logo:hover { color: var(--text); }
.logo-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-img-footer {
  filter: brightness(0) invert(1);
  opacity: .8;
}
.logo-text { line-height: 1.2; }
.logo-name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: -.01em;
}
.logo-sub {
  display: block;
  font-size: .7rem;
  color: var(--text-mid);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Phone in header */
.header-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  margin-right: auto;
}
.header-phone svg { flex-shrink: 0; }
.header-phone:hover { color: var(--primary-dark); }

/* Main Nav */
.main-nav { margin-left: auto; }
.main-nav ul, .main-nav ol { list-style: none; padding: 0; margin: 0; }
.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: block;
  padding: 8px 13px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--primary);
  background: var(--primary-light);
}

/* Dropdown */
.has-dropdown > a::after {
  content: ' ▾';
  font-size: .65em;
  opacity: .7;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 100;
  padding-top: 6px; /* bridges the visual gap so hover stays connected */
}
.dropdown::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 6px; /* invisible bridge over the gap */
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.dd-open .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 16px;
  font-size: .875rem;
  color: var(--text);
  transition: background .2s, color .2s;
  border-radius: 0;
}
.dropdown li:first-child a { border-radius: var(--radius) var(--radius) 0 0; }
.dropdown li:last-child  a { border-radius: 0 0 var(--radius) var(--radius); }
.dropdown li a:hover { background: var(--primary-light); color: var(--primary); }

/* Mobile burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 74px 0 0 0;
  background: var(--white);
  overflow-y: auto;
  z-index: 999;
  padding: 16px 20px 32px;
  border-top: 1px solid var(--border);
  flex-direction: column;
  gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 13px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .mobile-sub a {
  padding-left: 20px;
  font-size: .875rem;
  font-weight: 400;
}
.mobile-nav .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* Spacer for fixed header */
.header-spacer { height: 74px; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #0A2744;
}
.slides {
  display: flex;
  height: 100%;
  transition: transform .6s var(--ease);
}
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease;
}
.slide.active .slide-bg { transform: scale(1.04); }
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.55) 100%);
}
.slide-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 780px;
}
.slide-content h1 {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.slide-content p {
  font-size: 1.0625rem;
  margin-bottom: 28px;
  opacity: .9;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.slide-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Slide backgrounds */
.slide-1-bg {
  background: linear-gradient(145deg, #0A3060 0%, #0A6090 40%, #1AACCF 75%, #7AD0E8 100%);
}
.slide-2-bg {
  background: linear-gradient(145deg, #1A4030 0%, #2A7060 40%, #3AA890 70%, #80D0B8 100%);
}
.slide-3-bg {
  background: linear-gradient(145deg, #302010 0%, #806030 40%, #C09040 70%, #E0C080 100%);
}

/* Wave overlay pattern */
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='30'%3E%3Cpath d='M0 15 Q30 0 60 15 T120 15' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 120px 30px;
}

/* Slider arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: background .2s;
  cursor: pointer;
}
.slider-btn:hover { background: rgba(255,255,255,.35); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  cursor: pointer;
  transition: background .3s;
  padding: 0;
}
.slider-dot.active { background: #fff; }

/* ============================================================
   PAGE BANNER (sub-pages)
   ============================================================ */
.page-banner {
  height: 200px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 32px;
  position: relative;
  background: linear-gradient(145deg, #0A3060 0%, #0A6090 50%, #1AACCF 100%);
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.3);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.page-banner p {
  color: rgba(255,255,255,.85);
  margin-top: 6px;
  font-size: .9375rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { opacity: .5; }

/* ============================================================
   WELCOME SECTION
   ============================================================ */
.welcome-section { padding: 56px 0; }
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.welcome-text h2 {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}
.welcome-text p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 14px;
  font-size: .9375rem;
}
.welcome-text .btn { margin-top: 8px; }
.welcome-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #0A6090 0%, #1AACCF 60%, #7AD0E8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.welcome-image-label {
  position: absolute;
  color: rgba(255,255,255,.6);
  font-size: 4rem;
}
.welcome-feats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.welcome-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.welcome-feat-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  font-size: 1.125rem;
}
.welcome-feat-text strong {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.welcome-feat-text span { font-size: .8125rem; color: var(--text-mid); }

/* ============================================================
   APARTMENT CARDS
   ============================================================ */
.apt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.apt-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.apt-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Card gallery */
.apt-gallery {
  position: relative;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
}
.apt-gallery-slides { display: flex; height: 100%; transition: transform .4s; }
.apt-photo {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.apt-photo-1 { background: linear-gradient(145deg, #1B6CA8 0%, #5AAFE0 60%, #B8E4F8 100%); }
.apt-photo-2 { background: linear-gradient(145deg, #1A9080 0%, #30C0A0 60%, #90E0D0 100%); }
.apt-photo-3 { background: linear-gradient(145deg, #1A5080 0%, #4A90C0 60%, #A0C8E8 100%); }
.apt-photo-4 { background: linear-gradient(145deg, #2A7850 0%, #50A870 60%, #90D0A8 100%); }
.apt-photo-5 { background: linear-gradient(145deg, #202060 0%, #4060A0 60%, #8090C8 100%); }
.apt-photo-6 { background: linear-gradient(145deg, #601A1A 0%, #A04040 60%, #D08080 100%); }
/* Slide 2 & 3 per apt – slightly varied */
.apt-photo.s2 { filter: brightness(.9) hue-rotate(10deg); }
.apt-photo.s3 { filter: brightness(.85) hue-rotate(-10deg); }

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.75);
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s;
  z-index: 2;
  color: var(--text);
}
.apt-gallery:hover .gallery-arrow { opacity: 1; }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.photo-count {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .7rem;
  padding: 3px 8px;
  border-radius: 12px;
  z-index: 2;
}
.gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  z-index: 2;
}
.gallery-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: background .2s;
}
.gallery-dot.active { background: #fff; }

/* Card body */
.apt-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.apt-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}
.apt-card-title a { color: var(--primary-dark); }
.apt-card-title a:hover { color: var(--primary); }
.apt-card-loc {
  font-size: .8125rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: -4px;
}
.apt-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8125rem;
  color: var(--text-mid);
}
.apt-spec {
  display: flex;
  align-items: center;
  gap: 5px;
}
.apt-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.apt-amenity {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3px 8px;
  font-size: .7rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.apt-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.stars { color: var(--star); font-size: .875rem; letter-spacing: -.5px; }
.rating-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--green);
}
.rating-count { font-size: .75rem; color: var(--text-light); }
.apt-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.apt-price {
  font-size: .8125rem;
  color: var(--text-mid);
}
.apt-price strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.1;
}

/* ============================================================
   SEARCH / FILTER BAR (suche.html)
   ============================================================ */
.search-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 74px;
  z-index: 50;
}
.search-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  flex: 1;
}
.filter-tag {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-mid);
  cursor: pointer;
  transition: all .2s;
}
.filter-tag:hover, .filter-tag.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.filter-tag .tag-count {
  display: inline-block;
  background: var(--border);
  color: var(--text-light);
  font-size: .65rem;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
  font-weight: 700;
}
.filter-tag.active .tag-count {
  background: var(--primary);
  color: #fff;
}
.filter-clear {
  font-size: .8rem;
  color: var(--text-light);
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}
.filter-clear:hover { color: var(--primary); }
.sort-select {
  padding: 7px 32px 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .8rem;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  font-family: var(--font);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%23999'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.results-info {
  font-size: .8125rem;
  color: var(--text-light);
  padding: 16px 0 4px;
}
.results-info strong { color: var(--text); }

/* ============================================================
   ACTION BLOCKS
   ============================================================ */
.action-blocks { padding: 0; }
.action-blocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.action-block {
  position: relative;
  padding: 52px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  min-height: 240px;
  justify-content: flex-end;
}
.action-block-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.action-block-1 .action-block-bg { background: linear-gradient(145deg, #1A3060 0%, #0A6090 60%, #1AACCF 100%); }
.action-block-2 .action-block-bg { background: linear-gradient(145deg, #1A4030 0%, #2A7060 60%, #3AA890 100%); }
.action-block-3 .action-block-bg { background: linear-gradient(145deg, #3A2010 0%, #806030 60%, #B09040 100%); }
.action-block-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 100%);
}
.action-block-content {
  position: relative;
  z-index: 1;
  color: #fff;
}
.action-block-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.action-block-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.action-block-content p {
  font-size: .875rem;
  opacity: .85;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ============================================================
   WEATHER WIDGET
   ============================================================ */
.weather-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.weather-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.weather-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.weather-location {
  font-size: .8125rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}
.weather-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.weather-day {
  text-align: center;
  padding: 12px 4px;
  border-radius: var(--radius);
  transition: background .2s;
}
.weather-day:hover { background: var(--bg-light); }
.weather-day-name {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}
.weather-icon { font-size: 1.625rem; margin-bottom: 8px; }
.weather-temp-max {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--text);
}
.weather-temp-min {
  font-size: .8rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.contact-detail-text strong {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 2px;
}
.contact-detail-text a,
.contact-detail-text p {
  font-size: .9375rem;
  color: var(--text);
}
.contact-map {
  margin-top: 24px;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #c8dcec 0%, #a8ccdc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  font-size: .875rem;
  border: 1px solid var(--border);
  position: relative;
}
.contact-map::after {
  content: '📍 Schützenstraße 16, 23743 Grömitz';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,.9);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.form-card > p {
  font-size: .875rem;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.form-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.form-control {
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9375rem;
  color: var(--text);
  font-family: var(--font);
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  background: var(--white);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,107,159,.12);
}
.form-control.error {
  border-color: #d32f2f;
  box-shadow: 0 0 0 3px rgba(211,47,47,.1);
}
textarea.form-control { resize: vertical; min-height: 100px; line-height: 1.6; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%23999'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; cursor: pointer; }
.field-error { font-size: .75rem; color: #d32f2f; display: none; }
.field-error.show { display: block; }
.form-section-title {
  font-size: .875rem;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
  margin: 24px 0 18px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-hint {
  font-size: .8rem;
  color: var(--text-light);
  margin-top: -8px;
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 16px;
}
.captcha-question { font-size: .9375rem; font-weight: 600; }
.captcha-input {
  width: 70px;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9375rem;
  text-align: center;
}
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}
.privacy-check input[type=checkbox] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; }
.privacy-check label { font-size: .8375rem; color: var(--text-mid); line-height: 1.5; cursor: pointer; }
.privacy-check label a { color: var(--primary); }
.form-success {
  display: none;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.form-success.show { display: block; }
.form-success .success-icon { font-size: 2.5rem; margin-bottom: 8px; }
.form-success strong { display: block; font-size: 1rem; color: var(--green); margin-bottom: 6px; }
.form-success p { font-size: .875rem; color: var(--text-mid); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 820px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
  transition: background .2s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-question.open { background: var(--primary-light); color: var(--primary-dark); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform .3s, background .2s;
  color: var(--primary);
}
.faq-question.open .faq-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: #fff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-answer-inner {
  padding: 4px 22px 22px;
  font-size: .9rem;
  color: var(--text-mid);
  line-height: 1.75;
}
.faq-answer-inner p + p { margin-top: 10px; }
.faq-answer-inner ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}
.faq-answer-inner ul li { margin-bottom: 4px; }
.faq-section-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin: 36px 0 14px;
}
.faq-section-label:first-child { margin-top: 0; }

/* ============================================================
   APARTMENT DETAIL PAGE
   ============================================================ */
.apt-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: start;
}

/* Gallery */
.detail-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.gallery-main {
  height: 360px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.gallery-main-photo:hover { transform: scale(1.03); }
.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 4px;
}
.gallery-thumb {
  height: 80px;
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s;
  position: relative;
  overflow: hidden;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; }
.gallery-thumb.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--primary);
  border-radius: 3px;
}
.gallery-main-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.8);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  cursor: pointer;
  z-index: 2;
  transition: background .2s;
}
.gallery-main-arrow:hover { background: #fff; }
.gallery-main-prev { left: 12px; }
.gallery-main-next { right: 12px; }
.gallery-tour-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background .2s;
  z-index: 2;
  letter-spacing: .02em;
}
.gallery-tour-btn:hover { background: var(--primary); }
.virtual-tour-section {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.virtual-tour-header {
  background: var(--primary-dark);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.virtual-tour-header span {
  color: #fff;
  font-weight: 700;
  font-size: .875rem;
}
.virtual-tour-header .vt-chevron {
  margin-left: auto;
  color: rgba(255,255,255,.7);
  transition: transform .3s ease;
  flex-shrink: 0;
}
.virtual-tour-section.open .vt-chevron { transform: rotate(180deg); }
.virtual-tour-header a.vt-fullscreen {
  font-size: .75rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  display: none;
  margin-right: 8px;
}
.virtual-tour-section.open .vt-fullscreen { display: inline; }
.virtual-tour-header a.vt-fullscreen:hover { color: #fff; }
.vt-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.virtual-tour-section.open .vt-body { max-height: 440px; }
.virtual-tour-section iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}

/* Detail info */
.detail-header {
  margin-bottom: 24px;
}
.detail-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}
.detail-loc {
  font-size: .875rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
}
.detail-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.detail-rating-badge {
  background: var(--green);
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius);
}

.detail-specs-bar {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin-bottom: 28px;
}
.detail-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-mid);
}
.detail-spec strong { color: var(--text); font-weight: 600; }

.detail-desc { margin-bottom: 28px; }
.detail-desc h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}
.detail-desc p {
  font-size: .9375rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 10px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-mid);
  padding: 8px 10px;
  background: var(--bg-light);
  border-radius: var(--radius);
}

/* Booking widget (sidebar) */
.booking-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
  position: sticky;
  top: 90px;
}
.booking-price {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.booking-price span { font-size: .875rem; font-weight: 400; color: var(--text-light); }
.booking-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}
.booking-widget h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
.booking-btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.booking-note {
  font-size: .75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
}

/* Reviews */
.reviews-section { margin-top: 36px; }
.review-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.review-score {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
}
.review-score-label { font-size: .875rem; color: var(--text-mid); margin-top: 4px; }
.review-item {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.reviewer-name { font-weight: 600; font-size: .9375rem; }
.review-date { font-size: .8125rem; color: var(--text-light); }
.review-text { font-size: .875rem; color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 52px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: var(--footer-text); }
.footer-brand p {
  font-size: .875rem;
  margin: 14px 0 18px;
  line-height: 1.65;
  color: var(--footer-text);
}
.footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.footer-phone:hover { color: var(--accent); }
.footer-address { font-size: .8125rem; color: var(--footer-text); line-height: 1.6; }
.footer-col h4 {
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: .8125rem;
  color: var(--footer-text);
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 0;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: rgba(255,255,255,.75); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   IMPRESSUM / LEGAL
   ============================================================ */
.legal-content {
  max-width: 780px;
}
.legal-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 36px 0 12px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 22px 0 8px;
}
.legal-content p {
  font-size: .9375rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 8px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-mid);
  font-size: .9375rem;
  line-height: 1.75;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.show-all-link {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.notice-box {
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .875rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .apt-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .apt-detail-layout { grid-template-columns: 1fr; }
  .booking-widget { position: static; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-phone { margin-right: auto; }
  .burger { display: flex; }
  .hero-slider { height: 400px; }
  .slide-content h1 { font-size: 1.625rem; }
  .apt-grid { grid-template-columns: 1fr; }
  .action-blocks-grid { grid-template-columns: 1fr; }
  .weather-days { grid-template-columns: repeat(4, 1fr); }
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-image { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .form-row.cols-2, .form-row.cols-3 { grid-template-columns: 1fr; }
  .header-inner { gap: 12px; }
  section, .section { padding: 40px 0; }
  .page-banner { height: 160px; }
  .page-banner h1 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .apt-detail-layout { gap: 20px; }
  .gallery-thumbnails { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .slider-btn { width: 36px; height: 36px; font-size: 1rem; }
  .detail-specs-bar { gap: 14px; }
  .weather-days { grid-template-columns: repeat(4, 1fr); }
}

/* ── Flatpickr Availability Colours ───────────────────────── */
.flatpickr-day.fp-day-free {
  background: #e8f5e9 !important;
  border-color: transparent !important;
  color: #2e7d32 !important;
}
.flatpickr-day.fp-day-free:hover {
  background: #c8e6c9 !important;
}
.flatpickr-day.fp-day-booked {
  background: #ffebee !important;
  border-color: transparent !important;
  color: #c62828 !important;
  cursor: not-allowed !important;
  text-decoration: line-through;
}
/* Abreisetag: linke Hälfte rot (Vorgänger), rechte Hälfte grün (buchbar) */
.flatpickr-day.fp-day-departure {
  background: linear-gradient(to right, #ffebee 50%, #e8f5e9 50%) !important;
  border-color: transparent !important;
}
.flatpickr-day.fp-day-departure:hover {
  background: linear-gradient(to right, #ffcdd2 50%, #c8e6c9 50%) !important;
}
/* Ausgewählte Tage behalten Primärfarbe */
.flatpickr-day.selected.fp-day-free,
.flatpickr-day.selected.fp-day-booked,
.flatpickr-day.selected.fp-day-departure,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  text-decoration: none !important;
}
.flatpickr-day.inRange {
  background: #b3d9ef !important;
  border-color: transparent !important;
  color: var(--primary-dark) !important;
}

/* ── Flatpickr Inline Calendar ─────────────────────────────── */
.flatpickr-calendar.inline {
  width: 100% !important;
  max-width: 100% !important;
  box-shadow: none !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  margin-bottom: 12px !important;
  background: #fff;
}
.flatpickr-calendar.inline .flatpickr-months {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--primary);
  color: #fff;
  padding: 4px 0;
}
.flatpickr-calendar.inline .flatpickr-month,
.flatpickr-calendar.inline .flatpickr-current-month,
.flatpickr-calendar.inline .flatpickr-monthDropdown-months,
.flatpickr-calendar.inline .cur-month,
.flatpickr-calendar.inline .cur-year {
  color: #fff !important;
  fill: #fff !important;
}
.flatpickr-calendar.inline .flatpickr-prev-month,
.flatpickr-calendar.inline .flatpickr-next-month {
  color: #fff !important;
  fill: #fff !important;
}
.flatpickr-calendar.inline .flatpickr-prev-month:hover svg,
.flatpickr-calendar.inline .flatpickr-next-month:hover svg {
  fill: #b3d9ef !important;
}
.flatpickr-calendar.inline .flatpickr-innerContainer {
  padding: 6px 4px 8px;
}
.flatpickr-calendar.inline .flatpickr-day {
  border-radius: 6px;
  font-size: 13px;
}
.flatpickr-calendar.inline .flatpickr-weekday {
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 600;
}

/* ── Availability Widget ───────────────────────────────────── */
/* ── Hero Search Bar ───────────────────────────────────────── */
.hero-search {
  position: absolute;
  bottom: 52px; /* above slider dots */
  left: 0; right: 0;
  z-index: 10;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}
.hero-search-form {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  overflow: hidden;
  max-width: 820px;
  width: 100%;
}
.hero-search-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 20px;
  flex: 1;
  min-width: 130px;
  gap: 2px;
}
.hero-search-field-sm { flex: 0 0 140px; }
.hero-search-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-mid);
}
.hero-search-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: .9375rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  padding: 0;
  cursor: pointer;
  width: 100%;
}
.hero-search-input::placeholder { color: #aaa; }
.hero-search-input option { background: #fff; color: var(--text-dark); }
.hero-search-divider {
  width: 1px;
  background: #e0e0e0;
  margin: 10px 0;
  flex-shrink: 0;
}
.hero-search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  flex-shrink: 0;
}
.hero-search-btn:hover { background: #005a87; }
.hero-search-btn:disabled { opacity: .7; cursor: default; }

/* Results section below hero */
.avail-results-section {
  background: var(--primary-dark);
  padding: 32px 0;
}
.avail-results-section .container { max-width: 860px; }

/* Results */
.avail-results { margin-top: 0; }
.avail-results-header { color: #b3d9ef; font-size: .8125rem; margin-bottom: 14px; }
.avail-results-header strong { color: #fff; }
.avail-list { display: flex; flex-direction: column; gap: 10px; }

.avail-card { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 14px 18px; transition: background .2s; }
.avail-card.is-available { border-color: rgba(76,175,80,.4); background: rgba(76,175,80,.08); }
.avail-card.is-unavailable { opacity: .75; }

.avail-card-status { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.is-available .avail-card-status { background: rgba(76,175,80,.25); }
.is-unavailable .avail-card-status { background: rgba(255,255,255,.08); }

.avail-card-info { flex: 1; min-width: 0; }
.avail-card-name { color: #fff; font-weight: 600; font-size: .9375rem; }
.avail-card-meta { color: #b3d9ef; font-size: .8rem; margin-top: 2px; }
.avail-card-reason { color: #ffb3b3; font-size: .8rem; margin-top: 3px; }
.avail-card-reason-detail { color: rgba(255,255,255,.45); font-size: .75rem; }

.avail-card-price { color: #fff; font-weight: 700; font-size: 1rem; text-align: right; flex-shrink: 0; }
.avail-card-price span { display: block; color: #b3d9ef; font-size: .75rem; font-weight: 400; }

.avail-card-link { flex-shrink: 0; }
.avail-card-link a { display: inline-block; padding: 7px 16px; background: var(--primary); color: #fff; border-radius: var(--radius); font-size: .8125rem; font-weight: 600; text-decoration: none; transition: background .2s; }
.avail-card-link a:hover { background: #005a87; }

.avail-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 16px 0 10px; }
.avail-divider-label { color: rgba(255,255,255,.35); font-size: .75rem; text-align: center; margin: -20px 0 14px; }
.avail-divider-label span { background: var(--primary-dark); padding: 0 12px; }

@media (max-width: 700px) {
  .hero-search { bottom: 60px; padding: 0 12px; }
  .hero-search-form { flex-direction: column; border-radius: 10px; }
  .hero-search-field, .hero-search-field-sm { flex: 1; border-bottom: 1px solid #eee; }
  .hero-search-divider { display: none; }
  .hero-search-btn { padding: 14px; justify-content: center; }
  .avail-card { flex-wrap: wrap; }
  .avail-card-link { width: 100%; }
  .avail-card-link a { display: block; text-align: center; }
}

/* ── Mini Calendar (Verfügbarkeitsvorschau) ────────────────── */
.avail-card-calendar { margin-top: 12px; }
.mini-cal { display: flex; gap: 10px; flex-wrap: wrap; }
.mini-cal-month { flex: 1; min-width: 140px; }
.mini-cal-month-name {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: rgba(255,255,255,.5);
  margin-bottom: 5px; text-align: center;
}
.mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.mini-cal-dow {
  font-size: .6rem; color: rgba(255,255,255,.3);
  text-align: center; padding-bottom: 2px;
}
.mini-cal-day {
  aspect-ratio: 1;
  border-radius: 3px;
  font-size: .65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.mini-cal-day.is-free    { background: rgba(76,175,80,.35); }
.mini-cal-day.is-booked  { background: rgba(229,57,53,.35); color: rgba(255,255,255,.5); }
.mini-cal-day.is-past    { background: transparent; color: rgba(255,255,255,.15); }
.mini-cal-day.is-empty   { background: transparent; }
.mini-cal-day.is-search  { outline: 2px solid rgba(255,200,0,.7); outline-offset: -2px; }
.mini-cal-legend {
  display: flex; gap: 12px; margin-top: 8px;
  font-size: .65rem; color: rgba(255,255,255,.4);
}
.mini-cal-legend span { display: flex; align-items: center; gap: 4px; }
.mini-cal-legend i {
  display: inline-block; width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0;
}
.mini-cal-legend .leg-free   { background: rgba(76,175,80,.5); }
.mini-cal-legend .leg-booked { background: rgba(229,57,53,.5); }
.mini-cal-legend .leg-search { outline: 2px solid rgba(255,200,0,.7); }

/* ── Single static hero (replaces multi-slide) ───────────── */
.hero-slider { display: flex; align-items: center; justify-content: center; }
.hero-groemitz-bg {
  background-image: url('../assets/hafenansicht-groemitz.jpg');
  background-size: cover;
  background-position: center;
  background-color: #0A3060;
}

/* ── Availability Results: light-mode overrides ──────────── */
.avail-results-section { background: #f0f4f8; padding: 40px 0; }
.avail-results-section .container { max-width: 960px; }
.avail-results-header { color: #555; font-size: .9375rem; margin-bottom: 20px; }
.avail-results-header strong { color: #222; }
.avail-divider-label { color: #999; font-size: .8125rem; text-align: center; }
.avail-divider-label span { background: #f0f4f8; padding: 0 12px; }

/* ── Horizontal apt cards for search results ─────────────── */
.avail-apt-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.avail-apt-card:hover { box-shadow: var(--shadow); }
.avail-apt-card.is-available { border-color: #a5d6a7; }
.avail-apt-card.is-unavailable { opacity: .82; }
.avail-apt-row { display: flex; min-height: 160px; }
.avail-apt-thumb {
  width: 220px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-color: #1B6CA8;
}
.avail-apt-body {
  flex: 1;
  padding: 18px 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.avail-apt-main { flex: 1; min-width: 0; }
.avail-apt-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.badge-available { background: #e8f5e9; color: #2e7d32; }
.badge-unavailable { background: #fce4ec; color: #c62828; }
.avail-apt-name {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}
.avail-apt-name a { color: var(--primary-dark); text-decoration: none; }
.avail-apt-name a:hover { color: var(--primary); }
.avail-apt-reason { font-size: .8125rem; color: #c62828; margin-top: 8px; font-weight: 500; }
.avail-apt-conflict-detail { font-size: .75rem; color: var(--text-light); margin-top: 2px; }
.avail-apt-aside {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.avail-apt-price { text-align: right; }
.avail-apt-price strong { display: block; font-size: 1.5rem; font-weight: 700; color: var(--text); line-height: 1.1; }
.avail-apt-price span { display: block; font-size: .75rem; color: var(--text-light); }
.avail-apt-price small { display: block; font-size: .8125rem; color: var(--text-mid); }

/* Mini calendar in light-mode cards */
.avail-apt-cal {
  border-top: 1px solid var(--border);
  padding: 14px 20px;
  background: #f8fafc;
}
.avail-apt-cal .mini-cal-month-name { color: #777; letter-spacing: .04em; }
.avail-apt-cal .mini-cal-dow { color: #aaa; }
.avail-apt-cal .mini-cal-day { color: #555; }
.avail-apt-cal .mini-cal-day.is-free { background: #e8f5e9; color: #2e7d32; }
.avail-apt-cal .mini-cal-day.is-booked { background: #fce4ec; color: #c62828; }
.avail-apt-cal .mini-cal-day.is-past { background: transparent; color: #ccc; }
.avail-apt-cal .mini-cal-day.is-empty { background: transparent; }
.avail-apt-cal .mini-cal-day.is-search { outline: 2px solid #f9a825; outline-offset: -2px; }
.avail-apt-cal .mini-cal-legend { color: #aaa; }
.avail-apt-cal .mini-cal-legend .leg-free { background: #81c784; }
.avail-apt-cal .mini-cal-legend .leg-booked { background: #e57373; }
.avail-apt-cal .mini-cal-legend .leg-search { background: transparent; outline: 2px solid #f9a825; }

@media (max-width: 640px) {
  .avail-apt-row { flex-direction: column; }
  .avail-apt-thumb { width: 100%; height: 180px; }
  .avail-apt-body { flex-direction: column; }
  .avail-apt-aside { align-items: flex-start; }
  .avail-apt-price { text-align: left; }
}
