/* Amonaro Immobilien – Stylesheet */

@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --cream: #fcfaf6;
  --sand: #f4efe6;
  --paper: #ffffff;
  --ink: #1d1b18;
  --ink-soft: #4a453e;
  --muted: #6f675c;
  --line: #e2d8c8;
  --gold: #b08d4a;
  --gold-dark: #8a6a2c;
  --night: #1f2a2c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29,27,24,.06), 0 8px 28px rgba(29,27,24,.08);
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, dd, strong, .card-loc, .btn { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--paper); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
[hidden] { display: none !important; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip: auto; left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 600 .95rem/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold-dark); color: #fff; }
.btn--gold:hover { background: #73571f; }
.btn--light { background: #fff; color: var(--ink); }
.btn--outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--outline-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.btn--whatsapp { background: #1f7a4d; color: #fff; }
.btn--whatsapp:hover { background: #17603c; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252,250,246,.94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn { color: #fff; padding: 11px 20px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 24px; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; border-bottom: 0; padding: 15px; }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .logo img { height: 42px; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: center; color: var(--ink); overflow: hidden; }
.hero picture, .hero > img { position: absolute; inset: 0; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(252,250,246,.88) 0%, rgba(252,250,246,.62) 42%, rgba(255,255,255,.12) 78%); }
.hero h1, .hero .lead { text-shadow: 0 1px 14px rgba(255,255,255,.6); }
@media (max-width: 700px) { .hero::after { background: linear-gradient(180deg, rgba(252,250,246,.55) 0%, rgba(252,250,246,.78) 45%, rgba(252,250,246,.9) 100%); } }
.hero-content { position: relative; z-index: 1; padding: 120px 0 clamp(56px, 8vw, 96px); }
.hero h1 { max-width: 14ch; color: var(--ink); }
.hero .lead { color: var(--ink-soft); max-width: 560px; font-size: 1.2rem; }
.hero .eyebrow { color: var(--gold-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Trust bar */
.trust { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { padding: 28px 24px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { display: block; font: 500 2.1rem/1.1 var(--serif); color: var(--gold-dark); }
.trust-item span { font-size: .9rem; color: var(--muted); }
@media (max-width: 800px) {
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item strong { font-size: 1.6rem; }
  .trust-item { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
  .trust-item:nth-child(odd) { padding-left: 0; }
}

/* Listings */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-soft); border-radius: 999px; padding: 9px 18px; font: 500 .9rem/1 var(--sans); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
@media (max-width: 400px) { .listing-grid { grid-template-columns: 1fr; } }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 18px 40px rgba(29,27,24,.14); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .75rem; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-loc { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; }
.card h3 { font-size: 1.45rem; margin-bottom: 14px; }
.card-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .9rem; color: var(--muted); }
.card-facts li { display: flex; align-items: center; gap: 6px; }
.card-facts svg { width: 16px; height: 16px; color: var(--gold); }
.card-price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.card-price strong { font: 600 1.5rem/1 var(--serif); }
.card-price span { font-size: .85rem; color: var(--gold-dark); font-weight: 600; }
.empty-note { display: none; padding: 32px; text-align: center; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: var(--paper); border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line); }
.service-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--sand); color: var(--gold-dark); display: grid; place-items: center; margin-bottom: 20px; }
.service-icon svg { width: 24px; height: 24px; }
.service p { color: var(--ink-soft); font-size: 1rem; margin: 0; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1.5px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.about-text p { color: var(--ink-soft); }
.quote { font: italic 500 1.7rem/1.3 var(--serif); color: var(--ink); border-left: 2px solid var(--gold); padding-left: 20px; margin: 28px 0; }
.signature { font: italic 500 1.5rem var(--serif); color: var(--gold-dark); }
.about-photo, .about-text { position: relative; z-index: 0; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; margin-right: 24px; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; padding-top: 20px; border-top: 1.5px solid var(--gold); }
.steps li::before { content: "0" counter(step); display: block; font: 500 2.2rem/1 var(--serif); color: var(--gold-dark); margin-bottom: 12px; }
.steps h3 { font-size: 1.35rem; }
.steps p { font-size: .98rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Region */
.region { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.region-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.region-list li { background: var(--paper); border-radius: 10px; padding: 18px 22px; border: 1px solid var(--line); }
.region-list strong { display: block; font: 600 1.25rem var(--serif); }
.region-list span { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 900px) { .region { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 1.3rem/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 1.8rem/1 var(--sans); color: var(--gold-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 8px; }

/* CTA band */
.cta-band { background: var(--night); color: #fff; border-radius: calc(var(--radius) * 1.5); padding: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; transition: border-color .2s, transform .2s; }
.contact-card:hover { border-color: var(--gold); transform: translateX(3px); }
.contact-card .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--sand); color: var(--gold-dark); display: grid; place-items: center; flex: none; }
.contact-card .ic svg { width: 20px; height: 20px; }
.contact-card small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-card strong { font-weight: 600; font-size: 1.05rem; word-break: break-word; }
.address { margin-top: 28px; color: var(--ink-soft); font-style: normal; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--sand); color: var(--ink-soft); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 46px; width: auto; }
.site-footer h3 { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 20px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1f7a4d; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* Breadcrumb */
.breadcrumb { font-size: .88rem; color: var(--muted); padding: 22px 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }

/* Property detail */
.property-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; padding: 24px 0 28px; }
.property-head h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 22ch; margin: 0; }
.property-price { text-align: right; }
.property-price small { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.property-price strong { font: 600 2.4rem/1.1 var(--serif); }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 52vw, 560px); border-radius: var(--radius); overflow: hidden; }
.gallery button { padding: 0; border: 0; background: var(--sand); cursor: zoom-in; position: relative; overflow: hidden; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .more { position: absolute; right: 14px; bottom: 14px; background: rgba(255,255,255,.95); color: var(--ink); padding: 8px 14px; border-radius: 999px; font: 600 .85rem var(--sans); }
.gallery--few { grid-template-columns: 2fr 1fr; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery button { aspect-ratio: 4/3; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
}

.property-body { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 64px); padding: 48px 0 0; align-items: start; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 175px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 40px; }
.facts div { background: var(--paper); padding: 18px 20px; }
.facts dt { font-size: .74rem; letter-spacing: .06em; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.facts dd { margin: 0; font: 600 1.35rem/1.2 var(--serif); }
.features { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; }
.features li { display: flex; gap: 10px; align-items: center; }
.features svg { width: 18px; height: 18px; color: var(--gold-dark); flex: none; }
.agent-card { position: sticky; top: 100px; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.agent { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.agent img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.agent small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.agent strong { font: 600 1.4rem var(--serif); }
.agent-card .btn { width: 100%; margin-top: 10px; }
.agent-card p { font-size: .92rem; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 960px) { .property-body { grid-template-columns: 1fr; } .agent-card { position: static; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,12,12,.94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } }

/* Legal pages */
.legal { padding: 56px 0 96px; }
.legal h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.legal h2 { font-size: 1.7rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-soft); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* Preis vorher / reduziert */
.price-wrap { display: flex; flex-direction: column; gap: 2px; }
.card-price s, .property-price s { color: var(--muted); font-size: .9rem; font-family: var(--sans); }
.property-price s { display: block; font-size: 1rem; }
.card-price { gap: 12px; flex-wrap: wrap; }

/* Überschriften: keine automatische Silbentrennung, ausgewogene Zeilen */
h1, h2, h3 { hyphens: manual; -webkit-hyphens: manual; text-wrap: balance; }
@media (max-width: 420px) { h1, h2 { hyphens: auto; -webkit-hyphens: auto; } }
.card-price strong, .property-price strong { line-height: 1.25; }
.card-price { align-items: flex-end; padding-bottom: 2px; }
@media (max-width: 700px) { .property-head { display: block; } .property-price { text-align: left; margin-top: 16px; } }
/* Platz für den WhatsApp-Button am Seitenende */
.site-footer { padding-bottom: 96px; }
