:root {
    --sage: #749f80;
    --sage-soft: #9cb299;
    --sage-deep: #4f7460;
    --gold: #d7b881;
    --gold-deep: #c4a066;
    --cream: #f2d6a4;
    --mist: #f6fff6;
    --paper: #f8f4ee;
    --velvet: #11453d;
    --velvet-deep: #0c332e;
    --ink: #191919;
    --muted: #4a4a46;
    --white: #ffffff;
    --page: 1120px;
    --edge: clamp(0.9rem, 3vw, 1.5rem);
    --radius: 1.15rem;
    --shadow: 0 18px 40px rgba(79, 116, 96, 0.12);
    --font: "Nunito Sans", "Segoe UI", sans-serif;
    --serif: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.waidele {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    font-size: 1.05rem;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--sage-deep);
}

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 0.95rem;
}

h1 {
    font-size: clamp(2.15rem, 5vw, 3.45rem);
}

h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.45rem);
}

h3 {
    font-size: 1.2rem;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--ink);
    color: #fff;
    padding: 0.6rem 1rem;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 20;
}

.container {
    width: min(var(--page), calc(100% - var(--edge) * 2));
    margin-inline: auto;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--sage-deep);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lead {
    font-size: 1.15rem;
    max-width: 38rem;
}

.section {
    padding: clamp(2.6rem, 6vw, 5rem) 0;
}

.section-sage {
    background: linear-gradient(180deg, #eef6f0 0%, #e4efe4 100%);
}

.section-cream {
    background: #fff8ea;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gold);
    color: var(--ink);
}

.btn-primary:hover {
    background: var(--gold-deep);
}

.btn-ghost,
.btn-header {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(25, 25, 25, 0.18);
}

.btn-header {
    min-height: 2.5rem;
    padding: 0.45rem 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(248, 244, 238, 0.97);
    border-bottom: 1px solid rgba(116, 159, 128, 0.18);
}

.topbar {
    background: var(--velvet);
    color: var(--mist);
    font-size: 0.84rem;
    font-weight: 600;
}

.topbar-inner {
    width: min(var(--page), calc(100% - var(--edge) * 2));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.6rem;
    padding: 0.35rem 0;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.05rem;
    color: inherit;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.topbar-link span {
    min-width: 0;
}

.topbar-link svg {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    color: var(--gold);
}

.topbar-link:hover,
.topbar-link:focus-visible {
    color: var(--gold);
}

.header-bar {
    position: relative;
}

.header-inner {
    width: min(var(--page), calc(100% - var(--edge) * 2));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
}

.brand img {
    height: 68px;
    width: auto;
    max-width: min(280px, 52vw);
}

.header-tools {
    display: none;
}

.header-call {
    background: var(--sage);
    color: #f6fff6;
    border-color: transparent;
}

.header-call:hover {
    background: var(--sage-deep);
    color: #f6fff6;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-list {
    display: flex;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
}

.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
    color: var(--sage-deep);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 6px 10px;
    background: var(--ink);
    transition: transform 0.28s ease, opacity 0.2s ease;
}

.nav-backdrop,
.nav-ask,
.nav-panel-contact {
    display: none;
}

.nav-panel-actions {
    display: contents;
}

.section,
.hero {
    scroll-margin-top: 8.4rem;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: min(78vh, 720px);
    background: #24362b;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media video,
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 38%;
}

.hero-media video {
    z-index: 1;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, transparent 54%, rgba(248, 244, 238, 0.38) 78%, var(--paper) 100%),
        linear-gradient(90deg, rgba(248, 244, 238, 0.92) 0%, rgba(248, 244, 238, 0.72) 38%, rgba(36, 54, 43, 0.12) 100%);
}

.hero-inner {
    position: relative;
    z-index: 3;
    min-height: min(78vh, 720px);
    display: flex;
    align-items: center;
}

.hero-copy {
    max-width: 36rem;
    padding: clamp(2.6rem, 6vw, 5rem) 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 1.5rem 0 1.25rem;
}

.hero-note {
    color: var(--muted);
    margin: 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.split-reverse {
    direction: rtl;
}

.split-reverse > * {
    direction: ltr;
}

#kontakt .split {
    align-items: start;
}

.split-photo img,
.split-photo video {
    width: 100%;
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.split-photo img.photo-portrait {
    aspect-ratio: 1400 / 1611;
    max-height: none;
    object-fit: cover;
    object-position: center center;
}

.split-photo img.photo-beratung {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 42%;
}

.film-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--velvet-deep);
}

.split-photo .film-player video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    background: var(--velvet-deep);
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: auto;
    max-height: none;
}

.film-play {
    position: absolute;
    inset: 0 0 3.4rem;
    z-index: 2;
    display: grid;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.film-player.is-playing .film-play {
    opacity: 0;
}

.film-play-icon {
    display: grid;
    place-items: center;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    color: #f6fff6;
    background: rgba(17, 69, 61, 0.9);
    box-shadow: 0 10px 28px rgba(12, 51, 46, 0.35);
    transition: transform 0.15s ease, background 0.15s ease;
}

.film-play-icon svg {
    width: 1.7rem;
    height: 1.7rem;
    margin-left: 0.12rem;
}

.film-play:hover .film-play-icon,
.film-play:focus-visible .film-play-icon {
    transform: scale(1.06);
    background: var(--velvet);
}

.photo-break {
    margin: 2.2rem 0 0;
}

.photo-break img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 50% 42%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.photo-break-wide {
    margin: 0 auto 0.15rem;
}

.photo-break-wide img {
    aspect-ratio: 16 / 8;
    object-position: 62% 58%;
}

.photo-break-haus {
    margin: 0 auto 0.35rem;
}

.photo-break-haus img {
    object-position: 42% 62%;
}

.contact-photo {
    margin: 0 0 1.35rem;
}

.contact-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 48% 40%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 1.75rem;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--white);
    padding: 1.65rem 1.5rem 1.7rem;
    border-radius: var(--radius);
    border: 1px solid rgba(116, 159, 128, 0.14);
    box-shadow: 0 12px 32px rgba(79, 116, 96, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(215, 184, 129, 0.55);
    box-shadow: 0 18px 40px rgba(79, 116, 96, 0.14);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 3.55rem;
    height: 3.55rem;
    margin: 0 0 1.15rem;
    border-radius: 1.05rem;
    color: var(--sage-deep);
    background: linear-gradient(180deg, #f6fff6 0%, #e8f1ea 100%);
    box-shadow: inset 0 0 0 1px rgba(116, 159, 128, 0.22);
}

.card-icon svg {
    width: 2.05rem;
    height: 2.05rem;
    display: block;
}

.card-icon .accent {
    stroke: var(--gold-deep);
}

.card h3 {
    color: var(--sage-deep);
    margin-bottom: 0.55rem;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.65;
}

.check-list {
    margin: 1.3rem 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.85rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--sage);
}

.timeline {
    --progress: 0;
    list-style: none;
    margin: 2.4rem 0 0;
    padding: 0.4rem 0 0.6rem;
    position: relative;
    display: grid;
    gap: 1.6rem;
}

.timeline::before,
.timeline::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0.9rem;
    bottom: 0.9rem;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
}

.timeline::before {
    background: rgba(116, 159, 128, 0.22);
}

.timeline::after {
    bottom: auto;
    height: calc((100% - 1.8rem) * var(--progress));
    background: linear-gradient(180deg, var(--sage) 0%, var(--gold) 100%);
    z-index: 1;
}

.timeline > li {
    display: grid;
    grid-template-columns: 1fr 1.6rem 1fr;
    column-gap: 1.35rem;
    align-items: start;
}

.timeline.is-animated > li {
    opacity: 0;
    transform: translate3d(0, 1.4rem, 0);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline.is-animated > li:nth-child(odd) {
    transform: translate3d(-1.4rem, 0.9rem, 0);
}

.timeline.is-animated > li:nth-child(even) {
    transform: translate3d(1.4rem, 0.9rem, 0);
}

.timeline.is-animated > li.is-in {
    opacity: 1;
    transform: none;
}

.timeline > li:nth-child(odd) .timeline-card {
    grid-column: 1;
    text-align: right;
}

.timeline > li:nth-child(even) .timeline-card {
    grid-column: 3;
}

.timeline-marker {
    grid-column: 2;
    grid-row: 1;
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 1.15rem;
    justify-self: center;
    border-radius: 50%;
    border: 3px solid var(--sage);
    background: var(--paper);
    box-shadow: 0 0 0 0 rgba(116, 159, 128, 0);
    transform: scale(0.55);
    transition: transform 0.45s ease, background 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
    z-index: 2;
}

.timeline > li.is-in .timeline-marker {
    transform: scale(1);
    background: var(--sage);
    border-color: var(--sage);
    box-shadow: 0 0 0 7px rgba(116, 159, 128, 0.16);
}

.timeline > li:last-child.is-in .timeline-marker {
    background: var(--gold);
    border-color: var(--gold-deep);
    box-shadow: 0 0 0 7px rgba(215, 184, 129, 0.28);
}

.timeline-card {
    background: var(--white);
    padding: 1.25rem 1.35rem 1.3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.timeline-year {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--sage-deep);
    font-family: var(--serif);
    font-size: 1.22rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.timeline-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.08rem;
    font-family: var(--font);
    font-weight: 700;
    letter-spacing: 0;
}

.timeline-card p {
    margin: 0;
    color: var(--muted);
}

.faq-list {
    margin-top: 1.4rem;
}

.faq-list details {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    padding: 0.35rem 1.2rem 0.35rem;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    padding: 1rem 0;
}

.faq-list details p {
    padding-bottom: 1rem;
}

.contact-facts {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-card {
    background: var(--white);
    padding: 1.6rem 1.4rem 1.7rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form {
    display: grid;
    gap: 0.9rem;
}

.contact-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(25, 25, 25, 0.16);
    border-radius: 0.7rem;
    padding: 0.75rem 0.85rem;
    font: inherit;
    background: #fff;
}

.contact-form .check {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    font-weight: 400;
    font-size: 0.95rem;
}

.contact-form .check input {
    width: auto;
    margin-top: 0.3rem;
}

.hp {
    position: absolute;
    left: -9999px;
}

.form-feedback {
    padding: 0.8rem 0.9rem;
    border-radius: 0.7rem;
    margin-bottom: 1rem;
}

.form-feedback.is-ok {
    background: #e7f4ea;
}

.form-feedback.is-err {
    background: #f8e6df;
}

.page-shell {
    padding: clamp(2.6rem, 6vw, 4.5rem) 0 4rem;
}

.page-inner {
    background: var(--white);
    padding: clamp(1.6rem, 4vw, 2.6rem);
    border-radius: var(--radius);
}

.site-footer {
    background:
        radial-gradient(900px 220px at 18% -10%, rgba(255, 255, 255, 0.06), transparent 58%),
        linear-gradient(180deg, #16584e 0%, var(--velvet) 42%, var(--velvet-deep) 100%);
    color: #f6fff6;
    padding: 3rem 0 1.4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 1.6rem;
}

.site-footer a {
    color: #f2d6a4;
}

.footer-logo {
    height: 44px;
    width: auto;
    max-width: min(220px, 70vw);
    margin: 0 0 0.95rem;
}

.footer-brand,
.footer-heading {
    font-family: var(--serif);
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.footer-note,
.footer-bottom {
    font-size: 0.92rem;
    opacity: 0.86;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(246, 255, 246, 0.18);
}

.footer-bottom p {
    margin: 0;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    max-width: 100%;
    margin-left: auto;
    padding: 0.28rem 0.7rem 0.28rem 0.32rem;
    border-radius: 999px;
    background: rgba(246, 255, 246, 0.05);
    border: 1px solid rgba(242, 214, 164, 0.22);
    color: var(--cream);
    text-decoration: none;
    opacity: 1;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.footer-credit:hover,
.footer-credit:focus-visible {
    background: rgba(246, 255, 246, 0.08);
    border-color: rgba(215, 184, 129, 0.45);
}

.footer-credit img {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    border-radius: 50%;
}

.footer-credit-label,
.footer-credit-name {
    color: rgba(242, 214, 164, 0.78);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    white-space: nowrap;
}

.footer-credit:hover .footer-credit-label,
.footer-credit:hover .footer-credit-name,
.footer-credit:focus-visible .footer-credit-label,
.footer-credit:focus-visible .footer-credit-name {
    color: var(--gold);
}

.page-hero {
    padding: clamp(2.2rem, 5vw, 3.6rem) 0 0.35rem;
}

.page-hero .lead {
    margin-bottom: 0;
}

.page-hero .eyebrow a {
    color: inherit;
    text-decoration: none;
}

.page-hero .eyebrow a:hover,
.page-hero .eyebrow a:focus-visible {
    color: var(--sage-deep);
}

.listings-section {
    padding-top: 1.5rem;
}

.home-listings-intro {
    max-width: 40rem;
    margin-bottom: 1.6rem;
}

.home-listings-intro p:last-child {
    margin-bottom: 0;
}

.home-listings .listing-grid {
    grid-template-columns: repeat(3, 1fr);
}

.home-listings .listing-title {
    font-size: 1.12rem;
}

.home-listings-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 1.6rem;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.listing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid rgba(116, 159, 128, 0.14);
    box-shadow: 0 12px 32px rgba(79, 116, 96, 0.08);
    color: inherit;
    text-decoration: none;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.listing-card:hover,
.listing-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(215, 184, 129, 0.55);
    box-shadow: 0 18px 40px rgba(79, 116, 96, 0.14);
}

.listing-photo {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e4efe4;
}

.listing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-badges {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    z-index: 1;
    max-width: calc(100% - 1.7rem);
}

.listing-badge {
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.listing-badge--neu,
.listing-badge--top_angebot {
    background: var(--gold);
    color: var(--ink);
}

.listing-badge--preisreduktion {
    background: #efe2c4;
    color: var(--ink);
}

.listing-badge--courtage_frei,
.listing-badge--exclusive {
    background: var(--sage-deep);
    color: #fff;
}

.listing-badge--objekt_des_tages,
.listing-badge--secret_sale {
    background: #2f4638;
    color: #fff;
}

.listing-badge--reserviert {
    background: var(--gold);
    color: var(--ink);
}

.listing-badge--verkauft {
    background: #5c3a3a;
    color: #fff;
}

.listing-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1.15rem 1.2rem 1.3rem;
}

.listing-body .eyebrow {
    margin-bottom: 0.1rem;
}

.listing-title {
    font-family: var(--serif);
    font-size: 1.28rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink);
}

.listing-facts {
    color: var(--muted);
    font-size: 0.95rem;
}

.listing-price {
    margin-top: 0.4rem;
    color: var(--sage-deep);
    font-weight: 700;
}

.listing-empty {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}

.listing-cta p {
    max-width: 38rem;
}

.listing-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}

.listing-hero-photo {
    position: relative;
}

.listing-hero-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.listing-price-lg {
    font-family: var(--serif);
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    margin: 0 0 1.1rem;
}

.listing-dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem 1.2rem;
    margin: 0 0 1.4rem;
}

.listing-dl div {
    margin: 0;
}

.listing-dl dt {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--sage-deep);
}

.listing-dl dd {
    margin: 0.15rem 0 0;
    font-weight: 700;
}

.listing-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.listing-gallery-item {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0.7rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e4efe4;
    cursor: pointer;
}

.listing-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-lightbox {
    width: min(92vw, 1100px);
    max-height: 92vh;
    padding: 0.7rem;
    border: 0;
    border-radius: 1rem;
    background: #142018;
}

.listing-lightbox::backdrop {
    background: rgba(16, 28, 20, 0.72);
}

.listing-lightbox img {
    display: block;
    width: 100%;
    max-height: calc(92vh - 3.6rem);
    object-fit: contain;
}

.listing-lightbox-close {
    display: block;
    margin: 0.65rem auto 0.15rem;
    padding: 0.4rem 1rem;
    border: 0;
    border-radius: 999px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
}

.page-body h2 {
    font-size: 1.2rem;
    margin: 1.3rem 0 0.45rem;
}

@media (max-width: 1023px) {
    .home-listings .listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .hero,
    .split,
    .split-reverse,
    .card-grid,
    .listing-grid,
    .listing-empty,
    .listing-layout,
    .footer-grid {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .listing-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-listings .listing-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .footer-credit {
        margin-left: 0;
        padding: 0.28rem 0.65rem 0.28rem 0.3rem;
        gap: 0.35rem;
        flex-wrap: nowrap;
        border-radius: 999px;
    }

    .footer-credit-label,
    .footer-credit-name {
        font-size: 0.72rem;
    }

    .footer-credit img {
        width: 1.1rem;
        height: 1.1rem;
    }

    .card-grid {
        gap: 0.95rem;
        margin-top: 1.35rem;
    }

    .card {
        padding: 1.4rem 1.25rem 1.45rem;
    }

    .card:hover {
        transform: none;
    }

    .hero {
        min-height: 0;
        display: block;
        background: var(--paper);
    }

    .hero-media,
    .hero-shade {
        position: absolute;
        inset: 0 0 auto;
        height: min(32vh, 14.5rem);
        aspect-ratio: auto;
        min-height: 0;
    }

    .hero-media video,
    .hero-media img {
        object-position: 52% 28%;
    }

    .hero-shade {
        background: linear-gradient(
            180deg,
            rgba(36, 54, 43, 0.1) 0%,
            rgba(248, 244, 238, 0.22) 38%,
            rgba(248, 244, 238, 0.82) 72%,
            var(--paper) 100%
        );
    }

    .section {
        padding-top: 2.2rem;
        padding-bottom: 2.2rem;
    }

    .hero-copy {
        max-width: none;
        padding: 0 0 1.15rem;
        display: flex;
        flex-direction: column;
    }

    .hero-copy .eyebrow,
    .hero-copy h1 {
        order: 0;
    }

    .hero-actions {
        order: 1;
        margin: 0.35rem 0 1rem;
    }

    .hero-copy .lead {
        order: 2;
    }

    .hero .btn-ghost {
        background: rgba(248, 244, 238, 0.78);
        border-color: rgba(25, 25, 25, 0.12);
    }

    .hero-note {
        order: 3;
    }

    .photo-break img {
        aspect-ratio: 4 / 3;
        height: auto;
        object-position: 50% 40%;
    }

    .photo-break-wide img {
        aspect-ratio: 16 / 9;
        object-position: 68% 62%;
    }

    .photo-break-haus img {
        object-position: 40% 68%;
    }

    .film-play {
        inset: 0 0 3.1rem;
    }

    .film-play-icon {
        width: 3.7rem;
        height: 3.7rem;
    }

    .hero-inner {
        min-height: 0;
        display: block;
        padding-top: clamp(8.1rem, 24vh, 10.4rem);
    }

    .topbar {
        font-size: 0.78rem;
    }

    .topbar-inner {
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.32rem 0;
    }

    .topbar-link {
        min-height: 2.2rem;
        gap: 0.38rem;
        min-width: 0;
    }

    .topbar-link:last-child span {
        overflow-wrap: anywhere;
    }

    .section,
    .hero {
        scroll-margin-top: 8.8rem;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 4;
    }

    .header-tools {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        margin-left: auto;
        flex-shrink: 0;
        position: relative;
        z-index: 4;
    }

    .header-call {
        display: inline-flex;
        width: auto;
        min-height: 2.45rem;
        padding: 0.4rem 0.95rem;
        font-size: 0.95rem;
    }

    .brand {
        position: relative;
        z-index: 4;
    }

    .brand img {
        height: 56px;
        max-width: min(196px, 46vw);
    }

    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .site-header {
        background: var(--paper);
    }

    body.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    body.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-backdrop {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-h, 7.6rem));
        height: var(--nav-h, calc(100svh - var(--header-h, 7.6rem)));
        z-index: 1;
        background: rgba(12, 51, 46, 0.38);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    body.nav-open .nav-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-nav {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: auto;
        width: 100%;
        height: calc(100vh - var(--header-h, 7.6rem));
        height: var(--nav-h, calc(100svh - var(--header-h, 7.6rem)));
        bottom: auto;
        z-index: 2;
        padding: 0.7rem var(--edge) max(0.85rem, env(safe-area-inset-bottom, 0px));
        background: linear-gradient(180deg, #f8f4ee 0%, #e8f1ea 100%);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        min-height: 0;
        overflow: hidden;
        box-shadow: none;
        border-radius: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(0, -0.7rem, 0);
        clip-path: inset(0 0 100% 0);
        transition:
            opacity 0.35s ease,
            visibility 0.35s ease,
            transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            clip-path 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        clip-path: inset(0);
    }

    .nav-list {
        flex: 1 1 auto;
        flex-direction: column;
        gap: 0;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 0.2rem 0 0.4rem;
    }

    .nav-list li {
        opacity: 0;
        transform: translate3d(0, 1.15rem, 0);
        border-bottom: 1px solid rgba(116, 159, 128, 0.18);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .site-nav.is-open .nav-list li {
        opacity: 1;
        transform: none;
        transition:
            opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .site-nav.is-open .nav-list li:nth-child(1) { transition-delay: 0.1s; }
    .site-nav.is-open .nav-list li:nth-child(2) { transition-delay: 0.16s; }
    .site-nav.is-open .nav-list li:nth-child(3) { transition-delay: 0.22s; }
    .site-nav.is-open .nav-list li:nth-child(4) { transition-delay: 0.28s; }
    .site-nav.is-open .nav-list li:nth-child(5) { transition-delay: 0.34s; }
    .site-nav.is-open .nav-list li:nth-child(6) { transition-delay: 0.4s; }

    .nav-list a {
        display: flex;
        align-items: center;
        min-height: 3.1rem;
        padding: 0.28rem 0.1rem;
        font-family: var(--serif);
        font-size: clamp(1.4rem, 6.4vw, 1.85rem);
        font-weight: 600;
        letter-spacing: -0.03em;
        color: var(--ink);
    }

    .nav-list a:hover,
    .nav-list a:focus-visible,
    .nav-list .current-menu-item > a,
    .nav-list .current_page_item > a {
        color: var(--sage-deep);
    }

    .nav-panel-actions {
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        gap: 0.55rem;
        margin-top: 0.65rem;
        opacity: 0;
        transform: translate3d(0, 0.8rem, 0);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .site-nav.is-open .nav-panel-actions {
        opacity: 1;
        transform: none;
        transition-delay: 0.36s;
        transition-duration: 0.5s;
        transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav-ask {
        display: inline-flex;
        width: 100%;
    }

    .btn-header.nav-call {
        width: 100%;
        background: rgba(248, 244, 238, 0.7);
    }

    .nav-panel-contact {
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
        gap: 0.5rem;
        margin: 0.75rem 0 0;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(116, 159, 128, 0.22);
        opacity: 0;
        transform: translate3d(0, 0.8rem, 0);
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .site-nav.is-open .nav-panel-contact {
        opacity: 1;
        transform: none;
        transition-delay: 0.44s;
        transition-duration: 0.5s;
        transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav-contact-link {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        min-height: 3.4rem;
        padding: 0.45rem 0.7rem;
        border-radius: 1rem;
        background: rgba(246, 255, 246, 0.88);
        border: 1px solid rgba(116, 159, 128, 0.24);
        box-shadow: 0 8px 18px rgba(79, 116, 96, 0.07);
        color: var(--ink);
        text-decoration: none;
    }

    .nav-contact-link:hover,
    .nav-contact-link:focus-visible {
        border-color: rgba(215, 184, 129, 0.7);
        background: #f6fff6;
    }

    .nav-contact-icon {
        display: grid;
        place-items: center;
        width: 2.6rem;
        height: 2.6rem;
        flex-shrink: 0;
        border-radius: 0.85rem;
        color: var(--gold-deep);
        background: linear-gradient(180deg, #ffffff 0%, #e8f1ea 100%);
        box-shadow: inset 0 0 0 1px rgba(116, 159, 128, 0.22);
    }

    .nav-contact-icon svg {
        width: 1.28rem;
        height: 1.28rem;
        display: block;
    }

    .nav-contact-copy {
        display: flex;
        flex-direction: column;
        gap: 0.12rem;
        min-width: 0;
    }

    .nav-contact-label {
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: var(--sage-deep);
    }

    .nav-contact-value {
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.25;
        overflow-wrap: anywhere;
        color: var(--ink);
    }

    .header-inner {
        position: static;
    }

    .timeline {
        gap: 1.25rem;
        padding-left: 0.15rem;
    }

    .timeline::before,
    .timeline::after {
        left: 0.52rem;
        transform: none;
    }

    .timeline > li {
        grid-template-columns: 1.05rem 1fr;
        column-gap: 0.95rem;
    }

    .timeline.is-animated > li,
    .timeline.is-animated > li:nth-child(odd),
    .timeline.is-animated > li:nth-child(even) {
        transform: translate3d(0, 1.15rem, 0);
    }

    .timeline > li:nth-child(odd) .timeline-card,
    .timeline > li:nth-child(even) .timeline-card {
        grid-column: 2;
        text-align: left;
    }

    .timeline-marker {
        grid-column: 1;
        margin-top: 1.05rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }

    .card,
    .card:hover,
    .listing-card,
    .listing-card:hover,
    .footer-credit,
    .footer-credit:hover {
        transform: none;
        transition: none;
    }

    .nav-backdrop,
    .site-nav,
    .nav-list li,
    .nav-panel-actions,
    .nav-panel-contact,
    .nav-toggle span {
        transition: none !important;
    }

    .timeline.is-animated > li {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .timeline {
        --progress: 1;
    }

    .timeline-marker {
        transform: none;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn,
    .contact-form .btn {
        width: 100%;
    }

    .brand img {
        height: 50px;
        max-width: min(168px, 44vw);
    }

    .photo-break img {
        aspect-ratio: 4 / 3;
    }

    .topbar {
        font-size: 0.74rem;
    }

    .topbar-inner {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        gap: 0.7rem;
        align-items: center;
    }

    .topbar-link {
        min-height: 2.35rem;
    }

    .topbar-link:last-child span {
        overflow-wrap: anywhere;
        line-height: 1.3;
    }

    .footer-credit {
        flex-wrap: wrap;
        max-width: 100%;
    }

    .footer-credit-label,
    .footer-credit-name {
        white-space: normal;
    }

    .hero-inner {
        padding-top: clamp(8.6rem, 26vh, 11rem);
    }

    .section,
    .hero {
        scroll-margin-top: 9.4rem;
    }
}
