:root{--navy:#0b315c;--blue:#0c6db8;--green:#527a43;--ink:#13263a;--muted:#657382;--line:#dfe8ef;--cream:#f7faf8;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}.top{background:#fff}.brandrow{height:130px;display:flex;align-items:center;gap:16px}.logo{width:330px;height:112px;object-fit:contain;object-position:left center}.experience{margin-left:0;padding-left:18px;border-left:1px solid var(--line);display:flex;flex-direction:column;color:var(--navy);transform:rotate(-3deg);transform-origin:left center}.experience strong{font-family:"Segoe Script","Brush Script MT","URW Chancery L",cursive;font-style:italic;font-weight:600;font-size:22px;line-height:1.22;color:#b88a3b;transform:none}.experience strong+strong{margin-top:2px}.langs{display:flex;gap:14px;font-size:14px;margin-left:auto}.langs span,.langs b{padding:7px 8px;border-radius:4px}.langs b{background:#edf5fb;color:var(--blue)}.nav{border-top:1px solid #eef3f6;border-bottom:1px solid #dce6ed}.navin{display:flex;align-items:center;gap:5px}.nav a{padding:16px 17px;text-decoration:none;color:var(--ink);font-size:15px}.nav a.active{color:var(--blue);font-weight:bold}.nav .whatsapp{margin-left:auto;background:#238636;color:white;border-radius:6px;padding:11px 18px}.hero{min-height:570px;background:linear-gradient(105deg,rgba(4,43,77,.82),rgba(7,86,126,.38) 48%,rgba(27,109,80,.12)),url("playa-dominicana.jpg") center 48%/cover no-repeat;display:flex;align-items:center}.hero-inner{padding:80px 0 55px}.hero-copy{max-width:760px;color:white}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:13px;font-weight:bold}.hero h1{font:700 58px/1.03 Georgia,serif;margin:10px 0 18px}.hero-copy>p:last-child{font-size:19px;line-height:1.55;max-width:720px}.searchbox{margin-top:50px;background:white;border-radius:12px;padding:18px;display:grid;grid-template-columns:1.3fr 1fr 1fr auto;gap:12px;box-shadow:0 15px 35px rgba(0,0,0,.2)}.searchbox label{font-size:12px;font-weight:bold;color:var(--navy)}select{width:100%;margin-top:6px;border:1px solid var(--line);border-radius:6px;padding:12px;background:white;color:#445566}.searchbox button{align-self:end;border:0;border-radius:7px;background:var(--blue);color:white;padding:13px 20px;font-weight:bold;height:43px}.trust{border-bottom:1px solid var(--line)}.trustgrid{display:grid;grid-template-columns:repeat(4,1fr);padding:28px 0;gap:26px}.trustgrid>div{display:flex;gap:7px;align-items:flex-start}.trustgrid b{font-size:25px;color:var(--blue);min-width:29px}.trustgrid span{font-size:13px;line-height:1.45}.trustgrid strong{display:block;font-size:14px;margin-bottom:3px}.section{padding-top:55px;padding-bottom:55px}.sectionhead{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.section h2,.sectionhead h2{font:700 38px/1.1 Georgia,serif;color:#102e52;margin:0}.sectionhead a{color:var(--blue);text-decoration:none;font-weight:bold;font-size:14px}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:white;box-shadow:0 6px 18px rgba(18,51,75,.07)}.photo{height:190px;position:relative;background-size:cover}.photo span{position:absolute;left:12px;bottom:12px;background:var(--blue);color:white;padding:6px 9px;border-radius:4px;font-size:12px}.p1{background:linear-gradient(150deg,#68b9d0,#eaf1ec 45%,#6d9367 46%,#1f6787)}.p2{background:linear-gradient(150deg,#6ea6c4,#b1c27e 40%,#7d5435 41%,#174f64)}.p3{background:linear-gradient(160deg,#5bb9d2,#d5e8e0 45%,#5d9564 46%,#23698d)}.p4{background:linear-gradient(145deg,#58b4d0,#e5ddd0 40%,#f8f8f5 41%,#1688a9)}.cardbody{padding:17px}.card h3{font:700 18px/1.25 Georgia,serif;margin:0 0 8px}.place{color:var(--muted);margin:0 0 13px;font-size:14px}.price{font-size:20px;font-weight:bold;color:var(--navy);margin:0 0 15px}.facts{display:flex;flex-wrap:wrap;gap:8px 13px;padding-top:12px;border-top:1px solid var(--line);font-size:13px}.note{margin:18px 0 0;color:var(--muted);font-size:13px}.locations{background:#f3f8fb}.locgrid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.loc{height:190px;border-radius:8px;padding:18px;display:flex;justify-content:flex-end;flex-direction:column;color:white;text-decoration:none;text-shadow:0 2px 7px rgba(0,0,0,.5)}.loc strong{font:700 21px Georgia,serif}.loc span{font-size:13px;margin-top:5px}.l1{background:linear-gradient(0deg,rgba(0,37,61,.72),transparent),linear-gradient(145deg,#0a86aa,#6dc6c2 48%,#4f8c4f 49%)}.l2{background:linear-gradient(0deg,rgba(0,37,61,.72),transparent),linear-gradient(145deg,#3c7a4f,#8ab36e 45%,#365b3c 46%)}.l3{background:linear-gradient(0deg,rgba(0,37,61,.72),transparent),linear-gradient(145deg,#1785a6,#6dc1c6 50%,#447c52 51%)}.l4{background:linear-gradient(0deg,rgba(0,37,61,.72),transparent),linear-gradient(145deg,#507f48,#9ebf74 50%,#2f6d57 51%)}.l5{background:linear-gradient(0deg,rgba(0,37,61,.72),transparent),linear-gradient(145deg,#e9a85b,#7d9d75 48%,#32698a 49%)}.more{display:grid;grid-template-columns:.82fr 1.48fr 1fr;gap:32px;align-items:start}.more h2{font-size:28px;line-height:1.12}.more p{line-height:1.65;margin-top:0}.dark{color:var(--green)}.outline{display:inline-block;border:1px solid var(--blue);border-radius:22px;padding:10px 16px;color:var(--blue);text-decoration:none;font-weight:bold;font-size:14px;margin-top:8px}.servicebox{background:#eef6ea;border-radius:10px;padding:23px;display:flex;flex-direction:column;gap:14px;font-size:14px}footer{background:#0c2d4d;color:white;padding:28px 0}footer .wrap{display:flex;justify-content:space-between;gap:20px;font-size:14px}@media(max-width:900px){.brandrow{height:auto;padding:18px 0;flex-wrap:wrap}.logo{width:260px;height:90px}.experience{margin-left:0}.navin{overflow:auto}.nav a{white-space:nowrap}.hero h1{font-size:43px}.searchbox{grid-template-columns:1fr 1fr}.cards{grid-template-columns:1fr 1fr}.trustgrid{grid-template-columns:1fr 1fr}.locgrid{grid-template-columns:1fr 1fr}.more{grid-template-columns:1fr}.loc:last-child{grid-column:1/-1}}@media(max-width:580px){.wrap{width:min(100% - 24px,1180px)}.brandrow{justify-content:center;text-align:center}.experience{border:0;padding:0}.langs{width:100%;justify-content:center;margin-left:0}.hero-inner{padding:55px 0 35px}.hero h1{font-size:36px}.searchbox{grid-template-columns:1fr}.cards,.trustgrid,.locgrid{grid-template-columns:1fr}.loc:last-child{grid-column:auto}.section h2,.sectionhead h2{font-size:31px}.sectionhead{align-items:flex-start;gap:15px;flex-direction:column}.logo{width:290px}.nav .whatsapp{display:none}footer .wrap{flex-direction:column}}

.real-photo{background-position:center;background-repeat:no-repeat}.db-notice{grid-column:1/-1;padding:22px;border:1px solid var(--line);border-radius:8px;color:var(--muted);background:#fff}

/* V12 – Destacadas */
.card{position:relative}
.card-click{position:absolute;inset:0;z-index:5;border-radius:8px}
.card-click:focus-visible{outline:3px solid var(--blue);outline-offset:2px}

/* Drei sichtbare Zeilen, unabhängig von der Länge des Datenbanktextes */
.card h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden;
  min-height:67.5px;
  max-height:67.5px;
}

/* Gut lesbare kompakte Fakten */
.facts{gap:9px 14px;font-size:14px}
.facts span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.fi{position:relative;display:inline-block;width:19px;height:16px;box-sizing:border-box;flex:0 0 19px;color:var(--navy)}

/* Bett */
.fi-bed{border:2px solid currentColor;border-top:0;border-radius:1px;margin-top:4px}
.fi-bed:before{content:"";position:absolute;left:-2px;top:-6px;width:7px;height:6px;border:2px solid currentColor;border-radius:2px}
.fi-bed:after{content:"";position:absolute;right:-2px;top:-4px;width:10px;height:4px;border-top:2px solid currentColor}

/* Badewanne – V13 */
.fi-bath{width:20px;height:17px;margin-top:0;border:0}
.fi-bath:before{content:"";position:absolute;left:1px;right:1px;top:7px;height:7px;border:2px solid currentColor;border-top:0;border-radius:0 0 7px 7px}
.fi-bath:after{content:"";position:absolute;left:0;right:0;top:5px;border-top:2px solid currentColor}
.fi-bath b{position:absolute;left:3px;top:0;width:6px;height:6px;border-left:2px solid currentColor;border-top:2px solid currentColor;border-radius:5px 0 0 0}
.fi-bath b:before,.fi-bath b:after{content:"";position:absolute;top:13px;width:2px;height:3px;background:currentColor}
.fi-bath b:before{left:-2px}.fi-bath b:after{left:11px}

/* Haus / Baufläche */
.fi-house{width:18px;height:13px;border:2px solid currentColor;border-top:0;margin-top:4px}
.fi-house:before{content:"";position:absolute;width:12px;height:12px;left:1px;top:-7px;border-left:2px solid currentColor;border-top:2px solid currentColor;transform:rotate(45deg)}

/* Grundstück */
.fi-land{width:19px;height:12px;border:2px solid currentColor;transform:skew(-12deg);margin-top:2px}
.fi-land:before,.fi-land:after{content:"";position:absolute;width:3px;height:3px;border-radius:50%;background:currentColor;top:2px}
.fi-land:before{left:3px}.fi-land:after{right:3px}

/* Etagen */
.fi-level{width:18px;height:15px;border-left:2px solid currentColor;border-bottom:2px solid currentColor}
.fi-level:before{content:"";position:absolute;left:4px;bottom:3px;width:11px;height:2px;background:currentColor;box-shadow:0 -5px 0 currentColor}


/* V15 – Suchergebnisse */
.search-results{padding-top:54px}
.result-count{margin:-14px 0 24px;color:var(--muted);font-size:15px}
.search-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.no-results{padding:26px 30px;border:1px solid #dfe5e8;border-radius:8px;background:#fff;line-height:1.65}
.searchbox button{cursor:pointer}
@media(max-width:1050px){.search-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.search-cards{grid-template-columns:1fr}}


/* Objektseite – nur Regeln unterhalb des unveränderten V15-Seitenkopfs */
body{background:#fff}
.crumb{padding-top:30px;color:var(--muted);font-size:14px}.crumb a{color:var(--blue);text-decoration:none}.crumb span{padding:0 7px}
.intro{display:flex;justify-content:space-between;align-items:flex-end;padding:35px 0 28px}.intro .eyebrow{text-transform:uppercase;letter-spacing:2px;color:#356b56;font-size:12px;font-weight:bold;margin:0 0 9px}.intro h1{font:700 43px/1.05 Georgia,serif;color:var(--navy);margin:0}.ref{color:var(--muted);margin:9px 0 0}.intro .price{font:700 30px Georgia,serif;color:var(--navy)}
.gallery{margin-bottom:42px}.mainphoto{height:570px;border-radius:8px;overflow:hidden;background:#eee}.mainphoto img{width:100%;height:100%;object-fit:cover}.thumbs{display:flex;gap:10px;overflow-x:auto;padding:12px 0 3px}.thumbs button{padding:0;border:3px solid transparent;background:none;border-radius:5px;cursor:pointer;flex:0 0 105px;height:76px;overflow:hidden}.thumbs button:hover,.thumbs button.active{border-color:var(--blue)}.thumbs img{width:100%;height:100%;object-fit:cover}
.contentgrid{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:55px;padding-bottom:70px}.contentgrid .facts{display:flex;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;gap:18px 42px}.contentgrid .facts div{min-width:115px}.contentgrid .facts small{display:block;color:var(--muted);margin-bottom:5px}.contentgrid .facts strong{font-size:18px;color:var(--navy)}
.description{padding-top:30px;font-size:17px;line-height:1.7}.description h2{font:700 29px Georgia,serif;color:var(--navy)}.description p{margin:0 0 17px}
.contact{align-self:start;background:#f7f4ee;padding:30px;border-radius:8px;position:sticky;top:20px}.contact h3{font:700 24px Georgia,serif;color:var(--navy);margin-top:0}.contact p{line-height:1.55}.contact a{display:block;background:var(--navy);color:white;text-align:center;text-decoration:none;padding:14px;border-radius:4px;margin:22px 0}.contact small{color:var(--muted)}.contact-ref{margin-top:-6px;font-size:18px;letter-spacing:0;color:var(--navy)}
.notfound{padding:90px 0 140px}.notfound h1{color:var(--navy)}
@media(max-width:800px){.intro{align-items:flex-start;gap:20px;flex-direction:column}.mainphoto{height:390px}.contentgrid{grid-template-columns:1fr}.contact{position:static}.intro h1{font-size:36px}.intro .price{font-size:26px}}
@media(max-width:520px){.mainphoto{height:300px}.contentgrid .facts{gap:16px 25px}}

/* V4 – ausgewählte Objektmerkmale */
.features{padding:26px 0 4px}
.features h2{font:700 22px Georgia,serif;color:var(--navy);margin:0 0 15px}
.feature-list{display:flex;flex-wrap:wrap;gap:10px 28px}
.feature-list span{font-size:16px;color:#344850;white-space:nowrap}
.feature-list span::first-letter{color:#356b56}

/* Footer sichtbar und am Seitenende gut erreichbar */
footer{position:relative;display:block;min-height:180px;padding:28px 0 110px;overflow:visible}footer .wrap{position:relative;z-index:1;flex-wrap:wrap;align-items:center}footer a{color:#fff;text-decoration:underline;text-underline-offset:3px}

/* Einheitliche, kompakte Fußzeile auf allen vier Seiten */
footer, body>footer {
  box-sizing:border-box!important;
  display:block!important;
  position:relative!important;
  height:auto!important;
  min-height:0!important;
  padding:17px 0!important;
  margin:0!important;
  overflow:visible!important;
  background:#0c2d4d!important;
  color:#fff!important;
}
footer .wrap, body>footer .wrap {
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px 20px!important;
  line-height:1.45!important;
  font-size:13px!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
footer a, body>footer a {color:#fff!important;text-decoration:underline!important;text-underline-offset:3px}
@media(max-width:700px){footer .wrap,body>footer .wrap{flex-direction:column!important;align-items:flex-start!important;gap:7px!important}}
