/* Allgemeine Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PT serif', serif;
    line-height: 1.6;
    background-color: #ffffff; /* Weißer Hintergrund */
    color: #333;
}

.wrapper {
    max-width: 1200px; /* Übliche Breite */
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
header {
    background-color: white;
    color: #4b5321;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Leichte Schatten für mehr Tiefe */
}

nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Bree serif', serif;
}

.logo {
    width: 300px;
    margin-bottom: 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #4b5321; /* Menüpunkte in Grün */
    text-decoration: none;
    font-size: 1.2rem;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Oberer Rand */ 
.top-bar {
    background-color: #f9f9f9; /* Hintergrundfarbe, passend zur Webseite */
    color: #333; /* Textfarbe */
    padding: 10px 20px; /* Abstand nach innen */
    display: flex;
    justify-content: center; /* Zentrierung der Inhalte */
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
}

.top-contact-info {
    display: flex; /* Flexbox aktivieren */
    align-items: center; /* Icons und Text vertikal zentrieren */
    gap: 15px; /* Abstand zwischen den Elementen */
    flex-wrap: wrap; /* Für mobiles Layout */
}

.top-contact-info img {
    width: 22px; /* Icons auf 22px setzen */
    height: 22px; /* Höhe ebenfalls 22px */
    vertical-align: middle; /* Sicherstellen, dass Icons vertikal zentriert sind */
}

.top-contact-info span, 
.top-contact-info a {
    display: inline-flex; /* Text und Links im Flex-Kontext */
    align-items: center; /* Vertikal zentrieren */
    color: #333; /* Farbe für Text und Links */
    text-decoration: none; /* Links ohne Unterstreichung */
}

.top-contact-info a:hover {
    text-decoration: underline; /* Unterstreichung beim Hover */
}

/* Hero-Bereich */
.hero {
    background: url('img/hero.jpg') no-repeat center center/cover;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.0rem;
	line-height: 4.4rem;
    font-family: 'Bree serif', serif;
}

.hero p {
    font-size: 1.4rem;
    line-height: 2.0rem;
    margin-top: 10px;
    font-weight: 600;
}

.impressum {
    background: url('img/hero.jpg') no-repeat center center/cover;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.impressum h1 {
    font-size: 2.5rem;
    font-family: 'Bree serif', serif;
}

.impressum p {
    font-size: 1.2rem;
    margin-top: 10px;
}

/* Hauptinhalt */
main {
    padding: 20px;
}

section {
    margin-bottom: 120px; /* Mehr Abstand zwischen den Sections */
}

h2 {
    font-family: 'Bree serif', serif;
    color: #4b5321; /* Headlines in Grün */
    font-size: 2.5rem; /* Größere Schrift für die Headlines */
    margin-bottom: 40px; /* Abstand unter den Headlines */
}

h3 {
    font-family: 'Bree serif', serif;
    color: #a95e26; /* Headlines in Grün */
    font-size: 2rem; /* Größere Schrift für die Headlines */
    margin-bottom: 30px; /* Abstand unter den Headlines */
}

a {
	text-decoration:none;
	color: #4b5321;
}

/* Galerie */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 6px; /* Abgerundete Ecken für die Bilder */
}

.gallery img:hover {
    transform: translateY(-10px);
    transition: 0.3s ease-in-out;
}

/* Leistungen */
.service-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.service-card {
    flex: 1;
    background-color: #f9f9f9; /* Hellgrauer Hintergrund geändert auf #f9f9f9 */
    padding: 20px;
    text-align: center;
    border-radius: 6px; /* Abgerundete Ecken */
}

.service-card:hover {
    transform: translateY(-10px);
    transition: 0.3s ease-in-out;
}

.service-card img {
    width: 100px;
    margin-bottom: 10px;
}

.service-card h3 {
    font-family: 'Bree serif', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #a95e26; /* Grüne Headlines */
}

.service-card p {
    font-size: 1rem;
}

/* Kontaktbereich */
#contact {
    background-color: #f9f9f9; /* Hintergrundfarbe auf Hellgrau geändert */
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px; /* Abgerundete Ecken für die Kontaktsektion */
    margin-bottom: 120px;
}

#contact h2 {
    font-family: 'Bree serif', serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #4b5321;
}

/* Kontaktinfo */
.container {
    display: flex; /* Flexbox aktivieren */
    justify-content: center; /* Elemente horizontal zentrieren */
    gap: 30px; /* Abstand zwischen den Items */
    flex-wrap: wrap; /* Umbrechen der Items bei kleinen Bildschirmen */
}

.contact-item {
    background-color: #fff; /* Weiße Boxen für die Kontaktinformationen */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 calc(33.333% - 30px); /* Drei Elemente nebeneinander, minus Lücke */
    max-width: 300px; /* Optional: Maximale Breite für jedes Element */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-item img {
    width: 50px; /* Größere Icons */
    margin-bottom: 20px;
}

.contact-item p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #4b5321; /* Grüne Schrift für die Kontaktinformationen */
}

.contact-item:hover {
    transform: translateY(-10px);
    transition: 0.3s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Items untereinander anordnen */
        gap: 20px; /* Weniger Abstand auf mobilen Geräten */
    }

    .contact-item {
        flex: 1 1 100%; /* Volle Breite für jedes Item auf mobilen Geräten */
        max-width: none; /* Entfernt die maximale Breite */
    }
}

}

/* Kontaktformular (optional) */
.contact-form {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    max-width: 600px;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1.1rem;
}

.contact-form button {
    padding: 15px 30px;
    font-size: 1.1rem;
    background-color: #4b5321;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #3a421a;
}

/* Footer */
footer {
    background-color: #4b5321;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar {
        font-size: 0.9rem; /* Kleinere Schriftgröße für mobile Geräte */
        padding: 8px 15px; /* Weniger Abstand auf mobilen Geräten */
        flex-direction: column; /* Elemente untereinander anordnen */
        text-align: center; /* Textzentrierung auf mobilen Geräten */
    }
	
	.mobile-none{
		display:none;
	}

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .hero {
        height: 300px;
    }

    .hero h1 {
        font-size: 1.3rem;
        line-height: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.4rem;
    }

    .service-cards {
        flex-direction: column;
    }

    .service-card {
        margin-bottom: 20px;
    }
	
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo {
        width: 150px; /* Logo kleiner machen */
        margin-bottom: 10px; /* Weniger Abstand nach unten */
    }
	
	.container > div {
		flex: 1 1 100%; /* Bei kleinen Bildschirmen nehmen die Elemente 100% der Breite ein und brechen um */
	}
}
