/* Grundlegende Zurücksetzung */
.sonnenkraft-app,
.sonnenkraft-app *,
.sonnenkraft-app *::before,
.sonnenkraft-app *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --hauptfarbe: #2c933b;
    --hauptfarbe-dunkel: #1f6b2a;
    --hintergrundfarbe: #f4f9f4;
    --textfarbe: #333333;
    --textfarbe-hell: #666666;
    --karten-hintergrund: #ffffff;
    --warnfarbe: #ff9800;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--textfarbe);
    background-color: var(--hintergrundfarbe);
    line-height: 1.6;
}

.behälter {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

/* Kopfzeile */
.kopfzeile {
    background-color: var(--karten-hintergrund);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.kopfzeile .behälter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
}

.markenname {
    color: var(--hauptfarbe);
    font-size: 1.8rem;
    font-weight: 700;
}

.navigation {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--textfarbe);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--hauptfarbe);
}

/* Heldenbereich */
.helden-bereich {
    background: linear-gradient(135deg, rgba(44, 147, 59, 0.9), rgba(31, 107, 42, 0.9)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&q=80') center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.helden-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.helden-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.aktionsknopf {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--warnfarbe);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: transform 0.3s, background-color 0.3s;
}

.aktionsknopf:hover {
    transform: translateY(-3px);
    background-color: #e68a00;
}

/* Artikel Layout */
.artikel-bereich {
    padding: 4rem 0;
}

.artikel-liste {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.vollartikel {
    background: var(--karten-hintergrund);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

.artikel-header {
    margin-bottom: 2rem;
}

.artikel-header h2 {
    font-size: 2.2rem;
    color: var(--hauptfarbe-dunkel);
    margin-bottom: 0.5rem;
}

.lesezeit {
    font-size: 0.95rem;
    color: var(--textfarbe-hell);
}

.artikel-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.artikel-trenner {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(44, 147, 59, 0.3), transparent);
    margin: 1rem 0;
}

/* Fusszeile */
.fusszeile {
    background-color: var(--hauptfarbe-dunkel);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.fusszeilen-inhalt {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.fusszeilen-spalte {
    flex: 1;
    min-width: 250px;
}

.fusszeilen-spalte h3 {
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--hauptfarbe);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.fusszeilen-spalte ul {
    list-style: none;
}

.fusszeilen-spalte ul li {
    margin-bottom: 0.5rem;
}

.fusszeilen-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.fusszeilen-link:hover {
    color: var(--warnfarbe);
    text-decoration: underline;
}

.produkt-hervorhebung {
    padding: 3rem 0;
    margin-top: -3rem;
    /* overlap effect */
    position: relative;
    z-index: 10;
}

.produkt-hervorhebung-karte {
    background-color: var(--karten-hintergrund);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    align-items: center;
    border: 1px solid rgba(44, 147, 59, 0.2);
}

.produkt-bild-container {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.haupt-produkt-bild {
    width: 100%;
    max-width: 350px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.produkt-info {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.produkt-info h3 {
    color: var(--warnfarbe);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.produkt-titel-gross {
    font-size: 1.8rem;
    color: var(--hauptfarbe-dunkel);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.produkt-link-gross {
    display: inline-block;
    background-color: var(--warnfarbe);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
    align-self: flex-start;
}

.produkt-link-gross:hover {
    background-color: #e68a00;
    transform: translateY(-3px);
    text-decoration: none;
    color: white;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    font-size: 0.9rem;
}

/* Modals */
.modal-hintergrund {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-inhalt {
    background-color: white;
    padding: 3rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    animation: popIn 0.3s ease-out;
}

@keyframes popIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-inhalt h2 {
    color: var(--hauptfarbe-dunkel);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--hintergrundfarbe);
    padding-bottom: 0.5rem;
}

.modal-inhalt p {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.modal-schliessen {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--textfarbe-hell);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-schliessen:hover {
    color: #dc3545;
}

/* Responsiv */
@media (max-width: 768px) {
    .helden-text h2 {
        font-size: 2rem;
    }

    .kopfzeile .behälter {
        flex-direction: column;
        gap: 1rem;
    }

    .vollartikel {
        padding: 1.5rem;
    }

    .artikel-header h2 {
        font-size: 1.6rem;
    }

    .produkt-hervorhebung-karte {
        flex-direction: column;
    }

    .produkt-info {
        padding: 1.5rem;
        align-items: center;
        text-align: center;
    }

    .produkt-link-gross {
        align-self: center;
    }
}