/* Demo: Marmaris Villaları — KaleIT */
:root {
  --sand: #f7f2ea;
  --sand-2: #efe7da;
  --card: #fffdf9;
  --ink: #1d2a33;
  --muted: #5d6b74;
  --sea: #0e5a7a;
  --sea-2: #0a4560;
  --terra: #c4673f;
  --line: rgba(29, 42, 51, .12);
  --wa: #25d366;
  --radius: 18px;
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--terra); font-weight: 700; }

/* Demo-Hinweis */
.demo-bar { background: var(--ink); color: #fff; font-size: 13px; text-align: center; padding: 8px var(--gutter); }
.demo-bar a { color: #ffd9c7; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(247, 242, 234, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.logo { text-decoration: none; display: flex; align-items: baseline; gap: 8px; }
.logo b { font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--sea); }
.logo span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.menu { display: flex; gap: 22px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.menu a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.menu a:hover { color: var(--sea); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: none; padding: 6px 12px; font: 700 12px var(--sans); color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--sea); color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; transition: transform .2s, background .2s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-sea { background: var(--sea); color: #fff; }
.btn-sea:hover { background: var(--sea-2); }
.btn-light { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn-out { border-color: var(--line); background: var(--card); color: var(--ink); }
.top .btn { padding: 9px 16px; font-size: 14px; }
@media (max-width: 900px) { .menu { display: none; } .top .lang { margin-left: auto; } }
@media (max-width: 520px) { .top .btn-wa span { display: none; } .logo span { display: none; } .logo b { font-size: 21px; white-space: nowrap; } .top .wrap { gap: 12px; } }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: drift 18s ease-out forwards; }
@keyframes drift { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero img { animation: none; transform: none; } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 45, .15) 0%, rgba(10, 30, 45, .2) 40%, rgba(10, 30, 45, .78) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: clamp(48px, 8vw, 96px); width: 100%; }
.hero .eyebrow { color: #ffd9c7; }
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); max-width: 12ch; margin-top: 14px; }
.hero p { margin-top: 18px; max-width: 46ch; font-size: clamp(16px, 1.4vw, 19px); color: rgba(255, 255, 255, .9); }
.hero .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.facts b { color: #fff; }

/* Sections */
section { padding: clamp(72px, 10vw, 130px) 0; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.head h2 { font-size: clamp(38px, 5vw, 64px); margin-top: 10px; }
.head p { color: var(--muted); max-width: 50ch; }
@media (max-width: 820px) { .head { grid-template-columns: 1fr; gap: 14px; } }

/* Villa cards */
.villas { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 34px); }
.villa { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px -30px rgba(14, 90, 122, .35); display: flex; flex-direction: column; }
.shots { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 16 / 10; }
.shots button { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--sand-2); position: relative; }
.shots button:first-child { grid-row: span 2; }
.shots img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.shots button:hover img { transform: scale(1.05); }
.shots .count { position: absolute; right: 8px; bottom: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.villa .body { padding: 24px clamp(20px, 2.4vw, 30px) 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.villa .area { font-size: 13px; color: var(--terra); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.villa h3 { font-size: 36px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--muted); }
.specs b { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); }
.villa .permit { font-size: 12px; color: var(--muted); }
.villa .cta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 6px; }
.villa .cta .btn { flex: 1; }
@media (max-width: 860px) { .villas { grid-template-columns: 1fr; } }

/* Video */
.video { background: var(--sea); color: #fff; }
.video .head p { color: rgba(255, 255, 255, .8); }
.video .eyebrow { color: #ffd9c7; }
.player { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #0a3346; }
.player img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.player .play { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.player .play span { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--sea); box-shadow: 0 10px 40px rgba(0, 0, 0, .3); margin: 0 auto 14px; }
.player .play svg { width: 34px; height: 34px; margin-left: 5px; }
.player .play small { display: block; font-size: 14px; background: rgba(0, 0, 0, .45); padding: 6px 12px; border-radius: 999px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.review .stars { color: #e3a008; letter-spacing: 2px; font-size: 18px; }
.review p { margin-top: 12px; color: var(--ink); }
.review footer { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; gap: 10px; }
.review .sample { position: absolute; top: 14px; right: 14px; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: var(--sand-2); color: var(--muted); padding: 3px 8px; border-radius: 999px; }
.note { margin-top: 22px; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* Location */
.loc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.loc .pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.loc .pics img { border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.loc .pics img:first-child { margin-top: 40px; }
.loc h2 { font-size: clamp(38px, 5vw, 60px); margin-top: 10px; }
.loc p { color: var(--muted); margin-top: 16px; }
.dist { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.dist li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.dist b { color: var(--sea); }
@media (max-width: 860px) { .loc { grid-template-columns: 1fr; } }

/* Contact */
.contact { background: var(--sand-2); text-align: center; }
.contact h2 { font-size: clamp(40px, 6vw, 76px); max-width: 16ch; margin: 10px auto 0; }
.contact p { color: var(--muted); max-width: 48ch; margin: 18px auto 0; }
.contact .actions { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: 13px; padding: 34px 0 calc(90px + env(safe-area-inset-bottom)); }
.foot .wrap { display: grid; gap: 8px; }
.foot a { color: #fff; }

/* Mobile WhatsApp bar */
.wa-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: none; }
.wa-bar .btn { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
@media (max-width: 760px) { .wa-bar { display: block; } }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8, 18, 26, .94); display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb img { max-width: min(92vw, 1400px); max-height: 82vh; border-radius: 10px; object-fit: contain; }
.lb .cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; }
.lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .25); }
.lb .x { top: 18px; right: 18px; }
.lb .prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 18px; top: 50%; transform: translateY(-50%); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
