.dropdown-menu .dropdown-item:hover {
    background-color: rgb(103, 91, 78);
    color: white;

    /* Optional: Ändert die Textfarbe bei Hover */
    border-radius: 15px;
}

body {
    background-image: url(Hintergrundbild.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url(Hintergrundbild.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
}



.carousel-indicators [data-bs-target] {
    background-color: #83413E;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.navbar {
    position: sticky;
    top: 15;
    z-index: 1020;
}

.card {
    width: 400px;
    margin-top: 150px;
    margin-left: 50px;
    margin-left: 30px;
    margin-bottom: 30px;
}

.carousel {
    margin-left: 100px;
    margin-right: 100px;
}

@media (max-width: 980px) {
    .carousel {
        margin: 20px;
    }
}

/* Generelles Layout und Abstände */
.row.g-4 {
    --bs-gutter-x: 1.5rem;

    /* Standardabstand zwischen den Spalten */
    --bs-gutter-y: 1.5rem;

    /* Standardabstand zwischen den Zeilen */
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Container für die gesamte Karte */
.card-custom {
    position: relative;
    width: 80%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    margin: auto;

    /* Wichtig, damit die abgerundeten Ecken des Hintergrunds sichtbar sind */
}

@media (max-width: 1000px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Stil für das Hintergrundbild */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Stil für den inneren Farbkasten */
.card-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    background-color: rgba(124, 109, 93, 0.8);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
}

.desc {
    flex-grow: 1;
}

/* Stil für das obere Bild im Farbkasten */
.card-img-top {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.card-img-top-blog {
        width: 100%;
        height: 150px;
    object-fit: cover;
    border-radius: 20px;
}
/* Stil für den Textbereich */
.card-body {
    padding: 5px;
    text-align: center;
    color: white;
}

/* Stil für den Titel */
.card-title {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

/* Stil für den Text */
.card-text {
    font-size: 1rem;
}

/* Stil für den Button */
.btn-custom {
    background-color: #83413E;
    color: white;
    border-radius: 100px;
    padding: 10px 25px;
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
    align-self: center;
}

.btn-custom:active {
    /* Schatten für den gedrückten Zustand (innen) */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(2px);

    /* Optionale: Verschiebt den Button leicht nach unten */
}

/* Bild Banner */
.hero-img {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
    object-position: 50% 70%;
    display: block;
    margin-top: -120px;
}

.img-fluid {
    width: 250px;
    margin-left: 50px;
}

.text-start {
    margin: 30px;
    margin-left: 60px;
}

.KachelnRot {
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(-49%);
    align-self: center;
    position: relative;
}

.containerDienstzeiten {
    position: relative;
    z-index: 1;
    height: auto;
    background-color: #7C6D5D;
    overflow: visible;
    margin-top: 120px;
}

.TextDienstzeiten {
    color: #FFFFFF;
    margin-top: 30px;
    margin-left: 95px;
    margin-right: 240px;
    margin-bottom: 30px;
    align-self: center;
}

@media (max-width: 576px) {
    .TextDienstzeiten {
        margin-right: 95px;
    }
}

.KachelnBraun {
    display: block;
    width: 100%;
    height: auto;
    transform: translateY(51%);
    align-self: center;
    position: relative;
}

.Colaglas {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    z-index: 10;
    width: auto;
    height: 400px;
}

@media (max-width: 992px) {
    .Colaglas {
        height: 350px;
    }
}

.KarstenSticker {
    position: absolute;
    display: block;
    right: 0;
    top: 0;
    transform: translateY(70%) scaleX(-1);
    z-index: 10;
    height: 500px;
    max-width: 100vw;
}

@media (max-width: 980px) {
    .KarstenSticker {
        height: 370px;
        transform: translateY(95%) scaleX(-1);
    }
}

@media (max-width: 710px) {
    .KarstenSticker {
        height: 310px;
        transform: translateY(100%) scaleX(-1);
    }
}

@media (max-width: 576px) {
    .KarstenSticker {
        transform: translateY(180%) scaleX(-1);
        height: 250px;
    }
}

.Dienstzeiten {
    text-align: center;
    color: #FFFFFF ;
    margin-top: 90px;
}

@media (max-width: 576px) {
    .Dienstzeiten {
        margin-top: 150px;
    }
}

@media (max-width: 710px) {
    .Dienstzeiten {
        margin-top: 110px;
    }
}

.Fahrzeuge {
    margin-top: 90px;
    margin-right: auto;
    margin-left: 160px;
}

@media (max-width: 710px) {
    .Fahrzeuge {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 90px;
    }
}

@media (max-width: 980px) {
    .Fahrzeuge {
        margin-top: 230px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .Fahrzeuge {
        margin-top: 200px;
    }
}

.TSFW {
    margin-top: 20px;
    margin-left: 160px;
    margin-right: 450px;
    max-width: 650px;
}

@media (max-width: 980px) {
    .TSFW {
        text-align: left;
        margin-left: 30px;
        margin-right: 30px;
        margin-top: 20px;
    }
}

@media (max-width: 980px) {
    .TSFW {
        text-align: left;
        margin-left: 30px;
        margin-right: 30px;
        margin-top: 20px;
    }
}

.TSFWBild {
    height: 500px;
}

@media (max-width: 980px) {
    .TSFWBild {
        height: 400px;
    }
}

.GWN-Text {
    margin-left: 30px;
    margin-right: 30px;
}

.GWNBild {
    height: 450px;
    position: absolute;
    display: block;
    right: 0;
    transform: translateY(-30%);
    z-index: 10;
    max-width: 100vw;
}

@media (max-width: 980px) {
    .GWNBild {
        transform: translateY(-10%);
    }
}

@media (max-width: 710px) {
    .GWNBild {
        transform: translateY(0%);
    }
}

.ContainerFahrzeuge {
    padding-bottom: 300px;
}

@media (max-width: 980px) {
    .ContainerFahrzeuge {
        padding-bottom: 450px;
    }
}

/* Make sure the dropdown menu is hidden by default */
.nav-item.dropdown .dropdown-menu {
    display: none;
}

/* Show the dropdown menu on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Desktop only: dropdown auf Hover öffnen */
@media (min-width: 992px) {
    /* ab Bootstrap lg */
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.hero-imgMach {
    width: 100%;
    position: relative;
    height: 500px;
    object-fit: cover;
    margin-top: -120px;
}

.MachMitÜber {
    margin-bottom: 30px;
    text-align: center;
}

.ContainerMachMit {
    padding: 30px;
}

@media (min-width: 1200px) {
    .ContainerMachMit {
        padding-left: 120px;
    }
}

.MachMitBild {
    width: 80%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1200px) {
    .MachMitText2 {
        margin-right: 400px;
    }
}

.FörderÜberschrift {
    text-align: center;
    margin-bottom: 30px;
}

.ContainerFörder {
    padding: 55px;
}

@media (min-width: 1200px) {
    .ContainerFörder {
        padding-left: 120px;
        padding-right: 120px;
    }
}

.TextFörder {
    text-align: left;
}

.FörderBild {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.ContainerMusik {
    padding: 30px;
}

@media (min-width: 1200px) {
    .ContainerMusik {
        padding-left: 120px;
        padding-right: 120px;
    }
}

.MusikÜber {
    text-align: center;
    margin-bottom: 30px;
}

.MusikText {
    text-align: center;
}

/* Styling des Haupt-Kartencontainers */
.card-custom-Orts {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;

    /* Beispielhöhe */
    min-width: 300px;
    max-width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Hintergrundbild */
.card-bg-Orts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Transparente schwarze Fläche über dem Hintergrundbild */
.card-overlay-Orts {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(1px);
}

/* Bild auf der schwarzen Fläche */
.card-img-top-Orts {
    width: calc(100% - 30px);

    /* 15px Abstand an links und rechts */
    height: 50%;

    /* Die Hälfte der Höhe des Overlays */
    margin: 15px;

    /* Abstand oben, rechts, links */
    border-radius: 20px;
    object-fit: cover;
    object-position: top;
}

/* Titel und Text */
.card-body-Orts {
    text-align: center;
    color: white;
    padding: 5px;
}

.card-title-Orts {
    margin-top: 15px;
    font-size: 1.5rem;
}

.card-text-Orts {
    font-size: 1rem;
}

.OrtsÜber {
    text-align: center;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.contact-form {
    margin-top: 30px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.15);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Abel', sans-serif;
}

.form-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Abel', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #83413E;
    box-shadow: 0 0 5px rgba(131,65,62,0.3);
}

.btn-submit {
    padding: 12px;
    border: none;
    border-radius: 50px;
    background: #83413E;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
	display: block;
	text-decoration: none;
	width: fit-content; 
	align-items: center;
	justify-content: center; 
}

.btn-submit:active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(2px);
	text-decoration: none;
}
.btn-submit:hover {
	text-decoration: none;
	cursor: pointer; 
}

.map-container {
    border-radius: 15px;

    /* für abgerundete Ecken */
    overflow: hidden;

    /* sehr wichtig, damit das iframe innerhalb der abgerundeten Ecken bleibt */
    margin-top: 30px;
    max-width: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;

    /* passt sich der .map-container Höhe an */
    border: 0;
    border-radius: 15px;

    /* Radius jetzt hier, damit das iframe die Ecken abrundet */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);

    /* Schatten hier, damit er nicht abgeschnitten wird */
}

.contact-section {
    margin-top: 50px;
    margin-bottom: 50px;
}
html {
    scroll-behavior: smooth;
}
.Impressum {
    text-align: center;
}
.ImpCon {
    padding: 60px;
}

.scroll-stack-container {
    /* Höhe für Desktop: 4 Karten * ca. 90vh Scrollraum = 360vh + Puffer */
    height: 400vh; 
    position: relative; 
    margin-bottom: 20px;
    margin-top: 30px;
    padding-left: 50px;
    padding-right: 50px;
}

@media (max-width: 768px) {
    /* MOBILE KORREKTUR: Stark reduzierte Scroll-Distanz für schnelleres Erlebnis */
    .scroll-stack-container {
        height: 120vh; 
    }
}
@media (max-width: 576px) {
    /* MOBILE KORREKTUR: Stark reduzierte Scroll-Distanz für schnelleres Erlebnis */
    .scroll-stack-container {
        height: 0vh; 
    }
}
@media (max-width: 980px) {
    /* MOBILE KORREKTUR: Stark reduzierte Scroll-Distanz für schnelleres Erlebnis */
    .scroll-stack-container {
        /* Reduziert auf ca. 45vh pro Karte */
        height: 210vh; 
    }
}
@media (min-width: 930px) {
    /* MOBILE KORREKTUR: Stark reduzierte Scroll-Distanz für schnelleres Erlebnis */
    .scroll-stack-container {
        /* Reduziert auf ca. 45vh pro Karte */
        height:280vh; 
    }
}

/* ------------------------------------------------------------------ */
/* KARTEN-STYLING UND STAPEL-LOGIK */
/* ------------------------------------------------------------------ */

.card {
    position: sticky; 
    
    /* Der Stapel beginnt 100px unter dem Rand */
    top: 100px; 
    
    width: 100%; 
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    height: auto; 
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background-color: transparent;
    
    border: none;
    box-shadow: none;
    transition: transform 0.3s ease-out; 
}
@media (min-width: 1200px) {
    .card {
        max-height: 100vh;
    }
}
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border: none; 
    display: block; 
}

/* ------------------------------------------------------------------ */
/* KORRIGIERTE STAPELREIHENFOLGE UND VERSATZ-LOGIK */
/* ------------------------------------------------------------------ */

/* 1. Z-INDEX: Umgekehrte Reihenfolge (Karte 1 ganz unten, Karte 4 ganz oben) */
/* Die Karte, die zuletzt im Viewport kleben bleibt, MUSS den höchsten Z-Index haben, 
   damit sie über die anderen rutscht. */
/* Karte 4 (letzte) soll über Karte 1 (erste) liegen. */
.card:nth-child(1) { z-index: 1; } /* ganz unten */
.card:nth-child(2) { z-index: 2; }
.card:nth-child(3) { z-index: 3; }
.card:nth-child(4) { z-index: 4; } /* ganz oben */


/* 2. VERSATZ und SKALIERUNG: Die Karten sollen bereits gestapelt warten. */
/* Wir steuern den Versatz, indem wir den 'top'-Wert schrittweise erhöhen, 
   damit jede Karte 20px tiefer klebt. */

/* Karte 1: Grundposition (wird zuerst "freigegeben" und landet ganz unten) */
.card:nth-child(1) { 
    top: 100px;
    transform: scale(0.85) translateY(60px); /* Finale Position: Skaliert und versetzt */
}

/* Karte 2: 20px Versatz und etwas größer/höher */
.card:nth-child(2) { 
    top: 100px; /* Alle kleben an derselben Basis */
    transform: scale(0.9) translateY(40px);
}

/* Karte 3: 40px Versatz und noch größer/höher */
.card:nth-child(3) { 
    top: 100px; 
    transform: scale(0.95) translateY(20px);
}

/* Karte 4: Kein Versatz, volle Größe (erscheint ganz oben) */
.card:nth-child(4) { 
    top: 100px; 
    transform: scale(1) translateY(0px); /* Startposition */
}

/* KORRIGIERTE LOGIK FÜR VERSATZ OBEN: */
/* Da alle Karten an top: 100px kleben, müssen wir den Versatz über die 
   TRANSFORM: translateY Eigenschaft nach oben steuern. */

/* Um den Stapel nach oben zu verschieben (am oberen Rand sichtbar), 
   müssen die nachfolgenden Karten, die darunter liegen sollen, 
   einen NEGATIVEN translateY-Wert haben. */

/* Karte 1 (ganz unten im Stapel): muss am stärksten nach oben verschoben werden und am kleinsten sein. */
.card:nth-child(1) { 
    top: 100px;
    transform: scale(0.85) translateY(-60px); /* 60px nach oben verschoben */
}

/* Karte 2: 40px nach oben */
.card:nth-child(2) { 
    top: 100px; 
    transform: scale(0.9) translateY(-40px);
}

/* Karte 3: 20px nach oben */
.card:nth-child(3) { 
    top: 100px; 
    transform: scale(0.95) translateY(-20px);
}

/* Karte 4 (ganz oben im Stapel): kein Versatz */
.card:nth-child(4) { 
    top: 100px; 
    transform: scale(1) translateY(0px);
}

/*FAQ Bereich*/
.faq-container {
    width: 100%;
    max-width: 1400px;
    padding: 30px;
    margin-left: auto;
    margin-right: auto;
}
/* FAQ Element */
.faq-item {
    border-bottom: 1px rgba(124, 109, 93, 0.8);
    margin-bottom: 5px;
}

/* Frage-Button */
.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 18px 10px;
    font-size: 1.1em;
    color: black; /* Blaue Farbe für die Frage */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    border-radius: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.faq-question:hover,
.faq-question[aria-expanded="true"] {
    background-color: #83413E;
    color: white
}

/* Aufklapp-Icon (+/-) */
.faq-icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
    padding-left: 15px;
}

/* Icon-Drehung bei geöffneter Antwort */
.faq-question[aria-expanded="true"] .faq-icon {
    /* Dreht das Plus-Symbol um 45 Grad, um ein Minus zu simulieren */
    transform: rotate(45deg); 
}


/* Antwort-Container (wichtig für den smooth-Effekt) */
.faq-answer-wrapper {
    /* Startwerte für die Auf-/Zuklapp-Animation */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
}


/* Der JavaScript-Code entfernt das 'hidden'-Attribut, 
   wodurch das Element sichtbar wird und die max-height-Animation triggert. */
.faq-answer-wrapper:not([hidden]) {
    max-height: 500px; /* Muss hoch genug für die längste Antwort sein */
}

/* Antwort-Text */
.faq-answer {
    padding: 15px 10px 20px 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1em;
    line-height: 1.6;
    color: white;
    background-color: rgba(124, 109, 93, 0.8);
    border-top: 1px solid #e0e0e0;
    border-radius: 20px;
}
.unterstrichen {
        text-decoration: underline;
        color: white;
}
.Leidenschaft {
    position: absolute;
    top: 60%;
    left: 0;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    color: white; 
    font-size: 22px; 
    padding: 20px 30px; 
    border-top-right-radius: 20px; 
    border-bottom-right-radius: 20px; 
    max-width: 80%;
}
.icon-text {
  display: inline-flex;
}

.icon {
  width: 0px;
  height: 30px;
  fill: currentColor; /* Icon übernimmt Textfarbe */
}

.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #83413E;
    margin: 0 6px;
    border: none;
    transition: all 0.3s ease;
}
@media (max-width: 576px) {
	.carousel-indicators {
		top: 95%;
	}
}

/* Gemeinsame Styles für beide Pfeile */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;   /* Größe des Buttons */
    height: 50px;
    top: 50%;      /* vertikal zentrieren */
    transform: translateY(-50%);
    background: none; /* Hintergrund von Bootstrap entfernen */
}

/* Gemeinsames Icon Styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none; /* Bootstrap Standard entfernen */
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #83413E;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

/* SVG Mask für den linken Pfeil */
.carousel-control-prev-icon {
    mask-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg"><path d="M6 0L2 4l4 4z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg"><path d="M6 0L2 4l4 4z"/></svg>');
}

/* SVG Mask für den rechten Pfeil */
.carousel-control-next-icon {
    mask-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg"><path d="M2 0l4 4-4 4z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 8 8" xmlns="http://www.w3.org/2000/svg"><path d="M2 0l4 4-4 4z"/></svg>');
}

/* Optional: Hover-Effekt */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #a35450; /* etwas heller beim Hover */
    cursor: pointer;
}

/*Gallerie CSS*/
.gallery-item {
            position: relative;
            overflow: hidden;
            display: block;
            border-radius: 4px;
        }

        .gallery-item img {
            width: 100%;
            transition: transform 0.5s ease;
            display: block;
			object-fit: cover;
        }

        /* Zoom-Effekt beim Hovern des Bildes */
        .gallery-item:hover img {
            transform: scale(1.05);
        }

        /* Das Overlay mit dem Icon */
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            opacity: 0;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
        }
		.gallery-overlay svg {
   		width: 40px;   /* Oder größer, z.B. 60px */
    	height: 40px;
}

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }