/* Global */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #fdf6ec;
    /* warmes Sand */
    color: #1f2937;
    /* dunkles Anthrazit */
}

/* Header/Footer */
header,
footer {
    background-color: #166534;
    /* sattes Dunkelgrün */
    color: #ffffff;
    padding: 2rem;
    text-align: center;
}

footer {
    font-size: 0.9rem;
    margin: 3rem 0 1rem;
}

footer a {
    color: #22c55e;
    /* oder z. B. #22c55e für frisches Grün */
    text-decoration: underline;
}

footer a:hover,
footer a:focus {
    color: #16a34a;
    /* helleres Grün für Hover-Effekt */
}

/* Hauptinhalt */
main {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 1rem;
}

/* Sections */
.section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Abschnittsüberschriften */
h2 {
    margin-top: 0;
    padding-left: 0.75rem;
    border-left: 5px solid #166534;
    /* Dunkelgrün */
    font-size: 1.5rem;
}

/* Fortschrittsanzeige */
.progress-container {
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-bar {
    background: #22c55e;
    /* frisches Grün */
    color: white;
    text-align: center;
    padding: 0.5rem;
    width: 0%;
    transition: width 0.3s ease;
    font-weight: 600;
}

figure {
    text-align: center;
    margin: 2rem auto;
}

figure img {
    max-width: 450px;
    /* maximale Breite des Bildes */
    width: 100%;
    /* skaliert kleiner bei schmalen Viewports */
    height: auto;
    display: inline-block;
}

/* Buttons */
a.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ea580c;
    /* warmes Orange */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin: 0.5rem 0;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

a.button:hover {
    background-color: #c2410c;
    /* dunkleres Orange */
}

/* Karte & iFrame */
iframe {
    border: 0;
    width: 100%;
    border-radius: 8px;
}

/* Listen */
ul {
    padding-left: 1.25rem;
    color: #374151;
}

/* Navigation */
nav {
    margin-top: 1rem;
    text-align: center;
}

.nav {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav li a {
    text-decoration: none;
    font-weight: 600;
    color: #22c55e;
    /* frisches Grün */
    transition: color 0.3s ease;
}

.nav li a:hover {
    color: #16a34a;
    /* dunkleres Grün */
}

/* FAQ Accordion */
.accordion {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #ccc;
}

.accordion-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: none;
    border: none;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    color: #1f2937;
}

.accordion-button::after {
    content: '+';
    color: #166534;
    /* Dunkelgrün */
    margin-left: 1rem;
    font-weight: normal;
}

.accordion-button.active::after {
    content: '-';
}

.accordion-content {
    padding: 0 1rem 1rem;
    display: none;
    color: #374151;
}

.accordion-content.show {
    display: block;
}

/* Standard-Links */
a {
    color: #c2410c;
    /* dunkleres Orange */
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #f97316;
    /* das Original-Orange deiner Buttons */
    outline: none;
}

h3 a {
    text-decoration: none;
    /* entfernt die Unterstreichung */
}

.logo {
    width: 40%;
    height: auto;
    display: block;
    margin: 0 auto;
}

main a {
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.preise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Maximal 2 Spalten */
    gap: 2rem;
    padding: 2rem 0;
}

.preis-block {
    border-radius: 12px;
    padding: 1rem;
    text-align: left;
    background-color: #f9f9f9;
}

.preis-block h3 {
    margin-bottom: 0.75rem;
}

.preis-block .inhalt {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.preis-block img {
    max-width: 240px;
    height: auto;
    flex-shrink: 0;
}

.preis-block p {
    margin: 0;
    line-height: 1.4;
}



/* Mobilanpassung */
@media (max-width: 600px) {
    main {
        margin: 1rem;
        padding: 1rem;
    }

    .logo {
        width: 80%;
        /* z. B. fast volle Breite */
        height: auto;
        max-height: 160px;
        /* anpassen je nach Headerhöhe */
    }

    .section {
        padding: 1.25rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .progress-bar {
        font-size: 0.9rem;
    }

    .nav {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .accordion-button::after {
        margin-left: 0.5rem;
    }

    .preise-grid {
        grid-template-columns: 1fr;
    }

    .preis-block img {
        max-width: 120px;
    }
}