﻿/************************************************************************************************************************************** */
/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0; /* Entfernt den Standardabstand des Body-Elements */
    padding-top: 15vh; /* Platz für die fixierte Navigationsleiste (Höhe der Navbar) */
    background-color: #f9f9f9;
    overflow-x: hidden;
}
/* Ende Allgemeine Stile */
/************************************************************************************************************************************** */


/*********************************************************************************************** */
/* H1-Zeile wird unsichtbar gemacht */
h1 {
    position: absolute;
    left: -9876px;
}
/************************************************************************************************************************************** */

/************************************************************************************************************************************** */
/* Navigationsleiste */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #64646c; /* Mittelgrau */
    display: flex;
    flex-direction: row; /* Elemente horizontal anordnen */
    justify-content: space-between; /* Gleichmäßiger Abstand */
    align-items: center; /* Zentrierung */
    padding: 15px 10px; /* Innenabstand */
    width: 100vw; /* Vollbreite */
    height: 15vh; /* Höhe passt sich dem Inhalt an */
    box-sizing: border-box; /* Padding einberechnen */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Schatteneffekt */
    z-index: 1000; /* Damit die Navigationsleiste immer im Vordergrund bleibt */
}

/* Logo */
.logo img {
    height: 10vh; /* Logo-Höhe */
    margin-bottom: 0vh; /* Abstand zwischen Logo und Menü */
    margin-left: 5vw;
    border: hidden;
}

/* English Flag */
/* Container for the button */
.top-right-button {
    position: fixed;
    margin-bottom: 1vh; /* Abstand zwischen Logo und Menü */
    height: 5vh;
    width: 7vh;
    right: 8vw;
    background-color: #64646c; /* Mittelgrau */
    border-color: #64646c; /* Mittelgrau */
    z-index: 1000; /* Ensures it appears above other content */
}

    /* Styling for the image button */
    .top-right-button img {
        max-width: 100%; /* Adjust the size of the button */
        height: auto;
        cursor: pointer;
        /*border: 2px solid #ccc;*/ /* Optional: Add a border */
        border-radius: 5%; /* Make it circular */
        transition: transform 0.2s, box-shadow 0.2s; /* Add hover effect */
    }

        .top-right-button img:hover {
            transform: scale(1.1); /* Slightly enlarge the button on hover */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow effect */
        }


/* Container für Menü-Buttons */
.menu {
    display: flex; /* Flexbox aktivieren */
    justify-content: center; /* Buttons horizontal zentrieren */
    align-items: center; /* Vertikale Zentrierung */
    gap: 1vw; /* Abstand zwischen den Buttons */
    margin-right: 30vw;
}

    /* Menüpunkte in der Navigationsleiste */
    .menu button {
        background: none;
        border: none;
        color: white; /* Schriftfarbe */
        font-size: 1.5vw; /* Schriftgröße */
        margin: 3px 0; /* Abstand wird über .menu geregelt */
        cursor: pointer; /* Zeigt Hand-Symbol beim Hover */
        padding: 0.5vw 1.5vw; /* Innenabstand für mehr Klickfläche */
    }

        /* Hover-Effekt für Buttons */
        .menu button:hover {
            color: #8ED973;

        }
/* Container für zweite Ebene im Dropdown*/
.submenu {
    margin-left: 0px; /* Optional: Leichter Abstand für visuelle Struktur */
    text-align: left;
    display: none;
    background-color: rgba(200, 200, 200, 0.2); /* Testfarbe */
    padding: 10px; /* Optional: Test-Padding */ 
}


    /* Menüpunkte in der zweiten Ebene der Menueleistee */
    .submenu button {
        text-align: left;
        background: none;
        border: none;
        color: lightgrey; /* Schriftfarbe */
        font-size: 0.7vw; /* Schriftgröße */
        margin: 3px 0; /* Abstand wird über .menu geregelt */
        cursor: pointer; /* Zeigt Hand-Symbol beim Hover */
        padding: 0.5vw 1.5vw; /* Innenabstand für mehr Klickfläche */
    }

    /* Hover-Effekt für Buttons */
    .submenu button:hover {
        color: #8ED973;
    }

    

/*Dropdown Ebene 1 */
.dropdown {
    position: relative;
    display: inline-block;
    
}

.dropdown-button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5vw;
    cursor: pointer;
    padding: 0.5vw 1.5vw;
    }

/* Dropdown-Standard : Beeinflusst die Dropdownbox als Ganzes*/
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(100, 100, 108, 1);
    color: white;
    min-width: 14vw;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 10px;
    transition: opacity 1.5s ease-in-out;
}
    /* Dropdown-Standard : Beeinflusst die Texte in der Box*/
    .dropdown-content a {
        color: white;
        padding: 10px;
        text-decoration: none;
        display: block;
        font-size: 1.5vw;
        border-radius: 3px;
        margin-left: 1vw;
    }

        .dropdown-content a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }


.dropdown:hover .dropdown-content {
    display: block;
}

/* Ende Navigationsleistee */
/************************************************************************************************************************************** */

/************************************************************************************************************************************** */
/* Buttons mit Funktionen*/
/* Container Terminbuttons > Aktuell nicht genutzt*/

.termin {
    position: relative;
    top: 10%; /* 10% unter dem oberen Rand */
    right: 12%; /* Abstand von der rechten Seite */
    width: auto; /* Passe die Breite des Buttons an (falls nötig) */
    display: flex;
    justify-content: flex-end; /* Sorgt dafür, dass der Inhalt am rechten Rand ausgerichtet wird */
}


/*Termin Button am unteren Bildrand*/
.termin-button {
    position: fixed;
    background-color: rgba(255,255,255, 0.6);
    border: none;
    color: black;
    font-size: 2.5vh;
    padding: 1vh 2vh;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    bottom: 1%; /* 10% Abstand vom unteren Rand des Containers */
    right: 2%; /* Button horizontal zentrieren */
    text-align: center;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateX(-50%);
}
    
        .termin-button:hover {
            background-color: rgba(180,229,162,0.6);
            color: black;
        }

 /*Nächste Seite Button am unteren Bildrand*/
.scroll-button {
    position: fixed;
    background-color: rgba(255,255,255, 0.9);
    border: none;
    color: black;
    width: 8vw;
    font-size: 2.5vh;
    padding: 1vh 2vh;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    bottom: 1%; /* 10% Abstand vom unteren Rand des Containers */
    right: 12%; /* Button horizontal zentrieren */
    text-align: center;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateX(-50%);
}

    .scroll-button:hover {
        background-color: rgba(180,229,162,0.6);
        
    }
/* Ende Buttons mit Funktionen */
/************************************************************************************************************************************** */

/************************************************************************************************************************************** */
/* Das Carussel */
/* Bilder im Carusel*/
.slide {
    text-align: center;
    margin:  0;
}

/* Slide Container zur Grössensteuerung der Folien eingefügt*/
#slide {
    width: 100vw; /* Vollbreite des Bildschirms */
    height: 100vh; /* Volle Höhe des Bildschirms */
    overflow: hidden; /* Überschüssige Teile des Bildes abschneiden */
}

    /* Bildstile */
    #slide img {
        width: 100vw; /* Bild füllt die gesamte Breite */
        height: auto; /* Bild füllt die gesamte Höhe */
        object-fit: cover; /* Bild wird skaliert, ohne Proportionen zu verzerren */
        display: block; /* Entfernt unerwünschte Zwischenräume */
    }
    
/* Karussell */
#carousel {
    position: center;
    width: 100vw;
    height: 100vh; /* Passt die Höhe automatisch an */
    object-fit: cover; /* Sorgt dafür, dass das Bild den Bereich proportional ausfüllt */
    background-color: white;
    margin-top: 0px; /* Platz für die Navigationsleiste */
    margin-left: 0px;
    object-position: center; /* Zentriert das Bild */
}


     #carousel img {
        width: 100%; /* Breite des Bildes passt sich an den Container an */
        height: auto; /* Proportionale Skalierung */
        object-fit: contain; /* Zeigt das ganze Bild ohne Zuschneiden */
        display: block;
        margin: 0;
        transition: opacity 1.5s ease-in-out;
    }


/*  Bilder beim Scroll-down unter dem Carusel*/

img {
    position: relative; /* Grundlage für absolute Positionierung innerhalb der Slide */
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #ccc;
}

/* Ende Carusel */
/************************************************************************************************************************************** */

/************************************************************************************************************************************** */
/* Anzeige der Punkte mit Upro Aufruf */

/* Hintergrund-Container */

#hintergrund-container {
    width: 100vw; /* Breite des Containers */
    height: 100vh; /* Höhe des Containers */
    /*background-image: url('Folie18.png'); *//* Bild als Hintergrund */
    background-size: cover; /* Skaliert das Bild, um den gesamten Bereich zu füllen */
    background-position: center; /* Zentriert das Bild */
    background-repeat: no-repeat; /* Verhindert Wiederholung des Bildes */
    background-color:#EFF9EB;
    position: absolute; /* Fixiert Hintergrund unabhängig von anderen Elementen */
    top: 0;
    left: 0;
    z-index: 10; /* Hintergrund hinter Punkte */
}


/* Einleitungstext */
.punkte-ueberschrift {
    margin-top: 5vh; /* Platz für die Navigationsleiste */
    margin-right: 1.5vw;
    text-align: center;
    font-size: 1.2vw;
    font-style: italic;
    font-weight: normal;
    color: black;
    position: relative;
    z-index: 20; /* Punkte hinter den Krankheitsbildern */
}


/* Punkte-Container */
.punkte-container {
    margin-top: 5vh; /* Reduzierter Abstand zu den Spaltenüberschriften */
    margin-right: 1.5vw;
    display: grid;
    grid-template-columns: repeat(2, 30vw); /* Spaltenbreite auf 30vw minimieren */
    gap: 1vw; /* Abstand zwischen den Spalten */
    justify-content: center; /* Punkte zentrieren, wenn weniger Platz vorhanden ist */
    padding: 1vw; /* Reduziertes Padding für kompakteres Layout */
    position: relative;
    z-index: 20; /* Punkte hinter den Krankheitsbildern */
}

/* Einzelne Punkte */
.punkt {
    margin-top: 0px; /* Kein zusätzlicher Abstand zu den Spaltenüberschriften */
    background-color: white;
    text-align: center;
    padding: 0.5vh;
    font-size: 1.2vw;
    text-decoration:none;
    color: Black;
    border-radius: 5px;
    line-height: 1.2; /* Zeilenhöhe bei zweizeilig auf 1.2-fache Schriftgröße reduzieren */
}


    .punkt:hover {
        background-color: rgba(180,229,162,0.6);
        color: black;
    }

/*Bildanzeige nach der Auswahl eines Punktes*/
.image-container {
    position: absolute;
    top: 7vw; /* unter der Navigationsleiste  */
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white; /* Optional, um den Hintergrund zu überdecken */
    text-align: center;
    display: none; /* Unsichtbar, bis ein Bild angezeigt wird */
    padding: 20px 0;
    z-index: 30; /* Über den Punkten */
}

#display-image {
    width: 100vw;
    height: 100vh;
}

/* Ende Punkte-Anzeige zum Aufruf von Upros */
/************************************************************************************************************************************** */

/************************************************************************************************************************************** */
/* PDF-Anzeige */
.pdf-container {
    width: 100%;
    height: 80vh;
    border: 1px solid #ccc;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Ende Pdf-Anzeige */
/************************************************************************************************************************************** */




/************************************************************************************************************************************** */
/* Responsive Anpassung (muss auch in anderen css-Programmen verwendet werden*/
@media (max-width: 768px) {
    /************************************************************************************************************************************/
    /* Navbar -mobile*/
    .navbar {
        flex-direction: column; /* Elemente vertikal anordnen */
    }

    .logo img {
        height: 60px; /* Logo-Höhe */
        margin-bottom: 10px; /* Abstand zwischen Logo und Menü */
        margin-left: 16px;
    }

    .top-right-button {
        position: absolute;
        height:30px;
        width: 40px;
        margin-top: 1.5vh; /* Abstand zwischen Logo und Menü */
        right: 10vw;
    }

        

    .menu {
        margin-right: 1vw;
    }

        .menu button {
            font-size: 1.3vh; /* Grössere Schriftgröße */
        }


    .dropdown-content {
        min-width: 30vw;
        right: 0; /* Stellt sicher, dass die Box an der rechten Seite des Elterncontainers ausgerichtet ist */
    }

        .dropdown-content a {
            font-size: 1.3vh; /* Grössere Schriftgröße */
        }

    .submenu button {
        font-size: 1vw; /* Schriftgröße */
    }

    /* Ende Navbar */
    /************************************************************************************************************************************/


    /************************************************************************************************************************************/
    /* Carousel mobile (Bilder im scroll-Down) */
    img {
        max-width: 100vw;
        max-height: 100vh;
        margin-top: 0; /* Abstand nur unten zwischen den Bildern */
    }

    /* Ende Carousel */
    /************************************************************************************************************************************/


    /************************************************************************************************************************************/
    /* Anzeige der Punkte mit Upro Aufruf - mobile */
    .punkte-ueberschrift {
        font-size: 3vw;
    }

    .punkt {
        font-size: 2.5vw;
        padding: 2vh;
    }

    .image-container {
        top: 25vw; /* unter der Navigationsleiste  */
    }

    /* Ende Anzeige Punkte */
    /************************************************************************************************************************************/


    /************************************************************************************************************************************/
    /* Steuerungsbuttons -mobile */
    .termin-button {
        font-size: 1.2vh;
        left: 50%; /* Button horizontal zentrieren */
    }

    /* Button in der Mobilversion ausblenden */
    .scroll-button {
        display: none;
    }
}


