* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    background-color: #fdfcfb;
    color: #333;
}

p {
    font-family: 'Abel', sans-serif;
}

h1, h2, h3, li {
    font-family: 'Dynalight', cursive;
    font-weight: normal;
    letter-spacing: 0.05em;
    font-size: 2.5rem;
}

header {
    position: relative;
    background-color: #fff;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Logo SVG */
.logo img {
    width: 125px; /* Größe des Logos anpassen */
    height: auto; /* Seitenverhältnis beibehalten */
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    align-self: center;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #a7c957;
}

/* Slider */
.slider {
    position: relative;
    width: 100%;
    min-height: 400px; /* Mindesthöhe, um genügend Platz für den Hero-Text zu gewährleisten */
    max-height: 600px; /* Maximalhöhe für den Slider */
    overflow: hidden;
}

.slider img {
    width: 100%;
    height: 90vh; /* Höhe auf die volle Höhe des Viewports setzen */
    object-fit: cover; /* Bild immer den gesamten Bereich ausfüllen */
}



/* Styling für die Credits unter dem Slider */
.slider-credit {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/* Styling für die Bildbeschriftung (Untertitel) innerhalb des Sliders */
.slider-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.6); 
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    text-align: center;
    z-index: 10; 
    max-width: 80%;
}

/* Slider-Bilder brauchen relative Positionierung, um Beschriftungen zu halten */
.slider div {
    position: relative;
}



/* Hero-Text */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6); /* Transparenter Hintergrund für Lesbarkeit */
    padding: 30px 40px;
    border-radius: 10px;
    z-index: 10;
    width: 90%; /* Damit der Text bei kleinen Bildschirmen nicht abgeschnitten wird */
    max-width: 800px; /* Begrenzung der maximalen Breite */
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 1.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Mobil-Ansicht */
@media (max-width: 768px) {
    .slider {
        max-height: 400px; /* Kleinere Höhe für mobile Geräte */
    }

    .hero-text {
        padding: 20px;
        font-size: 1.5rem;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
}

/* Bild- und Textblöcke Sektion */
#image-text-section {
    padding: 60px 20px;
}

.image-text-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap; /* Damit die Elemente besser auf kleinen Bildschirmen angepasst werden */
}

.image-text-block .image {
    width: 45%;
}

.image-text-block .image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 600px;
    object-fit: cover;
}

.image-text-block .text {
    width: 45%;
    padding: 20px;
    text-align: left;
}

.image-text-block.reverse {
    flex-direction: row-reverse;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .image-text-block {
        flex-direction: column;
    }

    .image-text-block.reverse {
        flex-direction: column;
    }

    .image-text-block .image,
    .image-text-block .text {
        width: 100%;
        margin-bottom: 20px;
    }

    .image-text-block .image img {
        max-height: 400px;
    }
}

/* Allgemeiner Abschnitt für Sektionen */
section {
    margin-top: 20px; /* Reduzierter Abstand zu anderen Sektionen */
    margin-bottom: 20px; /* Reduzierter Abstand unterhalb der Sektion */
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    color: #a7c957;
    margin-bottom: 40px;
}

/* Service Container */
.service-container {
    display: flex;
    justify-content: space-around;
}

.service-item {
    width: 30%;
    text-align: center;
}

.service-item i {
    font-size: 3rem;
    color: #a7c957;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Galerie */
.gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.gallery-item {
    width: 80%;
    margin-bottom: 20px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Kontaktseite */
/* Kontaktseite */
.contact-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
}

.contact-info,
.map-container,
.email-link {
    margin-bottom: 40px;
    padding: 0 20px; /* Padding hinzugefügt */
}

.contact-info p,
.email-link p {
    font-size: 1.2rem;
}

.contact-info h2,
.map-container h2,
.email-link h2 {
    font-size: 1.5rem;
    color: #a7c957;
    margin-bottom: 10px;
}

/* Google Maps iframe */
.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    border: none;
}

/* Responsive Anpassung */
@media (max-width: 768px) {
    .contact-info,
    .map-container,
    .email-link {
        padding: 0 10px;
    }

    .map-container iframe {
        height: 300px;
    }
}



/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

footer ul li {
    margin: 0 10px;
}

footer ul li a {
    color: #fff;
    font-size: 1.5rem;
}

footer ul li a:hover {
    color: #a7c957;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    .logo img {
        width: 120px;
    }

    .service-container,
    .gallery {
        flex-direction: column;
        align-items: center;
    }

    .service-item,
    .gallery-item {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* Zitat-Sektion */
#flower-quote {
    padding: 80px 20px;
    font-family: 'Dynalight', cursive;
    font-weight: normal;
    background-color: #f4f4f4; /* Sanfter Hintergrund */
    text-align: center;
}

#flower-quote .quote-container {
    max-width: 800px;
    margin: 0 auto;
    color: #333;
}

#flower-quote blockquote {
    font-size: 2.5rem;
    font-family: 'Dynalight', cursive;
    font-weight: normal;
    color: #a7c957; /* Floraler Grünton für das Zitat */
    margin-bottom: 20px;
    quotes: "“" "”" "‘" "’"; /* Stil für die Anführungszeichen */
}

#flower-quote blockquote:before {
    content: open-quote;
    font-size: 2.5rem;
    vertical-align: top;
    color: #a7c957; /* Grünes Anfangs-Anführungszeichen */
}

#flower-quote blockquote:after {
    content: close-quote;
    font-size: 3rem;
    vertical-align: bottom;
    color: #a7c957; /* Grünes End-Anführungszeichen */
}

#flower-quote p {
    font-size: 2.5rem;
    font-family: 'Dynalight', cursive;
    font-weight: normal;
    color: #555; /* Etwas gedämpfterer Ton für den Autor */
    margin-top: 10px;
}

/* Responsive Anpassung für kleinere Bildschirme */
@media (max-width: 768px) {
    #flower-quote blockquote {
        font-size: 1.5rem; /* Kleinere Schriftgröße für mobile Geräte */
    }

    #flower-quote p {
        font-size: 1.2rem;
    }
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-contact, .footer-social {
    width: 45%;
    margin-bottom: 20px;
}

.footer-contact h3, .footer-social h3 {
    font-size: 1.5rem;
    color: #a7c957;
    margin-bottom: 20px;
}

.footer-contact p, .footer-social ul {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-contact a {
    color: #a7c957;
    text-decoration: none;
}

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



/* Impressum Link und Copyright */
.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #a7c957;
    text-decoration: none;
}

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

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-contact, .footer-social {
        width: 100%;
        text-align: center;
    }
}

/* Galerie */
#impressionen {
    padding: 60px 20px;
    text-align: center;
}

#gallery-wedding h2,
#gallery-event h2,
#gallery-funeral h2 {
    text-align: center; /* Zentriert die Überschrift */
    margin-bottom: 20px;
}

.tab-container {
    display: flex;
    justify-content: center; /* Zentriert die Buttons */
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Stil für die Buttons */
.tab-button {
    padding: 10px 20px;
    margin: 5px; /* Verkleinert den Abstand zwischen den Buttons */
    border: none;
    background-color: #a7c957;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tab-button.active {
    background-color: #8bab49;
}

/* Galerie-Styling */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Abstand zwischen den Bildern */
}

.gallery-item {
    width: 30%; /* Breite der Galerie-Items auf Desktop */
    transition: all 0.6s ease; /* Smooth-Transition für Positionswechsel */
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05); /* Leichte Vergrößerung beim Hover */
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .gallery-item {
        width: 45%; /* Breite der Galerie-Items auf Tablets */
    }
}

@media (max-width: 576px) {
    .gallery-item {
        width: 100%; /* Breite der Galerie-Items auf mobilen Geräten */
    }
}

/* Styling für die anklickbaren Service-Items */
.service-item a {
    text-decoration: none; /* Entfernt die Unterstreichung */
    color: inherit;        /* Verwendet die ursprüngliche Textfarbe des Containers */
    display: block;        /* Macht das gesamte `service-item` klickbar */
    transition: color 0.3s ease; /* Optional: sanfte Farbübergänge beim Hover */
}

/* Hover-Effekt für den gesamten Link */
.service-item a:hover {
    color: #a7c957; /* Ändert die Textfarbe beim Hover-Effekt */
}

/* Styling für die Überschrift und den Text innerhalb der Links */
.service-item h3,
.service-item p {
    color: inherit;        /* Beibehaltung der ursprünglichen Textfarbe */
    margin: 10px 0;        /* Optional: fügt etwas Abstand hinzu */
}

/* Optional: Icon Styling */
.service-item i {
    font-size: 2rem;       /* Größe des Icons */
    color: #a7c957;        /* Farbe für das Icon */
}


/* Grundstil für die Service-Items */
.service-container {
    display: flex;
    justify-content: space-between;
}



.service-item.active {
    opacity: 1; /* volle Deckkraft für das aktive Element */
}

.service-item a {
    text-decoration: none;
    color: inherit;
}



/* Galerien verstecken */
.gallery-container {
    display: none;
    align-items: center;
}

.gallery-container.active {
    display: block; /* Zeigt die aktive Galerie an */
}

/* Styling für den Text innerhalb der Galerie */
.gallery-container p {
    text-align: justify; /* Blocksatz */
    line-height: 1.6; /* Erhöht den Zeilenabstand für bessere Lesbarkeit */
    padding: 40px; /* Vergrößerter Abstand zum Rand oben und unten (40px), links und rechts (80px) */
    margin-bottom: 20px; /* Fügt Abstand unter den Absätzen hinzu */
    font-size: 1.1rem; /* Etwas größere Schriftgröße für bessere Lesbarkeit */
    color: #333; /* Eine dunklere Farbe für den Text */
}


/* Styling für die Überschriften in der Galerie */
.gallery-container h2 {
    text-align: center; /* Zentriere die Überschrift */
    margin-top: 40px; /* Abstand oben zur vorherigen Sektion */
    font-size: 2.5rem; /* Größere Schriftgröße für die Überschrift */
    color: #a7c957; /* Grünton passend zur Corporate Identity */
}

/* Optional: Anpassen der Tab-Container für mehr Platz */
.tab-container {
    padding: 20px;
    margin-bottom: 20px;
    text-align: center; /* Tabs zentriert anzeigen */
}


/* Nur auf der Services-Seite ausgegraut */
.service-selector .service-item {
    text-align: center;
    cursor: pointer;
    opacity: 0.5; /* ausgegraut */
    transition: opacity 0.3s ease;
}

.service-selector .service-item.active {
    opacity: 1; /* volle Deckkraft für das aktive Element */
}

/* MENÜ MENÜ MENÜ MENÜ*/

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 900px; /* Beschränkung der Breite für mehr Kontrolle */
    padding: 0 10px; /* Verringere das Padding (Abstand) zu den Seiten */
}

.menu-left,
.menu-right {
    display: flex;
    list-style: none;
}

.menu-left li,
.menu-right li {
    margin: 0 15px;
}

.menu-left a,
.menu-right a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.menu-left a:hover,
.menu-right a:hover {
    color: #a7c957;
}

/* Logo in der Mitte */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    width: 120px; /* Passe die Größe des Logos für Desktop an */
    height: auto;
}

/* Burger-Menü verstecken auf Desktop */
.burger-menu {
    display: none;
}

/* Mobile Menü verstecken */
.mobile-menu {
    display: none;
}

/* Styling für das Burger-Menü */
.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: 0.4s;
}

/* Responsive Styling - Mobilgeräte */
@media (max-width: 768px) {
    /* Hauptmenü wird versteckt */
    .main-nav {
        display: none;
    }

    /* Burger-Menü anzeigen */
    .burger-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
        z-index: 101;
    }

    /* Mobile Logo links klein anzeigen */
    .logo {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%); /* Zentriert das Logo horizontal */
        z-index: 100;
    }

    .logo img {
        width: 80px; /* Kleinere Größe für mobile Geräte */
        height: auto;
    }

    /* Mobile Menü */
    .mobile-menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #fff;
        width: 100%;
        text-align: center;
        z-index: 100;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu ul li {
        margin: 10px 0;
    }

    .mobile-menu ul li a {
        text-decoration: none;
        color: #333;
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
    }

    .mobile-menu ul li a:hover {
        color: #a7c957;
    }
}

/* NEWS NEWS NEWS NEWS NEWS NEWS NEWS NEWS*/

    .news-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
        align-items: center;
    }
    
    .news-item {
        display: flex;
        gap: 20px;
        align-items: center;
    }
    
    .news-image {
        width: 1000px;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .news-content {
        max-width: 600px;
    }
    
    .news-content h1 {
        margin-bottom: 10px;
        font-size: 3.5rem;
        color: #a7c957;
    }

    .news-content h3 {
        margin-bottom: 10px;
        font-size: 1.5rem;
        color: #a7c957;
    }
    
    .news-content p {
        font-size: 1rem;
        line-height: 1.6;
        color: #333;
    }
    
    /* Responsive Anpassung */
    @media (max-width: 768px) {
        .news-item {
            flex-direction: column;
            text-align: center;
        }
    
        .news-image {
            width: 100%;
            height: auto;
        }
    
        .news-content {
            max-width: 100%;
        }
    }
    /* Über uns Section */
    .about-section {
        padding: 60px 20px;
        text-align: center;
        background-color: #f4f4f4;
    }

    .about-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
    }

    .about-content {
        flex: 1;
        padding: 20px;
        max-width: 600px;
    }

    .about-image {
        flex: 1;
        padding: 20px;
        text-align: center;
    }

    .about-image img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
