@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --silver: #eef0f1;
    --silver-dark: #d8dcde;
    --white: #ffffff;
    --black: #17191b;
    --text-soft: #4e555a;
    --gold: #b28a2e;
    --gold-dark: #936f18;
    --line: rgba(23,25,27,.14);
    --shadow: 0 12px 35px rgba(25,30,35,.10);
    --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--black);
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.55;

    /* Technischer Hintergrund auf ALLEN Seiten */
    background-color: #edf0f1;
    background-image: url("hintergrund.png");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

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

/* ==========================================
   HEADER
========================================== */

.site-header {
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 10;
}

.header-inner {
    max-width: var(--max);
    margin: auto;
    min-height: 116px;
    padding: 18px 4%;
    display: flex;
    align-items: center;
    gap: 42px;
}

.logo, .footer-logo {
    white-space: nowrap;
    font-weight: 700;
    letter-spacing: -3px;
}

.logo { font-size: clamp(3rem, 5vw, 5.1rem); line-height: 1; }
.logo span, .footer-logo span { color: var(--gold-dark); }

.logo em, .footer-logo em {
    font-family: Georgia, serif;
    color: var(--black);
    font-weight: 400;
    font-size: .55em;
    letter-spacing: -1px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 2.5vw, 44px);
    margin-left: auto;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width .2s ease;
}

.main-nav a:hover::after { width: 100%; }

.header-tagline {
    border-left: 2px solid var(--gold);
    padding-left: 22px;
    font-size: 11px;
    letter-spacing: 3px;
    line-height: 1.7;
    color: #687078;
    white-space: nowrap;
}

.menu-toggle { display: none; }

/* ==========================================
   STARTSEITE
========================================== */

 .hero {
    width: 100%;
    min-height: 620px;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(680px, 48%) 52%;
    overflow: hidden;
}

.hero-copy {
    min-height: 620px;
    padding: 68px 3% 62px 4%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 24px;
    align-items: center;
    background: rgba(255,255,255,.91);
    position: relative;
    z-index: 2;
}

.hero-text {
    min-width: 0;
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 13px;
    margin-bottom: 28px;
}

.gold-rule {
    width: 90px;
    height: 3px;
    background: var(--gold);
    margin: 0 0 30px;
}

.hero h1 {
    font-size: clamp(3rem, 4.2vw, 5.1rem);
    line-height: 1.03;
    font-weight: 500;
    margin: 0 0 28px;
    letter-spacing: -3px;
}

.hero h1 span { display: block; }

.hero p {
    max-width: 560px;
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    color: var(--text-soft);
    margin: 0;
}

.hero-photo {
    align-self: center;
    justify-self: end;
    width: 210px;
    position: relative;
    z-index: 3;
}

.hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 0;
    box-shadow: 0 8px 24px rgba(25,30,35,.10);
}

.hero-image-space {
    min-height: 620px;
    background: transparent;
}

/* ==========================================
   LEISTUNGEN
========================================== */

.services {
    max-width: var(--max);
    margin: 0 auto;
    padding: 42px 3% 55px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.service-card {
    background: rgba(255,255,255,.88);
    border: 1px solid rgba(0,0,0,.08);
    min-height: 235px;
    padding: 28px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 18px rgba(25,30,35,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 55px;
    height: 55px;
    border: 2px solid var(--black);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.service-card h2 { font-size: 18px; margin: 0 0 10px; }
.service-card p { color: var(--text-soft); font-size: 14px; margin: 0 0 16px; }
.service-arrow { margin-top: auto; font-size: 28px; color: var(--gold-dark); }

/* ==========================================
   INHALTSEITEN
========================================== */

.page-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 5% 100px;

    /* Die Zeichnung bleibt auch auf Unterseiten sichtbar */
    background: rgba(255,255,255,.88);
}

.page-shell h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin: 0 0 14px;
}

.page-shell .intro {
    color: var(--text-soft);
    font-size: 1.1rem;
}

.construction {
    margin-top: 40px;
    padding: 55px 35px;
    background: rgba(255,255,255,.88);
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow);
}

.construction h2 { margin-top: 0; }

.legal h1 {
    border-bottom: 2px solid var(--gold);
    padding-bottom: 18px;
}

.legal h2 {
    margin-top: 38px;
    font-size: 1.3rem;
}

.legal p,
.legal li {
    color: #454b50;
}

/* AGB */
.agb-page .legal-content {
    max-width: 100%;
}

.agb-page .legal-content h1 {
    border: 0;
    padding: 0;
}

.agb-page .legal-content h2 {
    color: var(--gold-dark);
    font-size: 1.45rem;
    margin-top: 38px;
    margin-bottom: 10px;
}

.agb-page .legal-content p {
    margin: 0 0 12px;
}

/* ==========================================
   FOOTER
========================================== */

.site-footer {
    background: rgba(248,249,249,.94);
    border-top: 2px solid var(--gold);
}

.footer-inner {
    max-width: var(--max);
    margin: auto;
    min-height: 125px;
    padding: 25px 4%;
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-logo { font-size: 3rem; }

.footer-links {
    display: flex;
    gap: 22px;
    margin: auto;
    font-size: 14px;
}

.footer-links a:hover { color: var(--gold-dark); }
.copyright { font-size: 13px; color: #4d5358; }

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {
    .header-inner { gap: 22px; }
    .header-tagline { display: none; }
    .main-nav { gap: 18px; }
    .main-nav a { font-size: 13px; }

    .services {
        grid-template-columns: repeat(2, 1fr);
        padding-left: 5%;
        padding-right: 5%;
    }

    .page-shell {
        margin-left: 4%;
        margin-right: 4%;
    }
}

/* ==========================================
   HANDY
========================================== */

@media (max-width: 760px) {

    body {
        background-position: center center;
        background-attachment: scroll;
        background-size: auto 100%;
    }

    .site-header {
        background: rgba(255,255,255,.97);
    }

    .header-inner {
        min-height: 78px;
        padding: 13px 6%;
        justify-content: space-between;
    }

    .logo { font-size: 3rem; }

    .menu-toggle {
        display: flex;
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 28px;
        height: 2px;
        background: var(--black);
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 12px 6% 20px;
        background: rgba(255,255,255,.98);
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: var(--shadow);
    }

    .main-nav.open { display: flex; }

    .main-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 15px;
    }

    .main-nav a::after { display: none; }

    .hero {
        display: block;
        min-height: 0;
        background: transparent;
    }

    .hero-copy {
        min-height: 0;
        padding: 48px 7% 52px;
        display: flex;
        flex-direction: column;
        gap: 32px;
        background: rgba(255,255,255,.92);
    }

    .hero h1 { letter-spacing: -2px; }

    .hero-photo {
        width: min(190px, 55vw);
        align-self: center;
        justify-self: center;
    }

    .hero-image-space {
        min-height: 260px;
        background: transparent;
    }

    .services {
        grid-template-columns: 1fr;
        padding: 24px 6% 45px;
    }

    .service-card { min-height: 190px; }

    .page-shell {
        margin-left: 0;
        margin-right: 0;
        padding: 50px 7% 70px;
        background: rgba(255,255,255,.82);
    }

    .construction {
        padding: 38px 25px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        padding: 30px 6%;
        gap: 18px;
    }

    .footer-logo { font-size: 2.5rem; }

    .footer-links {
        margin: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==========================================
   IMMOBILIEN – PRIVATES REFUGIUM
========================================== */

.property-listing {
    min-height: 600px;
}

.property-card {
    display: block;
    margin-top: 42px;
    max-width: 900px;
    min-height: 250px;
    padding: 42px 48px;
    text-decoration: none;
    color: var(--black);
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(0,0,0,.10);
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(25,30,35,.12);
}

.property-label {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
    color: #69727a;
}

.property-card h2 {
    margin: 12px 0 14px;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 500;
}

.property-card p {
    max-width: 680px;
    color: var(--text-soft);
    line-height: 1.7;
}

.property-link {
    display: inline-flex;
    gap: 14px;
    margin-top: 18px;
    color: var(--gold-dark);
    font-weight: 600;
}

.property-link span { font-size: 20px; line-height: 1; }

.property-detail {
    padding: 64px 4% 100px;
}

.property-detail-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.property-heading {
    max-width: 900px;
    padding: 42px 48px;
    background: rgba(255,255,255,.90);
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow);
}

.property-heading h1 {
    margin: 0 0 22px;
    font-size: clamp(2.1rem, 4vw, 4.2rem);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.property-lead {
    max-width: 780px;
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--text-soft);
}

.property-content-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 30px;
    align-items: start;
}

.property-copy {
    padding: 36px 42px;
    background: rgba(255,255,255,.91);
    box-shadow: var(--shadow);
    line-height: 1.65;
}

.property-copy p { margin: 0 0 16px; }
.property-copy ul { margin: 8px 0 24px; padding-left: 24px; }
.property-copy li { margin: 10px 0; padding-left: 4px; }

.property-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.media-thumb {
    width: 100%;
    min-height: 78px;
    padding: 14px 16px;
    text-align: left;
    border: 1px solid rgba(0,0,0,.22);
    background: rgba(255,255,255,.92);
    color: var(--black);
    font: inherit;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.media-thumb:not(:disabled):hover {
    background: rgba(255,255,255,1);
    transform: translateX(-3px);
}

.media-thumb span,
.media-thumb small { display: block; }
.media-thumb small { margin-top: 5px; color: var(--text-soft); }

.media-placeholder {
    cursor: default;
}

.property-photo-gallery,
.property-video {
    margin-top: 34px;
    padding: 38px 42px;
    background: rgba(255,255,255,.91);
    box-shadow: var(--shadow);
}

.property-photo-gallery h2,
.property-video h2 {
    margin-top: 0;
    font-size: 1.8rem;
}

.gallery-note { color: var(--text-soft); }

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 25px;
}

.photo-placeholder {
    min-height: 180px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0,0,0,.12);
    background: rgba(235,238,240,.72);
    color: #687078;
    letter-spacing: 1px;
}

/* Sobald echte Fotos eingesetzt werden, können sie als .photo-thumb verwendet werden. */
.photo-thumb {
    display: block;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
}

.photo-thumb img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .25s ease;
}

.photo-thumb:hover img { transform: scale(1.03); }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(10,15,20,.88);
}

.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; object-fit: contain; }

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 25px;
    border: 0;
    background: transparent;
    color: white;
    font-size: 42px;
    cursor: pointer;
}

@media (max-width: 760px) {
    .property-card { padding: 30px 26px; }
    .property-detail { padding: 35px 5% 70px; }
    .property-heading { padding: 30px 25px; }
    .property-content-grid { grid-template-columns: 1fr; }
    .property-copy { padding: 30px 25px; }
    .property-gallery { order: 2; }
    .property-photo-gallery, .property-video { padding: 30px 25px; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
.privates-refugium {
    background-image: url("../immobilien/privatesrefugium/assets/hintergrund.png");
}
/* ==========================================
   PRIVATES REFUGIUM – HAUS FOTODOKU
========================================== */

.house-gallery-page {
    padding: 64px 4% 100px;
}

.house-gallery-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.house-gallery-heading {
    max-width: 900px;
    padding: 42px 48px;
    background: rgba(255,255,255,.90);
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow);
}

.house-gallery-heading h1 {
    margin: 0 0 15px;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    font-weight: 500;
}

.house-gallery-heading p {
    color: var(--text-soft);
    font-size: 1.1rem;
}


/* FOTO-RASTER */

.house-photo-grid {
    margin-top: 34px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}


.house-photo {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;

    background: white;
    cursor: pointer;

    overflow: hidden;

    box-shadow: var(--shadow);
}


.house-photo img {
    display: block;
    width: 100%;
    height: 230px;

    object-fit: cover;

    transition: transform .25s ease;
}


.house-photo:hover img {
    transform: scale(1.04);
}


/* ==========================================
   GROSSE FOTOANSICHT
========================================== */

.house-lightbox {
    width: 94vw;
    height: 94vh;

    max-width: none;
    max-height: none;

    padding: 20px;

    border: 0;

    background: rgba(10,15,20,.96);

    align-items: center;
    justify-content: center;
}


.house-lightbox::backdrop {
    background: rgba(0,0,0,.90);
}


.house-lightbox[open] {
    display: flex;
}


.house-lightbox img {
    max-width: 92vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;
}


.house-lightbox-close {
    position: absolute;

    top: 10px;
    right: 18px;

    border: 0;
    background: transparent;

    color: white;

    font-size: 42px;
    line-height: 1;

    cursor: pointer;

    z-index: 2;
}


/* ==========================================
   HANDY
========================================== */

@media (max-width: 760px) {

    .house-gallery-page {
        padding: 35px 5% 70px;
    }

    .house-gallery-heading {
        padding: 30px 25px;
    }

    .house-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .house-photo img {
        height: 160px;
    }

}
.haus-fotodoku {
    background-image: url("../immobilien/privatesrefugium/haus/fotos/hintergrund.png");
}
.garten-fotodoku {
    background-image: url("../immobilien/privatesrefugium/garten/fotos/hintergrund.png");
}
.option-fotodoku {
    background-image: url("../immobilien/privatesrefugium/option/fotos/hintergrund.png");
}
/* ==========================================
   VIDEOSEITEN – PRIVATES REFUGIUM
========================================== */

.video-page {
    min-height: calc(100vh - 160px);
}

.video-container {
    width: min(1100px, 100%);
    margin: 40px auto 0;
}

.video-container video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    background: #000;
}

.video-back {
    margin-top: 30px;
    text-align: center;
}

.video-back a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

.video-back a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {

    .video-container {
        margin-top: 25px;
    }

    .video-container video {
        border-radius: 5px;
    }

}
.option-content {

    background: rgba(255,255,255,.90);
    padding: 32px;
}
