/* ==========================================
   GLOBAL FONTS
   ========================================== */
@font-face {
  font-family: 'Quicksand'; font-style: normal; font-weight: 300;
  src: url('../fonts/quicksand-v11-latin-300.woff2') format('woff2'), url('../fonts/quicksand-v11-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Quicksand'; font-style: normal; font-weight: 400;
  src: url('../fonts/quicksand-v11-latin-regular.woff2') format('woff2'), url('../fonts/quicksand-v11-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Quicksand'; font-style: normal; font-weight: 500;
  src: url('../fonts/quicksand-v11-latin-500.woff2') format('woff2'), url('../fonts/quicksand-v11-latin-500.woff') format('woff');
}
@font-face {
  font-family: 'Quicksand'; font-style: normal; font-weight: 600;
  src: url('../fonts/quicksand-v11-latin-600.woff2') format('woff2'), url('../fonts/quicksand-v11-latin-600.woff') format('woff');
}
@font-face {
  font-family: 'Quicksand'; font-style: normal; font-weight: 700;
  src: url('../fonts/quicksand-v11-latin-700.woff2') format('woff2'), url('../fonts/quicksand-v11-latin-700.woff') format('woff');
}

/* ==========================================
   GLOBAL STYLES
   ========================================== */
body {
  font-family: Quicksand, sans-serif;
  font-weight: normal;
  background: linear-gradient(to right, #388ecd 0%, #aad5f1 5%, #dff1fb 10%, #fff 20%, #fff 80%, #dff1fb 90%, #aad5f1 95%, #388ecd 100%);
}

a { color: #000; }
a:hover { color: #22b8f0; text-decoration: underline; }

.layout-boxed .body-innerwrapper {
  box-shadow: 0 0 5px #388ecd;
}

/* ==========================================
   HEADER & LAYOUT
   ========================================== */
#sp-top-bar { background-color: #d2eaf9; color: #0779bc; }
#sp-header { background-color: transparent; box-shadow: none; height: 120px; }
#sp-logo { padding-top: 30px; }
#sp-main-body { padding: 0; }

/* Logo Desktop */
#sp-logo img {
    width: 300px; 
    max-width: none; 
    height: auto;
}

/* Desktop Sidebar */
#sp-left { 
    padding-top: 100px; 
    margin-bottom: 50px; 
    display: block; 
}

#sp-left .sp-module {
    margin-left: -20px; 
}

#offcanvas-toggler {
    display: none;
}

/* ==========================================
   SIDEBAR MENU STYLING
   ========================================== */
#sp-component ul, 
.sp-module ul {
   list-style-image: url("/images/Drop2.png"); 
   padding-left: 20px;
}

.sp-module ul > li > a {
    display: block; 
    padding: 1px 0; 
}

.sp-module ul > li > a:hover {
    color: #22b8f0;
}

.sp-module ul > li > a::before {
  content: url("/images/Drop.png"); 
  margin-right: 8px;
  vertical-align: middle;
}

.sp-module ul > li.current.active > a {
  font-weight: bold;
  color: #60a9dc !important;
  border-right: 4px solid #60a9dc;
  text-decoration: none;
}

/* Hide utility items */
.sp-module ul > li.item-104, 
.sp-module ul > li.item-103, 
.sp-module ul > li.item-105 {
  display: none;
}

/* ==========================================
   OFFCANVAS MENU STYLING
   ========================================== */
.offcanvas-menu {
  background-color: rgba(255,255,255,1); 
  width: 300px; 
}

.close-offcanvas {
  color: #60a9dc; 
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li a {
  color: #000;
  display: block;
  padding: 10px;
  font-size: 16px;
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li.current.active a {
  color: #60a9dc; 
}

.offcanvas-menu .offcanvas-inner .sp-module ul > li a:hover {
  background: none;
  font-weight: bold;
  color: #22b8f0;
}

/* ==========================================
   PAGE BACKGROUNDS (DESKTOP)
   ========================================== */
body:not(.itemid-101) #sp-component {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: 300px 80px;
  background-size: 70%;
}

/* Startseite (Home) - ID 101 */
body.itemid-101 #sp-component {
  background-image: url("/images/Logo.png");
  padding-top: 550px; 
  margin-top: -100px;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: 63% 80px; 
}
body.itemid-101 #sp-component > div {
    text-align: center; 
}

/* Sub-Pages */
body.itemid-114 #sp-component { background-image: url("/images/Hausmeisterservice.jpg"); padding-top: 450px; }
body.itemid-113 #sp-component { background-image: url("/images/Glasreinigung.jpg"); padding-top: 450px; }
body.itemid-112 #sp-component { background-image: url("/images/Photovoltaik.jpg"); padding-top: 450px; }
body.itemid-111 #sp-component { background-image: url("/images/Baureinigung.jpg"); padding-top: 450px; }
body.itemid-110 #sp-component { background-image: url("/images/Unterhaltsreinigung.jpg"); padding-top: 450px; }
body.itemid-109 #sp-component { background-image: url("/images/Bueroreinigung.jpg"); padding-top: 450px; }

/* ==========================================
   READABILITY & STYLING FIXES
   ========================================== */
article.item {
    background-color: rgba(255, 255, 255, 0.90);
    border-top: 4px solid #60a9dc; 
    padding: 0px 30px 30px 30px; 
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    min-height: 65vh; 
    margin-bottom: 0 !important;
    margin-left: -15px;
    margin-right: -15px;
    width: auto;
}

.page-header {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
}

.page-header h1,
.page-header h2 {
    margin: 15px 0 0 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 500; 
    text-align: left;
}

#sp-aktuelles {
  padding-top: 40px;
  border-bottom: 4px solid #60a9dc;
  margin-bottom: 50px;
}

/* ==========================================
   FOOTER STYLING
   ========================================== */
#sp-bottom {
  background-image: url("/images/Bottom.png"); 
  background-repeat: no-repeat;
  background-position: left bottom; 
  background-color: #ffffff; 
  border-top: 4px solid #60a9dc; 
  padding: 40px 0 60px 0; 
  margin-top: -20px !important; 
  position: relative;
  z-index: 10;
}

#sp-bottom1 { padding-left: 150px; }
#sp-bottom2, #sp-bottom3 { padding-left: 50px; }

#sp-bottom td { padding-bottom: 5px; vertical-align: top; }
#sp-bottom strong { color: #000; }

#sp-footer {
  background-color: #ffffff !important; 
  color: #4799D2;
  font-size: 10px;
  padding: 2px 0;
  margin-top: -4px; 
  position: relative;
  z-index: 10;
  text-align: left; 
}

#sp-footer .container {
  padding-left: 0px;
  margin-left: 15px;
}

/* ==========================================
   TABLET & MOBILE (Max Width 991px)
   Hier erscheint der Hamburger, also Bilder weg!
   ========================================== */
@media only screen and (max-width: 991px) {
    #sp-main-body { display: block !important; }
    #sp-left { display: none !important; } /* Linkes Menü ist weg */
    #sp-component { width: 100%; flex: 0 0 100%; max-width: 100%; }
    
    #sp-header .row { position: relative; }

    /* Hamburger Menu anzeigen */
    #offcanvas-toggler {
        display: block !important;
        position: absolute; 
        right: 15px; 
        top: 35px; 
        font-size: 26px;
        color: #000;
        z-index: 99;
        float: none;
        margin: 0;
    }

    /* Logo Centering */
    #sp-logo {
        text-align: center !important;
        padding: 10px 0;
        width: 100%;
        flex: 0 0 100%; 
        max-width: 100%;
        display: block;
    }
    #sp-logo .logo { display: inline-block; }
    #sp-logo img {
        height: auto;
        max-height: 80px; 
        width: auto;
        margin: 0 auto;
    }

    /* LOGIK-ÄNDERUNG:
       Sobald wir hier (<= 991px) sind, ist das linke Menü weg.
       Daher entfernen wir hier ALLE Hintergrundbilder und setzen das Padding zurück.
    */
    #sp-component,
    body.itemid-101 #sp-component,
    body.itemid-114 #sp-component,
    body.itemid-113 #sp-component,
    body.itemid-112 #sp-component,
    body.itemid-111 #sp-component,
    body.itemid-110 #sp-component,
    body.itemid-109 #sp-component {
        background-image: none !important; /* Bild ausblenden */
        padding-top: 20px !important;      /* Großen Abstand entfernen */
        margin-top: 0 !important;
    }

    /* Footer Adjustments */
    #sp-bottom { background-image: url("/images/Bottom2.png"); padding-left: 0; }
    #sp-bottom1, #sp-bottom2, #sp-bottom3 { padding-left: 20px; padding-top: 20px; }
    #sp-footer { text-align: center; margin-top: 0; }
    #sp-footer .container { margin-left: auto; margin-right: auto; } 
}

/* ==========================================
   MOBILE PHONE (PORTRAIT - < 767px)
   ========================================== */
@media only screen and (max-width: 767px) {
    #sp-logo { 
        padding: 10px 0 20px 0 !important; 
        text-align: center !important;
    }
    
    #sp-logo img {
        max-width: 90%; 
        height: auto;
        width: auto; 
    }
    
    /* Disable Backgrounds on Phones */
    #sp-component, 
    body.itemid-101 #sp-component,
    body.itemid-114 #sp-component,
    body.itemid-113 #sp-component,
    body.itemid-112 #sp-component,
    body.itemid-111 #sp-component,
    body.itemid-110 #sp-component,
    body.itemid-109 #sp-component {
        background-image: none !important;
        padding-top: 20px !important; 
        margin-top: 0 !important;
    }
    
    article.item {
        margin-left: 0;
        margin-right: 0;
    }

    #sp-bottom1, #sp-bottom2, #sp-bottom3 {
        padding-left: 120px !important; 
        padding-top: 20px;
    }
}

/* ==========================================
   LANDSCAPE FIX (ROTATED PHONES)
   ========================================== */
@media only screen and (max-width: 991px) and (orientation: landscape) {
    #sp-component, 
    body.itemid-101 #sp-component,
    body.itemid-114 #sp-component,
    body.itemid-113 #sp-component,
    body.itemid-112 #sp-component,
    body.itemid-111 #sp-component,
    body.itemid-110 #sp-component,
    body.itemid-109 #sp-component {
        background-image: none !important;
        padding-top: 20px !important;
        margin-top: 0 !important;
    }
    
    #sp-bottom {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* ==========================================
   SIGPLUS GALERIE FIX
   ========================================== */
div.sigplus-gallery {
    background-color: #ffffff !important;
    width: calc(100% + 60px) !important;
    margin-left: -30px !important;
    margin-right: -30px !important;
    margin-bottom: -40px !important;
    padding: 30px 0 !important;
    margin-top: -30px !important;
    display: block !important;
    text-align: center !important;
    box-sizing: border-box;
}

div.sigplus-gallery ul, 
div.sigplus-gallery li, 
div.sigplus-gallery table, 
div.sigplus-gallery td {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

div.sigplus-gallery li,
div.sigplus-gallery td {
    display: inline-block !important;
    padding: 10px !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

div.sigplus-gallery ul {
    display: inline-block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center;
    width: 100% !important;
}