/* preise.style.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f5f5f5;
    color: #333;
}

.headline {
    background-color: #008b00;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    font-size: 2.2rem;
}

.preise-container {
    max-width: 90%;
    margin: 2rem auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #008b00;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.3rem;
    margin-bottom: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

th, td {
    padding: 0.8rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #e0f2f1;
    color: #008b00;
}

ul {
    list-style: none;
    padding-left: 0;
    font-size: larger;
}

ul li::before {
    content: "✔️ ";
    color: #008b00; 
    margin-right: 0.3rem;
    font-size: larger;
}



ul li.two::before {
    content: "❌ ";
    color: #f44336; 
    margin-right: 0.3rem;
    font-size: larger;
}

.back {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
    padding: 0.6rem 1.2rem;
    background-color: #008b00;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.back:hover {
    background-color: #008b00;
}

/* Responsive Design */

/* Mobile Responsive Tabelle */
@media (max-width: 600px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead {
        display: none; /* Kopfzeile ausblenden */
    }

    tr {
        margin-bottom: 1rem;
        border-bottom: 2px solid #ccc;
        padding-bottom: 0.5rem;
    }

    td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border: none;
        border-bottom: 1px solid #ddd;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-left: 0.8rem;
        font-weight: bold;
        text-align: left;
        color: #008b00;
    }
}
/* Extra Small Mobile Tabelle */
@media (max-width: 380px) {
    td {
        padding-left: 40%; /* weniger Platz für Label */
        font-size: 0.9rem; /* kleinere Schrift */
    }

    td::before {
        width: 38%; /* Label schmaler */
        font-size: 0.85rem;
    }

    tr {
        margin-bottom: 1rem;
        padding-bottom: 0.3rem;
    }
}
