/* =====================================
   Elektro Broux - Joomla 6 Cassiopeia
   ===================================== */

/* Header */

/*.container-header {
    background: #ffffff !important;
    background-image: none !important;
}
*/
.container-header {
    background: #0b2f5b;
}

.container-header .navbar-brand,
.container-header .mod-menu a {
    color: # #ffffff !important;
}

.container-header .mod-menu a:hover {
    color: #d6e8ff !important;
}

/* Überschriften */

h1 {
    color: #0b2f5b;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    color: #0b2f5b;
}

/* Einleitung */

.einleitung {
    font-size: 1.15rem;
    margin: 2rem 0;
    text-align: center;
}

/* =====================================
   Bannerbild Elektro Broux
   ===================================== */

.startbild-wrapper {

    max-width: 1400px;      /* Bildbreite */
    height: 600px;         /* Bildhöhe */

    margin: 0 auto 3rem auto;

    background: #ffffff;

    padding: 20px;         /* Weißer Rahmen */

    border: 1px solid #d9d9d9;

    box-shadow:
        0 0 0 1px #eeeeee,
        0 6px 18px rgba(0,0,0,0.12);

    box-sizing: border-box;

    overflow: hidden;
}

.startbild {

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    display: block;
}

/* =====================================
   Leistungen
   ===================================== */

.leistungen-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1.5rem;

    margin: 2rem 0 3rem 0;
}

.leistung-card {

    background: #ffffff;

    border: 1px solid #d9d9d9;

    padding: 1.5rem;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);

    transition: all .2s ease;
}

.leistung-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.leistung-card h2 {

    margin-top: 0;

    font-size: 1.35rem;
}

/* =====================================
   Kontakt / Öffnungszeiten
   ===================================== */

.info-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 2rem;

    margin-top: 2rem;
}

.info-card {

    background: #ffffff;

    border: 1px solid #d9d9d9;

    padding: 1.5rem;

    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.info-card h2 {

    margin-top: 0;
}

.info-card a {

    color: #0b4d8a;

    text-decoration: none;
}

.info-card a:hover {

    text-decoration: underline;
}

/* =====================================
   Footer
   ===================================== */

.footer {

    background: #0b2f5b;

    color: #ffffff;

    text-align: center;

    padding: 20px;
}

.footer a {

    color: #ffffff;
}

/* =====================================
   Responsive
   ===================================== */

@media (max-width: 1200px) {

    .leistungen-grid {

        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .leistungen-grid,
    .info-grid {

        grid-template-columns: 1fr;
    }

    .startbild-wrapper {

        height: 250px;

        padding: 10px;
    }

    .einleitung {

        text-align: left;
    }
}

/* =====================================
   Service-Seite
   ===================================== */

.service-section {
    margin: 2rem 0 3rem 0;
}

.service-section h1 {
    color: #0b2f5b;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Bildergalerie */

.service-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.service-gallery img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;

    background: #ffffff;
    padding: 10px;

    border: 1px solid #d9d9d9;

    box-shadow:
        0 0 0 1px #eeeeee,
        0 4px 12px rgba(0,0,0,0.12);

    box-sizing: border-box;
}

/* Intro */

.service-intro {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0b2f5b;
    margin-bottom: 1.5rem;
}

/* Listenbereich */

.service-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    padding: 1.7rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.service-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

.service-card li {
    margin-bottom: 0.9rem;
    line-height: 1.6;
}

.service-card li:last-child {
    margin-bottom: 0;
}

/* Mobil */

@media (max-width: 1000px) {
    .service-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-list-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .service-gallery {
        grid-template-columns: 1fr;
    }

    .service-gallery img {
        height: 220px;
    }
}

/* =====================================
   Kooperationspartner
   ===================================== */

.partner-section {
    margin: 2rem 0 4rem 0;
}

.partner-section h1 {
    color: #0b2f5b;
    font-weight: 700;
    margin-bottom: 1rem;
}

.partner-intro {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.partner-block {
    margin-bottom: 3rem;
}

.partner-block h2 {
    color: #0b2f5b;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #d9d9d9;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.3rem;
}

.partner-logo {
    min-height: 130px;
    background: #ffffff;
    border: 1px solid #d9d9d9;
    padding: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 0 0 1px #eeeeee,
        0 3px 10px rgba(0,0,0,0.08);

    box-sizing: border-box;
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    display: block;
}

.partner-logo:hover {
    transform: translateY(-3px);
    transition: all .2s ease;
    box-shadow:
        0 0 0 1px #eeeeee,
        0 6px 16px rgba(0,0,0,0.12);
}

/* Responsive */

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

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

@media (max-width: 480px) {
    .partner-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   Unternehmen-Seite
   ===================================== */

.unternehmen-section {
    margin: 2rem 0 4rem 0;
}

.unternehmen-section h1 {
    color: #0b2f5b;
    font-weight: 700;
    margin-bottom: 2rem;
}

/* Hauptbereich */

.unternehmen-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.unternehmen-text {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.unternehmen-text h2 {
    color: #0b2f5b;
    margin-top: 0;
}

.unternehmen-text p {
    line-height: 1.7;
}

/* Mitgliedschaften */

.unternehmen-card {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.unternehmen-card h2 {
    color: #0b2f5b;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.mitglied-logos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.3rem;
}

.mitglied-logos img {
    max-width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;

    background: #ffffff;
    padding: 12px;
    border: 1px solid #d9d9d9;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Mutterfirma */

.mutterfirma-box {
    background: #f5f7fa;
    border-left: 6px solid #0b2f5b;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mutterfirma-box h2 {
    color: #0b2f5b;
    margin-top: 0;
}

.mutterfirma-box p {
    line-height: 1.7;
}

.mutterfirma-box a {
    color: #0b4d8a;
    font-weight: 600;
    text-decoration: none;
}

.mutterfirma-box a:hover {
    text-decoration: underline;
}

/* Mobil */

@media (max-width: 900px) {
    .unternehmen-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 500px) {
    .mitglied-logos {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   Referenzen
   ===================================== */

.referenzen-section {
    margin: 2rem 0 4rem 0;
}

.referenzen-section h1 {
    color: #0b2f5b;
    font-weight: 700;
    margin-bottom: 1rem;
}

.referenzen-intro {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
}

.referenzen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.referenz-card {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.referenz-card h2 {
    color: #0b2f5b;
    margin-top: 0;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #d9d9d9;
}

.referenz-card ul {
    margin: 0;
    padding-left: 1.2rem;
}

.referenz-card li {
    margin-bottom: .6rem;
    line-height: 1.5;
}

/* Mobil */

@media (max-width: 900px) {
    .referenzen-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   Kontakt
   ===================================== */

.kontakt-section {
    margin: 2rem 0 4rem 0;
}

.kontakt-section h1 {
    color: #0b2f5b;
    margin-bottom: 2rem;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.kontakt-card {

    background: #ffffff;

    border: 1px solid #d9d9d9;

    padding: 2rem;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.08);
}

.kontakt-card h2 {

    color: #0b2f5b;

    margin-top: 0;

    margin-bottom: 1.5rem;
}

.kontakt-card a {

    color: #0b4d8a;

    text-decoration: none;
}

.kontakt-card a:hover {

    text-decoration: underline;
}

/* Öffnungszeiten */

.oeffnungszeiten-box {

    background: #f5f7fa;

    border-left: 6px solid #0b2f5b;

    padding: 2rem;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.06);
}

.oeffnungszeiten-box h2 {

    color: #0b2f5b;

    margin-top: 0;
}

.zeiten-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1rem;
}

.zeiten-grid div {

    background: #ffffff;

    padding: 1rem;

    border: 1px solid #d9d9d9;

    text-align: center;
}

/* Mobil */

@media (max-width: 900px) {

    .kontakt-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 500px) {

    .zeiten-grid {
        grid-template-columns: 1fr;
    }
}
/* =====================================
   Impressum
   ===================================== */

.impressum-section {
    margin: 2rem 0 4rem 0;
}

.impressum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.impressum-card {

    background: #ffffff;

    border: 1px solid #d9d9d9;

    padding: 2rem;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.08);
}

.impressum-card h2 {

    color: #0b2f5b;

    margin-top: 0;
}

.impressum-card a {

    color: #0b4d8a;

    text-decoration: none;
}

.impressum-card a:hover {

    text-decoration: underline;
}

.hinweis-box {

    background: #f5f7fa;

    border-left: 6px solid #0b2f5b;

    padding: 2rem;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.06);
}

.hinweis-box h2 {

    margin-top: 0;

    color: #0b2f5b;
}

@media (max-width: 900px) {

    .impressum-grid {

        grid-template-columns: 1fr;
    }
}
.bildnachweise {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.bildnachweise th {
    background: #0b2f5b;
    color: #ffffff;
    padding: 12px;
    text-align: left;
}

.bildnachweise td {
    padding: 12px;
    border-bottom: 1px solid #d9d9d9;
}

.bildnachweise tr:nth-child(even) {
    background: #f7f7f7;
}
/* =====================================
   Datenschutzerklärung
   ===================================== */

.datenschutz-section {
    margin: 2rem 0 4rem 0;
    max-width: 1100px;
}

.datenschutz-section h1 {
    color: #0b2f5b;
    font-weight: 700;
    margin-bottom: 2rem;
}

.datenschutz-box {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.datenschutz-box h2 {
    color: #0b2f5b;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #d9d9d9;
    padding-bottom: .5rem;
}

.datenschutz-box p {
    line-height: 1.7;
}

.datenschutz-box ul {
    margin-top: 1rem;
    padding-left: 1.4rem;
}

.datenschutz-box li {
    margin-bottom: .5rem;
    line-height: 1.5;
}

.datenschutz-box a {
    color: #0b4d8a;
    text-decoration: none;
    font-weight: 600;
}

.datenschutz-box a:hover {
    text-decoration: underline;
}