:root {
  --blue: #075a95;
  --blue-strong: #064b7d;
  --blue-dark: #082f49;
  --blue-soft: #edf6fa;
  --green: #176b3a;
  --green-soft: #edf7f0;
  --yellow: #f4b400;
  --yellow-soft: #fff7d6;
  --ink: #173247;
  --muted: #526b7a;
  --paper: #ffffff;
  --canvas: #f7f8f6;
  --sand: #f4efe4;
  --line: #dbe5e9;
  --line-strong: #c6d5dc;
  --shadow-sm: 0 8px 24px rgba(8, 47, 73, .08);
  --shadow: 0 18px 55px rgba(8, 47, 73, .11);
  --shadow-lg: 0 32px 90px rgba(8, 47, 73, .16);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --header-height: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.dl-lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--blue-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #ffd85c;
}
::selection { background: #cce9f7; color: var(--blue-dark); }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.content-narrow { width: min(800px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100000; left: 16px; top: -120px; padding: 12px 18px; border-radius: 12px; background: #fff; color: var(--blue-dark); box-shadow: var(--shadow); font-weight: 800; }
.skip-link:focus { top: 16px; }

h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--blue-dark); font-weight: 780; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 5.2vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.62rem); letter-spacing: -.02em; }
h4 { font-size: 1.1rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: .78rem; font-weight: 850; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.lead { max-width: 760px; color: #dcecff; font-size: clamp(1.08rem, 1.9vw, 1.3rem); }
.section { padding: clamp(68px, 8vw, 108px) 0; }
.soft-section { background: linear-gradient(180deg, #eef6f8 0%, #f7faf9 100%); }
.section-heading { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.centered-heading { margin-inline: auto; text-align: center; }
.split-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.split-heading > div { max-width: 760px; }
.sticky-heading { position: sticky; top: calc(var(--header-height) + 32px); }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.25;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(7, 90, 149, .18); }
.button.primary:hover { background: var(--blue-strong); box-shadow: 0 12px 26px rgba(7, 90, 149, .25); transform: translateY(-1px); }
.button.secondary { border-color: var(--line-strong); background: #fff; color: var(--blue-dark); }
.button.secondary:hover, .button.outline:hover, .button.ghost:hover { border-color: var(--blue); background: var(--blue-soft); }
.button.outline { border-color: var(--blue); background: transparent; color: var(--blue); }
.button.ghost { border-color: var(--line); background: #f7fafb; color: var(--blue-dark); }
.button.full { width: 100%; margin-top: 10px; }
.text-link, .card-link { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; color: var(--blue); font-weight: 820; }
.text-link:hover, .card-link:hover { color: var(--blue-dark); }
.text-link .icon, .card-link .icon { transition: transform .2s ease; }
.text-link:hover .icon, .card-link:hover .icon { transform: translateX(3px); }
.text-link.light { color: #d8efff; }

/* Header & navigation */
.site-header { position: sticky; top: 0; z-index: 1000; height: var(--header-height); border-bottom: 1px solid rgba(219, 229, 233, .85); background: rgba(255, 255, 255, .93); backdrop-filter: blur(18px) saturate(1.15); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; min-width: 0; align-items: center; gap: 12px; }
.brand-mark { width: 54px; height: 52px; object-fit: contain; }
.brand-custom-logo img { width: auto; max-width: 190px; height: 54px; object-fit: contain; }
.brand-copy { display: grid; min-width: 0; }
.brand-copy strong { color: var(--blue-dark); font-size: 1.05rem; line-height: 1.1; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .76rem; line-height: 1.2; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav ul a { display: flex; min-height: 44px; align-items: center; padding: 8px 12px; border-radius: 999px; color: #28495d; font-size: .92rem; font-weight: 720; }
.main-nav ul a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { background: var(--blue-soft); color: var(--blue-dark); }
.main-nav .menu-item-has-children { position: relative; }
.main-nav .menu-item-has-children > a { gap: 7px; }
.submenu-chevron { display: inline-block; margin-top: -3px; color: var(--blue); font-size: .95rem; line-height: 1; transition: transform .2s ease; }
.main-nav .sub-menu {
  position: absolute;
  z-index: 1100;
  top: calc(100% + 10px);
  left: 50%;
  display: grid;
  min-width: 230px;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.main-nav .sub-menu li { width: 100%; }
.main-nav .sub-menu a { width: 100%; min-height: 42px; justify-content: flex-start; padding: 9px 12px; border-radius: 11px; white-space: nowrap; }
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .menu-item-has-children:hover > a .submenu-chevron,
.main-nav .menu-item-has-children:focus-within > a .submenu-chevron { transform: rotate(180deg); }
.nav-cta { min-height: 44px; padding-inline: 17px; font-size: .9rem; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 0; border-radius: 14px; background: var(--blue-dark); cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px auto; border-radius: 999px; background: #fff; transition: transform .22s ease, opacity .22s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-booking-cta { display: none; }

/* Home hero */
.hero { position: relative; overflow: visible; padding: clamp(44px, 6vw, 82px) 0 0; background: radial-gradient(circle at 2% 0%, #eef8fc 0, transparent 44%), linear-gradient(135deg, #fff 0%, #f6faf7 100%); }
.hero::before { content: ""; position: absolute; width: 440px; height: 440px; top: -300px; right: 10%; border: 54px solid rgba(244, 180, 0, .22); border-radius: 50%; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(36px, 6vw, 78px); padding-bottom: 68px; }
.hero-content { max-width: 620px; }
.hero h1 { max-width: 700px; }
.hero-subtitle { max-width: 640px; color: #405f70; font-size: clamp(1.14rem, 2vw, 1.42rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-trust li { display: flex; min-width: 0; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid rgba(198, 213, 220, .8); border-radius: 16px; background: rgba(255,255,255,.75); }
.hero-trust .icon { width: 22px; height: 22px; color: var(--green); }
.hero-trust span { display: grid; min-width: 0; }
.hero-trust strong { color: var(--blue-dark); font-size: .88rem; line-height: 1.25; }
.hero-trust small { color: var(--muted); font-size: .7rem; line-height: 1.3; }
.hero-showcase { display: grid; min-height: 560px; grid-template-columns: 1.45fr .75fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.hero-image { position: relative; overflow: hidden; border-radius: 24px; background: var(--blue-soft); box-shadow: var(--shadow); isolation: isolate; }
.hero-image-main { grid-row: 1 / 3; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.hero-image::after { content: ""; position: absolute; inset: 35% 0 0; z-index: 1; background: linear-gradient(transparent, rgba(5, 29, 45, .82)); }
.hero-image span { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 17px; display: grid; color: #fff; }
.hero-image strong { font-size: 1.05rem; }
.hero-image small { color: #dcecf4; font-size: .78rem; }
/* Smoobu booking tool */
.booking-tool-section { position: relative; z-index: 2; padding: 34px 0 clamp(70px, 8vw, 104px); background: linear-gradient(180deg, #f4f9fb 0%, #fff 100%); scroll-margin-top: calc(var(--header-height) + 18px); }
.booking-tool-shell { overflow: hidden; padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow-lg); }
.booking-tool-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 34px; margin-bottom: 28px; }
.booking-tool-heading > div:first-child { max-width: 780px; }
.booking-tool-heading h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); }
.booking-tool-heading p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 1.02rem; }
.booking-tool-badge { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid #cfe2d5; border-radius: 16px; background: var(--green-soft); color: var(--green); }
.booking-tool-badge .icon { width: 23px; height: 23px; }
.booking-tool-badge span { display: grid; }
.booking-tool-badge strong { color: var(--blue-dark); font-size: .86rem; line-height: 1.2; }
.booking-tool-badge small { color: var(--muted); font-size: .7rem; }
.smoobu-booking-tool { width: 100%; min-height: 210px; overflow: visible; }
.smoobu-booking-tool iframe { display: block; width: 100% !important; max-width: 100%; min-height: 680px; border: 0 !important; background: #fff; }
.smoobu-noscript { margin: 0; padding: 18px; border-radius: 14px; background: var(--yellow-soft); color: var(--ink); }
.smoobu-noscript a { color: var(--blue); font-weight: 800; text-decoration: underline; }
.smoobu-form-card { overflow: visible; }
.smoobu-form-card .smoobu-booking-tool iframe { min-height: 760px; }

/* General content */
.intro-section { background: #fff; }
.intro-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: start; gap: clamp(42px, 7vw, 90px); }
.intro-copy > :first-child { margin-top: 0; }
.editor-content { color: #2c485a; font-size: 1.04rem; }
.editor-content > * { max-width: 760px; }
.editor-content h2 { margin-top: 1.45em; }
.editor-content h3 { margin-top: 1.65em; }
.editor-content ul, .editor-content ol { padding-left: 1.3em; }
.editor-content a { color: var(--blue); text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .15em; }
.editor-content .alignwide { max-width: 1040px; }
.editor-content .alignfull { max-width: none; }
.editor-content .wp-block-gallery { margin: 40px 0; }
.editor-content .wp-block-image img, .editor-content .wp-block-gallery img { border-radius: 16px; }
.notice { margin: 28px 0; padding: 19px 21px; border-left: 4px solid var(--yellow); border-radius: 0 14px 14px 0; background: var(--yellow-soft); }

.cards { display: grid; gap: 24px; }
.house-cards, .apartment-cards, .related-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { border-color: #c3d8e1; box-shadow: var(--shadow); transform: translateY(-3px); }
.card-media { position: relative; display: block; overflow: hidden; background: #eaf2f5; }
.card-media > img, .card-placeholder { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .45s ease; }
.card-gradient { position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(8,47,73,.34)); pointer-events: none; }
.card-placeholder { display: grid; place-items: center; align-content: center; gap: 8px; padding: 28px; color: var(--muted); }
.card-placeholder img { width: 38%; max-height: 130px; object-fit: contain; opacity: .62; }
.unit-count { position: absolute; z-index: 2; left: 14px; bottom: 14px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; background: rgba(8,47,73,.86); color: #fff; font-size: .76rem; font-weight: 800; backdrop-filter: blur(8px); }
.card-body { padding: 24px; }
.card-type { margin: 0 0 7px; color: var(--green); font-size: .73rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.card-body h3 { margin-bottom: 10px; }
.card-body h3 a { display: inline-block; }
.card-body > p:not(.card-type) { color: var(--muted); }
.card-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 17px 0 11px; }
.card-facts span { display: inline-flex; min-height: 32px; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-size: .75rem; font-weight: 720; }
.card-facts .icon { width: 15px; height: 15px; }
.card-link { font-size: .9rem; }

.map-section { background: #fff; }
.map-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: clamp(34px, 6vw, 72px); }
.map-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.check-list { display: grid; gap: 10px; margin: 24px 0 28px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: #315264; }
.check-list .icon { margin-top: .2em; color: var(--green); }
.location-map { margin: 0; padding: 10px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.location-map a { display: block; overflow: hidden; border-radius: 16px; }
.location-map img { width: 100%; transition: transform .4s ease; }
.location-map figcaption { padding: 10px 6px 2px; color: var(--muted); font-size: .8rem; text-align: center; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.features article { padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.feature-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 17px; border-radius: 15px; background: var(--green-soft); color: var(--green); }
.feature-icon .icon { width: 25px; height: 25px; }
.features p { margin-bottom: 0; color: var(--muted); }
.cta-section { padding-top: 22px; }
.cta-box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: clamp(34px, 5vw, 56px); border-radius: 28px; background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; box-shadow: var(--shadow); }
.cta-box::after { content: ""; position: absolute; width: 230px; height: 230px; right: -95px; bottom: -130px; border: 35px solid rgba(244,180,0,.65); border-radius: 50%; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2, .cta-box .eyebrow { color: #fff; }
.cta-box p { max-width: 720px; margin-bottom: 0; color: #dcecff; }
.light-button { flex: 0 0 auto; background: #fff; color: var(--blue-dark); }
.compact-cta { padding-bottom: 90px; }

/* Page headers */
.page-hero { position: relative; overflow: hidden; padding: clamp(58px, 7vw, 88px) 0; background: linear-gradient(125deg, var(--blue-dark), var(--blue)); color: #fff; }
.page-hero::after { content: ""; position: absolute; width: 320px; height: 320px; top: -220px; right: 7%; border: 42px solid rgba(244,180,0,.72); border-radius: 50%; }
.page-hero h1, .page-hero .eyebrow { color: #fff; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(220px, 360px); align-items: center; gap: 48px; }
.page-hero-grid > img:not(.page-hero-photo) { max-height: 190px; margin-left: auto; filter: drop-shadow(0 16px 24px rgba(0,0,0,.14)); }
.page-hero-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid rgba(255,255,255,.2); border-radius: 22px; box-shadow: var(--shadow); }
.simple-page-hero { padding: 56px 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a { color: var(--blue); font-weight: 680; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Accommodation detail */
.accommodation-intro { padding: clamp(42px, 6vw, 72px) 0 28px; background: #fff; }
.accommodation-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.accommodation-title h1 { max-width: 850px; }
.accommodation-lead { max-width: 800px; margin-bottom: 0; color: var(--muted); font-size: clamp(1.08rem, 1.9vw, 1.3rem); }
.parent-badge { display: inline-flex; min-height: 44px; flex: 0 0 auto; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-weight: 750; }
.accommodation-quick-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.accommodation-quick-facts li { display: flex; min-width: 150px; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.accommodation-quick-facts > li > .icon { width: 21px; height: 21px; color: var(--green); }
.accommodation-quick-facts span { display: grid; }
.accommodation-quick-facts strong { color: var(--blue-dark); font-size: .9rem; line-height: 1.2; }
.accommodation-quick-facts small { color: var(--muted); font-size: .7rem; }
.accommodation-media-section { padding: 18px 0 0; background: #fff; }
.accommodation-gallery-hero { position: relative; display: grid; min-height: 560px; grid-template-columns: 1.7fr .8fr; grid-template-rows: 1fr 1fr; gap: 10px; overflow: hidden; border-radius: 24px; background: var(--blue-soft); box-shadow: var(--shadow); }
.gallery-hero-item { position: relative; overflow: hidden; background: var(--blue-soft); }
.gallery-hero-item-1 { grid-row: 1 / 3; }
.gallery-hero-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.photo-caption { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(8,47,73,.84); color: #fff; font-size: .78rem; backdrop-filter: blur(8px); }
.gallery-all-button { position: absolute; right: 18px; bottom: 18px; display: inline-flex; min-height: 44px; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(255,255,255,.94); color: var(--blue-dark); font-size: .84rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.single-hero-photo { margin: 0; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.single-hero-photo img { width: 100%; max-height: 690px; object-fit: cover; }
.accommodation-section { padding-top: 64px; background: #fff; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: clamp(34px, 5vw, 58px); }
.accommodation-content > :first-child { margin-top: 0; }
.photo-placeholder { min-height: 400px; display: grid; place-items: center; align-content: center; gap: 16px; padding: 38px; border: 2px dashed #b9cdd6; border-radius: 24px; background: #f1f7fa; color: var(--muted); text-align: center; }
.photo-placeholder img { width: min(250px, 55%); opacity: .66; }
.booking-sidebar { display: grid; min-width: 0; gap: 18px; align-self: start; }
.booking-box { position: sticky; top: calc(var(--header-height) + 24px); padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.booking-sidebar.has-unit-calendar .booking-box { position: static; }
.booking-box h2 { font-size: 1.8rem; }

/* Unit-specific Smoobu availability calendar */
.unit-availability-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  scroll-margin-top: calc(var(--header-height) + 24px);
  border: 1px solid #cddfe7;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfe 100%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.unit-availability-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  height: 180px;
  top: -112px;
  right: -72px;
  border: 28px solid rgba(244,180,0,.22);
  border-radius: 50%;
  pointer-events: none;
}
.unit-availability-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 0% 0%, rgba(23,107,58,.065) 0, transparent 32%), radial-gradient(circle at 100% 100%, rgba(7,90,149,.055) 0, transparent 28%);
  pointer-events: none;
}
.unit-availability-header { padding: 25px 25px 17px; background: linear-gradient(145deg, #f4fafc 0%, #fff 66%); }
.unit-availability-header .eyebrow { margin-bottom: 8px; }
.unit-availability-header h2 { margin-bottom: 10px; font-size: clamp(1.45rem, 2vw, 1.85rem); }
.unit-availability-header p:last-child { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.availability-live {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px 10px;
  border: 1px solid #b8dec2;
  border-radius: 999px;
  background: #effaf2;
  color: #145c31;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.availability-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #21a453; box-shadow: 0 0 0 5px rgba(33,164,83,.12); }
.unit-calendar-shell {
  position: relative;
  min-height: 345px;
  margin: 0 18px;
  padding: 18px 14px 14px;
  overflow: hidden;
  border: 1px solid rgba(198,213,220,.9);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 12px 28px rgba(8,47,73,.06);
}
.unit-calendar-shell::before {
  content: "Kalender lädt …";
  position: absolute;
  inset: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cfe0e7;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(237,246,250,.65) 10%, rgba(255,255,255,.95) 38%, rgba(237,246,250,.65) 70%);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .015em;
  animation: calendar-shimmer 1.6s linear infinite;
  transition: opacity .28s ease;
  pointer-events: none;
}
.unit-calendar-shell.is-loaded::before { opacity: 0; }
@keyframes calendar-shimmer {
  0% { background-position: -180px 0; }
  100% { background-position: 180px 0; }
}
.duemmerleben-calendar-widget, .duemmerleben-calendar-widget .calendarContent { width: 100%; min-width: 0; min-height: 320px; }
.duemmerleben-calendar-widget {
  position: relative;
  z-index: 1;
  color: var(--ink);
}
.duemmerleben-calendar-widget * {
  box-sizing: border-box;
  font-family: inherit !important;
}
.duemmerleben-calendar-widget .calendarContent {
  position: relative;
  z-index: 1;
}
.duemmerleben-calendar-widget iframe { display: block; width: 100% !important; max-width: 100% !important; border: 0 !important; }
.duemmerleben-calendar-widget table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 6px !important;
  background: transparent !important;
}
.duemmerleben-calendar-widget th,
.duemmerleben-calendar-widget td {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.duemmerleben-calendar-widget th {
  padding-bottom: 10px !important;
  color: var(--muted) !important;
  font-size: .72rem !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
.duemmerleben-calendar-widget td > *,
.duemmerleben-calendar-widget td a,
.duemmerleben-calendar-widget td button,
.duemmerleben-calendar-widget td span,
.duemmerleben-calendar-widget td div {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #deeaef !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: var(--blue-dark) !important;
  font-weight: 760 !important;
  box-shadow: 0 4px 16px rgba(8,47,73,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.duemmerleben-calendar-widget td a:hover,
.duemmerleben-calendar-widget td button:hover,
.duemmerleben-calendar-widget td > *:hover {
  transform: translateY(-1px);
  border-color: #b8d2de !important;
  box-shadow: 0 8px 22px rgba(8,47,73,.09);
}
.duemmerleben-calendar-widget :is([class*="month"], [class*="Month"], [class*="title"], [class*="Title"], [class*="header"], [class*="Header"]) {
  color: var(--blue-dark) !important;
}
.duemmerleben-calendar-widget :is(button, a)[class*="prev"],
.duemmerleben-calendar-widget :is(button, a)[class*="next"],
.duemmerleben-calendar-widget :is(button, a)[class*="arrow"],
.duemmerleben-calendar-widget :is(button, a)[aria-label*="prev" i],
.duemmerleben-calendar-widget :is(button, a)[aria-label*="next" i] {
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--blue) !important;
}
.duemmerleben-calendar-widget :is([class*="available"], [class*="free"], [class*="frei"]) :is(a, button, span, div),
.duemmerleben-calendar-widget :is([class*="available"], [class*="free"], [class*="frei"]) {
  background: #eff9f2 !important;
  border-color: #cbe7d4 !important;
  color: #16552f !important;
}
.duemmerleben-calendar-widget :is([class*="booked"], [class*="blocked"], [class*="occupied"], [class*="unavailable"], [class*="not-available"], [class*="belegt"]) :is(a, button, span, div),
.duemmerleben-calendar-widget :is([class*="booked"], [class*="blocked"], [class*="occupied"], [class*="unavailable"], [class*="not-available"], [class*="belegt"]) {
  background: #f3f6f8 !important;
  border-color: #e2eaee !important;
  color: #8ba0ad !important;
  box-shadow: none !important;
}
.duemmerleben-calendar-widget :is([class*="arrival"], [class*="departure"], [class*="checkin"], [class*="checkout"], [class*="anreise"], [class*="abreise"]) :is(a, button, span, div),
.duemmerleben-calendar-widget :is([class*="arrival"], [class*="departure"], [class*="checkin"], [class*="checkout"], [class*="anreise"], [class*="abreise"]) {
  background: #eef5fb !important;
  border-color: #c6dced !important;
  color: var(--blue-strong) !important;
}
.duemmerleben-calendar-widget :is([class*="today"], [class*="current"], [class*="selected"]) :is(a, button, span, div),
.duemmerleben-calendar-widget :is([class*="today"], [class*="current"], [class*="selected"]) {
  border-color: rgba(244,180,0,.85) !important;
  box-shadow: 0 0 0 3px rgba(244,180,0,.16), 0 8px 22px rgba(8,47,73,.08) !important;
}
.unit-calendar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 22px 0;
}
.unit-calendar-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f6fafb;
  color: var(--blue-dark);
  font-size: .72rem;
  font-weight: 760;
}
.unit-calendar-meta .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}
.unit-availability-actions { display: grid; gap: 8px; padding: 16px 22px 0; }
.unit-availability-actions .button.full { margin-top: 0; }
.availability-contact-link { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 7px; color: var(--blue); font-size: .78rem; font-weight: 800; text-align: center; }
.availability-contact-link:hover { color: var(--blue-dark); }
.availability-contact-link .icon { transition: transform .2s ease; }
.availability-contact-link:hover .icon { transform: translateX(3px); }
.unit-availability-assurance { display: grid; grid-template-columns: 1fr; gap: 7px; margin-top: 13px; padding: 16px 22px 20px; border-top: 1px solid var(--line); background: #fbfcfc; }
.unit-availability-assurance span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .73rem; font-weight: 700; }
.unit-availability-assurance .icon { width: 17px; height: 17px; color: var(--green); }

.facts-list { margin: 0 0 20px; }
.facts-list div { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts-list dt { color: var(--muted); font-size: .82rem; }
.facts-list dd { margin: 0; color: var(--blue-dark); font-weight: 780; text-align: right; }
.booking-note { margin: 17px 0 0; color: var(--muted); font-size: .82rem; }
.child-units { margin-top: 72px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: clamp(36px, 6vw, 70px); }
.contact-copy { position: sticky; top: calc(var(--header-height) + 28px); }
.contact-details { display: grid; gap: 11px; margin: 28px 0; }
.contact-details > div { display: flex; align-items: flex-start; gap: 12px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.contact-details > div > .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--green); }
.contact-details span { display: grid; }
.contact-details strong { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-details a { color: var(--blue); font-weight: 780; }
.contact-tip { padding: 14px 16px; border-radius: 14px; background: var(--blue-soft); color: var(--muted); font-size: .83rem; }
.form-card { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.form-card-heading { margin-bottom: 26px; }
.form-card-heading h2 { font-size: 2rem; }
.form-card-heading p:not(.eyebrow) { color: var(--muted); }
.booking-form { display: grid; gap: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.booking-form label { display: grid; gap: 7px; color: var(--blue-dark); font-size: .88rem; font-weight: 720; }
input, select, textarea { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fbfcfc; color: var(--ink); }
input:hover, select:hover, textarea:hover { border-color: #9db8c5; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); background: #fff; }
textarea { resize: vertical; }
.privacy-check { grid-template-columns: auto 1fr !important; align-items: start; color: var(--muted) !important; font-size: .79rem !important; font-weight: 500 !important; }
.privacy-check input { width: 20px; min-height: 20px; margin-top: 3px; }
.privacy-check a { color: var(--blue); text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; }
.form-message { margin-bottom: 20px; padding: 14px 16px; border-radius: 13px; }
.form-message.success { border: 1px solid #a8d9af; background: #e8f7e9; color: #155c1a; }
.form-message.error { border: 1px solid #efb5af; background: #fff0ef; color: #8d281f; }
.required-note { margin: 0; color: var(--muted); font-size: .75rem; text-align: right; }

/* Other pages */
.page-image { margin: 0 0 36px; }
.page-image img { border-radius: 22px; box-shadow: var(--shadow); }
.post-summary { padding: 24px 0; border-bottom: 1px solid var(--line); }
.error-page { min-height: 60vh; display: grid; align-items: center; }

/* Footer */
.site-footer { padding: 66px 0 26px; background: #0d2a3d; color: #d8e6ed; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .85fr .72fr; gap: 52px; }
.footer-brand img { width: 210px; max-height: 155px; object-fit: contain; margin-bottom: 17px; border-radius: 14px; background: #fff; }
.footer-title { color: #fff; font-size: 1.15rem; letter-spacing: -.01em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 5px 0; }
.site-footer a { display: inline-flex; min-height: 38px; align-items: center; }
.site-footer a:hover { color: #fff; }
.footer-domain { margin-top: 22px; color: #91cff2; font-weight: 800; }
.footer-contact { display: grid; gap: 5px; font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.14); color: #a8bdc8; font-size: .8rem; }
.back-to-top { gap: 6px; }

/* Bundled galleries */
.bundled-gallery-section, .floorplans-section { margin-top: 72px; scroll-margin-top: calc(var(--header-height) + 24px); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.gallery-heading > p { margin: 0 0 9px; color: var(--muted); font-size: .84rem; font-weight: 720; }
.photo-gallery-groups { display: grid; gap: 40px; }
.gallery-group { min-width: 0; }
.gallery-group-title { margin: 0 0 15px; font-size: clamp(1.15rem, 2vw, 1.42rem); }
.gallery-group-title::after { content: ""; display: block; width: 48px; height: 3px; margin-top: 9px; border-radius: 999px; background: var(--yellow); }
.photo-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dl-gallery-item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 16px; background: var(--blue-soft); }
.dl-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.dl-gallery-item span { position: absolute; left: 9px; right: 9px; bottom: 9px; padding: 8px 10px; border-radius: 10px; background: rgba(8,47,73,.8); color: #fff; font-size: .72rem; line-height: 1.25; opacity: 0; transform: translateY(7px); transition: opacity .22s ease, transform .22s ease; backdrop-filter: blur(7px); }
.floorplan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.floorplan-card { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.floorplan-card a { display: grid; min-height: 280px; place-items: center; overflow: hidden; border-radius: 13px; background: #f7f9fa; }
.floorplan-card img { width: 100%; height: 100%; max-height: 500px; object-fit: contain; }
.floorplan-card figcaption { padding: 12px 4px 2px; color: var(--blue-dark); font-weight: 800; text-align: center; }

/* Lightbox */
.dl-lightbox { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; padding: 28px 80px 62px; background: rgba(4, 20, 31, .95); }
.dl-lightbox.is-open { display: flex; }
.dl-lightbox-figure { display: grid; max-width: min(1500px, 100%); max-height: 100%; place-items: center; gap: 14px; margin: 0; }
.dl-lightbox-image { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 130px); border-radius: 10px; object-fit: contain; box-shadow: 0 24px 90px rgba(0,0,0,.5); }
.dl-lightbox-caption { color: #fff; font-size: .93rem; text-align: center; }
.dl-lightbox-close, .dl-lightbox-prev, .dl-lightbox-next { position: absolute; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.12); color: #fff; cursor: pointer; backdrop-filter: blur(8px); }
.dl-lightbox-close { top: 17px; right: 18px; width: 48px; height: 48px; border-radius: 50%; font-size: 1.7rem; }
.dl-lightbox-prev, .dl-lightbox-next { top: 50%; width: 50px; height: 68px; border-radius: 15px; transform: translateY(-50%); font-size: 2rem; }
.dl-lightbox-prev { left: 17px; }
.dl-lightbox-next { right: 17px; }

@media (hover: hover) {
  .hero-image:hover img, .card:hover .card-media > img, .location-map a:hover img, .gallery-hero-item:hover img { transform: scale(1.035); }
  .dl-gallery-item:hover img { transform: scale(1.035); filter: saturate(1.05); }
  .dl-gallery-item:hover span, .dl-gallery-item:focus-visible span { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-height) 14px auto; display: none; max-height: calc(100dvh - var(--header-height) - 18px); overflow: auto; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); }
  .main-nav.is-open { display: grid; }
  .main-nav ul { display: grid; gap: 2px; }
  .main-nav ul a { justify-content: flex-start; padding: 11px 12px; border-radius: 11px; }
  .main-nav .menu-item-has-children > a { justify-content: space-between; }
  .main-nav .sub-menu { position: static; min-width: 0; margin: 3px 0 7px 14px; padding: 4px 0 4px 10px; border: 0; border-left: 2px solid #d7e6ec; border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .main-nav .sub-menu::before { display: none; }
  .main-nav .sub-menu a { min-height: 40px; padding: 8px 11px; font-size: .88rem; }
  .submenu-chevron { transform: rotate(180deg); }
  .nav-cta { margin-top: 12px; }
  .hero-grid { grid-template-columns: .9fr 1.1fr; gap: 34px; }
  .hero-showcase { min-height: 480px; }
  .house-cards, .apartment-cards, .related-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
}

@media (max-width: 820px) {
  :root { --header-height: 72px; }
  .container, .content-narrow { width: min(100% - 28px, 1200px); }
  body { padding-bottom: 70px; }
  .brand-mark { width: 48px; height: 46px; }
  .brand-copy strong { font-size: .96rem; }
  .brand-copy small { font-size: .7rem; }
  .hero { padding-top: 34px; }
  .hero-grid { grid-template-columns: 1fr; padding-bottom: 30px; }
  .hero-content { max-width: 720px; }
  .hero-showcase { min-height: 520px; }
  .booking-tool-heading { align-items: stretch; flex-direction: column; }
  .booking-tool-badge { align-self: flex-start; }
  .smoobu-booking-tool iframe, .smoobu-form-card .smoobu-booking-tool iframe { min-height: 820px; }
  .intro-grid, .map-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
  .sticky-heading, .contact-copy { position: static; }
  .booking-sidebar { order: -1; }
  .booking-box { position: static; }
  .accommodation-gallery-hero { min-height: 470px; grid-template-columns: 1.45fr .8fr; }
  .page-hero-grid { grid-template-columns: 1fr 260px; gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / 3; }
  .mobile-booking-cta { position: fixed; z-index: 900; left: 12px; right: 12px; bottom: 10px; display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; background: var(--blue); color: #fff; box-shadow: 0 14px 38px rgba(8,47,73,.32); font-weight: 820; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.7rem); }
  .brand-copy small { display: none; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-trust { grid-template-columns: 1fr; }
  .hero-trust li { padding: 9px 11px; }
  .hero-showcase { min-height: 450px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.45fr .75fr; }
  .hero-image-main { grid-column: 1 / 3; grid-row: 1; }
  .hero-image-small { grid-row: 2; }
  .hero-image { border-radius: 18px; }
  .hero-image span { left: 13px; right: 13px; bottom: 12px; }
  .booking-tool-section { padding-top: 22px; }
  .booking-tool-shell { padding: 20px 14px; border-radius: 20px; }
  .booking-tool-heading { margin-bottom: 20px; }
  .booking-tool-badge { width: 100%; justify-content: center; }
  .smoobu-booking-tool iframe, .smoobu-form-card .smoobu-booking-tool iframe { min-height: 920px; }
  .section { padding: 64px 0; }
  .split-heading, .cta-box, .accommodation-title, .gallery-heading { align-items: flex-start; flex-direction: column; }
  .house-cards, .apartment-cards, .related-cards, .features { grid-template-columns: 1fr; }
  .card-body { padding: 21px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-grid img { display: none; }
  .accommodation-quick-facts { display: grid; grid-template-columns: 1fr 1fr; }
  .accommodation-quick-facts li { min-width: 0; }
  .accommodation-gallery-hero { min-height: 430px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.5fr .75fr; border-radius: 18px; }
  .gallery-hero-item-1 { grid-column: 1 / 3; grid-row: 1; }
  .gallery-hero-item-2, .gallery-hero-item-3 { grid-row: 2; }
  .gallery-all-button { right: 11px; bottom: 11px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .facts-list div { grid-template-columns: 1fr; gap: 2px; }
  .facts-list dd { text-align: left; }
  .unit-availability-header { padding: 22px 19px 15px; }
  .unit-calendar-shell { margin-inline: 10px; padding-inline: 4px; border-radius: 15px; }
  .unit-calendar-meta, .unit-availability-actions, .unit-availability-assurance { padding-inline: 16px; }
  .photo-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dl-gallery-item { border-radius: 12px; }
  .dl-gallery-item span { display: none; }
  .floorplan-grid { grid-template-columns: 1fr; }
  .floorplan-card a { min-height: 210px; }
  .dl-lightbox { padding: 58px 14px 70px; }
  .dl-lightbox-prev, .dl-lightbox-next { top: auto; bottom: 12px; width: 56px; height: 44px; }
  .dl-lightbox-prev { left: calc(50% - 68px); }
  .dl-lightbox-next { right: calc(50% - 68px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* Home hero property sliders */
.hero-property-slider { min-width: 0; }
.hero-property-link { position: absolute; inset: 0; z-index: 1; display: block; overflow: hidden; border-radius: inherit; }
.hero-slider-viewport { position: absolute; inset: 0; display: block; background: var(--blue-soft); }
.hero-slide { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; opacity: 0; transform: scale(1.025); transition: opacity .85s ease, transform 5.8s ease; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-property-slider::after { z-index: 2; pointer-events: none; }
.hero-property-caption { z-index: 3 !important; pointer-events: none; }
.hero-slider-dots { position: absolute; z-index: 4; right: 16px; bottom: 18px; left: auto !important; display: flex !important; width: auto; gap: 5px; pointer-events: none; }
.hero-slider-dots i { display: block; width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.48); box-shadow: 0 0 0 1px rgba(8,47,73,.16); transition: width .25s ease, background-color .25s ease; }
.hero-slider-dots i.is-active { width: 19px; background: #fff; }
.hero-slider-toggle { position: absolute; z-index: 6; top: 13px; right: 13px; display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(8,47,73,.72); color: #fff; cursor: pointer; opacity: 0; transform: translateY(-4px); backdrop-filter: blur(8px); transition: opacity .2s ease, transform .2s ease, background-color .2s ease; }
.hero-property-slider:hover .hero-slider-toggle, .hero-property-slider:focus-within .hero-slider-toggle { opacity: 1; transform: translateY(0); }
.hero-slider-toggle:hover { background: rgba(8,47,73,.94); }
.hero-slider-play { display: none; margin-left: 2px; font-size: .8rem; }
.hero-property-slider.is-paused .hero-slider-pause { display: none; }
.hero-property-slider.is-paused .hero-slider-play { display: inline; }
.hero-property-slider.is-paused .hero-slide { transition-duration: .35s; }
.hero-property-slider .hero-property-link:focus-visible { outline-offset: -5px; }

/* Legal pages */
.legal-page-hero .lead { margin: 14px 0 0; }
.legal-section { background: #fff; }
.legal-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); align-items: start; gap: clamp(36px, 6vw, 86px); }
.legal-aside { position: sticky; top: calc(var(--header-height) + 28px); padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #f7fafb; }
.legal-aside nav { display: grid; gap: 4px; }
.legal-aside a { min-height: 40px; padding: 8px 10px; border-radius: 10px; color: var(--blue-dark); font-size: .9rem; font-weight: 720; }
.legal-aside a:hover { background: var(--blue-soft); color: var(--blue); }
.legal-content { min-width: 0; }
.legal-content > section { max-width: 790px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal-content > section + section { padding-top: 14px; }
.legal-content h2 { margin-top: 1.25em; font-size: clamp(1.45rem, 2.2vw, 2rem); }
.legal-admin-hint { max-width: 790px; margin: 0 0 28px; padding: 18px 20px; border: 1px solid #edcc63; border-radius: 15px; background: var(--yellow-soft); color: #4f4115; }
.legal-placeholder { display: inline-block; padding: 2px 7px; border-radius: 6px; background: var(--yellow-soft); color: #6c5310; font-weight: 760; }
.legal-updated { margin-top: 26px; color: var(--muted); font-size: .88rem; }

@media (max-width: 760px) {
  .hero-slider-toggle { opacity: 1; transform: none; }
  .hero-slider-dots { right: 12px; bottom: 13px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-aside { position: static; }
  .legal-aside nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .25s ease; transform: none !important; }
}


/* v6.10 home-page repair and regional content */
.hero-intro { max-width: 640px; margin-top: -8px; color: #557080; }
.text-button { border-color: transparent; background: transparent; color: var(--blue); box-shadow: none; }
.text-button:hover { background: var(--blue-soft); }
.hero-image::after { inset: auto 0 0; height: 92px; background: linear-gradient(transparent, rgba(5,29,45,.58)); }
.hero-image small:empty { display: none; }
.hero-property-caption { right: auto !important; bottom: 14px !important; width: auto; padding: 7px 11px; border-radius: 10px; background: rgba(8,47,73,.42); backdrop-filter: blur(6px); }
.hero-property-caption strong { text-shadow: 0 1px 5px rgba(0,0,0,.42); }
.hero-slider-toggle { display: none !important; }
.booking-tool-shell { padding-bottom: 24px; }
.smoobu-booking-tool { min-height: 100px; }
.smoobu-booking-tool iframe { min-height: 460px; }
.home-houses { padding-top: clamp(70px,8vw,104px); }
.region-section { overflow: hidden; background: linear-gradient(180deg,#fff 0%,#f4f9fb 100%); }
.region-grid { display:grid; grid-template-columns:.88fr 1.12fr; align-items:center; gap:clamp(36px,6vw,78px); }
.region-copy p { color:var(--muted); }
.compact-check-list { margin-top:20px; }
.region-slider { position:relative; min-height:580px; overflow:hidden; border-radius:28px; background:#dfeef3; box-shadow:var(--shadow-lg); }
.region-slide { position:absolute; inset:0; margin:0; opacity:0; transition:opacity .8s ease; }
.region-slide.is-active { opacity:1; }
.region-slide img { width:100%; height:100%; object-fit:cover; }
.region-slider-controls { position:absolute; z-index:3; right:18px; bottom:18px; left:18px; display:flex; align-items:center; justify-content:center; gap:12px; }
.region-slider-controls button { display:grid; width:42px; height:42px; place-items:center; padding:0; border:1px solid rgba(255,255,255,.72); border-radius:50%; background:rgba(8,47,73,.72); color:#fff; font-size:1.6rem; cursor:pointer; backdrop-filter:blur(8px); }
.region-slider-dots { display:flex; gap:6px; padding:9px 12px; border-radius:999px; background:rgba(8,47,73,.55); backdrop-filter:blur(8px); }
.region-slider-dots i { width:7px; height:7px; border-radius:999px; background:rgba(255,255,255,.5); transition:width .25s ease,background .25s ease; }
.region-slider-dots i.is-active { width:20px; background:#fff; }
.google-map-shell { overflow:hidden; min-height:480px; border:1px solid var(--line); border-radius:24px; background:#fff; box-shadow:var(--shadow); }
.google-map-shell iframe { display:block; width:100%; min-height:480px; border:0; }
.cta-box a { color:inherit; }
@media (max-width: 900px) {
  .region-grid { grid-template-columns:1fr; }
  .region-slider { min-height:500px; }
  .smoobu-booking-tool iframe { min-height:720px; }
}
@media (max-width: 680px) {
  .hero-contact-button { display:none; }
  .hero-actions { gap:8px; }
  .hero-actions .button { flex:1 1 auto; justify-content:center; padding-inline:16px; }
  .region-slider { min-height:420px; border-radius:20px; }
  .region-slider-controls { right:10px; bottom:10px; left:10px; }
  .region-slider-controls button { width:38px; height:38px; }
  .booking-tool-heading p:not(.eyebrow) { font-size:.94rem; }
  .smoobu-booking-tool iframe { min-height:780px; }
}


/* v6.11: stabile Slider, kompakter Buchungsbereich und direkte Objektbuchung */

.unit-booking-section { padding-top: 0; background: #fff; }
.unit-booking-section .unit-availability-card { max-width: 1040px; margin-inline: auto; }
.unit-booking-section .unit-availability-header { padding: clamp(24px, 4vw, 42px); }
.unit-booking-section .unit-availability-header p:last-child { max-width: 760px; font-size: .98rem; }
.hero-showcase { background: transparent; }
.hero-image { background: transparent; box-shadow: none; }
.hero-property-slider { outline: 0; }
.hero-property-link { background: transparent; }
.hero-slider-viewport { background: transparent; }
.hero-slide { visibility: hidden; }
.hero-slide.is-active { visibility: visible; }
.hero-contact-button { display: none !important; }

.booking-tool-section .smoobu-booking-tool { min-height: 0; }
.booking-tool-section .smoobu-booking-tool iframe {
  min-height: 310px !important;
  background: #fff;
}

.unit-booking-card { overflow: hidden; }
.unit-booking-shell {
  margin: 0 18px;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(198,213,220,.9);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(8,47,73,.06);
}
.smoobu-unit-booking-tool { min-height: 520px; }
.smoobu-unit-booking-tool iframe {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 620px !important;
  border: 0 !important;
  background: #fff;
}
.unit-booking-card .unit-calendar-meta { padding-top: 15px; }
.unit-booking-card .unit-availability-actions { padding-bottom: 20px; }

.region-slide { visibility: hidden; pointer-events: none; }
.region-slide.is-active { visibility: visible; pointer-events: auto; }
.region-slider-dots { align-items: center; }
.region-slider-dots button {
  width: 8px;
  height: 8px;
  min-width: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: width .25s ease, background-color .25s ease;
}
.region-slider-dots button.is-active { width: 22px; background: #fff; }
.region-slider-dots button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.contact-form { display: grid; gap: 17px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--blue-dark); font-size: .84rem; font-weight: 780; }
.form-field label small { color: var(--muted); font-weight: 600; }
.contact-form :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #c9d9e0;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form :is(input, textarea):focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 4px rgba(11,105,159,.12); }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.privacy-check input { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 2px; accent-color: var(--blue); }
.privacy-check a { color: var(--blue); text-decoration: underline; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { margin: 0 0 20px; padding: 13px 15px; border-radius: 12px; font-size: .9rem; font-weight: 700; }
.form-status.success { border: 1px solid #b8dec2; background: #effaf2; color: #145c31; }
.form-status.error { border: 1px solid #efc3c3; background: #fff4f4; color: #8d2424; }

@media (max-width: 900px) {
  .booking-tool-section .smoobu-booking-tool iframe { min-height: 360px !important; }
  .smoobu-unit-booking-tool iframe { min-height: 760px !important; }
}
@media (max-width: 680px) {
  .booking-tool-section .smoobu-booking-tool iframe { min-height: 410px !important; }
  .unit-booking-shell { margin-inline: 10px; padding: 5px; border-radius: 15px; }
  .smoobu-unit-booking-tool iframe { min-height: 850px !important; }
  .region-slider-dots { gap: 5px; padding-inline: 10px; }
}

/* v6.12: Über-uns-Seite – Familienprojekt, Hofgeschichte und persönliche Werte */
.about-page-hero { padding: clamp(62px, 7vw, 94px) 0; }
.about-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 390px); align-items: end; gap: clamp(36px, 7vw, 86px); }
.about-page-hero .lead { max-width: 820px; margin-bottom: 0; }
.about-hero-note { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; background: rgba(255,255,255,.1); box-shadow: 0 18px 42px rgba(0,0,0,.1); backdrop-filter: blur(12px); }
.about-hero-note > span { display: grid; width: 50px; height: 50px; flex: 0 0 auto; place-items: center; border-radius: 16px; background: rgba(255,255,255,.14); color: #fff; }
.about-hero-note .icon { width: 27px; height: 27px; }
.about-hero-note div { display: grid; }
.about-hero-note strong { color: #fff; font-size: 1rem; }
.about-hero-note small { margin-top: 2px; color: #dbeaf2; font-size: .8rem; line-height: 1.4; }

.about-intro-section { background: #fff; }
.about-intro-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(42px, 7vw, 90px); align-items: start; }
.about-intro-kicker h2 { max-width: 520px; }
.about-intro-copy { max-width: 760px; color: #315264; font-size: 1.08rem; }
.about-brand-line { display: inline-flex; margin-bottom: 22px; padding: 10px 14px; border: 1px solid #cfe2d5; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: .9rem; line-height: 1.35; }

.about-story-section { background: linear-gradient(180deg, #f2f8f6 0%, #eef6f8 100%); }
.about-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(40px, 7vw, 88px); }
.about-story-copy { color: #315264; font-size: 1.04rem; }
.about-story-copy h2 { max-width: 650px; }
.about-story-copy p:last-child { margin-bottom: 0; }
.about-slider { min-height: 540px; border: 8px solid #fff; border-radius: 30px; background: #e8f1f3; box-shadow: var(--shadow-lg); }
.about-slider .region-slide { background: #e8f1f3; }
.about-slider .region-slide img { object-position: center; }
.about-family-slider .region-slide:nth-child(2) img,
.about-family-slider .region-slide:nth-child(3) img,
.about-family-slider .region-slide:nth-child(4) img,
.about-family-slider .region-slide:nth-child(5) img { object-position: center 42%; }
.about-slider .region-slider-controls { bottom: 14px; }

.about-comfort-section { background: #fff; }
.about-comfort-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(42px, 8vw, 105px); }
.about-comfort-card { position: sticky; top: calc(var(--header-height) + 32px); padding: clamp(28px, 4vw, 42px); border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, #fff 0%, #f3f8f5 100%); box-shadow: var(--shadow-sm); }
.about-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 22px; border-radius: 17px; background: var(--green-soft); color: var(--green); }
.about-icon .icon { width: 27px; height: 27px; }
.about-comfort-copy { max-width: 760px; color: #315264; font-size: 1.05rem; }
.about-quote { position: relative; margin: 32px 0; padding: 28px 30px 28px 34px; border-left: 5px solid var(--yellow); border-radius: 0 20px 20px 0; background: var(--yellow-soft); color: var(--blue-dark); }
.about-quote::before { content: "“"; position: absolute; top: -16px; left: 18px; color: rgba(7,90,149,.12); font-family: Georgia, serif; font-size: 6rem; line-height: 1; }
.about-quote p { position: relative; z-index: 1; margin: 0; font-size: clamp(1.25rem, 2.1vw, 1.65rem); font-weight: 780; line-height: 1.35; letter-spacing: -.02em; }

.about-history-section { background: linear-gradient(180deg, #f8f4ec 0%, #fff 100%); }
.about-history-grid { grid-template-columns: 1.08fr .92fr; }
.about-history-slider { background: #efe7d9; }
.about-history-slider .region-slide { display: grid; place-items: center; padding: clamp(18px, 3vw, 34px); background: radial-gradient(circle at 50% 45%, #fffaf0 0%, #e9dfce 100%); }
.about-history-slider .region-slide img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 13px 20px rgba(72,55,34,.17)); }

.about-clean-section { padding-top: 36px; background: #fff; }
.about-clean-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 100px); padding: clamp(32px, 5vw, 58px); border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(130deg, #f5fbf7 0%, #eef7f0 48%, #fff 100%); box-shadow: var(--shadow); }
.about-clean-heading { display: flex; align-items: flex-start; gap: 20px; }
.about-clean-heading .about-icon { margin-bottom: 0; }
.about-clean-heading h2 { margin-bottom: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.about-icon-clean { flex: 0 0 auto; background: #fff; box-shadow: inset 0 0 0 1px #cfe2d5; }
.about-clean-copy { align-self: center; color: #315264; font-size: 1.05rem; }
.about-clean-copy p:first-child { color: var(--blue-dark); font-size: 1.23rem; }
.about-clean-copy p:last-child { margin-bottom: 0; }

.about-final-cta { background: #fff; }
.about-final-cta .cta-box { align-items: center; }
.about-final-cta .cta-box h2 { max-width: 760px; margin-bottom: 0; }
.about-cta-actions { position: relative; z-index: 2; display: flex; flex: 0 0 auto; flex-direction: column; gap: 10px; min-width: 220px; }
.about-cta-book { border-color: rgba(255,255,255,.5) !important; color: #fff !important; }
.about-cta-book:hover { border-color: #fff !important; background: rgba(255,255,255,.12) !important; }

@media (max-width: 980px) {
  .about-hero-grid, .about-intro-grid, .about-story-grid, .about-history-grid, .about-comfort-grid, .about-clean-card { grid-template-columns: 1fr; }
  .about-hero-note { max-width: 440px; }
  .about-slider { min-height: 500px; }
  .about-history-grid .about-history-slider { order: 2; }
  .about-history-grid .about-story-copy { order: 1; }
  .about-comfort-card { position: static; }
  .about-clean-card { gap: 28px; }
}

@media (max-width: 680px) {
  .about-page-hero { padding: 52px 0 58px; }
  .about-hero-grid { gap: 28px; }
  .about-hero-note { padding: 15px 16px; border-radius: 17px; }
  .about-intro-copy, .about-story-copy, .about-comfort-copy, .about-clean-copy { font-size: 1rem; }
  .about-slider { min-height: 430px; border-width: 5px; border-radius: 22px; }
  .about-history-slider .region-slide { padding: 16px; }
  .about-brand-line { border-radius: 16px; }
  .about-comfort-card { padding: 26px; }
  .about-quote { padding: 25px 22px 25px 27px; }
  .about-clean-card { padding: 27px 23px; border-radius: 23px; }
  .about-clean-heading { display: grid; gap: 6px; }
  .about-clean-heading .about-icon { margin-bottom: 12px; }
  .about-final-cta .cta-box { align-items: stretch; }
  .about-cta-actions { width: 100%; min-width: 0; }
  .about-cta-actions .button { width: 100%; }
}


/* v7 – editor-driven content while preserving the established design */
.home-editor-section{background:#fff}.home-editor-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:clamp(42px,7vw,90px);align-items:start}.home-editor-content{max-width:760px;color:#315264;font-size:1.05rem}.home-editor-content>:last-child{margin-bottom:0}.section-more-link{margin-top:24px}.editor-content .check-list li{position:relative;display:block;padding-left:28px}.editor-content .check-list li::before{content:"✓";position:absolute;left:0;top:0;color:var(--green);font-weight:900}.editor-content .check-list li .icon{display:none}
.about-editor-content>.section{margin-block-start:0}.about-story-grid>.wp-block-shortcode{min-width:0;margin:0}.about-story-grid>.wp-block-shortcode .about-slider{width:100%}.about-history-grid{grid-template-columns:.9fr 1.1fr}.about-clean-heading{display:block}.about-brand-statement{max-width:560px;margin:0;color:var(--blue-dark);font-size:clamp(1.55rem,2.7vw,2.35rem);line-height:1.22;letter-spacing:-.025em}.about-final-tagline{margin-bottom:10px!important;color:#fff}.about-final-cta .cta-box p{margin-bottom:0;color:#dcecff}
.about-cta-actions .wp-block-button{width:100%}.about-cta-actions .wp-block-button__link{display:inline-flex;width:100%;min-height:48px;align-items:center;justify-content:center;padding:12px 21px;border:1px solid transparent;border-radius:999px;font-weight:800;line-height:1.25;text-decoration:none;transition:transform .2s ease,background-color .2s ease,border-color .2s ease}.about-cta-actions .light-button .wp-block-button__link{background:#fff;color:var(--blue-dark)}.about-cta-actions .about-cta-book .wp-block-button__link{border-color:rgba(255,255,255,.5);background:transparent;color:#fff}.about-cta-actions .about-cta-book .wp-block-button__link:hover{border-color:#fff;background:rgba(255,255,255,.12)}.region-detail-section .region-copy>:first-child{margin-top:0}
@media(max-width:980px){.home-editor-grid{grid-template-columns:1fr;gap:28px}}


/* v8.0 – finale Korrekturen aus Änderungs-PDF, robustes Responsive Design */
.hero-showcase,
.hero-image,
.hero-slider-viewport,
.hero-property-link { background: transparent !important; }
.hero-image { box-shadow: none !important; border: 0 !important; }
.hero-slider-viewport { inset: 0; border-radius: inherit; overflow: hidden; }
.hero-property-caption { left: 14px !important; right: auto !important; bottom: 14px !important; padding: 6px 10px; border: 0; background: rgba(5,29,45,.48); color:#fff; }
.hero-slider-dots { opacity:.82; }
.hero-slider-toggle { display:none !important; }

/* Smoobu: compact when results are not yet expanded. The embedded app may grow its own document as needed. */
.booking-tool-section .booking-tool-shell { padding-bottom: 18px; }
.booking-tool-section .smoobu-booking-tool { min-height: 0 !important; }
.booking-tool-section .smoobu-booking-tool iframe { min-height: 300px !important; height: 330px; max-height: 620px; transition: height .25s ease; }
.smoobu-unit-booking-tool iframe { min-height: 620px !important; }

/* Full regional story on the front page. */
.home-region-full .region-copy > h2:first-of-type { margin-top: 0; }
.home-region-full .region-copy .wp-block-heading:first-child { display:none; }
.home-region-full .region-copy { align-self:start; }
.home-region-full .region-slider { position:sticky; top:105px; }

/* Privacy-friendly Google Maps placeholder. */
.google-map-shell.deferred-map { display:grid; min-height:480px; place-items:center; }
.map-placeholder { display:grid; width:min(100%,620px); gap:18px; justify-items:start; padding:clamp(28px,5vw,54px); }
.map-placeholder-icon { display:grid; width:58px; height:58px; place-items:center; border-radius:18px; background:var(--green-soft); color:var(--green); }
.map-placeholder-icon .icon { width:29px; height:29px; }
.map-placeholder h3 { margin:.15em 0 .35em; font-size:clamp(1.4rem,2.3vw,2rem); }
.map-placeholder p { margin:0; color:var(--muted); }
.deferred-map.is-loaded { display:block; }
.deferred-map.is-loaded iframe { display:block; width:100%; min-height:480px; border:0; }

/* Legal page can list the deferred map explicitly. */
.legal-aside nav { align-content:start; }

@media (max-width: 900px) {
  .home-region-full .region-slider { position:relative; top:auto; }
  .booking-tool-section .smoobu-booking-tool iframe { min-height:340px !important; height:380px; }
  .smoobu-unit-booking-tool iframe { min-height:760px !important; }
}
@media (max-width: 680px) {
  .home .mobile-booking-cta { display:none !important; }
  .main-nav .nav-cta { display:none; }
  .hero-actions { display:grid; grid-template-columns:1fr; }
  .hero-actions .button { width:100%; }
  .hero-trust { grid-template-columns:1fr; }
  .booking-tool-section .smoobu-booking-tool iframe { min-height:390px !important; height:430px; }
  .smoobu-unit-booking-tool iframe { min-height:850px !important; }
  .google-map-shell.deferred-map, .deferred-map.is-loaded iframe { min-height:400px; }
  .map-placeholder { padding:28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .region-slide { transition:none !important; }
}

.hero-intro-after-trust{margin:18px 0 0;color:#557080;font-size:.96rem;}


/* v8 home story: regional text and 7-image slider in the requested two-column composition. */
.home-story-section { background:#fff; }
.home-story-grid { display:grid; grid-template-columns:minmax(320px,.78fr) minmax(0,1.22fr); align-items:start; gap:clamp(42px,7vw,92px); }
.home-story-visual { position:sticky; top:105px; min-width:0; }
.home-story-visual h2 { max-width:520px; margin-bottom:28px; font-size:clamp(2rem,4vw,3.35rem); }
.home-story-visual .region-slider { min-height:410px; border-radius:24px; box-shadow:var(--shadow); }
.home-story-copy { max-width:780px; color:#315264; }
.home-story-copy > h2:first-child { margin-top:0; color:var(--blue-dark); }
.home-story-copy .compact-check-list { columns:1; }
@media(max-width:980px){
  .home-story-grid{grid-template-columns:1fr;gap:34px}
  .home-story-visual{position:static}
  .home-story-visual .region-slider{min-height:480px}
}
@media(max-width:680px){.home-story-visual .region-slider{min-height:390px;border-radius:20px}}

.home-custom-content-section{padding-top:0;background:#fff}.home-custom-content{max-width:900px;margin-inline:auto}


/* v8.1.2 – CTA/Slider Feinschliff */
.cta-box .light-button {
  background: #fff !important;
  color: var(--blue-dark) !important;
  border-color: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(8,47,73,.18);
}
.cta-box .light-button:hover {
  background: #f3f8fb !important;
  color: var(--blue-dark) !important;
  transform: translateY(-1px);
}
.cta-box .light-button .icon,
.cta-box .light-button svg {
  color: currentColor;
  fill: currentColor;
  stroke: currentColor;
}

/* graue Ränder an den Unterkunfts-Slidern entfernen */
.accommodation-gallery-hero,
.gallery-hero-item {
  background: transparent;
}

/* eingebundene Bilder mit fehlerhafter Orientierung korrigieren */
.about-slider .region-slide img {
  image-orientation: from-image;
}

/* v8.2: Lageplan, schneller Belegungskalender und objektbezogene mobile Buchung */
#verfuegbarkeit, #buchung, #wohnungen { scroll-margin-top: calc(var(--header-height) + 22px); }
.unit-calendar-section { padding-bottom: 30px; background: #fff; }
.unit-calendar-section + .unit-booking-section { padding-top: 18px; }
.unit-calendar-section .unit-availability-card,
.unit-booking-section .unit-availability-card { max-width: 1040px; margin-inline: auto; }
.unit-calendar-card .unit-availability-actions { padding-bottom: 22px; }
.location-plan-wrap {
  margin-top: clamp(32px, 5vw, 64px);
  padding-top: clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.location-plan-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 22px;
}
.location-plan-heading > div { max-width: 760px; }
.location-plan-heading h2 { margin-bottom: 10px; }
.location-plan-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }
.location-plan-map { padding: 12px; }
.location-plan-map img { aspect-ratio: 1800 / 804; object-fit: contain; background: #fff; }
@media (max-width: 760px) {
  .location-plan-heading { align-items: flex-start; flex-direction: column; }
  .location-plan-heading .button { width: 100%; justify-content: center; }
  .unit-calendar-section { padding-bottom: 16px; }
  .unit-calendar-section + .unit-booking-section { padding-top: 8px; }
}

/* v8.2.1: Live-Verfügbarkeit direkt unter „Auf einen Blick“ auf Unterkunftsseiten */
.booking-sidebar.has-unit-calendar { gap: 16px; }
.booking-sidebar.has-unit-calendar .booking-box { position: static; }
.booking-sidebar.has-unit-calendar .unit-availability-card {
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.booking-sidebar.has-unit-calendar .unit-availability-header { padding: 20px 18px 14px; }
.booking-sidebar.has-unit-calendar .unit-availability-header .availability-live { margin-bottom: 13px; }
.booking-sidebar.has-unit-calendar .unit-availability-header h2 {
  margin-bottom: 8px;
  font-size: 1.34rem;
}
.booking-sidebar.has-unit-calendar .unit-availability-header p:last-child {
  font-size: .8rem;
  line-height: 1.48;
}
.booking-sidebar.has-unit-calendar .unit-calendar-shell {
  min-height: 300px;
  margin-inline: 9px;
  padding: 10px 7px;
  overflow-x: auto;
  border-radius: 16px;
}
.booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget table {
  border-spacing: 3px !important;
}
.booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget th {
  padding-bottom: 7px !important;
  font-size: .62rem !important;
  letter-spacing: .04em !important;
}
.booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget td > *,
.booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget td a,
.booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget td button,
.booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget td span,
.booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget td div {
  min-height: 34px;
  border-radius: 9px !important;
  font-size: .74rem !important;
}
.booking-sidebar.has-unit-calendar .unit-calendar-meta {
  gap: 6px;
  padding: 12px 14px 0;
}
.booking-sidebar.has-unit-calendar .unit-calendar-meta span {
  min-height: 30px;
  padding: 5px 8px;
  font-size: .65rem;
}
.booking-sidebar.has-unit-calendar .unit-availability-actions {
  padding: 14px 14px 18px;
}

@media (max-width: 980px) {
  .booking-sidebar.has-unit-calendar .unit-calendar-shell {
    min-height: 330px;
    margin-inline: 12px;
    padding: 14px 10px;
  }
  .booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget table {
    border-spacing: 5px !important;
  }
  .booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget td > *,
  .booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget td a,
  .booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget td button,
  .booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget td span,
  .booking-sidebar.has-unit-calendar .duemmerleben-calendar-widget td div {
    min-height: 40px;
    font-size: .8rem !important;
  }
}

/* v8.2.2 – einheitlich abgerundete CTA-Buttons
   Gilt auch für WordPress-Block-Buttons, damit „Unterkünfte entdecken“
   nach Bearbeitungen im Gutenberg-Editor optisch konsistent bleibt. */
.button,
a.button,
.wp-block-button .wp-block-button__link,
.wp-block-button .wp-element-button,
.light-button .wp-block-button__link,
.light-button .wp-element-button {
  border-radius: 999px !important;
}


/* v8.2.3 – Über uns CTA-Buttons explizit rund */
.about-final-cta .about-cta-actions,
.about-final-cta .wp-block-buttons {
  align-items: stretch;
}
.about-final-cta .wp-block-button,
.about-final-cta .wp-block-button__link,
.about-final-cta .wp-element-button,
.about-final-cta .light-button,
.about-final-cta .light-button .wp-block-button__link,
.about-final-cta .light-button .wp-element-button,
.about-final-cta .about-cta-book,
.about-final-cta .about-cta-book .wp-block-button__link,
.about-final-cta .about-cta-book .wp-element-button {
  border-radius: 999px !important;
  overflow: hidden;
}


/* v8.2.4 – Unterkunftsnamen auf der Startseite ohne graue Textkästen */
.hero-property-caption {
  left: 18px !important;
  right: 18px !important;
  bottom: 17px !important;
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
.hero-property-caption strong {
  color: #fff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.82), 0 1px 2px rgba(0,0,0,.9);
}
@media (max-width: 680px) {
  .hero-property-caption {
    left: 14px !important;
    right: 14px !important;
    bottom: 14px !important;
  }
  .hero-property-caption strong {
    text-shadow: 0 2px 7px rgba(0,0,0,.88), 0 1px 2px rgba(0,0,0,.95);
  }
}


/* v8.2.5 – graue Umrandung um die Unterkunftsbilder auf der Startseite entfernen */
.hero-showcase,
.hero-showcase .hero-image,
.hero-showcase .hero-property-slider,
.hero-showcase .hero-property-link,
.hero-showcase .hero-slider-viewport {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
.hero-showcase .hero-image,
.hero-showcase .hero-property-slider {
  outline: 0 !important;
}
.hero-showcase .hero-property-link {
  padding: 0 !important;
  margin: 0 !important;
}
.hero-showcase .hero-slide {
  border-radius: inherit !important;
}
