/* Farben fuer wiederkehrende Komponenten (Originalwerte unveraendert). */
:root {
    --waldquelle-theme-green: #538f63;
    --waldquelle-theme-green-dark: #315a3b;
    --waldquelle-theme-sage: #9cb49a;
}

/* Waldquelle CSS | Schritt 6: identische Farbwerte gekuerzt. */

/* ===== 01 AUSSTATTUNG ===== */
.waldquelle-ausstattung {
    --waldquelle-green: #538f63;
    --waldquelle-green-dark: #315a3b;
    --waldquelle-sage: #9cb49a;
    --waldquelle-cream: #fcfaf5;
    --waldquelle-sand: #f6f1e7;
    --waldquelle-border: #ddd5c9;
    --waldquelle-text: #55504a;
    padding: 80px 20px;
    background: var(--waldquelle-cream);
    color: var(--waldquelle-text);
}

.waldquelle-ausstattung__intro {
    max-width: 760px;
    margin: 0 auto 45px;
    text-align: center;
}

.waldquelle-eyebrow {
    margin-bottom: 12px;
}

.waldquelle-ausstattung__intro h2 {
    margin: 0 0 18px;
    color: var(--waldquelle-green-dark);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
}

.waldquelle-ausstattung__intro p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.75;
}

.waldquelle-fakten {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto 35px;
}

.waldquelle-fakt {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    background: var(--waldquelle-sand);
    border: 1px solid var(--waldquelle-border);
    border-radius: 14px;
}

.waldquelle-fakt>i {
    flex: 0 0 46px;
    color: var(--waldquelle-green);
    font-size: 1.65rem;
    text-align: center;
}

.waldquelle-fakt strong,
.waldquelle-fakt span {
    display: block;
}

.waldquelle-fakt strong {
    margin-bottom: 4px;
    color: var(--waldquelle-green-dark);
    font-size: 1rem;
}

.waldquelle-fakt span {
    font-size: 0.9rem;
    line-height: 1.45;
}

.waldquelle-ausstattung__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

.waldquelle-ausstattung__card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--waldquelle-border);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(49, 90, 59, 0.06);
}

.waldquelle-card-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 22px;
}

.waldquelle-card-heading>i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #fff;
    background: var(--waldquelle-green);
    border-radius: 50%;
    font-size: 1.15rem;
}

.waldquelle-card-heading h3 {
    margin: 0;
    color: var(--waldquelle-green-dark);
    font-size: 1.3rem;
}

.waldquelle-ausstattung__card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.waldquelle-ausstattung__card li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(221, 213, 201, 0.7);
    line-height: 1.45;
}

.waldquelle-ausstattung__card li:last-child {
    border-bottom: 0;
}

.waldquelle-ausstattung__card li>i {
    width: 19px;
    margin-top: 4px;
    color: var(--waldquelle-green);
    text-align: center;
}

.waldquelle-ausstattung__hinweis {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 800px;
    margin: 35px auto 0;
    padding: 18px 22px;
    color: var(--waldquelle-green-dark);
    background: var(--waldquelle-sand);
    border-left: 4px solid var(--waldquelle-green);
    border-radius: 8px;
}

.waldquelle-ausstattung__hinweis i {
    font-size: 1.25rem;
}

.waldquelle-ausstattung__hinweis p {
    margin: 0;
}

@media (max-width: 1100px) {

    .waldquelle-fakten,
    .waldquelle-ausstattung__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .waldquelle-ausstattung {
        padding: 55px 16px;
    }

    .waldquelle-fakten,
    .waldquelle-ausstattung__grid {
        grid-template-columns: 1fr;
    }

    .waldquelle-ausstattung__card {
        padding: 23px;
    }

    .waldquelle-fakt {
        padding: 18px;
    }
}

/* ===== 02 WEITERLESEN-BUTTONS ===== */
.readmore .btn,
p.readmore a,
a.btn.readmore,
.btn.readmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    padding: 10px 30px;
    background: #FCFAF5;
    /* Bodyfarbe */
    color: #343434 !important;
    border: 3px solid var(--waldquelle-theme-green);
    border-radius: 24px;
    font-family: "Sniglet", cursive;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: .05em;
    text-decoration: none !important;

    transition:
        color .25s ease,
        border-color .25s ease,
        background-color .25s ease;
}

/* Hover */
.readmore .btn:hover,
.readmore .btn:focus,
p.readmore a:hover,
p.readmore a:focus,
a.btn.readmore:hover,
a.btn.readmore:focus,
.btn.readmore:hover,
.btn.readmore:focus {

    color: var(--waldquelle-theme-green) !important;
    border-color: var(--waldquelle-theme-green);

    background: #dcd6cd;
}

/* ===== 03 FOTOGALERIE ===== */
.waldquelle-fotogalerie {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 36px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.waldquelle-fotogalerie .uk-grid,
.waldquelle-fotogalerie .uk-slider,
.waldquelle-fotogalerie .uk-slider-container,
.waldquelle-fotogalerie .uk-slideshow,
.waldquelle-fotogalerie .uk-slideshow-items {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.waldquelle-fotogalerie .uk-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.waldquelle-fotogalerie .uk-grid>*,
.waldquelle-fotogalerie .uk-slideshow-items>li {
    min-width: 0;
    padding-left: 0 !important;
    box-sizing: border-box;
}

.waldquelle-fotogalerie .uk-grid>* {
    padding: 12px !important;
}

.waldquelle-fotogalerie img {
    display: block;
    width: 100% !important;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
    object-position: center;
    border: 8px solid #fff;
    padding: 0;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 8px 22px rgba(49, 90, 59, 0.16);
    transform-origin: center center;
    transition: transform 0.45s ease,
        box-shadow 0.45s ease;
}

.waldquelle-fotogalerie .uk-grid> :nth-child(6n + 1) img,
.waldquelle-fotogalerie .uk-slideshow-items>li:nth-child(6n + 1) img {
    transform: rotate(-1deg);
}

.waldquelle-fotogalerie .uk-grid> :nth-child(6n + 2) img,
.waldquelle-fotogalerie .uk-slideshow-items>li:nth-child(6n + 2) img {
    transform: rotate(0.8deg);
}

.waldquelle-fotogalerie .uk-grid> :nth-child(6n + 3) img,
.waldquelle-fotogalerie .uk-slideshow-items>li:nth-child(6n + 3) img {
    transform: rotate(-0.5deg) scale(1.025);
}

.waldquelle-fotogalerie .uk-grid> :nth-child(6n + 4) img,
.waldquelle-fotogalerie .uk-slideshow-items>li:nth-child(6n + 4) img {
    transform: rotate(1deg);
}

.waldquelle-fotogalerie .uk-grid> :nth-child(6n + 5) img,
.waldquelle-fotogalerie .uk-slideshow-items>li:nth-child(6n + 5) img {
    transform: rotate(-0.7deg);
}

.waldquelle-fotogalerie .uk-grid> :nth-child(6n) img,
.waldquelle-fotogalerie .uk-slideshow-items>li:nth-child(6n) img {
    transform: rotate(0.6deg) scale(1.025);
}

.waldquelle-fotogalerie .uk-grid> :nth-child(3n) {
    position: relative;
    z-index: 2;
}

.waldquelle-fotogalerie .uk-grid>*:hover img,
.waldquelle-fotogalerie .uk-slideshow-items>li:hover img {
    transform: rotate(0deg) scale(1.035);
    box-shadow: 0 16px 36px rgba(49, 90, 59, 0.24);
}

/* Verhindert horizontales Scrollen auf der gesamten Seite */
/* ===== 04 SEITENLAYOUT ===== */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Tablet */
@media (max-width: 959px) {
    .waldquelle-fotogalerie {
        padding: 28px 0;
    }

    .waldquelle-fotogalerie .uk-grid>* {
        padding: 9px !important;
    }

    .waldquelle-fotogalerie img {
        border-width: 7px;
    }
}

/* Smartphone */
@media (max-width: 639px) {
    .waldquelle-fotogalerie {
        padding: 20px 0;
    }

    .waldquelle-fotogalerie .uk-grid>* {
        padding: 7px !important;
    }

    .waldquelle-fotogalerie img {
        border-width: 6px;
        transform: none !important;
    }

    .waldquelle-fotogalerie .uk-grid>*:hover img {
        transform: scale(1.015) !important;
    }
}

/* ===== 05 FERIENWOHNUNGS-TEASER ===== */
.waldquelle-wohnungsuebersicht {
    display: flex;
    flex-direction: column;
    gap: 90px;
    margin: 50px 0 80px;
}

.waldquelle-wohnungsteaser {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(38px, 6vw, 90px);
}

.waldquelle-wohnungsteaser--reverse .waldquelle-wohnungsteaser__bild {
    order: 2;
}

.waldquelle-wohnungsteaser--reverse .waldquelle-wohnungsteaser__inhalt {
    order: 1;
}

.waldquelle-wohnungsteaser__bild {
    position: relative;
    padding: 14px;
}

.waldquelle-wohnungsteaser__bild img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    border: 9px solid #fff;
    box-sizing: border-box;
    box-shadow: 0 12px 30px rgba(49, 90, 59, 0.17);
    transform: rotate(-1deg);
    transition: transform 0.45s ease,
        box-shadow 0.45s ease;
}

.waldquelle-wohnungsteaser--reverse .waldquelle-wohnungsteaser__bild img {
    transform: rotate(1deg);
}

.waldquelle-wohnungsteaser__bild:hover img {
    transform: rotate(0deg) scale(1.015);
    box-shadow:
        0 18px 38px rgba(49, 90, 59, 0.23);
}

.waldquelle-wohnungsteaser__inhalt {
    max-width: 620px;
}

.waldquelle-wohnungsteaser__inhalt h2 {
    margin: 8px 0 22px;
}

.waldquelle-wohnungsteaser__inhalt p {
    margin: 0 0 18px;
    line-height: 1.75;
}

.waldquelle-wohnungsteaser .waldquelle-eyebrow {
    display: block;
    color: var(--waldquelle-theme-green);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.waldquelle-kurzinfos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 28px 0 30px;
    padding: 18px 0;
    border-top: 1px solid #d9dfd7;
    border-bottom: 1px solid #d9dfd7;
}

.waldquelle-kurzinfos span {
    position: relative;
    color: var(--waldquelle-theme-green-dark);
    font-size: 0.92rem;
    font-weight: 600;
}

/* Kleine Trennpunkte */
.waldquelle-kurzinfos span:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -15px;
    color: var(--waldquelle-theme-sage);
}

/* Readmore-Abstand */
.waldquelle-wohnungsteaser .readmore {
    margin: 0;
}

/* Tablet und Smartphone */
@media (max-width: 900px) {
    .waldquelle-wohnungsuebersicht {
        gap: 65px;
    }

    .waldquelle-wohnungsteaser {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .waldquelle-wohnungsteaser--reverse .waldquelle-wohnungsteaser__bild,
    .waldquelle-wohnungsteaser--reverse .waldquelle-wohnungsteaser__inhalt {
        order: initial;
    }

    .waldquelle-wohnungsteaser__inhalt {
        max-width: none;
    }
}

@media (max-width: 600px) {
    .waldquelle-wohnungsuebersicht {
        margin-top: 30px;
        gap: 55px;
    }

    .waldquelle-wohnungsteaser__bild {
        padding: 7px;
    }

    .waldquelle-wohnungsteaser__bild img,
    .waldquelle-wohnungsteaser--reverse .waldquelle-wohnungsteaser__bild img {
        border-width: 6px;
        transform: none;
    }

    .waldquelle-kurzinfos {
        display: grid;
        gap: 7px;
    }

    .waldquelle-kurzinfos span::after {
        display: none;
    }
}

/* ===== 06 HERO UND SEITENKOPF ===== */
.waldquelle-hero {
    overflow: visible;
}

.waldquelle-hero img {
    display: block;
    width: 96%;
    max-width: 1600px;
    height: 400px;
    margin: auto;
    object-fit: cover;
    object-position: center;
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
}

.category-desc {
    border-bottom: 0;
}

.waldquelle-eyebrow {
    display: block;
    color: var(--waldquelle-theme-green);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.waldquelle-hero {
    width: min(100% - 48px, 1320px);
    margin: 0 auto 85px;
}

.waldquelle-hero__rahmen {
    padding: 10px;
    background: #fff;
    box-shadow: 0 15px 38px rgba(49, 90, 59, 0.14);
    transform: rotate(-0.35deg);
}

.waldquelle-hero__rahmen img {
    display: block;
    width: 100%;
    height: 360px;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    border: 0;
}

@media (max-width: 900px) {

    .waldquelle-hero__rahmen img {
        height: 310px;
    }

}

@media (max-width: 600px) {

    .waldquelle-hero {
        width: min(100% - 32px, 1280px);
    }

    .waldquelle-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.16em;
    }

    .waldquelle-hero {
        margin-bottom: 60px;
    }

    .waldquelle-hero__rahmen {
        padding: 7px;
    }

    .waldquelle-hero__rahmen img {
        height: 235px;
    }

}

/* ===== 09 BELEGUNGSPLAN ===== */
.belegungsplan-center {
    width: 100%;
    display: flex;
    justify-content: center;
}

.belegungsplan-center iframe {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* ===== 10 PREISBOX ===== */
.fewo-preisbox {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: var(--waldquelle-theme-green);
    padding: 12px 22px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.fewo-preis {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

.fewo-preis strong {
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
    color: white;
}

.fewo-preis small {
    font-size: 14px;
    opacity: 0.9;
    color: white;
}

@media (max-width: 576px) {
    .fewo-preisbox {
        padding: 11px 17px;
        gap: 12px;
    }

    .fewo-preis strong {
        font-size: 25px;
    }
}

/* ==================================================
   CONVERT FORMS - SENDEBUTTON
   ================================================== */
.convertforms button[type="submit"],
.convertforms input[type="submit"] {
    min-width: 250px;
    padding: 10px 30px;
    background: #fcfaf5 !important;
    color: #343434 !important;
    border: 3px solid #538f63 !important;
    border-radius: 24px !important;
    font-family: 'Sniglet', cursive;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: .05em;
    text-decoration: none;
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease, background-color .25s ease;
}

.convertforms button[type="submit"]:hover,
.convertforms button[type="submit"]:focus-visible,
.convertforms input[type="submit"]:hover,
.convertforms input[type="submit"]:focus-visible {
    background: #dcd6cd !important;
    color: #538f63 !important;
    border-color: #538f63 !important;
}