/* Components.css - Komponenten-spezifische Stile */

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    color: #2c3e50;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background-color: white;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

/* Getreide-Karten Grid */
.getreide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.getreide-karte {
    background-color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Allgemeine Textformatierung für Karten */
.getreide-karte * {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.getreide-karte .getreide-bild {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.getreide-karte:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--highlight-color);
}

.getreide-karte h3 {
    color: var(--secondary-color);
    font-size: 1.6rem;
    margin: 1rem 0;
    font-weight: 600;
}

.getreide-karte .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.getreide-karte p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 400;
}

.getreide-karte .produkte {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #eee;
}

.getreide-karte .produkte h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.getreide-karte .produkte p {
    font-size: 1rem;
    line-height: 1.5;
}

.getreide-karte .naehrwerte {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.naehrwert-balken {
    background-color: #f0f0f0;
    height: 8px;
    border-radius: 4px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.naehrwert-balken .fuellstand {
    height: 100%;
    background-color: var(--success-color);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Vorteile-Liste */
.vorteile-liste li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.vorteile-liste li::before {
    content: "✨";
    position: absolute;
    left: 0;
}

/* Anbau-Schritte */
.anbau-schritte {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.schritt {
    text-align: center;
    padding: 1rem;
    background-color: #f0f9ff;
    border-radius: 10px;
}

/* Buttons */
button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:hover {
    background-color: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Extra Info Bereich */
.extra-info {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.extra-info h3 {
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
    font-size: 1.6rem;
}

/* Neue Komponenten für Gesundheitsinformationen */
.gesundheit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.gesundheit-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--highlight-color);
}

.gesundheit-box h4 {
    color: var(--highlight-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.naehrwert-liste {
    list-style: none;
    margin: 1rem 0;
}

.naehrwert-liste li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.naehrwert-label {
    font-weight: bold;
    color: var(--text-color);
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 0.8rem;
    }

    .getreide-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 0 1rem;
    }

    .getreide-karte {
        padding: 1.2rem;
    }

    .getreide-karte h3 {
        font-size: 1.4rem;
    }

    .getreide-karte p {
        font-size: 1.05rem;
        line-height: 1.6;
        -webkit-text-size-adjust: 100%;
    }

    .getreide-karte .icon {
        font-size: 2rem;
    }

    .getreide-karte .produkte h4 {
        font-size: 1.1rem;
    }

    .getreide-karte .naehrwerte {
        font-size: 0.95rem;
    }
}
