/* Grundlayout */
/* body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-bottom: 70px;
   
line-height: 1.6;
background-image: url("img/bg.jpg");
background-size: cover;
background-attachment: fixed;
}*/

body {
    font-family: Arial, sans-serif;
    /*font-size: 1em;*/
    color: #f0f0f0;
    /* heller Text */
    margin: 0;
    padding-bottom: 70px;
    /* Platz für Footer */
    line-height: 1.6;
    background: linear-gradient(rgba(30, 30, 30, 0.4), rgba(30, 30, 30, 0.4)), url("img/bg.jpg");
    background-size: cover;
    /*background-position: fixed;*/
    background-attachment: fixed;
}



/* Tabellen */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;

}

th,
td {
    border: 1px solid #ccc;
    padding: 10px;
}

img {
    max-width: 120px;
}

/* Footer-Navigation */
/*background: #333;*/
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding: 12px 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

/*
.footer-nav a {
    color: white;
    text-decoration: none;
    margin: 5px 10px;
}

.footer-nav a:hover {
    text-decoration: underline;
}
*/
/* Footer-Navigation: farbige Buttons */
.footer-nav a {
    display: inline-block;
    /* macht die Fläche klickbar */
    background-color: #8e878f;
    /* Button-Farbe  #4a90e2;*/
    color: white;
    /* Textfarbe */
    padding: 10px 16px;
    /* Innenabstand */
    border-radius: 10px;
    /* abgerundete Ecken */
    text-decoration: none;
    /* kein Unterstrich */
    font-weight: bold;
    /* besser lesbar */
    min-width: 80px;
    /* quadratischer Look */
    text-align: center;
    /* Text zentrieren */
    margin: 5px;
    /* Abstand zwischen Buttons */
    transition: background 0.2s;
    /* sanfter Hover-Effekt */
}

.footer-nav a:hover {
    /* background-color: #357ab8;
    dunklere Farbe beim Hover */
    background-color:#4e3828/* #2f219d;*/
}

/* Aktiver Navigationsbutton 2b0c37*/
.footer-nav a.active {
    background-color: #6a32a5;
    /* auffällige Farbe */
    color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

.mapslink a {
    color: white;
        text-decoration: none;
    /* kein Unterstrich */
}
.mapslink a:visited {
    color: rgb(189, 164, 164);
        text-decoration: none;
    
    /* kein Unterstrich */
}

 

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding-bottom: 110px;
    }

    .footer-nav1 {
        flex-direction: column;
        padding: 15px 0;
    }


    .footer-nav1 a {
        padding: 14px 20px;
        font-size: 1.1em;
        min-width: 120px;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* zwei Spalten */
        gap: 10px;
        /* Abstand zwischen Buttons */
        justify-items: center;
        margin-top: 10px;
    }

    .footer-nav a {
        width: 100%;
        /* Buttons füllen die Spalte */
        text-align: center;
        padding: 12px 0;
    }

    .footer-nav a.active {

        transform: scale(1.0);
    }

    img {
        max-width: 80px;
    }
}

.download-p a {
    color: white;
    text-decoration: none;
    margin: 5px 10px;
}

.download-p a:hover {
    text-decoration: underline;
}

/* --- Hybrid-Tabelle: Desktop = Tabelle, Mobile = Karten --- */

.hybrid-table {
    width: 96%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-left: 2%;
    margin-right: 2%;
}

.hybrid-table th,
.hybrid-table td {
    /*background: #fafafa;*/
    background-color: rgba(63, 63, 63, 0.747);
    border: 1px solid #ccc;
    padding: 12px;
    text-align: left;
}

.hybrid-table img {
    max-width: 120px;
    border-radius: 6px;
}

/* Bildspalte: Name über dem Bild */
.bildspalte {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.bildspalte img {
    max-width: 120px;
    border-radius: 6px;
}

.bild-name {
    font-weight: bold;
    text-align: center;
    color: #f0f0f0;
}

/* Dauer + Preis in einer Zelle, Desktop-Ansicht
.dauer-preis {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: baseline;
}

.dauer-preis .dauer,
.dauer-preis .preis {
    white-space: nowrap;
    font-weight: bold;
} */

/* --- Mobile Ansicht: Tabelle wird zu Karten --- */
@media (max-width: 700px) {

    .hybrid-table thead {
        display: none;
        /* Kopfzeile ausblenden */
    }

    .hybrid-table,
    .hybrid-table tbody,
    .hybrid-table tr,
    .hybrid-table td {
        display: block;
        width: 98%;
    }

    .hybrid-table tr {
        background: #fafafa;
        /*background: #333;*/
        margin-bottom: 20px;
        padding: 15px;
        border-radius: 8px;
        border: 1px solid #ddd;
    }

    .hybrid-table td {
        background: #fafafa;
        color: #000000;
        border: none;
        padding: 8px 0px;
        padding-right: 15px;
        position: relative;
        margin-right: 18px;
    }

    /* Label links einblenden */
    .hybrid-table td::before {
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 4px;
        color: #444;
    }

    .hybrid-table img {
        max-width: 100%;
    }

    /* Dauer + Preis nebeneinander */
    .hybrid-table td.dauer,
    .hybrid-table td.preis {
        display: inline-flex;
        width: 45%;
        justify-content: center;
        padding: 8px 0;
        background-color: rgba(0, 0, 0, 0.35);
        border-radius: 6px;
        margin-bottom: 8px;
    }

    /* Labels ausblenden */
    .hybrid-table td.dauer::before,
    .hybrid-table td.preis::before {
        display: none;
    }

    /* kleiner Abstand zwischen den beiden */
    .hybrid-table td.dauer {
        margin-right: 4%;
    }

}