/* Globale Definitionen und Reset */
:root {
    --dark-blue: #002b4d;
    --primary-pink: #D93B89;
    --secondary-yellow: #FFC300;
    --text-color: #f1f1f1;
    --text-dark: #333;
    --box-padding: 30px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--dark-blue);
    line-height: 1.6;
}

a {
    color: var(--secondary-yellow);
    text-decoration: none;
}

h1, h2 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h2 {
    font-size: 2.5rem;
}

ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

ul li {
    padding: 5px 0;
}


/* --- HEADER & NAVIGATION --- */
.main-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--dark-blue);
    position: relative;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
	width: 100%;
	min-width: 200px;
	height: 100%;
	min-height:200px;
	background-image: url('./img/logo01.jpg');
	background-size: contain;
	background-position: center;
    background-repeat: no-repeat;
}

.logo-icon {
    margin-bottom: 5px;
}

.main-header h1 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin: 0;
}

/* Burger-Menü auf Desktop verstecken */
.menu-toggle {
    display: none; 
}

/* --- HERO SECTION --- */
.hero-section {
    background-size: cover;
    background-position: center right;
    padding: 150px 5%;
    color: var(--text-dark);
    position: relative;
    display: flex;
    justify-content: flex-start; /* Text-Box links positionieren */
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
}

.heart-badge {
    position: absolute;
	display: block;
	width:40%;
	min-width: 100px;
	height:40%;
	min-height: 100px;
    top: -200px;
    right: -25%;
    background: url(./img/positive_energie_seit_2011.png);
	background-size: contain;
	background-repeat: no-repeat;
}

.hero-section .text-box {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 5px;
    max-width: 500px;
}

.hero-section h2 {
    color: var(--primary-pink);
    font-size: 3rem;
}

.signature {
	font-family: "Mr Dafoe";
    /*font-style: italic;	
    font-weight: 600;*/
	font-size: 2rem;
    margin-top: 15px;
}

/* --- CONTENT SECTIONS --- */
.content-section {
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    min-height: 665px; /* Für bessere Sichtbarkeit der Backgrounds */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative; /* Für die Reverse-Layouts */
}

.dark-bg {
    background-color: var(--dark-blue);
    color: var(--text-color);
}

.pink-bg {
    background-color: #3b0a2c; /* Dunklerer Pink-Ton für Kontrast */
    color: var(--text-color);
}

.light-bg {
    background-color: #1a3250; /* Dunkelblauer Hintergrund für Tiere-Sektion */
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: center;
}

.content-text {
    flex: 2; /* Nimmt mehr Platz ein */
}

.appointment-box {
    flex: 1; /* Nimmt weniger Platz ein */
    padding: var(--box-padding);
    background-color: var(--primary-pink);
    color: white;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    min-width: 250px;
    max-height: 160px;
    z-index: 10;
}

.appointment-box a {
    color: white;
}

/* Layout Umkehrung für Sektionen mit Bild rechts */
.reverse-layout {
    flex-direction: row-reverse;
}

/* --- KEY NOTE SPEAKER SECTION --- */
.key-note-section {
    padding: 80px 5% 0 5%; /* Unten weniger Padding, da Bilder auslaufen */
}

.speaker-layout {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* Spalte für Bild, Text, Box/Bild */
    grid-template-rows: auto auto;
    gap: 20px;
    align-items: flex-end; /* Bilder und Text unten ausrichten */
}

.speaker-portrait {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.key-note-section .content-text {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    align-self: flex-start;
}

.keynote-box {
    grid-column: 2 / 3;
    grid-row: 3 / 3;
    width: 80%;
    justify-self: center;
	margin-bottom: 20px;
	
}

.full-body-shot {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.speaker-full-body {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: #000;
}

.footer-links a {
    color: var(--text-color);
    margin: 0 15px;
    font-size: 0.9rem;
}

footer p {
    margin-top: 15px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ==================================== */
/* RESPONSIVE DESIGN           */
/* ==================================== */

@media (max-width: 900px) {
    /* Allgemeine Anpassungen für Tablets und kleinere Desktops */
    .hero-section {
        padding: 100px 5%;
    }

    .hero-section h2 {
        font-size: 2.5rem;
    }

    /* Haupsektionen werden einspaltig */
    .container {
        flex-direction: column;
        gap: 30px;
    }

    .reverse-layout {
        flex-direction: column; /* Auch die umgekehrten Sektionen auf Mobile umkehren */
    }

    .content-text, .appointment-box {
        flex: auto;
        width: 100%; /* Die Blöcke nehmen die volle Breite ein */
    }

    /* Key Note Speaker: Anpassung des Grids */
    .speaker-layout {
        display: flex;
        flex-direction: column; /* Alles untereinander */
        align-items: center;
    }

    .speaker-portrait, .speaker-full-body {
        max-width: 60%; /* Bilder etwas verkleinern */
        height: auto;
    }

    .speaker-portrait {
        order: 1; /* Portrait oben */
    }
    
    .key-note-section .content-text {
        order: 2; /* Text in der Mitte */
    }
    
    .keynote-box {
        order: 3; /* Box folgt */
        width: 100%;
    }

    .full-body-shot {
        order: 4; /* Ganzkörperbild unten */
        max-width: 60%;
    }
}

@media (max-width: 600px) {
    /* Spezielle Anpassungen für Smartphones */
    .main-header h1 {
        font-size: 1rem;
        text-align: center;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-section .text-box {
        max-width: 100%; /* Text-Box nimmt volle Breite ein */
        padding: 20px;
    }

    .heart-badge {
        position: absolute; /* Badge oben über dem Text */
        margin-bottom: 10px;
        transform: none;
		top: -130px;
		right: -10px;
		width: 25%;
		height: 25%;
		
    }
}

#impressum, #datenschutz {
	display: none;
	position: fixed;
	top: 20px;
	left: 25%;
	z-index: 999;
	width: 50%;
	height: 80%;
	color: var(--text-color);
    background-color: var(--dark-blue);
	margin-left: auto;
	margin-right: auto;
	padding: 15px;
	border: 2px solid var(--text-color);
}
.xcontent {
	width: 100%;
	height: 100%;
	overflow: auto;
}

