/* --- 1. Reset & Globale Grundlagen --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}


/* --- 2. Typografie --- */
h1 {
    font-size: clamp(82px, 18vw, 120px);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    padding-left: 5px;
}

h2 {
    font-size: clamp(50px, 10vw, 70px);
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 20px;
    color: #eeeeee;
    padding-left: 5px;
    text-align: left;
    z-index: 11;
}

h3 {
    font-size: clamp(42px, 8vw, 60px);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: left;
    padding-left: 5px;
}

h4 {
    font-size: clamp(30px, 7vw, 50px);
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 8px;
    color: #eeeeee;
    padding-left: 5px;
    text-align: left;
    z-index: 11;
}


h5 {
    font-size: clamp(22px, 6vw, 40px);
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 8px;
    color: #eeeeee;
    padding-left: 5px;
    text-align: left;
    z-index: 11;
}

p {
    font-size: clamp(14px, 5vw, 24px);
    z-index: 100;
    text-align: left;
    padding-left: 10px;
}

ul {
    font-size: clamp(14px, 5vw, 24px);
    z-index: 100;
    text-align: left;
    padding-left: 10px;
}


.page2 {
    color: aliceblue;
    padding-left: 2px;
}

/* --- 4. Button --- */
.btn_weiter {
    display: block !important;
    clear: both !important;
    text-align: center;
    margin-top: 40px;
    margin-left: 10px;
    position: relative;
    z-index: 10;
background: linear-gradient(to bottom, #f6f4f492, #493a3adc);
    border-radius: 10px;
    padding:10px;
    border: 1px solid #eeeeee;

}

.btn_weiter a {
text-decoration: none;
color: #ece6e6ab;
font-size: 22px;
font-weight: 700;
}

/* --- 5. Logo & Video --- */
.logo-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 80px;
    z-index: 10;
    text-decoration: none;
}

.logo-top-left img {
    display: block;
    max-width: 100%;
}

.section1 {
    position: relative;
    overflow: hidden;
}

.video-bg-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    z-index: 0;
}

/* --- 6. Sektionen Standard (Fixes Flexbox-Verhalten) --- */
.section1, 
.unsere-werte1, 
.unsere-werte2,  
.pure-community1, 
.pure-guetesiegel1, 
.ueber-mich1, 
.ueber-mich2 {
    width: 100%;
    background-color: #000000;
    height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column; /* Wichtig: Verhindert das Nebeneinanderquetschen */
    align-items: flex-start;     /* Horizontal zentrieren */
    justify-content: flex-start; /* Startet oben */
    text-align: left;
    padding: 160px 20px 20px 20px;
    box-sizing: border-box;
}

/* --- 7. Sektionen mit variablem Inhalt (wachsend) --- */
.ueber-mich2, 
.pure-community2, 
.section3, 
.pure-guetesiegel2,
.pure-guetesiegel3 {
    width: 100%;
    background-color: #06021fe3;
    min-height: 100dvh;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    padding: 60px 20px 20px 20px;
    box-sizing: border-box;
}

.section3 p {
    font-size: clamp(18px, 2.4vw, 26px);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 16px;
    padding-left: 5px;
}




.image-caption
{
font-size: 14px;
}

.ce-textpic {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1px;
    box-sizing: border-box;
}

/* Standard: Bild rechts, Text fließt links (für größere Bildschirme) */
.ce-textpic .ce-gallery {
    width: 100%; 
    margin-left: 4px;
    margin-bottom: 5px;
}

.ce-textpic .ce-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.ce-textpic .ce-bodytext {
    text-align: left;
}

.ce-textpic::after {
    content: "";
    display: table;
    clear: both;
}




.unsere-werte3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Erzwingt exakt 2 Spalten */
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Einzelne Werte-Karte */
.unsere-werte3 > div {
    background: #12033b;
    padding: 30px 4px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-top: 3px solid #d5dae0; /* Dezenter Farbakzent oben */
}


.unsere-werte3 h3 {
    font-size: 1.2rem;
    padding: 0 5px 0 5px;
    color: #ebe6e6;
}

.unsere-werte3 span {
    display: block;
    font-size: 0.95rem;
    color: #d1c2c2;
    line-height: 1.5;
    padding: 0 5px;
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    /* Sektionen von 100vh auf automatische Höhe umschalten, damit nichts abgeschnitten wird */
    .section1, 
    .unsere-werte1, 
    .unsere-werte2,  
    .pure-community1, 
    .pure-guetesiegel1, 
    .ueber-mich1, 
    .ueber-mich2,
    .ueber-mich2, 
    .pure-community2, 
    .section3, 
    .pure-guetesiegel2,
    .pure-guetesiegel3 {
        height: auto;
        min-height: 100dvh;
        padding-top: 40px;
        padding-bottom: 40px;
        align-items: center; /* Zentriert den Inhalt horizontal in Flexbox-Sektionen */
        text-align: center;
    }

    /* Alle Überschriften und Texte zentrieren */
    h1, h2, h3, h4, h5, p, ul {
        text-align: center !important;
        padding-left: 0 !important; /* Entfernt das linke Padding für perfekte Symmetrie */
    }

    /* Überschriften verkleinern, um Überläufe im Querformat zu verhindern */
    h1 {
        font-size: clamp(36px, 10vw, 60px);
        margin-bottom: 15px;
    }

    h2 {
        font-size: clamp(28px, 8vw, 45px);
        margin-bottom: 12px;
    }

    h3 {
        font-size: clamp(24px, 7vw, 38px);
        margin-bottom: 10px;
    }

    h4 {
        font-size: clamp(20px, 6vw, 30px);
        margin-bottom: 6px;
    }

    h5 {
        font-size: clamp(18px, 5vw, 24px);
        margin-bottom: 6px;
    }

    /* Abstände für Fließtext und Buttons straffen */
    p, ul {
        font-size: clamp(13px, 3vw, 16px);
    }

    .btn_weiter {
        margin-top: 20px;
        margin-left: 0;
        padding: 6px 12px;
    }

    .btn_weiter a {
        font-size: 16px;
    }

    /* Grid für Werte im Querformat auf eine Spalte reduzieren */
    .unsere-werte3 {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 10px;
        text-align: center;
    }
}


/* --- Tablets (ab 768px) --- */
@media screen and (min-width: 768px) {
    /* Sektionen im Standard-Zustand wieder auf volle Bildschirmhöhe setzen */
    .section1, 
    .unsere-werte1, 
    .unsere-werte2,  
    .pure-community1, 
    .pure-guetesiegel1, 
    .ueber-mich1, 
    .ueber-mich2 {
        height: 100vh;
        height: 100dvh;
        padding: 160px 40px 40px 40px;
        align-items: flex-start;
        text-align: left;
    }

    /* Standard-Sektionen mit variablem Inhalt anpassen */
    .ueber-mich2, 
    .pure-community2, 
    .section3, 
    .pure-guetesiegel2,
    .pure-guetesiegel3 {
        padding: 80px 40px 40px 40px;
        align-items: center;
        text-align: center;
    }

    /* Werte-Grid auf dem Tablet komfortabler gestalten */
    .unsere-werte3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 40px;
    }
}

/* --- Kleinere Desktops / Laptops (ab 1024px) --- */
@media screen and (min-width: 1024px) {
    /* Optional: Mehr Raum für Inhalte auf größeren Screens */
    .ce-textpic {
        max-width: 1000px;
    }

    .unsere-werte3 {
        max-width: 1000px;
    }
}

/* --- Große Desktops (ab 1200px) --- */
@media screen and (min-width: 1200px) {
    /* Maximale Breiten für Text- und Grid-Elemente begrenzen, damit Zeilen nicht zu lang werden */
    .ce-textpic {
        max-width: 1100px;
    }

    .unsere-werte3 {
        max-width: 1100px;
        gap: 40px;
    }
}