body {
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
	overflow-x: hidden;
    /* --- KORREKTUR FÜR STICKY FOOTER --- */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* -------------------------------------- */
}

/* ---------------------------------------------------------------- */
/* --- NEUE HEADER-STRUKTUR (Desktop) --- */
/* ---------------------------------------------------------------- */

.top-header-white {
    /* 200px Höhe, weiße Farbe */
    height: 200px;
    background-color: white;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.header-content-inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.header-logo-section {
    flex-shrink: 0;
    margin-right: auto;
}

.header-logo {
    height: 150px;
    height: auto;
}

.header-contact-section {
    /* Kontaktdaten zentriert */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: left;
    flex-grow: 1;
    color: black;
}

.header-contact-section p {
    margin: 3px 0;
    font-size: 1.1em;
}

/* NEUE REGELN FÜR KLICKBARE KONTAKTLINKS */
.header-contact-section a {
    color: inherit; /* Vererbt die Farbe des Elternelements (schwarz) */
    text-decoration: none; /* Entfernt die Unterstreichung */
    transition: color 0.3s ease; /* Fügt eine sanfte Farbänderung hinzu */
}

.header-contact-section a:hover,
.header-contact-section a:active {
    color: #fbc00c; /* Gelber Hover-Effekt wie im Menü */
    text-decoration: none;
}
/* ENDE NEUE REGELN */

.bottom-header-dark {
    /* Desktop-Stil */
    height: 55px;
    background-color: #333333;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

/* Navigation Anpassungen */
.banner-nav-section {
    height: 100%;
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: transparent;
}

/* Desktop Navigation (Basis-Stil) */
.main-nav { 
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    justify-content: center;
}

/* Desktop Nav ist standardmäßig flex, Mobile Nav ist standardmäßig block/fixed */
.desktop-nav {
    display: flex;
}

/* Mobile Off-Canvas Menü auf Desktop ausblenden */
.mobile-offcanvas-menu {
    display: none; 
}


.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.main-nav a {
    display: block;
    text-decoration: none;
    color: #ecf0f1;
    padding: 15px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
	flex-shrink: 0;
    font-size: 1.1rem;
}

.main-nav a:hover {
    background-color: #000000;
	color: #fbc00c;
}


.hamburger-menu {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 45px;
    height: 7px;
    background-color: #333333;
    margin: 7px 0;
}

/* ---------------------------------------------------------------- */
/* --- INHALTSBEREICH & SLIDESHOW-LOGIK --- */
/* ---------------------------------------------------------------- */

.full-width-section-odd, .full-width-section-even {
    width: 100%;
    padding: 0;
	overflow: hidden;
    position: relative; /* Wichtig: Ermöglicht Slideshow-Positionierung */
    min-height: 400px; /* Mindesthöhe, falls der Text sehr kurz ist */
}

.full-width-section-odd {
    background-color: #ededed;
}

.full-width-section-even {
    background-color: white;
}

/* Slideshow-Container nur im ersten Element vorhanden */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Begrenzt auf die Höhe des Textinhalts */
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

/* Styles für die einzelnen Bilder der Slideshow */
.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
	filter: brightness(0.5) grayscale(0.2);
    transform: scale(1.0);
    animation: zoomEffect 7s linear infinite alternate;
}

.slideshow-image.active {
    opacity: 1;
}

/* Animation für den Zoom-Effekt */
@keyframes zoomEffect {
    0% {
        transform: scale(1.0);
    }
    100% {
        transform: scale(1.05);
    }
}


.box-row {
    display: flex;
    justify-content: center;
    gap: 0px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
	padding: 20px 15px;
	box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.5s, transform 0.5s;
    position: relative; /* Wichtig, damit die Box über der Slideshow liegt */
    z-index: 5;
}

.box-0001 {
    /* Volle Breite für den Text innerhalb der 1200px */
    flex: 1 1 100%;
    max-width: 100%;
    background-color: transparent;
    color: #161616; /* Standardtextfarbe (Schwarz) */
    padding: 0;
    text-align: justify;
    box-sizing: border-box;
    position: relative;
    min-height: 360px;
	margin: 50px auto 50px auto; /* Standard-Margin 50px für alle Boxen */
}

/* Spezifische Regel für die erste Box (mit der Klasse main-content im Elternelement) */
.main-content .full-width-section-odd:first-child .box-0001,
.main-content .full-width-section-even:first-child .box-0001 {
    margin: 150px auto 150px auto; /* Margin 150px für die erste Box */
}

/* NEU: Schriftfarbe für ungerade Sektionen auf Weiß setzen (überschreibt Standard) */
.full-width-section-odd .box-0001,
.full-width-section-odd .box-0001 p {
    color: white;
}

/* Inhalt über der Slideshow (Textlesbarkeit!) */
.content-wrapper-over-slideshow {
    position: relative;
    z-index: 10;
    /* HINTERGRUND UND SCHATTEN ENTFERNT (Transparent) */
    background-color: transparent;
    padding: 20px;
    border-radius: 5px;
    box-shadow: none;
}

.box-0001 p {
	text-align: left;
	font-size: 1.3em;
}

.box-0001 h1 {
	text-align: left;
	font-size: 1.8em;
}


/* Animation Keyframes (unverändert) */
@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.is-visible {
    animation: slideInLeft 1.2s ease-out forwards;
    opacity: 1;
}

.full-width-section-even .is-visible {
    animation: slideInRight 1.2s ease-out forwards;
    opacity: 1;
}

/* --- Social Media Box (Desktop) --- */
.social-media-box {
    position: fixed;
    left: 0;
    top: 550px;
    transform: translateY(-50%);
    /* Anpassung an Kreationen.net-Stil: Dunkle Leiste */
    background-color: #333333;
    border: none;
    padding: 10px 10px 10px 0; /* Links an den Rand */
    border-radius: 0 5px 5px 0;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.social-media-box a {
    display: block;
    color: white; /* Text Farbe auf Weiß setzen */
    font-size: 1.1rem; 
    padding: 8px 10px 8px 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    margin: 5px 0;
    border-radius: 0 5px 5px 0;
}

/* Hover-Farben entsprechend der Social Media-Markenfarben */
.social-media-box a[href*="facebook.com"]:hover {
    background-color: #3b5998; /* Facebook Blau */
    color: white;
}

.social-media-box a[href*="instagram.com"]:hover {
    /* Instagram Pink/Magenta */
    background-color: #C32AA3; 
    color: white;
}
.social-media-box a:hover {
    color: white;
}


/* ---------------------------------------------------------------- */
/* --- KORRIGIERTE STYLES FÜR SERVICES.PHP (TEXT SICHTBARKEIT FIX) --- */
/* ---------------------------------------------------------------- */

.services-container {
    display: flex;
    max-width: 1200px;
    margin: 50px auto 50px auto;
    gap: 0px;
    padding: 0 15px;
    box-sizing: border-box;
}

.services-intro-text {
    width: 100%;
    max-width: 1200px;
    margin: 50px auto 30px auto;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: left;
    color: #161616;
}

.services-intro-text h1 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.services-intro-text p {
    font-size: 1.3em;
    margin: 0;
}

.service-box-link {
    flex: 1;
    text-decoration: none;
    display: block; 
    box-shadow: none;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    min-height: 550px;
    position: relative;
}

.services-container > .service-box-link:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.services-container > .service-box-link:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.service-box-link:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.service-box {
    position: absolute;
	top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    box-sizing: border-box;
    z-index: 2;
    /* Hintergrund-Image wird hier entfernt und in ::before verschoben */
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background-image: var(--bg-url);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    /* Grau/Filter ist hier standardmäßig aktiv */
    filter: grayscale(100%) brightness(0.65); 
    transition: filter 0.5s ease, background-position 0.5s ease;
    z-index: 1;
}


/* Hover-Effekt auf dem Pseudo-Element */
.service-box-link:hover .service-box::before {
    /* Beim Hovern Filter zurücksetzen, um Farbe und Helligkeit zu zeigen */
    filter: grayscale(0%) brightness(0.9); 
}

/* Hintergrundpositionen für die Pseudo-Elemente definieren */
.service-box-left::before {
    background-position: left center;
}

.service-box-right::before {
    background-position: right center;
}
/* --- ENDE PSEUDO-ELEMENT --- */

.service-box-link h1 {
    color: white;
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 3; /* Sollte immer über dem Hintergrund (z-index 1) liegen */
}

.service-box-link p {
    color: #eee;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
    position: relative;
    z-index: 3; /* Sollte immer über dem Hintergrund (z-index 1) liegen */
}


/* ---------------------------------------------------------------- */
/* --- STYLES FÜR IMPRESSUM UND DATENSCHUTZ (legal-text-wrapper) --- */
/* ---------------------------------------------------------------- */

.legal-text-wrapper {
    /* Setzt die maximale Breite für den Lesekomfort (zentriert den Textblock) */
    max-width: 1000px; 
    width: 100%;
    margin: 10px auto 60px auto; /* Abstand nach oben/unten */
    padding: 0 20px;
    box-sizing: border-box;
}


.legal-content h1 {
    /* Größerer, klarer Haupttitel */
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.legal-content a {
	color: black;
	text-decoration: none;
}

.legal-content a:hover{
	text-decoration: underline;
}

.legal-content h2 {
    /* Überschrift für Abschnitte */
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #555;
}

.legal-content p, .legal-content li {
    /* Standardtext */
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.legal-content hr {
    /* Stil für die Trennlinie zwischen Datenbankeinträgen */
    border: none;
    border-top: 1px solid #ccc;
    margin: 40px 0;
}

.footer-legal {
    width: 100%;
    background-color: #2c3e50; /* Sehr dunkles Grau/Anthrazit */
    color: #ecf0f1; /* Helle Textfarbe */
    padding: 15px 50px; /* Vertikaler und horizontaler Abstand */
    text-align: center;
    box-sizing: border-box;
    margin-top: 40px; /* Abstand zum Inhalt darüber */
    font-size: 1.1em;
	flex-shrink: 0;
}

.footer-legal a {
    color: #ecf0f1;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #b82758; /* Hover-Farbe passend zu deinem aktuellen Design */
    text-decoration: underline;
}

.footer-legal .separator {
    color: #7f8c8d; /* Trenner in einem etwas helleren Grau */
    margin: 0 5px;
}

/* ---------------------------------------------------------------- */
/* MEDIA QUERIES */
/* ---------------------------------------------------------------- */


@media (min-width: 1001px) {
    .full-width-section-even .box-row {
        flex-direction: row-reverse;
    }
}

@media (max-width: 1000px) {
    /* NEUE KORREKTUR FÜR ZU GROSSE SCHRIFTARTEN AUF UNTERSEITEN (Index-Seite ist OK) */
    .main-content {
        font-size: 2rem; 
    }
    
    /* --- HEADER-ANPASSUNG FÜR MOBILE --- */

    .top-header-white {
        height: auto;
        padding: 15px 0;
        display: block;
    }

    .header-content-inner {
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
    }

    .header-logo-section {
        margin: 0 0 10px 0;
    }
	
	/* LOGO BREITE AUF WUNSCH DES BENUTZERS: 500px */
    .header-logo {
        width: 90%; 
        height: auto;
		margin-left: 10%;
    }

    .header-contact-section {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .header-contact-section p {
        font-size: 5vw;
        margin: 5px 0;
    }

    /* FIX: Die Link-Styles müssen hier überschrieben werden, da die Schriftgröße größer ist */
    .header-contact-section a {
        font-size: 5vw; 
    }

    /* FIX: Entfernt den leeren Bereich des main-banner div und des Desktop-Menüs in der mobilen Ansicht */
    .bottom-header-dark,
    .desktop-nav {
        display: none !important; 
    }
    
    /* Mobile Off-Canvas Menü einblenden (war auf Desktop auf 'none' gesetzt) */
    .mobile-offcanvas-menu {
        display: block !important;
    }

    .hamburger-menu {
        display: block;
        top: 5px;
        left: 10px;
    }

    /* SLIDESHOW MOBILE ANPASSUNG */
    .full-width-section-odd, .full-width-section-even {
        min-height: 250px; /* Kleinere Mindesthöhe für Mobile */
    }

    .box-row {
        padding: 10px 15px;
    }

    .content-wrapper-over-slideshow {
        padding: 15px;
    }

    .social-media-box {
        position: static;
        top: 380px; 
        left: 0;
        right: 0;
        transform: none; 
        z-index: 900;
        display: flex; 
        justify-content: center; 
        gap: 15px;
        background-color: #333333; 
        border: none;
        padding: 5px 0;
        max-height: 90px; 
        box-sizing: border-box;
        border-radius: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
        font-size: initial;
    }

    .social-media-box a {
        min-width: 80px;
        display: block;
        padding: 8px 12px;
        text-align: center;
        text-decoration: none;
        color: white;
        font-size: 6vw; 
        transition: background-color 0.3s ease, color 0.3s ease;
        border-radius: 5px;
    }

    .social-media-box a[href*="facebook.com"]:hover {
        background-color: #3b5998; /* Facebook Blau */
        color: white;
    }

    .social-media-box a[href*="instagram.com"]:hover {
        /* Instagram Pink/Magenta */
        background-color: #C32AA3; 
        color: white;
    }

    .social-media-box a:hover {
        color: white;
    }
    
    /* --- Mobile Anpassungen für Impressum --- */
    .legal-text-wrapper {
        margin: 0px auto;
        padding: 0 15px;
    }

    .legal-content h1 {
        font-size: 1.5rem;
    }

    .legal-content h2 {
        font-size: 1.4rem;
    }

    .legal-content p, .legal-content li {
        font-size: 1.2rem;
    }
	
	
	.footer-legal {
        padding: 20px 15px;
        font-size: 1.5rem; /* Größere Schrift auf Mobilgeräten */
        margin-top: 20px;
    }

    /* --- MOBILES OFF-CANVAS MENÜ --- */
    .banner-nav-section {
        height: auto;
        padding: 0;
    }
	
    body.menu-active {
        overflow: hidden;
    }

    .main-nav.mobile-offcanvas-menu {
        flex-direction: column;
        width: 80%; 
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        background-color: #333333; /* Dunkler Hintergrund für das Menü */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
        transition: transform 400ms cubic-bezier(.9, 0, .33, 1);
        z-index: 1000;
        transform: translateX(-100%);
        padding-top: 35px; 
    }

    .main-nav.mobile-offcanvas-menu.active {
        transform: translateX(0);
    }
    
    .main-nav.mobile-offcanvas-menu ul {
        display: flex; 
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding-left: 40px;
    }

    .main-nav.mobile-offcanvas-menu ul a {
        font-size: 5vw; 
        padding: 20px 20px;
        box-sizing: border-box; 
    }

    .box-row {
        transform: translateX(0) !important;
        opacity: 1 !important;
    }

    .is-visible {
        animation: none !important;
    }

    .main-content {
        margin-top: 0px;
    }

    .close-btn {
        display: block;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1002;
    }

    .close-btn span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: white;
        margin: 5px 0;
        transition: all 0.3s ease-in-out;
    }

    .close-btn span:first-child {
        transform: rotate(45deg) translate(0px, 5px);
    }

    .close-btn span:last-child {
        transform: rotate(-45deg) translate(0px, -6px);
    }

    .box-row {
        flex-direction: column;
        gap: 0;
    }

    .box-0001 {
        max-width: 100%;
        height: auto;
        margin: 50px auto 50px auto; /* Margin 50px für alle Boxen auf Mobile */
        padding: 0; /* Padding im Content-Wrapper */
    }
	
	.box-0001 h1 {
        font-size: 1.5rem;
    }

    .box-0001 p {
        font-size: 1.2rem;
    }
    
    /* Mobile Anpassungen für Services */
    .services-container {
        flex-direction: column; /* Stapeln in der mobilen Ansicht */
        gap: 40px;
        margin: 40px auto;
    }
	
	.services-container > .service-box-link:first-child {
    border-radius: 0;
    border-radius: 0;
	}

	.services-container > .service-box-link:last-child {
    border-radius: 0;
    border-radius: 0;
	}

    .service-box-link {
        min-height: 350px;
    }

    .service-box-left,
    .service-box-right {
        background-position: center center !important;
		background-repeat: no-repeat;
		background-size: cover;
    }
    
    /* WICHTIG: Die Position muss auf dem Pseudo-Element korrigiert werden */
    .service-box-left::before {
        background-position: center center !important;
    }
    
    .service-box-right::before {
        background-position: center center !important;
    }

    .service-box-link h1 {
        font-size: 7vw;
    }

    .service-box-link p {
        font-size: 1.2rem;
		background-color: rgba(0,0,0,.7);
		padding: 5px;
		text-align: justify;
    }

	.services-intro-text {
        margin: 40px auto 20px auto; /* 40px oben, 20px unten auf Mobile */
    }

    .services-intro-text h1 {
        font-size: 1.5rem;
    }

    .services-intro-text p {
        font-size: 1.2rem;
    }
    
    /* NEUE REGEL: Platzhalter für die fixierte Social Media Box auf dem ersten Inhaltsabschnitt */
    .full-width-section-odd:first-of-type,
    .full-width-section-even:first-of-type {
        /* 40px Höhe der Social Media Box + etwas Puffer */
        margin-top: 50px !important; 
    }

    /* WICHTIG: Überschreibe die 150px Margin-Regel für die erste Box auf Mobile */
    .main-content .full-width-section-odd:first-child .box-0001,
    .main-content .full-width-section-even:first-child .box-0001 {
        /* Setze dies auf den normalen mobilen Wert zurück, da der Abstand jetzt am Elternelement erfolgt */
        margin: 50px auto 50px auto; 
    }
}

/* --- HINZUFÜGEN SIE DIESE NEUE REGEL FÜR DEN STICKY FOOTER --- */
.main-content {
    flex-grow: 1; 
}
/* ------------------------------------------------------------- */