.galerie-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px;
}

.galerie-container a {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.galerie-container a:hover {
    transform: scale(1.05);
}

.galerie-container img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.dokumente-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 20px;
}

.doc-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    background: #f0f0f0;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: background 0.3s ease-in-out;
}

.doc-item:hover {
    background: #ddd;
}

.fancybox__content {
    width: 90% !important;
    height: 90vh !important; /* 90% der Bildschirmhöhe */
    max-width: 1000px;
    max-height: 90vh;
}

.fancybox__iframe {
    width: 100% !important;
    height: 90vh !important;
}


.angebote-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.angebot {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    cursor: pointer;
}

.angebot:hover {
    transform: scale(1.05);
}

.angebot-img {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
}

.angebot-info {
    padding: 15px;
}

.angebot h3 {
    margin: 0 0 10px;
    color: #333;
}

.preis {
    font-size: 1.4em;
    font-weight: bold;
    color: #e63946;
    margin: 5px 0;
}

.einheit {
    font-size: 0.9em;
    color: #777;
}

.angebot-info p {
    margin: 5px 0;
    color: #555;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 60%;
    max-width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
}


.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
}


.table-container {
    width: 90%;
    max-width: 800px;
    overflow-x: auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

th {
    background-color: #2e3842;
    color: white !important;
}

tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 600px) {
    th, td {
        padding: 8px;
    }
}