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

body {
    font-family: Arial, sans-serif; /* Standard-Schriftart, anpassen wenn Google Fonts genutzt werden */
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4; /* Leichter Hintergrund */
}

/* Top Bar */
.top-bar {
    background-color: #2c3e50; /* Dunkelblau, basierend auf dem Screenshot */
    color: white;
    padding: 10px 0;
    font-size: 0.9em;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-container input {
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    margin-right: 5px;
    background-color: #fff; /* Hintergrund des Suchfeldes weiß */
}

.search-container button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1em;
}

/* Main Navigation */
.main-nav {
    background-color: #ffffff; /* Weißer Hintergrund */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 50px; /* Höhe des Logos anpassen */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px; /* Abstand zwischen den Menüpunkten */
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #4CAF50; /* Grüne Farbe für den Hover-Effekt wie im Bild */
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
    width: 100%;
    left: 0;
    background: #4CAF50; /* Grüne Farbe für den aktiven Link */
}

.nav-icons a {
    text-decoration: none;
    color: #555;
    font-size: 1.4em;
    margin-left: 20px;
}

/* Hero Section (Bild des Mannes im Stall) */
.hero-section {
    width: 100%;
    overflow: hidden; /* Sicherstellen, dass nichts überläuft */
    background-color: #e0e0e0; /* Hintergrundfarbe, falls Bild nicht sofort lädt */
}

.hero-image-container {
    max-width: 1200px; /* Max-Breite wie der Rest des Inhalts */
    margin: 20px auto 0 auto; /* Abstand nach oben */
    display: block;
    width: 100%; /* Bild soll volle Breite des Containers einnehmen */
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Leichte Abrundung der Ecken */
}

/* Content Section (MANTSCHA MÜCH Textblock) */
.content-section {
    padding: 40px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.text-block h1 {
    font-size: 3em; /* Große Überschrift */
    color: #2c3e50; /* Dunkelblau, passend zur Top-Bar */
    margin-bottom: 10px;
    letter-spacing: 2px; /* Etwas mehr Zeichenabstand */
}

.text-block p {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.contact-button {
    background-color: #007bff; /* Blau, wie im Screenshot */
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #0056b3; /* Dunkleres Blau beim Hover */
}

/* Responsives Design */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }

    .search-container {
        margin-top: 10px;
    }

    .nav-content {
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
        gap: 15px;
    }

    .nav-icons {
        margin-top: 15px;
    }

    .text-block h1 {
        font-size: 2em;
    }

    .text-block p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 10px;
    }

    .contact-button {
        padding: 10px 20px;
        font-size: 1em;
    }
}