/* Hintergrundfarbe für den gesamten Body */
*{
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
}

p {
    font-weight: 100; /* Sehr dünn */

}

strong {
    font-weight: 400; /* Normalgewicht (Standard) */
}

b {
    font-weight: 700; /* Fett */
}

h1{
    font-weight: 300; /* Dünner und eleganter als normal */
    color: #5c2d91;
    text-align: center;
}

body {
    background:  linear-gradient(to top, #ffffff, #cdbfbf);
        height: 100%;
        margin: 0;
    -webkit-font-smoothing: antialiased;
    }

nav {
      float: right;
      text-align: center; /* Zentriert den Inhalt der <ul> */
      margin-bottom: 15px;
}
nav a{
    text-decoration: none;
    color:black;
    border: 1px solid #ccc;
    border-radius: 5px;
    background:  linear-gradient(to bottom, #ffffff, #cdbfbf);
    font-size: 15px;
    padding: 5px 5px;
    margin-top: 8px; /* Fügt Abstand nach oben hinzu */
    display: inline-block; /* Verhindert, dass sich die <a>-Elemente überlappen */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leichte Tiefe */
}
nav a:hover{
    background:  linear-gradient(to bottom, #ffffff, #4a2176);
}
nav a:active{
    background:  linear-gradient(to bottom, #ffffff, #4a2176);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto; /* Auto-Margin zentriert die <ul> horizontal */
    display: inline-block; /* Damit das <ul> nur so breit wie sein Inhalt ist */
    height: 15px;
}

nav ul li {
    display: inline; /* Damit die <li>-Elemente nebeneinander angezeigt werden */
    margin: 0;
}
/* Dropdown-Button (angepasst an Nav-Menü) */
.dropbtn {
    text-decoration: none;
    background:  linear-gradient(to bottom, #ffffff, #cdbfbf);
    font-size: 15px;
    padding: 5px 5px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 8px; /* Fügt Abstand nach oben hinzu */
    border: 1px solid #ccc;
    transition: background-color 0.3s ease;
    display: inline-block; /* Gleichmäßige Ausrichtung */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leichte Tiefe */
}

/* Button Hover-Effekt */
.dropbtn:hover {
    background:  linear-gradient(to bottom, #ffffff, #4a2176);
}

.dropbtn:active {
    background:  linear-gradient(to bottom, #ffffff, #4a2176);
}

/* Container für Dropdown */
.dropdown {
    position: relative;
    display: inline-block;

}

/* Dropdown-Inhalt */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    min-width: 100px;
    z-index: 1000;

}

/* Links im Dropdown */
.dropdown-content a {
    color: black;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin: 0;
}

/* Hover-Effekt für Dropdown-Links */
.dropdown-content a:hover {
    background-color: #c12e2e;
}

/* Dropdown sichtbar bei Hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Container: Optimierung */
.defaultContainer {
    border-radius: 8px; /* Abgerundete Ecken */
    line-height: 1.8; /* Verbesserte Lesbarkeit */
    background-color: rgba(205, 133, 63, 0.1);
        padding: 20px;
        margin: 10px;
    text-align: center;

}

.defaultContainer h1 {
    font-size: 28px; /* Größere Überschrift */
    color: #aa3c3c; /* Farb-Akzent */
}

header{
    display: flex;              /* Flexbox aktivieren */
    flex-direction: column;     /* Container untereinander anordnen */
    align-items: center;        /* Zentrieren der Container horizontal */
    justify-content: center;    /* Zentrieren der Container vertikal (optional) */

}


/* Main und Footer: Anpassungen */
main {
    padding: 20px;
    border-radius: 8px; /* Abgerundete Kanten */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Schatten für Tiefe */
    display: flex;              /* Flexbox aktivieren */
    flex-direction: column;     /* Container untereinander anordnen */
    align-items: center;        /* Zentrieren der Container horizontal */
    justify-content: center;    /* Zentrieren der Container vertikal (optional) */
}


footer {

    border-radius: 8px;
    text-align: center; /* Zentrierter Text */
   margin-bottom: 40px;
}

footer a {
    text-decoration: none; /* Kein Unterstrich */
    font-weight: bold; /* Fetter Text */
    transition: color 0.3s ease;
    color: #5c2d91; /* Hintergrundfarbe (lila) */
    font-size: 23px;
}

footer a:hover {
    color: #f5b23d; /* Hover-Farbe für Links */
    width: 90%;
}

.zitate {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Zentriert den Text horizontal */
    text-align: center; /* Zentriert den Text innerhalb des Containers */
}
.zitate hr{
    width: 90%;
}

.logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.logo-item {
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}


@media (max-width: 767px) {
    .aktuellesContainer{
        width: 80%;
    }

    .imageContainer {
        position: relative;
        display: inline-block;
        overflow: hidden;
        border-radius: 20px;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7),
        -5px -5px 15px rgba(255, 255, 255, 0.2);
        width: 200px; /* Gleiche Breite wie das Bild */
        height: 200px; /* Gleiche Höhe wie das Bild */
    }

    .imageContainer::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%
        );
        transform: rotate(25deg);
        animation: shine 3s infinite;
        pointer-events: none; /* Verhindert, dass das Pseudo-Element Klicks abfängt */
    }

    .imageContainer img {
        width: 100%;
        height: 100%;
        border-radius: 20px;
        display: block;
    }

    @keyframes shine {
        0% {
            transform: translateX(-100%) rotate(25deg);
        }
        100% {
            transform: translateX(100%) rotate(25deg);
        }
    }

    .gallery{
        width: 80%;
        height: 400px;
    }

    .imgHeaderSozio{
        width: 70%;                /* Logo nimmt 70% der Container-Breite ein */
        height: auto;              /* Höhe wird automatisch skaliert */
        object-fit: cover;         /* Sorgt dafür, dass das Bild den Container vollständig füllt */
        display: block;            /* Entfernt mögliche zusätzliche Abstände von Inline-Elementen */
        margin: 0 auto;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7),
        -5px -5px 15px rgba(255, 255, 255, 0.2);
    }
    .imageContainerSozio {
        margin-top: 20px;
    }
}

/* Responsive Anpassungen */
@media (min-width: 768px) {

    *{font-size: 18px}
    h1{font-size: 32px}
    .labelMitglied {font-size: 33px;}

    .defaultContainer{
        width: 60%;
    }


    .gallery{
        width: 60%;
        height: 400px;
    }

    .imageContainer {
        position: relative;
        display: inline-block;
        overflow: hidden;
        border-radius: 20px;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7),
        -5px -5px 15px rgba(255, 255, 255, 0.2);
        width: 200px; /* Gleiche Breite wie das Bild */
        height: 200px; /* Gleiche Höhe wie das Bild */
    }

    .imageContainer::before {
        content: "";
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%
        );
        transform: rotate(25deg);
        animation: shine 3s infinite;
        pointer-events: none; /* Verhindert, dass das Pseudo-Element Klicks abfängt */
    }

    .imageContainer img {
        width: 100%;
        height: 100%;
        border-radius: 20px;
        display: block;
    }

    @keyframes shine {
        0% {
            transform: translateX(-100%) rotate(25deg);
        }
        100% {
            transform: translateX(100%) rotate(25deg);
        }
    }



    .imageContainerSozio {
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 20px;
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7),
        -5px -5px 15px rgba(255, 255, 255, 0.2);
    }

    .imageContainerSozio img{
        width: 400px;
        border-radius: 20px;
    }

    .defaultUl {
        width: 69%;
    }

    body{
        display: flex;              /* Flexbox aktivieren */
        flex-direction: column;     /* Container untereinander anordnen */
        align-items: center;        /* Zentrieren der Container horizontal */
        justify-content: center;    /* Zentrieren der Container vertikal (optional) */

    }

    header{
        width: 100%;
    }

    main{
        width: 70%;
    }
    .aktuellesContainer {
        width: 20%;
        height:50%;
    }

}

@media (min-width: 1950px) {
    main{
               /* Volle Höhe des Viewports */
    }
}
/* Container-Styling */
.infoBar {
    display: flex;
    justify-content: space-between; /* Elemente gleichmäßig verteilen */
    align-items: center;
    background-color: #5c2d91; /* Hintergrundfarbe (lila) */
    padding: 10px 20px; /* Abstand innen */
    color: white; /* Schriftfarbe */
    height: 10px;
    width: 90%;
}

/* Einzelne Info-Elemente */
.infoItem {
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen Icon und Text */
    border-left: 1px solid white; /* Trennlinie */
    padding-left: 15px; /* Abstand nach links */
}

/* Erstes Element ohne Linie */
.infoItem:first-child {
    border-left: none;
    padding-left: 0;
}

/* Symbole */
.infoItem i {
    font-size: 1.2rem; /* Größe der Icons */
    color: white;
}

/* Text */
.infoItem span {
    font-size: 0.8rem; /* Schriftgröße */
    font-weight: normal;
}

i:hover{
    color: #f5b23d; /* Hover-Farbe für Links */
}

.defaultUl{
    justify-content: center;
    border-radius: 8px; /* Abgerundete Ecken */
    line-height: 1.8; /* Verbesserte Lesbarkeit */
    background-color: rgba(205, 133, 63, 0.1);
    padding: 20px;
    margin: 10px;
}
.defaultUl li::marker{
    color: #5c2d91;

}
.defaultUl li{
    list-style-type: square;
}
.defaultUl h3{
    font-weight: bold;
}
.p_schrift{
    color: #5c2d91;
    font-weight: bold;


}


hr {
    border: none; /* Entfernt die Standardlinie */
    height: 4px; /* Höhe der Linie */
    background-color: rgba(205, 133, 63, 0.3);
    margin: 20px 0; /* Abstand oberhalb und unterhalb der Linie */
    border-radius: 2px; /* Abgerundete Kanten */
    width: 60%;
}
hr.shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Schatten für mehr Tiefe */
}


.container {
    text-align: center;
    padding: 20px;
}

.container h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.profile-card {
    background-color: #fff8e1;
    width: 300px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
}

.profile-card img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.profile-card h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 4px;
}

.profile-card h3 {
    font-size: 16px;
    color: #777;
    margin-bottom: 15px;
}

.profile-card ul {
    list-style-type: disc;
    text-align: left;
    margin: 10px 0;
    padding-left: 20px;
}

.profile-card ul li {
    font-size: 14px;
    color: #555;
    margin: 5px 0;
}



.copy{
    color: #5c2d91;
    font-size: 14px

}
.formContainer {
    background-color: #fff8e1;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin-top: 25px;
}

form {
    display: flex;
    flex-direction: column;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 8px;
}

.checkbox-container span {
    text-align: center;
}

textarea{
    padding: 10px;
    margin-bottom: 10px;
    overflow-y: auto;
    height: 150px;
}

label {
    margin: 10px 0 5px;
    color: #5c2d91;
    font-weight: bold;
}

input[type="text"], input[type="password"] , input[type="email"] , input[type="tel"]  {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

input[type="submit"] {
    background-color: #5c2d91;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

input[type="submit"]:hover {
    background-color: #4a2176;
}

#button_form{
    background-color: #5c2d91;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}


.buttonLogin{
    background-color: #5c2d91;
    color: white;
    cursor: pointer;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px;
}
#imp, #daten{
    padding: 15px;
}

.errorMsg{
    padding: 10px;
    color: red;
    font-weight: bold;
}
.erfolgreichMsg{
    padding: 10px;
    color: #1a7600;
    font-weight: bold;
}

.übersicht{
    display: flex;
    flex-direction: column;
    width: 90%;
}
.mitarbeiter-tabelle {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.mitarbeiter-tabelle thead tr {
    background-color: #5c2d91;
    border-bottom: 2px solid #ddd;
}

.mitarbeiter-tabelle th,
.mitarbeiter-tabelle td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;

}

.mitarbeiter-tabelle tbody tr:hover {
    background-color: #5c2d91;
}

.aktuellesContainer {
    display: flex;
    flex-direction: column;
    background-color: #fff8e1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 20px;
    align-items: center;


    /* Startzustand (unsichtbar + leicht nach rechts verschoben) */
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease-out;
}
/* Endzustand, wenn sichtbar */
.aktuellesContainer.show {
    opacity: 1;
    transform: translateX(0);
}

.aktuellesContainer img {
    border: solid 1px #4a2176;
    width: 90%;
    height: 100%;
    object-fit: contain; /* GANZES Bild bleibt sichtbar */
    border-radius: 8px; /* Optional */
}

.aktuellesContainer h2 {
    border: solid 1px #4a2176;
    border-radius: 10px;
    padding: 15px;
    font-size: 20px;
    background-color: #ffffff;
    color: #5c2d91;
    width:80%;
}

.aktuellesContainer p {
    border-radius: 10px;
    max-width: 80%;
    background: rgb(92, 45, 145,0.6);
    padding: 15px;
    font-size: 18px;
    color: #000000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.date {
    font-size: 18px;
    background-color: white;
    padding: 5px 10px;
    border-radius: 20px;
    width: fit-content;
    margin: 10px auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#überschriftForm{
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}
.headline {
    position: relative;
    display: inline-block;
}

.headline::after {
    content: "";
    display: block;
    width: 40vw; /* 70% der gesamten Bildschirmbreite */
    height: 1px;
    background-color: #5c2d91;
    margin: 4px auto 0;
}

.defaultContainer ul{
    text-align: left;
}
.buttonCookie{
    background-color: #5c2d91;
    color: white;
    cursor: pointer;
    border-radius: 8px;
    padding: 10px;
    margin: 5px;
}
.contact-email , .contact-telefon{
    display: flex;
    flex-direction: row;
    margin:3px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin-top: 15px;
    color: #555;
}
.contact-info a {
    text-decoration: none;
    color: #333;
    margin-right: 5px;
}
.labelMitglied{
    color: #5c2d91
}
.map-container {
    height: 400px;
    border: 3px solid #5c2d91;
    margin-top: 20px;
}

@media (max-width: 767px) {
    .map-container {
        width: 100%;
    }
}


@media (min-width: 768px) {
    .map-container {
        width: 60%;
    }
}
.gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 207px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.gallery img:first-child {
    display: block;
}

.w3-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(92, 45, 145, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
}

.w3-display-left {
    left: 10px;
}

.w3-display-right {
    right: 10px;
}

.w3-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.logoIntro img {
    width: 100%;
    max-width: 400px; /* deutlich größer */
    height: auto;
    border-radius: 12px; /* schöne, weiche Ecken */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); /* tiefer Schatten */
    border: 1px solid rgba(0, 0, 0, 0.1); /* optionaler, dezenter Rahmen */
}

/* Container für dein Logo */
.DevSchwarzWebLogo {
    display: flex;
    justify-content: center;   /* Logo zentrieren */
    align-items: center;
}

/* Bild anpassen */
.DevSchwarzWebLogo__img {
    width: 60%;
    max-width: 300px;
    height: auto;
    opacity: 0.9;         /* wirkt etwas dezenter */
    transition: opacity 0.3s ease;
}

.DevSchwarzWebLogo__img:hover {
    opacity: 1;           /* beim Hover voll sichtbar */
}
