/* ---------------------------------- */
/* 1. Globale Konfiguration & Fonts */
/* ---------------------------------- */
:root {
    --primary-color: #004d40; /* Dunkles Türkis/Waldgrün (Seriös) */
    --secondary-color: #8d6e63; /* Sanftes Braun (Erde/Wärme) */
    --accent-color: #ff9800; /* Orange/Kürbis (CTA/Saison) */
    --light-bg: #f5f5f5; /* Heller Hintergrund für Sektionen */
    --header-bg: #ffffff; /* Weißer Header-Hintergrund */
    --footer-bg: #4e342e; /* Dunkelbrauner Footer */
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    transition: background-image 0.5s ease;
}

/* Hintergrundsteuerung durch PHP-Klassen */
.normal-background, .halloween-background {
    background-color: var(--light-bg); /* Hintergrundfarbe als Fallback */
    background-size: cover;
    background-attachment: fixed;
}
.normal-background {
    /* Bitte normal-hintergrund.jpg mit Inhalt hochladen, es hat derzeit 0MB! */
    background: url('bilder/normal-hintergrund.jpg') no-repeat center center fixed;
}
/* KORRIGIERTER PFAD für das Halloween-Bild */
.halloween-background {
    background: url('bilder/diy-halloween-decorations.webp') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
}


main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 50px;
    background-color: #ffffff; 
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1); 
    min-height: 80vh;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--primary-color);
}
h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
}
a {
    color: var(--primary-color);
    text-decoration: none;
}
a:hover {
    color: var(--accent-color);
}

/* ---------------------------------- */
/* 2. Header & Top Bar (Klarer Call-to-Action) */
/* ---------------------------------- */
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
}
.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end; 
    padding: 0 20px;
    font-size: 0.95em;
}
.top-bar-content a {
    color: white;
    font-weight: 600;
    margin-left: 20px;
}
.top-bar-content a:hover {
    color: var(--accent-color);
}


header {
    background: var(--header-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
.logo a {
    color: var(--primary-color);
    font-size: 1.8em;
    font-weight: 800;
}
.seasonal-icon {
    color: var(--accent-color);
    margin-right: 5px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
nav li {
    margin-left: 25px;
}
nav a {
    color: #444;
    text-transform: uppercase;
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.3s;
    border-bottom: 3px solid transparent;
}
nav a:hover, nav a.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
}

/* ---------------------------------- */
/* 3. Laufband (Notification Bar) */
/* ---------------------------------- */
.notification-bar {
    background-color: #ff4500; /* Auffälliges Rot/Orange */
    color: white;
    text-align: center;
    padding: 10px 0;
    font-weight: 700;
    font-size: 1.1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.notification-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.notification-content i {
    margin-right: 10px;
}

/* ---------------------------------- */
/* 4. Hero & CTAs */
/* ---------------------------------- */
.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--light-bg);
    border-bottom: 4px solid var(--secondary-color);
}
.main-headline {
    font-size: 3.5em;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
}
.sub-headline {
    font-size: 1.4em;
    color: #666;
    margin-bottom: 40px;
}
.hero-cta-box {
    margin-top: 30px;
}
.phone-big {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.3s, transform 0.2s;
}
.cta-button:hover {
    background: #e65100;
    transform: translateY(-2px);
}

/* ---------------------------------- */
/* 5. Sektionen & Kacheln (Layout) */
/* ---------------------------------- */
.content-section {
    padding: 40px 0;
    text-align: center;
}
.leistung-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}
.kachel {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    border-top: 6px solid var(--primary-color); 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s;
}
.kachel:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.kachel h3 {
    color: var(--secondary-color);
    font-size: 1.3em;
}

/* Preise */
.price-value {
    font-size: 3.5em;
    font-weight: 800;
    color: var(--accent-color);
}
.abrechnungs-hinweis {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #e8f5e9;
    border-left: 5px solid var(--secondary-color);
    border-radius: 8px;
    text-align: left;
}

/* ---------------------------------- */
/* 6. Über mich (Bilder) */
/* ---------------------------------- */
.about-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.about-text-content {
    flex: 2; 
}

.about-images {
    flex: 1; 
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-image, .dog-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}


/* ---------------------------------- */
/* 7. Footer & Impressum */
/* ---------------------------------- */
footer {
    background: var(--footer-bg);
    color: #f5f5f5;
    padding: 40px 20px 15px;
}
.footer-box h4 {
    color: var(--accent-color);
    font-size: 1.2em;
}
.footer-box a {
    color: #ffcc80;
}
.footer-box a:hover {
    color: white;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 20px;
    text-align: center;
}

/* ---------------------------------- */
/* 8. Responsive Design */
/* ---------------------------------- */
@media (max-width: 900px) {
    .main-headline {
        font-size: 2.5em;
    }
    .header-content, .leistung-grid, .footer-grid, .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    .top-bar-content {
        align-items: center;
    }
    nav ul {
        flex-wrap: wrap;
        margin-top: 15px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 10px;
    }
    nav li {
        margin: 5px 10px;
    }
    .kachel {
        margin-bottom: 15px;
    }
    /* Über mich Anpassung für Mobilgeräte */
    .about-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .about-images {
        flex-direction: row; 
        width: 100%;
        margin-top: 20px;
        justify-content: center;
    }
    .profile-image, .dog-image {
        width: 45%; 
    }
}