/* Einbindung der Schriftarten Atteron und cocomat-pro-bold */
@font-face {
    font-family: 'Atteron';
    src: url('fonts/Atteron.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'cocomat-pro-bold';
    src: url('fonts/cocomat-pro-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Cocomat-Light-trial';
    src: url('fonts/Cocomat-Light-trial.ttf') format('truetype');
}


@font-face {
    font-family: 'Holland';
    src: url('fonts/Holland.ttf') format('truetype');
}

@font-face {
    font-family: 'Thesignature';
    src: url('fonts/Thesignature.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DancingScript-VariableFont_wght';
    src: url('fonts/DancingScript-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


/* Stil für die Bildsektion ohne weißen Hintergrund */
.image-section {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background-color: transparent;
}

/* Stil für Willkommensbild */
.image-welcome {
    display: block; /* Sicherstellen, dass das Bild zentriert werden kann */
    margin: 0 auto; /* Horizontales Zentrieren */
    width: 60%;
    height: auto; /* Seitenverhältnis beibehalten */
    padding: 20px 0; /* Optionaler Abstand oben und unten */
    background-color: transparent; /* Hintergrund bleibt transparent */
}


/* Bildstil für quadratische Form und Fokus */
.featured-image {
    width: 90%;
    max-width: 900px;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.notification {
    position: relative;
    margin-top: 10px;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.notification.hidden {
    display: none;
}

.notification.error {
    background-color: #f44336;
}

.close-btn {
    cursor: pointer;
    font-size: 20px;
    line-height: 20px;
}

/* Allgemeine Stile */
body {
    font-family: 'cocomat-pro-bold', sans-serif;
    margin: 0;
    padding: 0;
    background-color: transparent;
    color: #333;
    line-height: 1.8;
    padding-top: 70px;
}

h1, h2, h3 {
    color: #5a2a27;
}

h2 {
    font-size: 30px;
}

h3 {
    font-size: 21px;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

main {
    padding-top: 60px;
}


/* Entferne die Trennlinie im nav-Element */
header nav {
    border-bottom: none;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 80px;
    margin-right: 10px;
}

header .logo span {
    font-size: 36px;
    color: #5a2a27;
    font-family: 'Atteron', sans-serif;
}

header nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'cocomat-pro-bold', sans-serif;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    color: #001C4D;
    text-decoration: none;
    font-size: 22px;
}

header nav ul li a:hover {
    color: #7a3d3a;
    text-decoration: underline;
}

/* Sektionen */
.section {
    max-width: 1000px;
    margin: 20px auto;
    padding: 10px 20px 20px;
    background-color: rgba(255, 255, 255, 0.80);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-lesstransparent {
    max-width: 1000px;
    margin: 20px auto;
    padding: 10px 20px 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Zeilenabstand für Listen */
ul, ol {
    line-height: 1.8;
}

/* Karte */
.map-container {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Kontaktformular */
form {
    margin-top: 20px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #9bbac6;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    padding: 10px 20px;
    background-color: #5a2a27;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #7a3d3a;
}


/* Hintergrundstile für verschiedene Seiten */
.kontakt, .ueber-mich, .ablauf-kosten, .leistungen, .impressum, .datenschutz {
    background-image: url('images/body-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.index{
    background-image: url('images/Backgroundindexq.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.systemische-therapie-detail{
    background-image: url('images/systemische-therapie-detail-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.paarberatung-detail {
    background-image: url('images/paarberatung-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.familientherapie-detail {
    background-image: url('images/erzb-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.erziehungsberatung-detail {
    background-image: url('images/erzb-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Container für das Bild */
.image-container {
    text-align: center;
    margin-bottom: 20px;
}

body, html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Stil für das Bild über die gesamte Breite der Sektion */
.section-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.section-image1m {
    display: none; /* Macht das Bild block-level (notwendig für margin auto) */
    width: 90%; /* Reduziert die Breite auf 70% des Containers */
    max-width: 100%; /* Verhindert, dass das Bild größer wird als sein Container */
    height: auto; /* Beibehaltung des Seitenverhältnisses */
    margin: 20px auto; /* Zentriert das Bild horizontal */
    border-radius: 5px; /* Optional: Abgerundete Ecken */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schatten für das Bild */
	
}

.section-image2 {
    display: block; /* Macht das Bild block-level (notwendig für margin auto) */
    width: 100%; /* Reduziert die Breite auf 70% des Containers */
    max-width: 100%; /* Verhindert, dass das Bild größer wird als sein Container */
    height: auto; /* Beibehaltung des Seitenverhältnisses */
    margin: 20px auto; /* Zentriert das Bild horizontal */
	margin-top: 2px;
    border-radius: 5px; /* Optional: Abgerundete Ecken */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schatten für das Bild */
}

/* Stil für "Mehr..."-Links als normale Text-Links */
.more-link {
    color: #5a2a27;
    text-decoration: underline;
    margin-left: 20px;
}

.more-link:hover {
    color: #7a3d3a;
    text-decoration: none;
}


.indented-text {
    margin-left: 20px;
}

/* Stile für den "Mehr..." Button */
.more-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #5a2a27;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Cocomat Light-trial', sans-serif;
}

.more-button:hover {
    background-color: #7a3d3a;
}

/* Haupt-Container für Flexbox */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    background-color: #5a2a27;
    color: #f4f1eb;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-links {
    margin-top: 10px;
    text-align: center;
}

.footer-links a {
    color: #f4f1eb;
    font-size: 0.9em;
    text-decoration: none;
    margin: 0 5px;
}

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

/* Standard-Header-Styling */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-image: url('images/header-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 2px solid #5a2a27;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
    margin-left: auto;
    padding-right: 40px;
}

.nav-links ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links ul li {
    margin: 0 10px;
}

.nav-links a {
    color: #001C4D;
    text-decoration: none;
    font-size: 22px;
}

/* Burger-Menü-Icon (standardmäßig ausgeblendet für Desktop) */
.menu-toggle {
    display: none;
}



/* Mobile Ansicht */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Standardmäßig für Mobile ausgeblendet */
        flex-direction: column;
        position: absolute;
        top: 100px;
        right: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 1);
		background-image: url('images/burgerback.png'); /* Hintergrundbild */
        padding: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
        z-index: 1001;
    }


    .nav-links.active {
        display: flex; /* Navigation wird sichtbar */
    }

    .nav-links ul {
        flex-direction: column; /* Vertikale Anordnung für Mobile */
        align-items: center;
    }

    .nav-links ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block; /* Auf mobilen Geräten sichtbar */
        font-size: 40px;
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 80px;
        color: #5a2a27;
        z-index: 1002;
    }
	
	.menu-toggle.active {
    content: "✖"; /* Das X wird durch JavaScript hinzugefügt */
}

    .logo span {
        display: none; /* Optional: Nur das Logo ohne Text auf mobilen Geräten anzeigen */
    }
}

/* Neu */

.content-section {
    max-width: 1100px;
    margin: 20px auto;
    padding: 10px 20px 20px;
    background-color: rgba(255, 255, 255, 0.80);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);

}

.content-section-welcome {
    max-width: 1500px;
    margin: 20px auto;
    padding: 10px 20px 20px;
    background-color: rgba(255, 255, 255, 0.80);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);

}

.content {
    display: flex; /* Nebeneinander anordnen */
    align-items: center; /* Vertikal zentrieren (optional) */
    justify-content: space-between; /* Platz gleichmäßig verteilen */
    gap: 20px; /* Abstand zwischen Text und Bild */
    padding: 20px; /* Optional: Abstand um den Container */
}

.content2 {
    display: flex; /* Nebeneinander anordnen */
    align-items: center; /* Vertikal zentrieren (optional) */
    justify-content: space-between; /* Platz gleichmäßig verteilen */
    gap: 100px; /* Abstand zwischen Text und Bild */
    padding: 20px; /* Optional: Abstand um den Container */
}

.image2 {
    flex: 1; /* Nimmt 50% der Breite ein */
    max-width: 100%; /* Begrenzung auf 50% */
	display: block; /* Vermeidet unerwünschte Abstände um das Bild */
}

.text {
    flex: 1; /* Nimmt 50% der Breite ein */
    max-width: 50%; /* Begrenzung auf 50% */
}

.text1 {
    flex: 1; /* Nimmt 50% der Breite ein */
    max-width: 50%; /* Begrenzung auf 50% */
}

.image {
	display: block; /* Vermeidet unerwünschte Abstände um das Bild */
    flex: 1; /* Nimmt 50% der Breite ein */
    max-width: 50%; /* Begrenzung auf 50% */
	box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
	
}

.image img {
    width: 100%; /* Passt das Bild an die Breite des Containers an */
    height: auto; /* Beibehaltung des Seitenverhältnisses */
	display: block; /* Vermeidet unerwünschte Abstände um das Bild */

}

@media (max-width: 768px) {
    .content {
        flex-direction: column; /* Ändert die Anordnung auf vertikal */
        align-items: center; /* Zentriert die Inhalte */
    }

    .text, .image {
        max-width: 100%; /* Beide Elemente nehmen die volle Breite ein */
    }

    .image img {
		/* order: -1; */ /* Bild wird vor dem Text angezeigt */
        max-width: 100%;
    }
	
	    .content2 {
        flex-direction: column; /* Ändert die Anordnung auf vertikal */
        align-items: center; /* Zentriert die Inhalte */
    }

    .text1, .image2 {
        max-width: 100%; /* Beide Elemente nehmen die volle Breite ein */
    }

    .image2 img {
		order: -1; /* Bild wird vor dem Text angezeigt */
        max-width: 100%;
    }

}


/* Vollbreite Text und Qualifikationen */
.full-width-text {
    width: 100%; /* Nimmt die gesamte Seitenbreite ein */
}

.full-width-text p {
    margin-bottom: 20px; /* Abstand zwischen Absätzen */
}

.full-width-text ul {
    list-style: disc; /* Standard-Stil für Listenpunkte */
    margin-left: 20px; /* Abstand vom linken Rand */
    line-height: 1.8; /* Bessere Lesbarkeit */
}

.center-text {
    text-align: center; /* Zentriert den Text horizontal */
}

.custom-paragraph-center {
    font-size: 42px;
    color: #495e72;
    line-height: 1.6;
    margin-top: 1px;
	margin-bottom: 1px;
	font-family: 'DancingScript-VariableFont_wght'
}

.custom-paragraph-center2 {
    font-size: 36px;
    color: #495e72;
    line-height: 1.6;
    margin-top: 1px;
	margin-bottom: 1px;
	font-family: 'DancingScript-VariableFont_wght'
}

.custom-heading-welcome {
    font-size: 48px; /* Schriftgröße in Pixeln */
	margin-bottom: 3px;
	font-family: 'Atteron'
}

.text-section-welcome {
	/* text-align: justify; /* Text im Blocksatz ausrichten */
    font-size: 22px; /* Vergrößert die Schriftgröße */
    line-height: 1.8; /* Optional: Abstand zwischen Zeilen */
}

@media (max-width: 768px) {
	.custom-heading-welcome {
		font-size: 26px; /* Schriftgröße in Pixeln */
	}
	
	.custom-paragraph-center {
    font-size: 28px;
    color: #495e72;
    line-height: 1.6;
    margin-top: 1px;
	margin-bottom: 1px;
	font-family: 'DancingScript-VariableFont_wght'
}

.custom-paragraph-center2 {
    font-size: 20px;
    color: #495e72;
    line-height: 1.6;
    margin-top: 1px;
	margin-bottom: 1px;
	font-family: 'DancingScript-VariableFont_wght'
}
	
.text-section-welcome {
	/* text-align: justify; /* Text im Blocksatz ausrichten */
    font-size: 22px; /* Vergrößert die Schriftgröße */
    line-height: 1.8; /* Optional: Abstand zwischen Zeilen */
	margin-bottom: 1px;
}
	
	.content2 {
    display: flex; /* Nebeneinander anordnen */
    align-items: center; /* Vertikal zentrieren (optional) */
    justify-content: space-between; /* Platz gleichmäßig verteilen */
    gap: 10px; /* Abstand zwischen Text und Bild */
    padding: 20px; /* Optional: Abstand um den Container */
	}
	

	.section-image1m {
		display: block; /* Macht das Bild block-level (notwendig für margin auto) */
		width: 90%; /* Reduziert die Breite auf 70% des Containers */
		max-width: 100%; /* Verhindert, dass das Bild größer wird als sein Container */
		height: auto; /* Beibehaltung des Seitenverhältnisses */
		margin: 20px auto; /* Zentriert das Bild horizontal */
		border-radius: 5px; /* Optional: Abgerundete Ecken */
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schatten für das Bild */
	}
}