/* [1] SCHRIFTARTEN - EINGEBETTET */
:root {
    --hero-bg: #e4e1da; /* Beige */
    --main-bg: #FEFAF3; /* Graubeige */
    --title-color: #9C6F4F; /* Gold-Braun */
    --nav-text-color: #59364d; /* Dunkles Violett */
    --footer-color: #f5deb3; /* Sandfarben */
    --header-color: #e4e1da;
}

body {
    background-color: var(--main-bg); 
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: 500;
    overflow-x: hidden !important; /* Wichtig gegen horizontalen Scrollbalken */
}

.text-title-custom {
    color: var(--title-color) !important;
}

.text-secondary-custom {
    color: #6a4430 !important; 
}

.navbar {
    background-color: var(--main-bg) !important; 
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: 700; /* Bold */
}

.h2-custom, .caveat-font {
    font-family: 'Caveat', cursive;
    font-weight: 700;
}

.navbar {
    background-color: var(--header-color) !important; 
    font-family: 'Alegreya Sans Bold', sans-serif;
}

.h2-custom {
    font-family: 'Caveat Bold', sans-serif;
    font-weight: 700;
}

/* ---------------------------------------------------------------- */
/* HEADER / HERO */
/* ---------------------------------------------------------------- */

.header-hero {
    padding: 0; 
    background-color: var(--hero-bg);
    position: relative;
    overflow: hidden;
    min-height: 400px; 
}

/* SVG Welle Styling (UNTERE WELLE) */
.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 105%; 
    margin-left: -0.2em; 
    height: 41px;
    z-index: 10; 
    transform: rotate(179.95deg); 
}

.header-wave svg {
    display: block;
    width: 100%;
    height: auto;
    fill: var(--main-bg); 
    position: absolute;
    bottom: -1px; 
}

.header-wave svg path {
    fill: inherit;
}

/* NEUE LINKSE WELLE */
.header-wave-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 105%;
    height: 120px;
    margin-left: -0.2em;
    z-index: 3;
    pointer-events: none;
}

.header-wave-left svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleY(-1);
    fill: var(--main-bg);
}

.header-wave-left svg path {
    fill: inherit;
}

/* HERO IMAGE (LINKS POSITIONIERT - GLATTE ECKEN) */
.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    overflow: hidden; 
    z-index: 2; 
    background-color: #333; 
    background-image: url('https://feelandlove.de/hero-buddha.jpg'); 
    background-size: cover; 
    background-repeat: no-repeat;
    background-position: 50% 50%; 
    border-radius: 0;
}

/* Text-Container (rechts) */
.header-text-container {
    position: absolute; 
    z-index: 20; 
    text-align: left;
    top: 50%; 
    left: 40%; 
    transform: translateY(-50%);
    width: 60%; 
    padding-left: 2rem;
    font-family: 'Caveat Bold', sans-serif;
}

.header-text-container h1, .header-text-container p {
    margin-left: 20%; 
}

/* Responsive Anpassung */
@media (max-width: 992px) {
    .header-wave {
        position: absolute;
        bottom: -1.5px;
        left: 0;
        width: 105%;
        margin-left: -0.2em;
        height: 47px;
        z-index: 10;
        transform: rotate(179.95deg);
        line-height: 0;
    }

    .header-wave svg {
        display: block;
        width: 100%;
        height: 100%;
        fill: var(--main-bg);
    }

    .hero-image-wrapper {
        width: 100%;
        height: 50%;
        opacity: 0.3; 
        background-position: center center;
        border-radius: 0;
    }

    .header-text-container {
        width: 100%;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
        padding-left: 0;
        box-sizing: border-box;
    }
}

.hero-subtitle-size {
    font-size: 3.5rem !important; 
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.hero-title-size {
    font-size: 6.5rem !important;
    line-height: 1.1;
}

.page-wrapper {
    overflow-x: hidden;
    position: relative;
}

/* ==================================================================== */
/* MOBILE OPTIMIERUNG (Max-Width 992px) */
/* ==================================================================== */
@media (max-width: 992px) {
    .hero-image-wrapper {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        opacity: 0.25;
    }

    .header-text-container {
        position: relative;
        width: 100%;
        left: 0;
        transform: none;
        padding: 1.5rem;
        box-sizing: border-box;
        text-align: center;
    }

    .header-hero {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 420px;
    }

    .header-text-container h1, .header-text-container p {
        margin-left: 0; 
        text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
        color: #333 !important;
    }
    
    .header-text-container h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle-size {
        font-size: 1.5rem;
    }

    .header-text-container .lead {
        font-size: 1rem;
    }

    h2, h3, h4 {
        line-height: 1.2;
    }
}

/* ---------------------------------------------------------------- */
/* NICHT-STARTSEITE FALLBACK */
/* ---------------------------------------------------------------- */
.header-fallback {
    background-color: var(--hero-bg);
    padding: 3rem 0;
    text-align: center;
}

/* Footer Farben */
.bg-footer-custom {
    background-color: var(--footer-color) !important;
    color: var(--nav-text-color) !important;
} 

/* ==================================================================== */
/* MOBILE OPTIMIERUNG (Max-Width 992px) - Wichtig für Scrollen! */
/* ==================================================================== */
@media (max-width: 992px) {
    .header-wave, .header-wave-left {
        width: 100%; 
        margin-left: 0;
    }
    
    .header-hero {
        min-height: 350px;
    }

    .hero-image-wrapper {
        width: 100%;
        height: 50%;
        opacity: 0.25;
        border-radius: 0;
    }

    .header-text-container {
        width: 100%;
        left: 0;
        top: 0;
        transform: none;
        padding-top: 150px;
        padding-left: 0;
        text-align: center;
    }

    .header-text-container h1, .header-text-container p {
        margin-left: 0; 
        text-shadow: 1px 1px 2px rgba(0,0,0,0.4); 
        color: #333 !important; 
    }
    
    .header-text-container h1 {
        font-size: 3.5rem !important;
    }

    .hero-subtitle-size {
        font-size: 1.8rem !important;
    }

    .header-text-container .lead {
        font-size: 1rem;
    }
}

/* CSS für den Disclaimer Modal */
.modal-content {
    border-radius: 10px;
}

.modal-body {
    font-size: 1rem;
    color: #333;
}