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

@font-face {
  	font-family: 'ClanPro-Regular';
  	src: url('fonts/ClanPro-Regular.woff2') format('woff2'),
    	 url('fonts/ClanPro-Regular.woff') format('woff');
    font-weight: normal;
  	font-style: normal;
}

.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: #1c479c;
    color: #d9171a;
    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: #d9171a;
    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: #1c479c;
}

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

@media (max-width: 1050px) { /* 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: #1c479c;
}

.container {
    padding: 20px;
    background: rgba(162, 162, 162, 0.6);
    margin: 80px auto 50px auto;
    border-left: 4px solid #d9171a;
    border-right: 4px solid #1c479c;
    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;
}

footer {
    background: #1c479c;
    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: #ffffff !important;
    text-decoration: none;
    font-weight: bold;
}

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

.sponsor-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 15px;
}

.sponsor-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 200px;
    max-width: 250px;
    height: 200px; /* Einheitliche Kachelgröße */
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden; /* Verhindert überstehende Inhalte */
}

.sponsor-profile img {
    max-width: 90%;  /* Bild so groß wie möglich innerhalb der Kachel */
    max-height: 90%; /* Verhindert Überlaufen */
    object-fit: contain; /* Stellt sicher, dass das ganze Logo sichtbar bleibt */
    object-position: center; /* Bild bleibt zentriert */
}

/* Kleinere Kacheln auf schmalen Bildschirmen */
@media (max-width: 400px) {
    .sponsor-profile {
        height: 150px;
    }
}




/* 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(217, 23, 26, 0.6);
    border: 1px solid #1c479c;
    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);
}

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

/* Kachel-Stil mit Hover-Effekt */
.kachelwhite {
    background: rgba(28, 71, 155, 0.6);
    border: 1px solid #d9171a;
    border-radius: 10px;
    padding: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

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

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

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

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

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

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

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

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

/* Kachel-Stil mit Hover-Effekt */
.kachelbronze {
    background: rgba(205, 127, 50, 0.6);
    border: 1px solid #d9171a;
    border-radius: 10px;
    padding: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

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

.kacheltrans h3 {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
}

/* Kachel-Stil mit Hover-Effekt */
.kacheltrans {
    background: rgba(205, 127, 50, 0.0);
    border: 1px solid #d9171a;
    border-radius: 10px;
    padding: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

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

.frame {
    background: rgb(28, 71, 156, 0.6);
    border: 1px solid #d9171a;
    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;
}

.framecookies {
    background: rgb(28, 71, 156, 0.6);
    border: 1px solid #d9171a;
    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;
}

.framebfv {
    background: rgb(28, 71, 156, 0.6);
    border: 1px solid #d9171a;
    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;
}

.framewhite {
    background: rgb(28, 71, 156, 0.6);
    border: 1px solid #d9171a;
    border-radius: 10px;
    padding: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.framegold {
    background: rgb(255, 215, 0, 0.6);
    border: 1px solid #d9171a;
    border-radius: 10px;
    padding: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.framesilver {
    background: rgb(192, 192, 192, 0.6);
    border: 1px solid #d9171a;
    border-radius: 10px;
    padding: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.framebronze {
    background: rgb(205, 127, 50, 0.6);
    border: 1px solid #d9171a;
    border-radius: 10px;
    padding: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.framered {
    background: rgb(217, 23, 26, 0.6);
    border: 1px solid #1c479c;
    border-radius: 10px;
    padding: 1px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.frametrans {
    background: rgb(217, 23, 26, 0.0);
    border: 1px solid #1c479c;
    border-radius: 10px;
    padding: 1px;
    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: #d9171a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.verlinkung:hover {
    background-color: #1c479c;
}

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

.verlinkungb:hover {
    background-color: #d9171a;
}

.contact-form-container {
    background-color: rgb(255, 255, 255, 0.6);
    margin: 80px auto 50px auto;
    padding: 20px;
    border-left: 4px solid #d9171a;
    border-right: 4px solid #1c479c;
    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: #d9171a;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

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

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

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

/* Standardmäßig: BFV-Widget (framebfv) ausblenden */
.framebfv {
  display: none;
}

/* Hinweis-Container anzeigen, wenn Cookies nicht akzeptiert */
.framecookies {
  display: block;
}

/* Sobald Marketing-Cookies akzeptiert sind – per JS-Klasse gesetzt */
.cookies-marketing .framebfv {
  display: block;
}

.cookies-marketing .framecookies {
  display: none;
}

/* GLOBALE LINKSTYLES – außer .verlinkung und .verlinkungb */
a:not(.verlinkung):not(.verlinkungb) {
  color: #ffffff !important;
  text-decoration: underline !important;
}

a:not(.verlinkung):not(.verlinkungb):hover {
  color: #dddddd !important;
}

/* Links in bekannten Containern überschreiben vererbte Farbe */
.container a:not(.verlinkung):not(.verlinkungb),
.frame a:not(.verlinkung):not(.verlinkungb),
.framewhite a:not(.verlinkung):not(.verlinkungb),
.framebfv a:not(.verlinkung):not(.verlinkungb),
.framebronze a:not(.verlinkung):not(.verlinkungb),
.framesilver a:not(.verlinkung):not(.verlinkungb),
.framegold a:not(.verlinkung):not(.verlinkungb),
.framered a:not(.verlinkung):not(.verlinkungb),
.frametrans a:not(.verlinkung):not(.verlinkungb),
.contact-form-container a:not(.verlinkung):not(.verlinkungb),
.team-profile a:not(.verlinkung):not(.verlinkungb),
footer a:not(.verlinkung):not(.verlinkungb) {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Telefonnummern und Mail-Adressen separat behandeln */
a[href^="tel"]:not(.verlinkung):not(.verlinkungb),
a[href^="mailto"]:not(.verlinkung):not(.verlinkungb) {
  color: #ffffff !important;
  text-decoration: underline !important;
}