:root {
    --primary: #2e5a27;       /* Dunkles Waldgrün */
    --primary-light: #4a823f; /* Frisches Blattgrün */
    --accent: #f4f7f2;        /* Sanftes Salbeigrau für Hintergründe */
    --text: #2c352b;          /* Dunkles Anthrazit-Grün für beste Lesbarkeit */
    --text-muted: #5f6d5d;
    --white: #ffffff;
    --border: #dce5d8;
    --radius: 12px;
    --shadow: 0 8px 24px rgba(30, 50, 25, 0.08);
}

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

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--accent);
    color: var(--text);
    line-height: 1.65;
}

/* Kopfbereich & Navigation */
.topbar {
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.85rem;
    padding: 8px 20px;
    text-align: center;
    letter-spacing: 0.5px;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.brand {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.2s ease;
}

nav a:hover {
    background-color: var(--accent);
    color: var(--primary);
}

nav a.active {
    background-color: var(--primary);
    color: var(--white);
}

/* Hauptcontainer */
main {
    max-width: 1100px;
    margin: 35px auto;
    padding: 0 20px;
}

/* Hero-Banner auf der Startseite */
.hero {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    margin-bottom: 40px;
}

.hero-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    background-color: var(--border);
}

.hero-content {
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 15px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 2rem;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 15px;
}

h2 {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

p {
    margin-bottom: 16px;
    color: var(--text);
}

/* Karten & Grid-Systeme */
.card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.img-box {
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.img-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background-color: var(--border);
}

.img-caption {
    padding: 12px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

/* Buttons & Tabs */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    width: fit-content;
}

.btn:hover {
    background-color: var(--primary-light);
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--text);
}

.btn-secondary:hover {
    background-color: var(--border);
}

.sub-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.sub-tabs a {
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    background-color: var(--white);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.sub-tabs a.active {
    background-color: var(--primary);
    color: var(--white);
}

/* Ausstattungs-Tags */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0 30px 0;
}

.feature-tag {
    background-color: var(--accent);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Preise */
.price-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary);
}

.price-highlight {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0 20px 0;
}

.price-highlight span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
}

.clean-list {
    list-style: none;
    margin-bottom: 20px;
}

.clean-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--accent);
}

.clean-list li::before {
    content: "✓ ";
    color: var(--primary-light);
    font-weight: bold;
    margin-right: 6px;
}

/* Formular */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text);
}

input, select, textarea {
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #fafcfa;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
}

/* Footer */
footer {
    background-color: var(--white);
    border-top: 1px solid var(--border);
    padding: 30px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 50px;
}

footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-content {
        padding: 30px 25px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
}
