:root {
    --primary-color: #2ecc71;
    --secondary-color: #f1c40f;
    --accent-color: #e67e22;
    --text-color: #2c3e50;
    --light-bg: #f9f9f9;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
}

header {
    
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    text-align: center;
}

nav {
    background-color: #f4f4f4;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.producer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.producer-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.producer-card:hover {
    transform: translateY(-5px);
}

.producer-image {
    width: 100%;
    height: 200px;
    background: #ddd;
    object-fit: cover;
}

.producer-content {
    padding: 1.5rem;
}

.certification-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.cert-icon {
    width: 40px;
    height: 40px;
    background: var(--light-bg); 
    border-radius: 50%;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #27ae60;
}

footer {
    background-color: var(--text-color);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}
.hero {
    text-align: center; /* Zentriert den Text und die Inhalte innerhalb der Hero-Sektion */
    padding: 20px;     /* Innenabstand für die Hero-Sektion */
}

.hero img {
    border-radius: 15px; /* Rundet die Ecken des Bildes */
    max-width: 30%;     /* Stellt sicher, dass das Bild nicht über den Container hinausgeht */
    height: auto;        /* Erhält das Seitenverhältnis des Bildes */
    margin: 20px auto;   /* Zentriert das Bild horizontal und fügt oben und unten Abstand hinzu */
}
.newest-producers {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
