/* ==================================================
   GESAMTE WEBSITE: Dunkler Hintergrund und weiße Schrift
   ================================================== */

body,
.site-grid,
.site,
.container-component,
.container-main,
main,
.com-content,
.com-content-article,
.com-content-article__body,
.item-page,
.blog,
.blog-featured,
.com-content-category-blog {
    background-color: #111111 !important;
    color: #ffffff !important;
}

/* Kopfbereich und Hauptmenü */
.container-header {
    background-color: #111111 !important;
    background-image: none !important;
}

/* Weiße Schrift in Navigation und Seiteninhalten */
.container-header,
.container-header a,
body,
body p,
body h1,
body h2,
body h3,
body h4,
body li,
body .page-header,
body .article-info {
    color: #ffffff !important;
}

/* Weiße Links */
body a {
    color: #ffffff !important;
}

body a:hover {
    color: #cccccc !important;
}

/* Menüschrift vergrößern */
.container-header .mod-menu a {
    font-size: 1.35rem !important;
    font-weight: 600;
}


/* ==================================================
   STARTSEITE: Titel über dem Hintergrundbild
   ================================================== */
.startseiten-titel {
    position: relative !important;
    z-index: 20;
    width: 100%;
    margin-top: 0 !important;
    padding: 20px !important;
    text-align: center;
    background: transparent !important;
}
.startseiten-titel h1 {
    color: #ffffff !important;
    font-family: Georgia, serif;
    font-size: clamp(48px, 8vw, 110px);
    font-weight: normal;
    line-height: 1.1;
    text-align: center;
    margin: 0;
    text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

/* ==================================================
   KONTAKTFORMULAR
   ================================================== */

/* Dunkle Eingabefelder */
.com-contact__form input,
.com-contact__form textarea,
.com-contact__form select,
.com-contact-form input,
.com-contact-form textarea,
.com-contact-form select {
    background-color: #222222 !important;
    color: #ffffff !important;
    border: 1px solid #555555 !important;
}

/* Platzhalter und Eingabefokus */
.com-contact__form input::placeholder,
.com-contact__form textarea::placeholder,
.com-contact-form input::placeholder,
.com-contact-form textarea::placeholder {
    color: #bbbbbb !important;
}

.com-contact__form input:focus,
.com-contact__form textarea:focus,
.com-contact-form input:focus,
.com-contact-form textarea:focus {
    background-color: #292929 !important;
    border-color: #888888 !important;
    color: #ffffff !important;
}

/* Beschriftungen und Pflichtfelder */
.com-contact-form label {
    color: #ffffff !important;
}

.com-contact-form button {
    background-color: #17366f !important;
    color: #ffffff !important;
    border: none !important;
}


/* ==================================================
   FOTOGALERIE
   ================================================== */

/* Drei Bilder nebeneinander */
.foto-galerie {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    margin: 30px 0;
}

.foto-galerie figure {
    margin: 0;
}

.foto-galerie img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.foto-galerie figcaption {
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Fotogalerie auf schmalen Bildschirmen */
@media (max-width: 700px) {
    .foto-galerie {
        grid-template-columns: 1fr;
    }
}


/* ==================================================
   MUSIC-SEITE: Drei Bilder oben, zwei mittig darunter
   ================================================== */

.music-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 24px;
    width: 100%;
    max-width: 1000px;
    margin: 20px auto 35px;
}

.music-item {
    grid-column: span 2;
    min-width: 0;
    text-align: center;
}

/* Die letzten beiden Bilder mittig platzieren */
.music-item:nth-child(4) {
    grid-column: 2 / span 2;
}

.music-item:nth-child(5) {
    grid-column: 4 / span 2;
}

.music-item img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center 35%;
    border-radius: 7px;
}

.music-item p {
    color: #32d66b !important;
    font-size: 1rem;
    line-height: 1.3;
    text-align: center;
    margin: 12px 0 0;
}

.music-item a {
    color: #32d66b !important;
    text-decoration: none !important;
}

.music-item a:hover {
    color: #ffffff !important;
}

/* Tablets und kleinere Bildschirme */
@media (max-width: 800px) {
    .music-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .music-item,
    .music-item:nth-child(4),
    .music-item:nth-child(5) {
        grid-column: auto;
    }
}

/* Smartphones */
@media (max-width: 500px) {
    .music-grid {
        grid-template-columns: 1fr !important;
    }

    .music-item img {
        height: auto;
        max-height: 400px;
        object-fit: contain;
    }
}


/* ==================================================
   FOOTER: Dunkler Hintergrund und weiße Schrift
   ================================================== */

.container-footer {
    background-color: #111111 !important;
    background-image: none !important;
    color: #ffffff !important;
}

/* Footer-Links in Weiß */
.container-footer a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.container-footer a:hover {
    color: #cccccc !important;
}
/* Music-Seite: weiße Joomla-Flächen entfernen */
body.itemid-10 .com-content,
body.itemid-10 .com-content-article,
body.itemid-10 .com-content-article__body,
body.itemid-10 .container-component {
    background-color: #111111 !important;
}