.hl-header nav > .hl-nav-dropdown > a {
  gap: 0;
  text-transform: none;
}

/* Wohnungsübersicht: Die Anfrage bleibt die deutlichere Hauptaktion. */
.hl-apartment-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hl-apartment-actions .hl-button {
  font-size: 13px;
  padding: 11px 15px;
}

.hl-apartment-actions .hl-apartment-secondary {
  background: #fffdf8;
  border: 1px solid rgba(13, 82, 102, .42);
  color: #0d5266;
}

.hl-apartment-actions .hl-apartment-primary {
  box-shadow: none;
}

.hl-stay-picker-icon {
  color: var(--hl-gold);
  fill: none;
  flex: 0 0 auto;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 22px;
}

.hl-parking-details {
  align-items: stretch;
  background: #e8dfd0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr);
  margin: 0 auto;
  max-width: 1380px;
}

.hl-parking-photos {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 520px;
}

.hl-parking-photos button {
  background: #173d48;
  border: 0;
  cursor: zoom-in;
  min-width: 0;
  overflow: hidden;
  padding: 0;
}

.hl-parking-photos button + button { margin-top: 68px; }

.hl-parking-photos img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  width: 100%;
}

.hl-parking-photos button:hover img { transform: scale(1.035); }

.hl-parking-copy {
  align-content: center;
  display: grid;
  padding: clamp(42px, 7vw, 94px);
}

.hl-parking-copy h2 {
  color: #173d48;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(38px, 4.5vw, 60px);
  letter-spacing: -.05em;
  line-height: .98;
  margin: 0 0 28px;
}

.hl-parking-copy article {
  border-top: 1px solid rgba(23, 61, 72, .16);
  padding: 20px 0;
}

.hl-parking-copy article:last-child { padding-bottom: 0; }
.hl-parking-copy h3 { color: #173d48; font-family: Georgia, 'Times New Roman', serif; font-size: 24px; margin: 0 0 8px; }
.hl-parking-copy article p { color: #526972; line-height: 1.7; margin: 0; }

@media (max-width: 800px) {
  .hl-parking-details { grid-template-columns: 1fr; }
  .hl-parking-photos { min-height: 360px; }
  .hl-parking-photos button + button { margin-top: 42px; }
}

@media (max-width: 520px) {
  .hl-parking-photos { grid-template-columns: 1fr; min-height: 0; }
  .hl-parking-photos button { height: 280px; }
  .hl-parking-photos button + button { display: none; }
  .hl-parking-copy { padding: 46px 24px; }
}

@media (max-width: 520px) {
  .hl-apartment-actions { align-items: stretch; flex-direction: column; }
  .hl-apartment-actions .hl-button { text-align: center; }
}

/* Verhindert einen zweiten horizontalen Viewport durch Theme-Ränder oder Scrollleisten. */
html,body{max-width:100%;overflow-x:hidden}.hl-direct,.hl-apartment-detail{max-width:100%;overflow-x:clip}

.hl-detail-equipment{background:#f8f5ef;padding:clamp(58px,8vw,104px) max(20px,calc((100% - 1180px)/2))}.hl-detail-equipment .hl-heading{margin-bottom:38px}.hl-equipment-grid{display:grid;gap:18px;grid-template-columns:repeat(3,minmax(0,1fr));margin:auto;max-width:1180px}.hl-equipment-grid article{background:#fffdf8;box-shadow:0 12px 28px rgba(23,61,72,.08);padding:24px}.hl-equipment-grid h3{color:#173d48;font-family:Georgia,'Times New Roman',serif;font-size:24px;line-height:1.1;margin:0 0 16px}.hl-equipment-grid ul{color:#526972;display:grid;gap:9px;list-style:none;margin:0;padding:0}.hl-equipment-grid li{font-size:14px;line-height:1.5;padding-left:15px;position:relative}.hl-equipment-grid li:before{color:#a06e10;content:'•';left:0;position:absolute}@media(max-width:850px){.hl-equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.hl-detail-equipment{padding-left:20px;padding-right:20px}.hl-equipment-grid{grid-template-columns:1fr}.hl-equipment-grid article{padding:22px}}

/* Wohnungsseiten: Fotos und konkrete Ausstattungsdetails gehören zusammen. */
.hl-detail-explore{background:#e9dfcf;padding:clamp(64px,9vw,120px) max(20px,calc((100% - 1180px)/2))}.hl-detail-explore .hl-heading{margin-bottom:clamp(32px,5vw,58px);max-width:650px}.hl-detail-explore-grid{display:grid;gap:clamp(22px,3vw,38px);grid-template-columns:repeat(2,minmax(0,1fr));margin:auto;max-width:1180px}.hl-detail-explore-card{background:#fffdf8;box-shadow:0 18px 38px rgba(23,61,72,.1);display:grid;grid-template-rows:auto 1fr;min-width:0;overflow:hidden}.hl-detail-explore-photos{display:grid;height:310px;min-width:0}.hl-detail-explore-photos-1{grid-template-columns:1fr}.hl-detail-explore-photos-2{grid-template-columns:repeat(2,minmax(0,1fr))}.hl-detail-explore-photos-3{grid-template-columns:1.18fr .82fr;grid-template-rows:repeat(2,minmax(0,1fr))}.hl-detail-explore-photos-3 button:first-child{grid-row:span 2}.hl-detail-explore-photos button{background:#173d48;border:0;cursor:zoom-in;min-width:0;overflow:hidden;padding:0}.hl-detail-explore-photos img{display:block;height:100%;object-fit:cover;transition:transform .45s ease;width:100%}.hl-detail-explore-photos button:hover img{transform:scale(1.035)}.hl-detail-explore-copy{padding:30px}.hl-detail-explore-copy h3{color:#173d48;font-family:Georgia,'Times New Roman',serif;font-size:clamp(25px,2.4vw,34px);line-height:1.08;margin:0 0 18px}.hl-detail-explore-copy ul{color:#506771;display:grid;gap:9px;list-style:none;margin:0;padding:0}.hl-detail-explore-copy li{font-size:14px;line-height:1.55;padding-left:17px;position:relative}.hl-detail-explore-copy li:before{color:#ad7611;content:'•';left:0;position:absolute}@media(max-width:850px){.hl-detail-explore-grid{grid-template-columns:1fr}.hl-detail-explore-photos{height:clamp(270px,54vw,390px)}}@media(max-width:520px){.hl-detail-explore{padding-left:20px;padding-right:20px}.hl-detail-explore-copy{padding:26px 22px}.hl-detail-explore-photos{height:270px}}

.hl-nav-dropdown-menu {
  top: 100%;
}

.hl-apartment-detail {
  --hl-gold: #f2c66d;
  --hl-ink: #173d48;
  --hl-muted: #60727a;
  --hl-paper: #fffdf8;
  --hl-sea: #0d5266;
}

.hl-floorplan-link {
  color: inherit;
  text-decoration: none;
}

.hl-floorplan-link:focus-visible {
  outline: 3px solid var(--hl-gold);
  outline-offset: 4px;
}

.hl-header nav > a.is-active,
.hl-header nav > .hl-nav-dropdown > a.is-active {
  color: var(--hl-ink);
  font-weight: 800;
}

.hl-language-switch {
  align-items: center;
  display: inline-flex;
  gap: 0.2rem;
}

.hl-header .hl-language-switch a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--hl-sea);
  display: inline-flex;
  font-size: 0.72rem;
  gap: 0.18rem;
  padding: 0.3rem 0.4rem;
}

.hl-header .hl-language-switch a.is-active {
  background: #edf3f2;
  border-color: #cfdeda;
  color: var(--hl-ink);
  font-weight: 800;
}

@media (max-width: 850px) {
  .hl-header .hl-language-switch { display: none; }
}

/* Gallery: every image opens large; selected cards offer a separate detail link. */
.hl-gallery-grid figure { cursor: default; }

/* A calm, consistent response for every main call to action. */
.hl-button,
.hl-header .hl-header-cta {
  transition: background-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.hl-button:hover,
.hl-header .hl-header-cta:hover {
  box-shadow: 0 10px 20px rgba(23, 61, 72, .18);
  transform: translateY(-2px);
}

.hl-button:focus-visible,
.hl-header .hl-header-cta:focus-visible {
  outline: 3px solid rgba(13, 82, 102, .32);
  outline-offset: 3px;
}

.hl-gallery-image-button {
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: block;
  height: 100%;
  padding: 0;
  width: 100%;
}

.hl-gallery-image-button img {
  display: block;
  height: 100%;
  width: 100%;
}

.hl-gallery-image-button:focus-visible {
  outline: 3px solid var(--hl-gold);
  outline-offset: -3px;
}

.hl-gallery-grid figcaption { pointer-events: none; }

.hl-gallery-more-link {
  align-items: center;
  background: rgba(255, 253, 248, .96);
  border-radius: 999px;
  bottom: 14px;
  color: var(--hl-blue);
  display: inline-flex;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1;
  padding: .6rem .75rem;
  position: absolute;
  right: 14px;
  text-decoration: none;
  z-index: 3;
}

.hl-gallery-has-detail figcaption { padding-right: 9.5rem; }

.hl-gallery-more-link:hover,
.hl-gallery-more-link:focus-visible {
  background: var(--hl-gold);
  color: var(--hl-blue);
  outline: 3px solid var(--hl-gold);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .hl-gallery-more-link { bottom: 10px; right: 10px; }
  .hl-gallery-has-detail figcaption { padding-right: 8.75rem; }
}

body:has(.hl-direct) .wp-site-blocks > header,
body:has(.hl-apartment-detail) .wp-site-blocks > header {
  display: none !important;
}

@media (min-width: 521px) {
  .hl-seasonal-images {
    align-items: center;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 35rem;
    min-height: 0;
    overflow: hidden;
  }

  .hl-seasonal-images img {
    height: 31rem;
    margin: 0 !important;
    transition: transform 100ms linear;
    will-change: transform;
    width: 100%;
  }

  .hl-seasonal-images img:nth-child(1) {
    margin-top: 1.2rem !important;
    order: 2;
  }

  .hl-seasonal-images img:nth-child(2) {
    margin-bottom: 2.1rem !important;
    order: 1;
  }

  .hl-seasonal-images img:nth-child(3) {
    margin-top: 2.1rem !important;
    order: 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-seasonal-images img { transform: none !important; }
}

.hl-facility-grid > .hl-facility-link {
  background: #fffdf8;
  box-shadow: 0 8px 20px rgba(23, 61, 72, .06);
  color: inherit;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr;
  padding: 16px;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.hl-facility-grid > .hl-facility-link:hover,
.hl-facility-grid > .hl-facility-link:focus-visible {
  box-shadow: 0 12px 28px rgba(23, 61, 72, .14);
  transform: translateY(-3px);
}

.hl-facility-grid > .hl-facility-link:focus-visible {
  outline: 3px solid var(--hl-gold);
  outline-offset: 3px;
}

.hl-facility-grid > .hl-facility-link h3 {
  color: #173d48;
  font-size: 1rem;
  margin: 0 0 .2rem;
}

.hl-facility-grid > .hl-facility-link p {
  color: #60727a;
  font-size: .75rem;
  line-height: 1.45;
  margin: 0;
}

.hl-facility-grid > .hl-facility-link .hl-facility-more {
  color: #0d5266;
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  margin-top: .55rem;
}

.hl-facility-grid > .hl-facility-link.hl-facility-wide {
  grid-column: auto;
}

.hl-mobile-menu-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  padding: .45rem;
}

.hl-mobile-menu-toggle span {
  background: var(--hl-ink);
  display: block;
  height: 2px;
  margin: 4px 0;
  width: 22px;
}

.hl-booking-trust {
  border-top: 1px solid rgba(255, 253, 248, .45);
  font-size: .78rem !important;
  font-weight: 800;
  letter-spacing: .04em;
  margin-top: 1.2rem;
  padding-top: .9rem;
  text-transform: uppercase;
}

@media (max-width: 850px) {
  .hl-header { position: relative; }

  .hl-mobile-menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; }

  .hl-header nav { display: none; }

  .hl-header nav.is-open {
    align-items: stretch;
    background: var(--hl-paper);
    box-shadow: 0 14px 30px rgba(23, 61, 72, .16);
    display: flex;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: .6rem 1.1rem 1rem;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 150;
  }

  .hl-header nav.is-open,
  .hl-header nav.is-open * { text-align: left; }

  .hl-header nav.is-open > a,
  .hl-header nav.is-open .hl-nav-dropdown,
  .hl-header nav.is-open .hl-nav-dropdown > a,
  .hl-header nav.is-open .hl-language-switch { display: block !important; }

  .hl-header nav.is-open > a,
  .hl-header nav.is-open .hl-nav-dropdown > a { padding: .85rem .25rem; }

  .hl-header nav.is-open .hl-header-cta {
    align-self: flex-start;
    display: inline-flex !important;
    margin: .7rem .25rem .25rem;
    padding: .7rem 1rem;
  }

  .hl-header nav.is-open .hl-nav-dropdown-menu {
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 0;
    left: auto;
    min-width: 0;
    opacity: 1;
    padding: 0 0 .3rem 1rem;
    pointer-events: auto;
    position: static;
    transform: none;
    visibility: visible;
  }

  .hl-header nav.is-open .hl-nav-dropdown-menu a { display: grid !important; padding: .65rem .25rem; }

  .hl-header nav.is-open .hl-language-switch {
    border-top: 1px solid rgba(23, 61, 72, .12);
    margin-top: .3rem;
    padding: .75rem .25rem 0;
  }

  .hl-header nav.is-open .hl-language-switch a { display: inline-flex !important; padding: .3rem .45rem; }
}
