/* Allgemeine Layout-Regeln */
body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-family: Tahoma, sans-serif;
    color: rgba(0, 0, 0, 0.8);
}
/* --------------------------------------------------------------- */
/* ------------------------- Kopfbereich ------------------------- */
/* --------------------------------------------------------------- */
.header-image {
    width: 100%;
    height: auto;
    display: block;
}
/* --------------------------------------------------------------- */
/* ---------------------------- MENÜ ----------------------------- */
/* --------------------------------------------------------------- */
/* --------------------- Navigationsleiste ------------------------*/
/* --------------------------------------------------------------- */
nav {
    background-color: #f0f0f0;
    font-family: Tahoma, sans-serif;
}

ul.menu {
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    background-color: #f0f0f0;
    box-sizing: border-box;
}

    ul.menu > li {
        position: relative;
    }

        ul.menu > li > a {
            display: block;
            padding: 15px 20px;
            text-decoration: none;
            color: rgba(0, 0, 0, 0.8);
            font-weight: bold;
        }

    ul.menu li:hover {
        background-color: #ddd;
    }
/* --------------------------------------------------------------- */
/* -------------------------- Untermenü -------------------------- */
/* --------------------------------------------------------------- */
ul.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    list-style-type: none;
    margin: 0;
    padding: 0;
    min-width: 180px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

    ul.submenu li a {
        display: block;
        padding: 10px 15px;
        text-decoration: none;
        color: rgba(0, 0, 0, 0.8);
    }

        ul.submenu li a:hover {
            background-color: #eeeeee;
        }

/* ----------------- Hover aktiviert Untermenü ------------------- */
ul.menu > li:hover .submenu {
    display: block;
}
/* ENDE - MENÜ */
/* --------------------------------------------------------------- */
/* --------------------------- MENÜ 2 ---------------------------- */
/* --------------------------------------------------------------- */
/* --------------------- Navigationsleiste ----------------------- */
/* --------------------------------------------------------------- */
nav2 {
    background-color: #ffd0ff;
    font-family: Tahoma, sans-serif;
}

ul.menu2 {
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    background-color: #ffd0ff;
    box-sizing: border-box;
}

    ul.menu2 > li {
        position: relative;
    }

        ul.menu2 > li > a {
            display: block;
            padding: 15px 20px;
            text-decoration: none;
            color: rgba(0, 0, 0, 0.8);
            font-weight: bold;
        }

    ul.menu2 li:hover {
        background-color: #dad;
    }
/* --------------------------------------------------------------- */
/* -------------------------- Untermenü -------------------------- */
/* --------------------------------------------------------------- */
ul.submenu2 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    list-style-type: none;
    margin: 0;
    padding: 0;
    min-width: 180px;
    box-shadow: 0px 2px 5px rgba(1, 0, 0, 0.2);
    z-index: 1000;
}

    ul.submenu2 li a {
        display: block;
        padding: 10px 15px;
        text-decoration: none;
        color: rgba(0, 0, 0, 0.8);
    }

        ul.submenu2 li a:hover {
            background-color: #eeeeee;
        }

/* Hover aktiviert Untermenü */
ul.menu2 > li:hover .submenu2 {
    display: block;
}
/* ENDE - UNTERMENÜ */
/* --------------------------------------------------------------- */
/* ----------------------- Haupt-Slideshow ----------------------- */
/* --------------------------------------------------------------- */
.slideshow {
    width: 100%;
    position: relative;
    overflow: hidden;
}

    .slideshow .slide {
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

    .slideshow .active {
        opacity: 1;
        position: relative;
    }
/* --------------------------------------------------------------- */
/* ------------------ Slideshow für linke Seite ------------------ */
/* --------------------------------------------------------------- */
.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 1s ease-in-out;
}

    .slides a {
        flex: 1 0 100%;
    }

    .slides img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Dots */
.dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

    .dots span {
        display: block;
        width: 12px;
        height: 12px;
        background: rgba(255,255,255,0.6);
        border-radius: 50%;
        cursor: pointer;
    }

        .dots span.active {
            background: rgba(255,255,255,1);
        }
/* --------------------------------------------------------------- */
/* ------------------ Aktuelle Positionsanzeige ------------------ */
/* --------------------------------------------------------------- */
.url-anzeige {
    justify-content: left;
    padding: 0.1%;
    background-color: #f0f0f0;
    width: 100%;
}

    .url-anzeige a {
        text-decoration: none;
        color: rgba(0, 0, 0, 0.8);
        font-size: 120%;
    }
/* --------------------------------------------------------------- */
/* -------------------- Einspaltiger Bereich --------------------- */
/* --------------------------------------------------------------- */
.einspaltig {
    width: 100%;
    padding: 2%;
    box-sizing: border-box;
    background-color: white;
}
/* --------------------------------------------------------------- */
/* -------------------- Zweispaltiger Bereich -------------------- */
/* --------------------------------------------------------------- */
.two-columns {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-color: white;
}

.left-column, .right-column {
    width: 50%;
    padding: 1%;
    box-sizing: border-box;
    background-color: white;
}

.one-column {
    width: 100%;
    padding: 2%;
    box-sizing: border-box;
    background-color: white;
}

.impressum-column {
    width: 60%;
    padding: 0.1%;
    box-sizing: border-box;
    background-color: white;
}

.responsive-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}
/* --------------------------------------------------------------- */
/* ----------------------- Flexbox Bereich ----------------------- */
/* --------------------------------------------------------------- */
.row {
    display: flex;
    justify-content: flex-start;
}

.label {
    width: 220px; /* wirkt wie ein Tabstopp */
    font-weight: bold;
}

.value {
    flex: 1;
}
/* --------------------------------------------------------------- */
/* -------------------- Dreispaltiger Bereich -------------------- */
/* --------------------------------------------------------------- */
.dreispaltig {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background-color: white;
}

.links-column, .mitte-column, .rechts-column {
    width: 33%;
    padding: 2%;
    box-sizing: border-box;
    background-color: white;
}
/* --------------------------------------------------------------- */
/* -----------------  Bilder verlinkt mit Effekt ----------------- */
/* --------------------------------------------------------------- */
.floating {
    float: left; /* Bild links ausrichten */
    margin: 0 15px 10px 0; /* Abstand zum Text (rechts und unten) */
    width: 150px; /* Beispielbreite */
}

.bild-ohnelink img {
    width: 100%; /* füllt den Container */
    height: auto; /* Höhe automatisch */
    display: block; /* entfernt kleine Lücken */
    margin: auto; /* zentriert */
    border-radius: 8px;
}

.bild-link img {
    width: 100%; /* füllt den Container */
    height: auto; /* Höhe automatisch */
    display: block; /* entfernt kleine Lücken */
    margin: 0 auto; /* zentriert */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
/* Hover-Effekt Desktop */
.bild-link:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    filter: brightness(1.2);
    cursor: pointer;
}

/* Tap-Effekt Mobile */
.bild-link:active img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    filter: brightness(1.2);
}
/* Fußzeile */
.abschluss {
    text-align: center;
    height: 30mm; /* Höhe in mm */
    line-height: 30mm; /* Vertikal zentriert */
    background: #f0f0f0;
}

    .abschluss a {
        text-decoration: none;
        margin: 0 2%;
        color: inherit;
    }
/* --------------------------------------------------------------- */
/* -------------------- Responsives Verhalten -------------------- */
/* --------------------------------------------------------------- */
@media (max-width: 768px) {
    .menu {
        flex-direction: column;
        align-items: center;
    }
    .two-columns {
        flex-direction: column;
        align-items: center;
    }

    .spalte {
        width: 100%;
    }

    .slide {
        font-size: 100%;
    }

    .header-image {
        font-size: 100%;
    }
    .dreispaltig {
        grid-template-columns: 1fr;
    }
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
