:root {
    --text: rgba(0, 0, 0, 0.55);
    --text-strong: rgba(0, 0, 0, 0.78);
    --muted: rgba(0, 0, 0, 0.46);
    --bg: #f4f0ea;
    --bg-light: #f8f5f0;
    --border: rgba(0, 0, 0, 0.10);
    --accent: #a0362f;
}

* { box-sizing: border-box; }

html, body {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    color: var(--text);
    background: var(--bg);
}

a { color: inherit; text-decoration: none; }

/* HEADER -------------------------------------------------- */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4vw;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 10;
}

.logo-link { position: relative;z-index: 20; }

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 240px;
}

.logo-wrap img {
    height: 48px;
    width: auto;
    display: block;
}

.wordmark {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--text-strong);
    display: none;
}

@media (min-width: 992px) {
    .wordmark { display: block; }
}

/*nav ul {
    list-style: none;
    display: flex;
    gap: 1.4rem;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-strong);
}*/

/* LAYOUT -------------------------------------------------- */
main { margin-top: 72px; }


section:nth-of-type(odd) { background: var(--bg-light); }

.section-heading {
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 0.6rem 0;
    color: var(--text-strong);
}

.section-sub {
    max-width: 720px;
    font-size: 0.95rem;
    color: var(--muted);
    margin: 0 0 1.8rem 0;
}

.text-block {
    max-width: 820px;
    font-size: 0.95rem;
    color: var(--muted);
}



/* WOHNEN -------------------------------------------------- */
.wohnen-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
    max-width: 980px;
}

.wohnen-card {
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #ffffff;
    padding: 1.6rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.wohnen-label {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
}

.wohnen-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--text-strong);
}

.wohnen-text {
    font-size: 0.95rem;
    color: var(--muted);
    flex: 1;
    margin: 0.2rem 0 0.6rem 0;
}

.wohnen-link {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-top: 0.4rem;
}

/* IMAGE CARDS -------------------------------------------- */
.img-card {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    background: #000;
}

.img-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* GARTEN: Originalform (keine Rundung) ------------------- */
.img-card.garden { border-radius: 0; }

/* HK SECTIONS (HK1/HK2/GARTEN) --------------------------- */
.hk-hero {
    max-width: 980px;
    margin: 2.5rem auto 0 auto;
}

.hk-gallery {
    max-width: 980px;
    margin: 2.5rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hk-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.8rem;
    align-items: center;
}

.hk-text {
    font-size: 0.95rem;
    color: var(--muted);
}

.hk-text p { margin: 0; }
.hk-text p + p { margin-top: 0.7rem; }

/* REGION -------------------------------------------------- */
.region-layout{
    display: grid;
    grid-template-columns: 1.30fr 0.85fr; /* Bild breiter */
    gap: 4.2rem;                          /* mehr Trennung */
    align-items: stretch;                 /* gleiche Höhe beider Spalten */
    max-width: 1100px;
    margin: 2.5rem auto 0 auto;
}

/* keine fixe Bildhöhe */
.region-layout .img-card{
    height: 100%;                         /* wächst auf Text-Höhe */
}

.region-layout .img-card img{
    height: 100%;
    object-fit: cover;
}

/* Entkopplung: Luft im Text */
.region-layout .hk-text{
    padding-top: 3.8rem;
    max-width: 460px;
}


/* FADE-IN ------------------------------------------------- */
.fade {
    opacity: 1;/* changed by dm, consider js function */
    transform: translateY(24px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}
.fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE --------------------------------------------- */
/* FOOTER */
/*.site-footer {
    padding: 2.2rem 6vw;
    background: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--muted);
}

.footer-right a {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.footer-right a:hover {
    color: var(--text-strong);
}

.sep { opacity: 0.5; padding: 0 0.4rem; }

@media (max-width: 640px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}*/

@media (max-width: 900px) {
    .wohnen-grid { grid-template-columns: 1fr; }
    .hk-row { grid-template-columns: 1fr; }
    .region-layout { grid-template-columns: 1fr; gap: 2.2rem; }
    .region-layout .hk-text { padding-top: 0; margin-top: 0.6rem; }
    /*nav ul { display: none; }*/ /* optional später Burger */
}

@media (max-width: 640px) {
    section { padding: 3rem 5vw; }
    .wordmark { font-size: 1rem; letter-spacing: 0.10em; }
}

/* HK ROW – luftige, einheitliche Bildhöhe */
.hk-row .img-card {
    height: 520px;
}

@media (max-width: 900px) {
    .hk-row .img-card {
        height: auto;
    }
}



/* WOHNEN – Hofseite Bilder nebeneinander, gleichwertig */
.wohnen-images {
    grid-template-columns: 1fr 1fr;
}


/* HAUS ----------------------------------------------------- */
.haus-layout{
    max-width: 1100px;
    margin: 2.5rem auto 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
/* KONTAKT -------------------------------------------------- */
.kontakt-layout{
    max-width: 980px;
    margin: 2.5rem auto 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: start;
}
.kontakt-card{
    border: 1px solid var(--border);
    background: #ffffff;
    border-radius: 6px;
    padding: 1.6rem 1.8rem;
}
.kontakt-title{
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--text-strong);
    margin: 0 0 0.8rem 0;
}
.kontakt-name{
    font-size: 0.95rem;
    color: var(--text-strong);
    margin: 0 0 1.2rem 0;
}
.kontakt-row{
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0.8rem;
    padding: 0.55rem 0;
    border-top: 1px solid var(--border);
}
.kontakt-row:first-of-type{ border-top: 0; padding-top: 0; }
.kontakt-label{
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}
.kontakt-value{
    color: var(--text-strong);
    overflow-wrap: anywhere;
}
.kontakt-note{
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
}
@media (max-width: 900px){
    .kontakt-layout{ grid-template-columns: 1fr; }
    .kontakt-row{ grid-template-columns: 1fr; }
}


/* Language switch (minimal, link-like button) */
.lang-switch button{
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.lang-switch button:focus{
    outline: 2px solid rgba(0,0,0,0.25);
    outline-offset: 4px;
    border-radius: 6px;
}