:root {
    color-scheme: light;
    font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #20312d;
    background: #f8f8f5;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    --green-950: #14372f;
    --green-800: #245345;
    --green-700: #356b58;
    --sand-100: #f1eee7;
    --ink-muted: #65716b;
}

@font-face {
    font-family: "Meie Script";
    src: url("../fonts/MeieScript-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: var(--green-800); text-underline-offset: .2em; }
a:hover { color: var(--green-950); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #b46a19;
    outline-offset: 4px;
}
.skip-link { position: absolute; z-index: 10; top: .5rem; left: .5rem; padding: .65rem 1rem; color: var(--green-950); background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { position: relative; z-index: 4; min-height: 5.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .85rem max(1.5rem, calc((100% - 78rem) / 2)); background: #fff; border-bottom: 1px solid #e6e8e3; }
.site-brand { flex: 0 0 auto; color: var(--green-950); font-size: 1.1rem; font-weight: 760; letter-spacing: -.025em; line-height: 1.2; text-decoration: none; }
.site-brand span { font-weight: 500; }
.site-menu-toggle { display: none; }
.primary-navigation { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .25rem; }
.primary-navigation a { display: block; padding: .55rem .8rem; border-radius: 999px; color: #34443d; font-size: .94rem; font-weight: 600; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
.primary-navigation a:hover, .primary-navigation a[aria-current="page"] { color: var(--green-950); background: #edf2ed; }

.site-main { width: min(100% - 2rem, 72rem); min-height: 55vh; margin: 0 auto; padding: 2rem 0 3.5rem; }
.site-main > h1:first-child { margin-top: 0; }
.site-main section, .site-main article { min-width: 0; }
.site-main--home { width: 100%; min-height: 0; margin: 0; padding: 0; }
.site-main:not(.site-main--home) h1 { color: var(--green-950); letter-spacing: -.035em; line-height: 1.2; }
.legal-main { width: min(100% - 2rem, 60rem); }
.legal-page { max-width: 54rem; margin: 0 auto; overflow-wrap: anywhere; }
.legal-page h1 { margin: 0 0 1.4rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 500; }
.legal-page h2 { margin: 2rem 0 .6rem; color: var(--green-950); font-size: 1.35rem; line-height: 1.3; }
.legal-page h3 { margin: 1.4rem 0 .45rem; color: var(--green-950); font-size: 1.1rem; }
.legal-page h4 { margin: 1.2rem 0 .35rem; color: var(--green-950); font-size: 1rem; }
.legal-page p, .legal-page li { max-width: 70ch; }
.legal-page li + li { margin-top: .35rem; }
.legal-operator { margin: 0 0 2rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid #e2e7e1; border-radius: .4rem; }
.legal-operator h2 { margin-top: 0; }
.legal-operator p { margin: .5rem 0; }
.legal-page__version { color: var(--ink-muted); font-size: .92rem; }
.legal-page__content { overflow-wrap: anywhere; }

.hero { position: relative; min-height: clamp(34rem, 62vw, 46rem); display: grid; align-items: center; overflow: hidden; isolation: isolate; color: #fff; background: #344d3e; }
.hero-picture, .hero-shade { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-shade { background: linear-gradient(90deg, rgb(10 29 25 / 72%) 0%, rgb(10 29 25 / 48%) 44%, rgb(10 29 25 / 8%) 100%), linear-gradient(0deg, rgb(10 29 25 / 25%), transparent 30%); }
.hero-content { width: min(100% - 3rem, 75rem); margin: 0 auto; padding: 5rem 0 6rem; }
.eyebrow { margin: 0 0 .7rem; color: var(--green-700); font-size: .76rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow { color: #d4e1d5; }
.hero h1 { max-width: 13ch; margin: 0; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.25rem, 7.2vw, 6.6rem); font-weight: 500; letter-spacing: -.055em; line-height: .99; text-wrap: balance; }
.hero-content > p:not(.eyebrow) { margin: 1.25rem 0 2rem; color: rgb(255 255 255 / 92%); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: 1rem; padding: .8rem 1.25rem; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .18s ease, background-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--light { color: var(--green-950); background: #fff; }
.button--light:hover { color: var(--green-950); background: #edf2ed; }
.hero-caption { position: absolute; right: max(1.5rem, calc((100% - 78rem) / 2)); bottom: 1.1rem; margin: 0; color: rgb(255 255 255 / 80%); font-size: .78rem; text-shadow: 0 1px 3px rgb(0 0 0 / 45%); }

.home-content { width: min(100% - 3rem, 72rem); margin: 0 auto; }
.introduction { max-width: 48rem; padding: clamp(4rem, 8vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem); }
.introduction h2, .section-heading h2, .location h2 { margin: 0; color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.12; }
.introduction > p:not(.eyebrow) { max-width: 39rem; margin: 1.2rem 0 1.1rem; color: #4d5c55; font-size: 1.1rem; }
.introduction > p.i_hand.home-signature { color: var(--green-800); font-family: "Meie Script", cursive; font-size: clamp(1.4rem, 5vw, 1.5rem); font-synthesis: weight; font-weight: 700; line-height: 1.2; text-align: right; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--green-800); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.apartments { margin: 0 0 clamp(4rem, 8vw, 7rem); scroll-margin-top: 2rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 1.6rem; }
.apartment-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.1rem; }
.apartment { position: relative; min-height: 16rem; padding: 1.8rem; overflow: hidden; background: #fff; border: 1px solid #e2e7e1; border-radius: .4rem; box-shadow: 0 14px 40px rgb(25 52 40 / 5%); }
.apartment-number { color: #9bafa0; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }
.apartment h3 { margin: 1.35rem 0 .55rem; color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-size: 1.75rem; font-weight: 500; letter-spacing: -.025em; }
.apartment p { max-width: 38rem; margin: 0 0 1.2rem; color: var(--ink-muted); }
.empty-state { display: grid; justify-items: center; padding: clamp(2rem, 6vw, 4rem) 1.5rem; text-align: center; background: #f1f2ed; border: 1px solid #e3e6de; border-radius: .4rem; }
.empty-state-icon { display: grid; width: 3.5rem; height: 3.5rem; place-items: center; margin-bottom: 1rem; color: var(--green-800); background: #e2e9df; border-radius: 50%; font-size: 1.6rem; }
.empty-state h3 { margin: 0; color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 500; }
.empty-state p { max-width: 32rem; margin: .5rem 0 0; color: var(--ink-muted); }
.location { display: grid; grid-template-columns: minmax(10rem, .8fr) 2fr; align-items: center; gap: 3rem; margin-bottom: clamp(4rem, 8vw, 7rem); padding: clamp(2rem, 5vw, 4rem); background: var(--sand-100); }
.location-mark { display: grid; min-height: 12rem; place-items: center; color: #f8f8f5; background: linear-gradient(145deg, #668174, #244c40); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.25rem, 2vw, 1.8rem); }
.location h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.location p:last-child { margin-bottom: 0; color: #4d5c55; }

.site-footer { color: #edf1eb; background: var(--green-950); }
.footer-inner { width: min(100% - 3rem, 72rem); display: grid; grid-template-columns: 1fr auto; gap: 1rem 3rem; margin: 0 auto; padding: 2.5rem 0; }
.footer-inner h2 { margin: 0; color: #fff; font-size: 1rem; letter-spacing: -.01em; }
.footer-inner section p { margin: .35rem 0 0; color: #c4d1c7; }
.footer-inner nav { display: flex; align-items: start; flex-wrap: wrap; gap: .5rem 1.3rem; }
.footer-inner nav a, .image-credit a { color: #e3ebe2; }
.image-credit { grid-column: 1 / -1; margin: .7rem 0 0; color: #bdcbbf; font-size: .78rem; }

.alert { margin: 0 0 1rem; padding: .8rem 1rem; border: 1px solid; border-radius: .4rem; }
.alert p:first-child { margin-top: 0; }
.alert--success { color: #164b2c; border-color: #6ba37a; background: #e7f4e9; }
.alert--error { color: #702525; border-color: #b86464; background: #fff0ef; }
.public-card { padding: 1.25rem; background: #fff; border: 1px solid #d9e0dc; border-radius: .6rem; }
.public-form { display: grid; gap: 1rem; }
.public-form label { display: block; font-weight: 600; }
.public-form input:not([type="checkbox"]):not([type="hidden"]), .public-form select, .public-form textarea {
    width: 100%;
    max-width: 100%;
    margin-top: .25rem;
    padding: .65rem;
    color: inherit;
    background: #fff;
    border: 1px solid #9ba9a2;
    border-radius: .3rem;
}
.public-form textarea { min-height: 9rem; resize: vertical; }
.public-form input[type="checkbox"] { width: auto; max-width: none; }
.public-form .consent { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; }
.public-form .consent input { flex: 0 0 auto; margin-top: .3rem; }
.public-form--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.public-form__wide, .public-form--columns .actions, .public-form--columns .public-notice, .public-form--columns .price-summary { grid-column: 1 / -1; }
.public-form button, .public-button {
    min-height: 2.75rem;
    justify-self: start;
    padding: .7rem 1.1rem;
    color: #fff;
    background: #155e48;
    border: 0;
    border-radius: .4rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .18s ease;
}
.public-form button:hover, .public-button:hover { background: var(--green-950); }
.public-form button:disabled, .public-button:disabled { color: #58645f; background: #e1e5e3; cursor: not-allowed; }
.public-notice { margin: 1rem 0; padding: .85rem 1rem; color: #563700; background: #fff1d6; border: 1px solid #e4c98e; border-left: .3rem solid #9a5b00; border-radius: .4rem; }
.public-notice--success { color: #164b2c; background: #e7f4e9; border-color: #9fc5a7; border-left-color: #31734f; }
.public-notice--error { color: #702525; background: #fff0ef; border-color: #d8a2a2; border-left-color: #a33d3d; }
.public-muted { color: var(--ink-muted); }
.contact-form textarea { min-height: 12rem; }
.contact-honeypot, .guestbook-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.price-notice { white-space: pre-line; }
.public-form--columns .price-summary { border: 1px solid #31734f; padding: 1rem; background: #fff; }
.price-summary table { width: 100%; border-collapse: collapse; }
.price-summary th, .price-summary td { padding: .65rem .5rem; border-bottom: 1px solid #dce2df; text-align: left; vertical-align: top; }
.price-summary th:last-child, .price-summary td:last-child { text-align: right; white-space: nowrap; }
.price-summary dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1rem; }
.price-summary dd { margin: 0; text-align: right; white-space: nowrap; }
.price-table-wrap { max-width: 100%; overflow-x: auto; }
.leisure-heading { max-width: 54rem; margin: 0 auto clamp(2rem, 5vw, 4rem); text-align: center; }
.leisure-heading h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; }
.leisure-heading > p:last-child { margin: .8rem 0 0; color: var(--ink-muted); font-size: 1.1rem; }
.leisure-sections { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.leisure-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(11rem, .6fr); align-items: center; gap: clamp(1.5rem, 4vw, 3rem); padding: clamp(1.25rem, 3vw, 2.5rem); background: #fff; border: 1px solid #e2e7e1; border-radius: .5rem; }
.leisure-section--image-left { grid-template-columns: minmax(11rem, .6fr) minmax(0, 1fr); }
.leisure-section--text-only { display: block; }
.leisure-section--image-right .leisure-section__figure { grid-column: 2; grid-row: 1; }
.leisure-section--image-right .leisure-section__content { grid-column: 1; grid-row: 1; }
.leisure-section--image-left .leisure-section__figure { grid-column: 1; grid-row: 1; }
.leisure-section--image-left .leisure-section__content { grid-column: 2; grid-row: 1; }
.leisure-section__content { min-width: 0; }
.leisure-section__content h2 { margin: 0 0 .8rem; color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.leisure-section__content h3 { color: var(--green-950); font-size: 1.15rem; }
.leisure-section__content p { margin: .65rem 0; color: #4d5c55; }
.leisure-section__content p:last-child { margin-bottom: 0; }
.leisure-section__figure { width: 100%; max-width: 16rem; justify-self: center; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: #edf2ed; }
.leisure-section__figure--small { max-width: 12rem; }
.leisure-section__figure--medium { max-width: 16rem; }
.leisure-section__figure--rounded { border-radius: .8rem; }
.leisure-section__figure--circle { width: min(100%, 16rem); aspect-ratio: 1; border-radius: 50%; }
.leisure-section__figure--circle.leisure-section__figure--small { width: min(100%, 12rem); }
.leisure-section__figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
input, select, textarea { max-width: 100%; }
img { max-width: 100%; height: auto; }

@media (max-width: 760px) {
    .site-header { min-height: 4.5rem; gap: 1rem; padding: .75rem 1rem; }
    .site-brand { max-width: 14rem; font-size: 1rem; }
    .site-menu-toggle { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .7rem; color: var(--green-950); background: #fff; border: 1px solid #cbd5cc; border-radius: .35rem; font-weight: 650; }
    .site-menu-toggle[hidden] { display: none; }
    html.js .site-header { flex-wrap: wrap; }
    html.js .site-menu-toggle { display: inline-flex; margin-left: auto; }
    html.js .primary-navigation { display: none; }
    html.js .site-header.menu-open .primary-navigation { display: flex; }
    .primary-navigation { width: 100%; flex-direction: column; align-items: stretch; gap: .2rem; padding: .3rem 0 .5rem; }
    .primary-navigation a { padding: .7rem .8rem; border-radius: .3rem; }
    .menu-icon { display: grid; gap: 4px; }
    .menu-icon span { display: block; width: 1rem; height: 2px; background: currentColor; }
    .hero { min-height: min(78svh, 42rem); min-height: clamp(32rem, 78svh, 42rem); }
    .hero-image { object-position: 57% center; }
    .hero-shade { background: linear-gradient(90deg, rgb(10 29 25 / 70%), rgb(10 29 25 / 28%)), linear-gradient(0deg, rgb(10 29 25 / 24%), transparent 42%); }
    .hero-content { width: min(100% - 2rem, 75rem); padding: 4rem 0 5rem; }
    .hero h1 { max-width: 10ch; font-size: clamp(3.15rem, 13vw, 5rem); }
    .hero-caption { right: 1rem; bottom: .6rem; max-width: calc(100% - 2rem); font-size: .7rem; text-align: right; }
    .home-content { width: min(100% - 2rem, 72rem); }
    .location { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.35rem; }
    .leisure-section, .leisure-section--image-left { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .leisure-section--image-left .leisure-section__figure, .leisure-section--image-left .leisure-section__content { grid-column: 1; grid-row: auto; }
    .leisure-section__figure, .leisure-section__figure--medium { max-width: min(100%, 20rem); }
    .location-mark { min-height: 8rem; }
    .footer-inner { width: min(100% - 2rem, 72rem); grid-template-columns: 1fr; gap: 1rem; padding: 2rem 0; }
    .image-credit { grid-column: auto; }
    .site-main { width: min(100% - 1.25rem, 72rem); padding-top: 1.25rem; }
}

@media (max-width: 640px) {
    .public-form--columns { grid-template-columns: minmax(0, 1fr); }
}

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