/* ============================================================
   Ferien im Warndt - Joomla 6 Template CSS
   Exakte Nachbildung der J3 Live-Website
   ============================================================ */

/* ---- Reset & Basis ---- */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #474747;
    line-height: 1.5em;
    font-size: 18px;
    margin: 0;
    padding: 0;
    background: #ffffff;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-x: hidden;
}

a {
    color: #417505;
    font-size: 1rem;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
  font-weight: bold;
}

p {
    font-weight: 200;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
}

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

h1 {
    font-family: 'Lora', serif, Georgia;
    font-size: 30px;
    font-weight: normal;
    text-transform: uppercase;
    color: #417505;
    padding-bottom: 10px;
    line-height: 56px;
    margin: 0;
}

h2 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 25px;
    font-weight: 200;
    color: #4a4a4a;
    padding-bottom: 15px;
    line-height: 29px;
    margin: 0;
}

h4 {
    text-align: center;
    color: #333;
    font-family: 'Open Sans', sans-serif;
    font-weight: 200;
}


/* ---- Row / Grid ---- */

.row {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.row::after {
    content: '';
    display: table;
    clear: both;
}


/* ---- Joomla-Seitentitel verbergen (Content hat eigene h1) ---- */

.com-content-article .page-header {
    display: none;
}


/* ---- Joomla mod-menu.min.css Overrides ----
   Joomla lädt eigenes CSS für mod_menu. Wir überschreiben es.
   ------------------------------------------------------------ */

.mod-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mod-menu li {
    list-style: none !important;
}


/* ============================================================
   ADRESSZEILE (ganz oben)
   ============================================================ */

.adresse {
    border-bottom: 1px solid #ddd;
    padding-top: 5px;
}

.adresszeile {
    text-align: right;
}

.adresse p {
    color: #417505;
    font-size: 1rem;
    margin-bottom: 5px;
    text-align: right;
    margin-top: 0;
}

.adresse a {
    color: #417505;
}


/* ============================================================
   HEADER: Logo + Hauptnavigation (Position: kopf)
   ============================================================ */

.header-container {
    padding-top: 20px;
    padding-bottom: 20px;
}

.kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.kopf .logo-wrapper {
    flex: 0 0 auto;
}

.kopf .logo-wrapper img {
    width: 330px;
    max-width: 100%;
    display: block;
}

.kopf .nav-wrapper {
    flex: 1;
    text-align: right;
}


/* ---- Hauptnavigation: mod_menu in Position "kopf" ---- */

.nav-wrapper .mod-menu {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.nav-wrapper .mod-menu > li {
    position: relative;
}

.nav-wrapper .mod-menu > li > a {
    display: block;
    padding: 0 20px;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    font-weight: normal;
    color: #4a4a4a;
    text-decoration: none;
    font-family: 'Open Sans', Arial, sans-serif;
    transition: color 0.2s ease-out;
}

.nav-wrapper .mod-menu > li > a:hover,
.nav-wrapper .mod-menu > li.current > a,
.nav-wrapper .mod-menu > li.active > a {
    color: #417505;
    text-decoration: none;
}

/* Impressum, AGB, Datenschutz in Desktop-Navi verstecken */
.nav-wrapper .mod-menu > li.item-impressum,
.nav-wrapper .mod-menu > li.item-agb,
.nav-wrapper .mod-menu > li.item-datenschutz {
    display: none !important;
}


/* ============================================================
   ZWEITE NAVIGATION: Grüner Balken (Position: menu)
   ============================================================ */

.balken {
    width: 100%;
    position: relative;
    height: auto;
    background-color: #417505;
    z-index: 500;
}

.menu-bar {
    width: 100%;
}

/* ALLE Links im grünen Balken müssen weiß sein!
   Gilt sowohl für Mega-Layout als auch Standard mod_menu */
.balken a,
.balken .mod-menu a,
.balken .mod-menu > li > a,
.balken .nav-wohnungen > li > a {
    color: #ffffff !important;
    text-decoration: none;
}

.balken a:hover,
.balken .mod-menu > li > a:hover,
.balken .nav-wohnungen > li > a:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
}

/* Standard mod_menu im Balken (falls nicht Mega-Layout) */
.balken .mod-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.balken .mod-menu > li {
    position: relative;
    display: flex;
    align-items: center;
}

.balken .mod-menu > li > a {
    display: block;
    padding: 0 17px 0 17px;
    height: 70px;
    line-height: 70px;
    font-size: 16px;
    font-weight: 300;
    text-transform: uppercase;
    font-family: 'Open Sans', Arial, sans-serif;
    transition: background 0.2s ease-out;
    white-space: nowrap;
}

/* Chevron-Button neben Menüpunkten mit Untermenü */
.balken .mod-menu__toggle-sub {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 12px 0 0;
    height: 70px;
    line-height: 70px;
    display: flex;
    align-items: center;
}

.balken .mod-menu__toggle-sub .icon-chevron-down {
    color: #ffffff;
    font-size: 11px;
    transition: transform 0.2s ease;
}

/* Fallback: Falls Joomla keinen eigenen Icon-Font lädt, FA4 nutzen */
.balken .mod-menu__toggle-sub .icon-chevron-down::before {
    content: "\f078";
    font-family: "FontAwesome";
}

.balken .mod-menu > li:hover > .mod-menu__toggle-sub .icon-chevron-down {
    transform: translateY(2px);
}

/* "Weitere Informationen: ..." Text ausblenden (nur für Screenreader) */
.balken .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Mega-Dropdown im Balken (mod_menu Submenu als mehrspaltig) */
.balken .mod-menu .mod-menu__sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    z-index: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 15px 10px;
    list-style: none;
    margin: 0;
    /* CSS Grid: 2 Zeilen, Spalten füllen sich automatisch */
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: 200px;
    gap: 5px 10px;
    max-width: 100vw;
}

.balken .mod-menu > li:hover > .mod-menu__sub,
.balken .mod-menu > li.mega-open > .mod-menu__sub {
    display: grid;
}

.balken .mod-menu .mod-menu__sub > li {
    padding: 5px 5px;
}

.balken .mod-menu .mod-menu__sub > li > a {
    color: #4a4a4a !important;
    display: block;
    padding: 0;
    font-size: 14px;
    text-transform: none;
    height: auto;
    line-height: 1.4;
    background: transparent;
    text-decoration: none;
}

.balken .mod-menu .mod-menu__sub > li > a:hover {
    color: #417505 !important;
}

/* Bilder im Mega-Dropdown */
.balken .mod-menu .mod-menu__sub > li > a img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 5px;
    border: 0;
}

/* Wohnungsname unter dem Bild */
.balken .mod-menu .mod-menu__sub > li > a .image-title {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #4a4a4a;
    line-height: 1.3;
    text-decoration: underline;
    text-align: left;
}

.balken .mod-menu .mod-menu__sub > li > a:hover .image-title {
    color: #417505;
}

/* Ort-Subtitle unter dem Namen */
.balken .mod-menu .mod-menu__sub > li > a .image-title .subtitle {
    display: block;
    color: rgba(74, 74, 74, 0.7);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    padding-top: 2px;
    text-decoration: none;
}


/* Submenu bei knapper Breite (768–854px): Spalten verkleinern */
@media (min-width: 768px) and (max-width: 854px) {
    .balken .mod-menu .mod-menu__sub {
        left: 0;
        transform: none;
        grid-auto-columns: minmax(0, 1fr);
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        box-sizing: border-box;
    }
}

/* ---- Mega-Layout (nav-wohnungen, via mega.php Override) ---- */

.nav-wohnungen {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-wohnungen > li {
    position: relative;
}

.nav-wohnungen > li > a {
    display: block;
    padding: 0 17px;
    height: 70px;
    line-height: 70px;
    font-size: 16px;
    font-weight: 300;
    color: #ffffff !important;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Open Sans', Arial, sans-serif;
    transition: background 0.2s ease-out;
    cursor: pointer;
    white-space: nowrap;
}

.nav-wohnungen > li > a:hover,
.nav-wohnungen > li.active > a,
.nav-wohnungen > li.current > a {
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown-Pfeil */
.nav-wohnungen > li > a .arrow,
.nav-wohnungen > li > a .fa {
    margin-left: 5px;
    font-size: 0.85em;
    font-style: normal;
    transition: transform 0.2s ease;
}

.nav-wohnungen > li:hover > a .arrow,
.nav-wohnungen > li:hover > a .fa {
    transform: translateY(2px);
}

/* Mega-Dropdown Panel */
.mega-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    z-index: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 15px 5px;
    max-width: 100vw;
    flex-wrap: wrap;
}

.nav-wohnungen > li:hover > .mega-dropdown,
.nav-wohnungen > li.mega-open > .mega-dropdown {
    display: flex;
}

.mega-dropdown .mega-col {
    width: 200px;
    padding: 0 10px;
}

.mega-dropdown .mega-col > a {
    display: block;
    color: #4a4a4a !important;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Lora', serif;
    padding: 10px 0;
    line-height: 1.4;
    text-transform: none;
    transition: background 0.2s ease;
    height: auto;
    background: transparent;
}

.mega-dropdown .mega-col > a:hover {
    color: #417505 !important;
}

.mega-dropdown .mega-col > a img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 5px;
    border: 0;
}

.mega-dropdown .mega-col > a .image-title {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #4a4a4a;
    line-height: 1.3;
    text-decoration: underline;
}

.mega-dropdown .mega-col > a:hover .image-title {
    color: #417505;
}

.mega-dropdown .mega-col > a .image-title .subtitle {
    display: block;
    color: rgba(74, 74, 74, 0.7);
    font-size: 12px;
    line-height: 1;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    padding-top: 2px;
    text-decoration: none;
}


/* ============================================================
   MOBILE HAUPTNAVIGATION (ganz oben, nur mobil sichtbar)
   ============================================================ */

.hauptnavi-mobil {
    display: none;
}

@media (max-width: 767px) {
    .hauptnavi-mobil {
        display: block;
        padding: 8px 0;
    }

    .hauptnavi-mobil .mod-menu {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0;
    }

    .hauptnavi-mobil .mod-menu > li > a {
        display: block;
        padding: 5px 15px 5px 0;
        font-size: 14px;
        color: #417505 !important;
        text-decoration: none;
        font-family: 'Open Sans', Arial, sans-serif;
        font-weight: 400;
        height: auto;
        line-height: 1.4;
    }

    .hauptnavi-mobil .mod-menu > li.current > a,
    .hauptnavi-mobil .mod-menu > li.active > a {
        font-weight: 600;
    }

    /* Impressum, AGB, Datenschutz in mobiler Hauptnavi verstecken */
    .hauptnavi-mobil .mod-menu > li.item-impressum,
    .hauptnavi-mobil .mod-menu > li.item-agb,
    .hauptnavi-mobil .mod-menu > li.item-datenschutz {
        display: none !important;
    }
}


/* ============================================================
   FERIENWOHNUNGEN BURGER (Position: mo_navi, nur mobil)
   ============================================================ */

.mobile-nav-wrapper {
    display: none;
}

.mobile-nav-toggle {
    display: none;
    background: #417505;
    color: #fff;
    padding: 12px 15px;
    cursor: pointer;
    font-size: 18px;
    font-family: 'Open Sans', Arial, sans-serif;
    border: none;
    width: 100%;
    text-align: left;
}

.mobile-nav-toggle .hamburger {
    display: inline-block;
    width: 19px;
    height: 3px;
    background: #fff;
    position: relative;
    vertical-align: middle;
    margin-right: 10px;
}

.mobile-nav-toggle .hamburger::before,
.mobile-nav-toggle .hamburger::after {
    content: '';
    display: block;
    width: 19px;
    height: 3px;
    background: #fff;
    position: absolute;
    left: 0;
}

.mobile-nav-toggle .hamburger::before { top: -7px; }
.mobile-nav-toggle .hamburger::after { top: 7px; }

.mobile-nav-content {
    display: none;
    background: #333;
}

.mobile-nav-content.open {
    display: block;
}

.mobile-nav-content .mod-menu {
    background: #333;
}

.mobile-nav-content .mod-menu > li {
    border-bottom: 1px solid #555;
    float: none;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.mobile-nav-content .mod-menu > li > a {
    display: block;
    flex: 1;
    padding: 12px 15px;
    color: #fff !important;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Open Sans', Arial, sans-serif;
    height: auto;
    line-height: 1.4;
    background: transparent;
}

.mobile-nav-content .mod-menu > li > a:hover,
.mobile-nav-content .mod-menu > li.current > a,
.mobile-nav-content .mod-menu > li.active > a {
    background: #444;
}

/* Toggle-Button für Untermenüs (Chevron) */
.mobile-nav-content .mod-menu__toggle-sub {
    background: none;
    border: none;
    border-left: 1px solid #555;
    cursor: pointer;
    padding: 12px 15px;
    display: flex;
    align-items: center;
}

.mobile-nav-content .mod-menu__toggle-sub .icon-chevron-down {
    color: #fff;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.mobile-nav-content .mod-menu__toggle-sub .icon-chevron-down::before {
    content: "\f078";
    font-family: "FontAwesome";
}

.mobile-nav-content .mod-menu > li.sub-open > .mod-menu__toggle-sub .icon-chevron-down {
    transform: rotate(180deg);
}

/* "Weitere Informationen" Text ausblenden */
.mobile-nav-content .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Untermenü: standardmäßig eingeklappt */
.mobile-nav-content .mod-menu .mod-menu__sub {
    display: none;
    background: #2a2a2a;
    width: 100%;
}

.mobile-nav-content .mod-menu > li.sub-open > .mod-menu__sub {
    display: block;
}

.mobile-nav-content .mod-menu .mod-menu__sub > li {
    border-bottom: 1px solid #444;
}

.mobile-nav-content .mod-menu .mod-menu__sub > li > a {
    display: block;
    padding: 10px 15px 10px 30px;
    color: #ccc !important;
    text-decoration: none;
    font-size: 15px;
    height: auto;
    line-height: 1.4;
    background: transparent;
}

.mobile-nav-content .mod-menu .mod-menu__sub > li > a:hover {
    background: #3a3a3a;
    color: #fff !important;
}

/* Bilder und Zusatztexte in mobiler Nav ausblenden */
.mobile-nav-content .mod-menu img {
    display: none;
}

.mobile-nav-content .mod-menu .image-title {
    font-size: inherit;
    font-family: inherit;
    text-decoration: none;
    color: inherit;
}

.mobile-nav-content .mod-menu .subtitle {
    display: none;
}

@media (max-width: 767px) {
    .mobile-nav-wrapper {
        display: block;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .balken-desktop {
        display: none;
    }
}

@media (min-width: 768px) {
    .mobile-nav-wrapper {
        display: none !important;
    }
    .hauptnavi-mobil {
        display: none !important;
    }
}


/* ============================================================
   HEADERBILD / SLIDER
   ============================================================ */

.headerbild {
    width: 100%;
    overflow: hidden;
}

.headerbild img {
    width: 100%;
    display: block;
}


/* ============================================================
   HAUPTINHALTSBEREICH
   ============================================================ */

.inhaltsbereich {
    padding-top: 0;
    padding-bottom: 0;
}

.inhalt {
    padding-top: 45px;
    padding-bottom: 60px;
}

/* Overflow sicherstellen, damit section--stretch korrekt ausbricht */
.inhaltsbereich,
.inhalt,
.com-content-article,
.com-content-article__body {
    overflow: visible;
}

/* Volle-Breite Sections innerhalb des Content-Bereichs */
.section--stretch {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding-left: 0;
    padding-right: 0;
}

.section--stretch .section-inner {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
}


/* ---- Buttons (Outlined Style wie Original) ---- */

.btn-default {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: #4a4a4a;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid #4a4a4a;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Open Sans', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.btn-default:hover {
    background-color: #4a4a4a;
    color: #ffffff;
    text-decoration: none;
}


/* ---- CTA / Buchungsbereich (grüne Section) ---- */

.section-cta {
    background-color: #417505;
    padding: 50px 0;
}

.section-cta h1 {
    color: #ffffff;
    text-align: left;
}

.section-cta p {
    text-align: left;
    color: #ffffff;
    font-size: 1.25rem;
}

.section-cta .btn-default {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.section-cta .btn-default:hover {
    background-color: #333;
    color: #ffffff;
}


/* ---- Neues Section (Hintergrundbild, scrollt mit) ---- */

.section-parallax {
    background-size: cover;
    background-position: center;
    padding: 20vh 0;
    min-height: 300px;
}

.section-parallax h1 {
    color: #417505;
    text-align: left;
}

.section-parallax p {
    color: #474747;
    text-align: left;
}

/* Halbtransparenter Textkasten in der Neues-Section */
.neues-textbox {
    background-color: rgba(255, 255, 255, 0.75);
    padding: 30px 30px 25px 30px;
    display: inline-block;
}


/* ============================================================
   FOOTER (Position: mo_footer)
   Volle Breite, grauer Hintergrund wie Original
   ============================================================ */

.footer {
    background-color: #5a5757;
    border-top: none;
    padding: 40px 0 0 0;
    width: 100%;
}

.footer .row {
    max-width: 1170px;
}

.footer p {
    text-align: left !important;
    color: #ffffff;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 5px;
}

.footer a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    line-height: 19px;
}

.footer a:hover {
    text-decoration: underline;
}

.footer strong {
    color: #ffffff;
    font-size: 14px;
}

.footer h1 {
    color: #ffffff;
    font-size: 24px;
    line-height: 38px;
    border-bottom: none;
    padding-bottom: 5px;
}

.footer hr.divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 15px 0;
}

.footer-cols {
    display: flex;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    padding: 0 15px;
}

@media (max-width: 767px) {
    .footer-col {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
}

/* Copyright-Zeile: volle Breite, grüner Hintergrund */
.footer-copyright {
    background-color: #417505;
    padding: 15px 15px;
    text-align: left;
    margin-top: 30px;
    /* Aus dem .row ausbrechen auf volle Viewport-Breite */
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

.footer-copyright p {
    text-align: left !important;
    color: #ffffff;
    font-size: 12px;
    margin-bottom: 0;
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    margin-top: 0;
}

.footer-copyright a {
    color: #ffffff !important;
    font-size: 12px;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}


/* ============================================================
   SONSTIGE
   ============================================================ */

p.os-gallery-img-category {
    display: none !important;
}

.copyright-block {
    display: none !important;
}

/* ============================================================
   WOHNUNGSSEITEN (wiederverwendbar für alle Wohnungen)
   ============================================================ */

.wohnung p {
    text-align: left !important;
}

/* Einleitungstext vor dem Zweispalter (zentriert, schmaler) */
.wohnung-intro {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.wohnung-intro p {
    text-align: center !important;
}

/* Zwei-Spalten Layout: Ausstattung links, Bild rechts */
.wohnung-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px 0 40px 0;
}

.wohnung-detail-left {
    flex: 1;
    min-width: 280px;
}

.wohnung-detail-right {
    flex: 1;
    min-width: 280px;
}

.wohnung-detail-right img {
    width: 100%;
    display: block;
}

.wohnung-detail-right img + img {
    margin-top: 20px;
}

/* Schmalere rechte Spalte (z.B. Wohnanlage: ~35%) */
.wohnung-detail--narrow-right .wohnung-detail-left {
    flex: 2;
}

.wohnung-detail--narrow-right .wohnung-detail-right {
    flex: 1;
}

/* Ausstattungs-Blurb: Icon links, Text rechts */
.wohnung-blurb {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
}

.wohnung-blurb-icon {
    flex: 0 0 auto;
    width: 30px;
    text-align: center;
}

.wohnung-blurb-icon .fa {
    font-size: 22px;
    color: #417505;
    line-height: 1;
}

.wohnung-blurb-text {
    flex: 1;
    font-size: 18px;
    font-weight: 200;
    color: #474747;
    line-height: 1.5;
}

/* Preis-Banner: volle Breite, grauer Hintergrund, zentriert */
.wohnung-preise-banner {
    background-color: #417505;
    padding: 50px 0;
    margin-top: 20px;
}

.wohnung-preise-banner h1 {
    text-align: center;
    font-size: 22px;
    line-height: 1.8;
    color: #ffffff;
}

/* Reservierungs-Kontaktblock (innerhalb der linken Spalte) */
.wohnung-kontakt {
    margin-top: 25px;
    padding-top: 15px;
}

.wohnung-kontakt h1 {
    font-size: 22px;
    line-height: 1.5;
    text-align: left;
}

.wohnung-kontakt p {
    font-size: 16px;
}

.wohnung-kontakt a {
    color: #417505;
}

/* Ausflugsziele & Umgebung Section (volle Breite, wiederverwendbar) */
.wohnung-umgebung {
    background-color: rgba(239, 239, 239, 1);
    padding: 40px 0;
    margin-top: 20px;
}

.wohnung-umgebung-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.wohnung-umgebung-item {
    flex: 1;
    min-width: 250px;
}

/* Umgebung-Items mit Rahmen (Karten-Style) */
.wohnung-umgebung--boxed .wohnung-umgebung-item {
    border: 1px solid #ddd;
    padding: 20px;
}

/* Umgebung-Überschrift linksbündig */
.wohnung-umgebung--left-title .section-title h1 {
    text-align: left;
}

.wohnung-umgebung-item h2 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 5px;
}

.wohnung-umgebung-item p {
    font-size: 16px;
    line-height: 1.6;
}

/* Kontaktblock als Grid-Item in der Umgebung-Section */
.wohnung-umgebung-item .wohnung-kontakt {
    margin-top: 0;
    padding-top: 0;
}

/* Ausstattungs-Grid: 4 Spalten (z.B. Europa-Seite) */
.wohnung-ausstattung-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}

.wohnung-ausstattung-col {
    flex: 1;
    min-width: 180px;
}

.wohnung-ausstattung-col ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.wohnung-ausstattung-col ul li {
    font-size: 18px;
    font-weight: 200;
    color: #474747;
    line-height: 2;
}

/* Ausflugsziele-Karten: 3-spaltiges Grid mit Bild + Text */
.ausflugsziele-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px 0 40px 0;
}

.ausflugsziele-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
}

.ausflugsziele-card img {
    width: 100%;
    display: block;
    margin-bottom: 15px;
}

.ausflugsziele-card .section-title h1 {
    font-size: 22px;
    text-align: left;
}

.ausflugsziele-card p {
    font-size: 16px;
    line-height: 1.6;
}

/* Etagen-Grid: 3 Spalten nebeneinander (z.B. Wohnung Cristall) */
.wohnung-etagen-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 20px 0 40px 0;
}

.wohnung-etagen-item {
    flex: 1;
    min-width: 250px;
    border: 1px solid #ddd;
    padding: 20px;
}

.wohnung-etagen-item .section-title h1 {
    font-size: 22px;
}

.wohnung-etagen-item > p {
    font-size: 16px;
    line-height: 1.6;
}

/* Umgebung-Grid: 4-Spalten-Variante */
.wohnung-umgebung-grid--4col .wohnung-umgebung-item {
    min-width: 200px;
}

/* Blurb-Body: Icon links, Titel + Text rechts (für Umgebung-Items) */
.wohnung-blurb-body {
    flex: 1;
}

@media (max-width: 767px) {
    .wohnung-detail {
        flex-direction: column;
    }

    /* Mehrere Bilder in der rechten Spalte nebeneinander auf Mobil */
    .wohnung-detail-right:has(img) {
        display: flex;
        gap: 10px;
    }

    .wohnung-detail-right img {
        flex: 1;
        min-width: 0;
        margin-top: 0 !important;
    }

    .wohnung-preise-banner h1 {
        font-size: 18px;
    }

    .wohnung-umgebung-grid {
        flex-direction: column;
    }

    .wohnung-etagen-grid {
        flex-direction: column;
    }

    .wohnung-ausstattung-grid {
        flex-direction: column;
    }
}

/* Formulare */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    border-radius: 0;
    height: 40px;
    padding: 0 10px;
    box-shadow: none;
    background: #F8F8F8;
    border: 1px solid #B7B7B7;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    width: 100%;
}

textarea {
    height: auto;
    min-height: 120px;
    padding: 10px;
}

select {
    padding: 2px 10px;
}

label {
    font-weight: 200;
}


/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */

.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(65, 117, 5, 0.9) url(../images/cd-top-arrow.svg) no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s 0s, visibility 0s .3s;
    z-index: 9999;
    border-radius: 3px;
}

.cd-top.cd-is-visible {
    visibility: visible;
    opacity: 0.8;
}

.cd-top.cd-fade-out {
    opacity: 0.8;
}

.cd-top:hover {
    background-color: rgba(45, 82, 3, 1);
    opacity: 1;
}

@media only screen and (min-width: 768px) {
    .cd-top {
        right: 20px;
        bottom: 20px;
    }
}

@media only screen and (min-width: 1024px) {
    .cd-top {
        height: 60px;
        width: 60px;
        right: 30px;
        bottom: 30px;
    }
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media only screen and (max-width: 500px) {
    h1 {
        font-size: 35px;
        padding-bottom: 10px;
        line-height: 45px;
    }

    h2 {
        font-size: 30px;
        padding-bottom: 10px;
        line-height: 40px;
    }
}

@media only screen and (max-width: 767px) {
    .adresszeile {
        text-align: center;
    }

    .adresse p {
        text-align: center;
        font-size: 0.85rem;
    }

    .kopf {
        justify-content: center;
        text-align: center;
    }

    .kopf .nav-wrapper {
        display: none;
    }

    .kopf .logo-wrapper img {
        margin: 0 auto;
    }

    .footer-copyright {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* ---- Hilfsklassen ---- */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden-xs {
    display: block;
}

.hidden-lg {
    display: none;
}

@media (max-width: 767px) {
    .hidden-xs {
        display: none;
    }
    .hidden-lg {
        display: block;
    }
}

.chronocredits {
    display: none;
}

[class*="os-gallery-tabs-main-4_"] .osgalery-cat-tabs, [class*="os-gallery-tabs-main-6_"] .osgalery-cat-tabs, [class*="os-gallery-tabs-main-10_"] .osgalery-cat-tabs, [class*="os-gallery-tabs-main-11_"] .osgalery-cat-tabs, [class*="os-gallery-tabs-main-12_"] .osgalery-cat-tabs, [class*="os-gallery-tabs-main-13_"] .osgalery-cat-tabs, [class*="os-gallery-tabs-main-14_"] .osgalery-cat-tabs, [class*="os-gallery-tabs-main-15_"] .osgalery-cat-tabs, [class*="os-gallery-tabs-main-16_"] .osgalery-cat-tabs, [class*="os-gallery-tabs-main-18_"] .osgalery-cat-tabs {
  display: none !important;
}