/* =====================================================
   CATERING KÜCHEN – JOOMLA 6 / CASSIOPEIA
   Version 2.0 – Dark Design
   ===================================================== */

/* =====================================================
   1. GRUNDFARBEN
   ===================================================== */

:root {
    --body-bg: #17191c;
    --body-color: #f5f5f5;
    --site-bg: #17191c;
    --site-text: #f5f5f5;
    --site-accent: #d52b2b;
}

html,
body.site {
    background-color: var(--site-bg) !important;
    color: var(--site-text) !important;
}

.site-grid,
.container-component {
    background-color: var(--site-bg) !important;
    color: var(--site-text);
}

/* =====================================================
   2. HEADER UND BANNER
   ===================================================== */

.container-header {
    width: 100%;
    background: var(--site-bg) !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Header auf volle Breite */
.container-header .grid-child {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Branding-Bereich */
.container-header .navbar-brand {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.container-header .navbar-brand a,
.container-header .brand-logo {
    display: block;
    width: 100%;
}

/* Großes Bannerbild */
.container-header .navbar-brand img,
.container-header .brand-logo img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
    margin: 0 !important;
}

/* =====================================================
   3. HAUPTINHALT
   ===================================================== */

.container-component {
    width: 100%;
    max-width: 100% !important;
    padding: 0 !important;
}

.com-sppagebuilder {
    background-color: var(--site-bg);
    color: var(--site-text);
}

/* Abschnitte ohne Hintergrundbild */
.com-sppagebuilder
.sppb-section:not([style*="background-image"]) {
    background-color: var(--site-bg);
}

/* =====================================================
   4. ALLGEMEINE TYPOGRAFIE
   ===================================================== */

.com-sppagebuilder h1,
.com-sppagebuilder h2,
.com-sppagebuilder h3,
.com-sppagebuilder h4,
.com-sppagebuilder p {
    color: var(--site-text);
}

.com-sppagebuilder p {
    line-height: 1.7;
}

/* =====================================================
   5. LOCATIONS UND FEATURE BOXEN
   ===================================================== */

.com-sppagebuilder .sppb-addon-feature,
.com-sppagebuilder .sppb-addon-content,
.com-sppagebuilder .sppb-addon-text-block,
.com-sppagebuilder .sppb-feature-box-title,
.com-sppagebuilder .sppb-addon-title {
    background-color: transparent !important;
    color: var(--site-text) !important;
}

.com-sppagebuilder .sppb-addon-feature h3,
.com-sppagebuilder .sppb-addon-feature p,
.com-sppagebuilder .sppb-addon-text-block p {
    color: var(--site-text) !important;
}
/* ==========================================
   JOOMLA / SP PAGE BUILDER
   Automatischen Seitentitel ausblenden
   ========================================== */

.com-sppagebuilder .page-header,
.com-sppagebuilder .page-title,
.com-sppagebuilder .sppb-page-title,
.container-component > .page-header,
.container-component > h1 {
    display: none !important;
}

/* =====================================================
   ÜBER UNS – HARMONISCHES LAYOUT
   ===================================================== */

.com-sppagebuilder .about-section {
    padding: 65px 0;
}

/* Bild- und Textspalte vertikal ausrichten */
.com-sppagebuilder .about-section .sppb-row {
    align-items: center !important;
}

/* Bildspalte */
.com-sppagebuilder .about-image-col {
    padding-right: 25px;
}

/* Textspalte */
.com-sppagebuilder .about-text-col {
    padding-left: 25px;
}

/* Bild */
.com-sppagebuilder .about-image img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: 570px;
    object-fit: cover;
    object-position: center top;
    margin: 0 auto;
    border-radius: 8px;
}

/* Gesamter Textblock */
.com-sppagebuilder .about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 570px;
    max-width: 600px;
    padding: 15px 0;
    margin: 0;
    text-align: left !important;
}

/* Auch verschachtelte Texte linksbündig */
.com-sppagebuilder .about-text * {
    text-align: left !important;
}

/* Überschrift */
.com-sppagebuilder .about-text h2,
.com-sppagebuilder .about-text .sppb-addon-title {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 24px;
    color: #ffffff !important;
}

/* Fließtext */
.com-sppagebuilder .about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0 !important;
    margin: 0 0 16px;
}

.com-sppagebuilder .about-text p:last-child {
    margin-bottom: 0;
}

/* TABLET */
@media (max-width: 991px) {
    .com-sppagebuilder .about-section {
        padding: 50px 0;
    }

    .com-sppagebuilder .about-image-col,
    .com-sppagebuilder .about-text-col {
        padding-left: 15px;
        padding-right: 15px;
    }

    .com-sppagebuilder .about-image img {
        height: 500px;
    }

    .com-sppagebuilder .about-text {
        min-height: 500px;
    }

    .com-sppagebuilder .about-text h2 {
        font-size: 34px;
    }
}

/* SMARTPHONE */
@media (max-width: 768px) {
    .com-sppagebuilder .about-section {
        padding: 40px 0;
    }

    .com-sppagebuilder .about-image img {
        height: auto;
        max-width: 100%;
    }

    .com-sppagebuilder .about-text {
        min-height: 0;
        max-width: 100%;
        padding: 25px 0 0;
    }

    .com-sppagebuilder .about-text h2 {
        font-size: 30px;
        margin-bottom: 18px;
    }

    .com-sppagebuilder .about-text p {
        font-size: 16px;
        line-height: 1.65;
    }
}

/* =====================================================
   CATERING KÜCHEN – UNTERNEHMENSMERKMALE
   Variante 3: Minimalistisch mit rotem Akzent
   ===================================================== */

/* Gesamter Abschnitt */
.com-sppagebuilder .company-values {
    background-color: #17191c !important;
    padding: 65px 20px;
}

/* Feature-Boxen */
.com-sppagebuilder .company-values .sppb-addon-feature {
    background: transparent !important;
    text-align: center;
    padding: 10px 15px;
}

/* Häkchen: ohne Kreis und ohne Hintergrund */
.com-sppagebuilder .company-values .sppb-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: auto !important;
    height: auto !important;

    margin: 0 auto 16px !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;

    color: #c9a5a0 !important;
}

/* Originales Font-Awesome-Häkchen */
.com-sppagebuilder .company-values .sppb-icon i,
.com-sppagebuilder .company-values .sppb-icon .fa,
.com-sppagebuilder .company-values .sppb-icon .fas {
    font-size: 38px !important;
    color: #c9a5a0 !important;
}

/* Dezente rote Linie unter dem Icon */
.com-sppagebuilder .company-values .sppb-icon::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);

    width: 32px;
    height: 2px;
    background: #a52d2d;
}

.com-sppagebuilder .company-values .sppb-icon {
    position: relative;
    margin-bottom: 27px !important;
}

/* Überschriften */
.com-sppagebuilder .company-values
.sppb-addon-feature .sppb-addon-title {
    color: #f5f5f5 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
    margin-top: 0;
}

/* Tablet */
@media (max-width: 991px) {
    .com-sppagebuilder .company-values {
        padding: 50px 15px;
    }

    .com-sppagebuilder .company-values
    .sppb-addon-feature .sppb-addon-title {
        font-size: 18px !important;
    }
}

/* Smartphone */
@media (max-width: 768px) {
    .com-sppagebuilder .company-values {
        padding: 40px 15px;
    }

    .com-sppagebuilder .company-values .sppb-addon-feature {
        margin-bottom: 22px;
    }

    .com-sppagebuilder .company-values
    .sppb-addon-feature .sppb-addon-title {
        font-size: 17px !important;
    }
}

/* ==========================================
   SERVICES – MODERN & TRANSPARENT
   Catering Küchen
   ========================================== */

/* Gesamter Abschnitt */
.com-sppagebuilder .services-section {
    padding: 70px 0 !important;
}

/* Drei gleich hohe Spalten */
.com-sppagebuilder .services-section .sppb-row {
    align-items: stretch !important;
}

/* Abstände zwischen den Boxen */
.com-sppagebuilder .services-section .sppb-column {
    padding-left: 14px;
    padding-right: 14px;
}

/* Transparente Boxen */
.com-sppagebuilder .services-box {
    background: rgba(23, 25, 28, 0.58) !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;

    padding: 30px 28px !important;
    height: 100%;

    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);

    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}

/* Überschriften */
.com-sppagebuilder .services-box h2,
.com-sppagebuilder .services-box h3,
.com-sppagebuilder .services-box .sppb-addon-title {
    font-size: 24px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
    margin: 0 0 22px !important;
    color: #ffffff !important;
}

/* Fließtexte */
.com-sppagebuilder .services-box p {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: #f0f0f0 !important;
    margin-bottom: 17px !important;
}

/* Letzter Absatz */
.com-sppagebuilder .services-box p:last-child {
    margin-bottom: 0 !important;
}

/* Hauptkatalog mittig */
.com-sppagebuilder .services-box-center {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center !important;
    text-align: center !important;
}

/* Hauptkatalog-Überschrift */
.com-sppagebuilder .services-box-center h3 {
    text-align: center !important;
    margin-bottom: 24px !important;
}

/* Hauptkatalog-Button */
.com-sppagebuilder .services-catalog-btn {
    display: inline-block;
    background: #ad2529 !important;
    color: #ffffff !important;

    padding: 14px 26px;
    border-radius: 7px;
    border: none;

    font-size: 15px !important;
    font-weight: 650 !important;
    line-height: 1.3;

    text-decoration: none !important;
    transition: background 0.2s ease,
                transform 0.2s ease;
}

.com-sppagebuilder .services-catalog-btn:hover {
    background: #8f1c20 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.com-sppagebuilder .services-catalog-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 991px) {
    .com-sppagebuilder .services-section {
        padding: 50px 0 !important;
    }

    .com-sppagebuilder .services-box {
        padding: 24px 20px !important;
    }

    .com-sppagebuilder .services-box h2,
    .com-sppagebuilder .services-box h3,
    .com-sppagebuilder .services-box .sppb-addon-title {
        font-size: 21px !important;
    }
}

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 768px) {
    .com-sppagebuilder .services-section {
        padding: 40px 0 !important;
    }

    .com-sppagebuilder .services-section .sppb-column {
        padding-left: 12px;
        padding-right: 12px;
        margin-bottom: 20px;
    }

    .com-sppagebuilder .services-box {
        padding: 24px 20px !important;
        height: auto;
    }

    .com-sppagebuilder .services-box p {
        font-size: 15px !important;
    }

    .com-sppagebuilder .services-catalog-btn {
        width: 100%;
        text-align: center;
    }
}

/* =====================================================
   CATERING KÜCHEN – LOCATIONS
   Desktop + Tablet + Smartphone
   ===================================================== */

/* 1. GESAMTER ABSCHNITT */
.com-sppagebuilder .locations-section {
    background: #17191c !important;
    padding: 80px 0;
    position: relative;
}

/* Hintergrund der inneren Elemente */
.com-sppagebuilder .locations-section .sppb-container,
.com-sppagebuilder .locations-section .sppb-container-inner,
.com-sppagebuilder .locations-section .sppb-row,
.com-sppagebuilder .locations-section [class*="sppb-col"] {
    background-color: transparent !important;
}

/* Section-Überschrift */
.com-sppagebuilder .locations-section .sppb-section-title,
.com-sppagebuilder .locations-section h2 {
    color: #ffffff !important;
}

/* 2. FEATURE BOXEN */
.com-sppagebuilder .locations-section .sppb-addon,
.com-sppagebuilder .locations-section .sppb-addon-feature,
.com-sppagebuilder .locations-section .sppb-addon-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* 3. BILDER */
.com-sppagebuilder .locations-section .sppb-addon-feature img,
.com-sppagebuilder .locations-section .sppb-addon-single-image img {
    display: block;
    width: 100%;
    max-width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 24px !important;
}

/* 4. LOCATION-TITEL */
.com-sppagebuilder .locations-section .sppb-feature-box-title,
.com-sppagebuilder .locations-section .sppb-addon-title {
    color: #ffffff !important;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
    text-align: left;
}

/* 5. BESCHREIBUNGSTEXTE */
.com-sppagebuilder .locations-section .sppb-addon-text,
.com-sppagebuilder .locations-section .sppb-addon-text p,
.com-sppagebuilder .locations-section .sppb-addon-feature p {
    color: #f0f0f0 !important;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 0;
}

/* Spaltenabstand */
.com-sppagebuilder .locations-section [class*="sppb-col"] {
    padding-left: 18px;
    padding-right: 18px;
}

/* =====================================================
   TABLET – bis 991 px
   ===================================================== */

@media (max-width: 991px) {

    .com-sppagebuilder .locations-section {
        padding: 60px 0;
    }

    .com-sppagebuilder .locations-section
    .sppb-addon-feature img,
    .com-sppagebuilder .locations-section
    .sppb-addon-single-image img {
        max-width: 220px;
        height: 220px;
    }

    .com-sppagebuilder .locations-section
    .sppb-feature-box-title,
    .com-sppagebuilder .locations-section
    .sppb-addon-title {
        font-size: 21px;
    }
}

/* =====================================================
   SMARTPHONE – bis 767 px
   ===================================================== */

@media (max-width: 767px) {

    /* Gesamter Locations-Bereich */
    .com-sppagebuilder .locations-section {
        padding: 45px 18px;
    }

    /* Inhalte der Karten zentrieren */
    .com-sppagebuilder .locations-section
    .sppb-addon,
    .com-sppagebuilder .locations-section
    .sppb-addon-content {
        text-align: center !important;
    }

    /* Gleichmäßige Abstände */
    .com-sppagebuilder .locations-section
    [class*="sppb-col"] {
        padding-left: 12px;
        padding-right: 12px;
        margin-bottom: 35px;
    }

    /* Bilder zentrieren und einheitlich groß */
    .com-sppagebuilder .locations-section
    .sppb-addon-feature img,
    .com-sppagebuilder .locations-section
    .sppb-addon-single-image img {
        display: block !important;
        width: 100% !important;
        max-width: 280px !important;
        height: 280px !important;
        object-fit: cover;
        margin: 0 auto 22px !important;
    }

    /* Überschriften mittig */
    .com-sppagebuilder .locations-section
    .sppb-feature-box-title,
    .com-sppagebuilder .locations-section
    .sppb-addon-title {
        font-size: 22px !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }

    /* Beschreibungstexte mittig */
    .com-sppagebuilder .locations-section
    .sppb-addon-text,
    .com-sppagebuilder .locations-section
    .sppb-addon-text p,
    .com-sppagebuilder .locations-section
    .sppb-addon-feature p {
        font-size: 15px !important;
        line-height: 1.7 !important;
        text-align: center !important;
    }
}


/* ==========================================
   SPECIALS – FEINSCHLIFF
   ========================================== */

/* Einheitliche Sliderhöhe */
.com-sppagebuilder .specials-section
.sppb-carousel-inner img {
    width: 100%;
    height: 320px !important;
    object-fit: cover;
}

/* Überschriften der drei Specials */
.com-sppagebuilder .specials-section
.sppb-addon-title {
    font-size: 28px !important;
    line-height: 1.3;
    margin-top: 16px !important;
    margin-bottom: 12px !important;
}

/* Beschreibungstexte */
.com-sppagebuilder .specials-section p {
    font-size: 16px;
    line-height: 1.7;
}

/* Mobile Anpassung */
@media (max-width: 768px) {
    .com-sppagebuilder .specials-section
    .sppb-carousel-inner img {
        height: 240px !important;
    }

    .com-sppagebuilder .specials-section
    .sppb-addon-title {
        font-size: 24px !important;
    }
}


/* ==========================================
   CATERING KÜCHEN – FOOTER
   ========================================== */

/* Anthrazitfarbener Footer */
.container-footer {
    background: #17191c !important;
    background-image: none !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 30px 20px !important;
    box-shadow: none !important;
}

/* Inhalt zentrieren */
.container-footer .grid-child {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Impressum und Datenschutz nebeneinander */
.container-footer .mod-menu {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* Menüeinträge */
.container-footer .mod-menu > li {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

/* Links */
.container-footer .mod-menu a {
    color: #eeeeee !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 400;
}

/* Dezenter Hover */
.container-footer .mod-menu a:hover {
    color: #e05252 !important;
    text-decoration: underline !important;
}

/* Mobile Ansicht */
@media (max-width: 480px) {
    .container-footer {
        padding: 24px 12px !important;
    }

    .container-footer .mod-menu {
        gap: 18px;
    }

    .container-footer .mod-menu a {
        font-size: 14px;
    }
}

/* ==========================================
   LOCATIONS – MOBILE ZENTRIERUNG
   SP Page Builder 6
   ========================================== */

@media screen and (max-width: 767px) {

    /* Alle Location-Spalten über volle Breite */
    .locations-section .sppb-row > [class*="sppb-col"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Inhalte innerhalb der Karten */
    .locations-section .sppb-addon,
    .locations-section .sppb-addon-content,
    .locations-section .sppb-addon-feature,
    .locations-section .sppb-addon-text-block {
        text-align: center !important;
    }

    /* Bilder und Bild-Wrapper */
    .locations-section .sppb-addon img,
    .locations-section .sppb-addon-content img,
    .locations-section .sppb-addon-feature img {
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
    }

    /* Überschriften und Texte */
    .locations-section .sppb-addon-title,
    .locations-section .sppb-feature-box-title,
    .locations-section h3,
    .locations-section p {
        text-align: center !important;
    }

    /* Spaltenabstände */
    .locations-section .sppb-row > [class*="sppb-col"] {
        margin-bottom: 35px !important;
    }
}


