html, body {
  	font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
  	color: white;

}

.slideshow {
    position: fixed;
  	top: 0;
  	left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.slideshow img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slideshow img.active {
    opacity: 1;
}

header {
    background-color: #5b5a5c;
    color: #da1414;
    padding: 15px 20px 15px 20px;
    display: flex;
    position: fixed;
  	justify-content: space-between;
    top: 0;
    left: 0;
    right: 0;
    width: 99%;
    z-index: 9999;
}

header img {
    max-width: 150px;
}

.menu-toggle {
    font-size: 30px;
    cursor: pointer;
    user-select: none;
  	padding: 10px 30px;
}

nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #da1414;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

nav a {
    display: block;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    text-transform: uppercase;
}
nav a:hover {
    background-color: #5b5a5c;
}

menu-items {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: none
}

@media (max-width: 1150px) { /* oder eine andere gewünschte Breite */
    .menu-items {
        display: none;
    }
}

.show-menu {
  	display: block;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.social-icons a {
    margin: 0 10px;
    color: white;
}

.social-icons a:hover {
    color: #8f8f8f;
}

.container {
    padding: 20px;
    background: rgba(91, 90, 92, 0.6);
    margin: 80px auto 50px auto;
    border-left: 4px solid #da1414;
    border-right: 4px solid #da1414;
    max-width: 1200px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.section {
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 5px;
}
iframe {
    width: 100%;
    height: 600px;
    border: none;
}

footer {
    background: #5a5b5c;
    color: white;
    text-align: center;
    padding: 0px;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery {
    display: grid;
    gap: 10px;
    justify-content: center;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Responsive Anpassungen */
@media (max-width: 900px) {
    .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-cols-3, .grid-cols-2 { grid-template-columns: repeat(1, 1fr); }
}

/* NEUE STYLES FÜR TEAM-BEREICH */
.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.team-profile {
    text-align: center;
    flex: 1 1 200px;
    max-width: 250px;
}

.team-profile img {
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: cover;
}

/* Kleinere Bilder auf schmalen Bildschirmen */
@media (max-width: 400px) {
    .team-profile img {
        max-width: 90px;
    }
}

.team-profile p {
    margin-top: 10px;
    font-weight: bold;
    font-size: 14px;
}

/* E-Mail-Links rot einfärben */
.team-profile p a {
    color: #da1414 !important;
    text-decoration: none;
    font-weight: bold;
}

.team-profile p a:hover {
    text-decoration: underline;
}

/* STYLES FÜR DIE TEAM-ÜBERSCHRIFTEN */
.kachel h3 {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
}

/* Kachel-Stil mit Hover-Effekt */
.kachel {
    background: rgba(91, 90, 92, 0.6);
    border: 1px solid #da1414;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.kachel:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.frame {
    background: rgba(91, 90, 92, 0.6);
    border: 1px solid #da1414;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.carframe {
    background: rgba(225, 225, 225, 0.6);
    border: 3px solid #da1414;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

/* STYLES FÜR SONSTIGE BEREICHE */
.large-image {
    text-align: center;
    margin-bottom: 20px;
}

.large-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-link img {
    width: 30px;
    height: 30px;
    margin-left: 10px;
}

/* CSS für die Verlinkungen im Bereich Statutes */
.verlinkung {
    display: inline-block;
    padding: 10px 20px;
    background-color: #da1414;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.Verlinkungk:hover {
    background-color: #8f8f8f;
}

.verlinkungk {
    display: inline-block;
    padding: 10px 20px;
    background-color: #da1414;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

@media (max-width: 1050px) { /* oder eine andere gewünschte Breite */
    .verlinkungk {
        display: none;
    }
}


.verlinkung:hover {
    background-color: #8f8f8f;
}

.contact-form-container {
    background-color: rgba(91, 90, 92, 0.6);
    margin: 80px auto 50px auto;
    padding: 20px;
    border-left: 4px solid #da1414;
    border-right: 4px solid #da1414;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    text-align: center;
}


.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 600px;
    margin-bottom: 15px;
}

.form-group label {
    flex: 1;
    text-align: left;
    font-weight: bold;
    margin-right: 10px;
}

.form-group input,
.form-group textarea {
    flex: 2;
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.submit-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #da1414;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.submit-button:hover {
    background-color: #b01010;
}

/* Responsive Anpassung */
@media (max-width: 600px) {
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group label {
        margin-bottom: 5px;
    }
}
