/**                Basics Start                  **/

:root {
    --color-1: #1a1a1a;
    --color-2: #ffffff;
    --color-3: #DB1E23;
    --color-4: #1C77DF;
    --color-5: #EAED0F; 
}

* {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
}

.main-header {
    color: var(--color-3);
    font-size: 5rem;
}

.sub-header {
    color: var(--color-3);
    font-size: 2rem;
    font-weight: bolder;
    margin-bottom: 2.5rem;
}


.background-image {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -999;
    background-size: cover; 
    background-attachment: fixed; 
    background-position: center;
    filter: brightness(50%); 
    transition: transform 0.5s ease-out;
}



/**                Basics End                  **/




/**                Navbar Start                  **/

nav {
    background-color: var(--color-1);
    padding: 20px 0;
    position: sticky; 
    top: 0; 
    z-index: 10;
    transition: top 0.3s ease-in-out; 
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    flex-shrink: 0;
}
  
.nav-left img {
    max-width: 130px;
}
  
.nav-right {
    flex-grow: 1;
    text-align: right;
}

nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
}

nav li {
    height: 50px;
    margin: 0;
}

nav a {
    height: 100%;
    padding: 0 20px;
    color: var(--color-2);
    text-decoration: none;
    display: flex;
    align-items: center;
}

nav .Logo {
    padding: 0;
}

nav a:hover {
    background-color: var(--color-4);
    color: var(--color-2);
    transition: 500ms ease;
}

nav a.Logo:hover {
    background-color: transparent;
    color: inherit;
    transition: none;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    display: none;
    background-color: var(--color-1);
    flex-direction: column;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
}

@media screen and (max-width: 1150px){
    .hideOnMobile {
        display: none;
    }

    .nav-left img {
        max-width: 120px;
        transition: 500ms ease;
    }
}

@media screen and (min-width: 1150px){
    .hideOnWidescreen {
        display: none;
    }
}


/**                Navbar End                  **/





/**                Hero Start                  **/



.hero {
    height: 100vh; 
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 8rem; 
    box-sizing: border-box;
}

.hero-header {
    color: var(--color-3);
    font-weight: bold;
    font-size: 12rem; 
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-p {
    color: var(--color-2);
    font-size: 1.5rem; 
    font-weight: bolder;
    margin-bottom: 20px;
    max-width: 600px; 
    margin-right: auto; 
    margin-left: 0; 
    line-height: 1.6;
}

.hero-button {
    background-color: var(--color-3);
    color: var(--color-2);
    border: 1px solid var(--color-3);
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 2rem;
}

.hero-button:hover {
    background-color: var(--color-4);
    color: var(--color-2);
    border: 1px solid var(--color-4);
    transition: 300ms ease;
}

/**

.animated-sphere {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 60%;
    z-index: -1;
    background-color: transparent;
    overflow: hidden;
    filter: blur(40px);
}

.animated-sphere::before,
.animated-sphere::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 250%;
    height: 250%;
    background: radial-gradient(circle, #EAED0F, #DB1E23, #1C77DF); 
    animation: move 10s infinite ease-in-out alternate;
    opacity: 0.6;
    filter: blur(40px);
    border-radius: 50%;
}

.animated-sphere::after {
    animation-duration: 15s; 
    animation-direction: alternate-reverse;
    opacity: 0.4;
}

@keyframes move {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(150px, 150px) rotate(90deg);
    }
    50% {
        transform: translate(-150px, -150px) rotate(180deg);
    }
    75% {
        transform: translate(150px, 150px) rotate(270deg);
    }
    100% {
        transform: translate(-150px, -150px) rotate(360deg);
    }
}


@media (max-width: 1250px) {
    .animated-sphere {
        width: 400px;
        height: 400px;
        transition: 1000ms ease;
        left: 60%;
        top: 10%;
    }
}

@media (max-width: 1000px) {
    .animated-sphere {
        width: 350px;
        height: 350px;
        align-items: center;
        transition: 1000ms ease;
    }
}
**/

@media screen and (max-width: 870px) {
    .hero {
        height: auto; 
        padding-top: 15rem;
        padding-bottom: 15rem; 
    }

    .hero-header {
        font-size: 7rem; 
        text-align: center;
        transition: 500ms; 
    }

    .hero-p {
        font-size: 1.5rem;
        transition: 500ms; 
        text-align: center; 
        margin-left: auto; 
        margin-right: auto; 
        max-width: 90%; 
    }

    .hero-button {
        font-size: 1rem; 
        display: block;
        margin: 0 auto;
        margin-top: 5rem; 
    }
    /**
    .animated-sphere {
        width: 50vw; 
        height: 50vw; 
        max-width: 300px; 
        max-height: 300px;
        left: 50%; 
        top: 50%; 
        transform: translate(-50%, -50%); 
        transition: 1000ms ease;
    }
    **/
}

@media screen and (max-width: 610px) {
    .hero {
        height: auto;
        padding-bottom: 12rem;
    }
    .hero-header {
        font-size: 6rem; 
    }

    .hero-p {
        font-size: 1.25rem; 
    }
}

@media screen and (max-width: 500px) {
    .hero {
        height: auto;
        padding-bottom: 15rem;
    }
    .hero-header {
        font-size: 5rem;
    }

    .hero-p {
        font-size: 1.15rem;
    }
} 

/**                Hero End                  **/





/**                Core Start                  **/

/**
.core {
    min-height: auto;
    padding-bottom: 150px;
    background-color: var(--color-2);
    padding-top: 100px;
}

.core .image-container {
    width: 100%;
    max-width: 400px;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.core .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 870px) {
    .core h3 {
        text-align: center;
        margin-top: 5rem;
        margin-bottom: 5rem;
    }

    .core .container-wrapper {
        background-color: var(--color-1);
        color: var(--color-2);
        text-align: justify;
        border-radius: 0.5rem;
        padding: 2rem 1.5rem;
        flex-wrap: wrap;
        height: 350px;
        overflow: auto;
    }

    .container-wrapper h6 {
        text-align: center;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .core .button-container {
        display: flex;
        flex-direction: column;
    }

    .core .image-container {
        display: none;
    }
}


@media screen and (max-width: 610px) {
    .core .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .core .container-wrapper {
        width: 100%;
        max-width: none;
        height: 100%;
        max-height: none;
        margin-bottom: 20px;
        text-align: center;
        padding: 10px; 
        box-sizing: border-box; 
    }

    .core h3 {
        margin-top: 15rem;
        text-align: center;
        margin-top: 2rem;
    }

    .core p {
        text-align: center;
    }

    button {
        margin: 0 auto;
        display: block;
    }
}
**/

.core {
    width: 100%;
    background-color: var(--color-2);
    padding-bottom: 10rem;
}

.core-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.core-container {
    flex-grow: 1;
}

.core h3 {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.core .image-container {
    width: 100%;
    max-width: 350px;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.core .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/**                Core End                  **/





/**                About Start                  **/

.about {
    min-height: auto;
    position: relative;
    padding-bottom: 130px;
    padding-top: 130px;
    background-color: var(--color-1);
    color: var(--color-2);
}

.about button {
    margin-top: 2rem;
}

.about img {
    width: 100%;
    max-width: 600px;
    height: 100%;
    max-height: 450px;
}

@media screen and (max-width: 870px) {
    .about .six.columns {
      width: 100%; 
      margin: 0 auto; 
    }
  
    .about .six.columns img {
      display: none; 
    }
  
    .about .row {
      display: flex;
      flex-direction: column; 
      align-items: center; 
      text-align: center;
    }
}
  

/**                About End                  **/





/**                Strength Start                  **/


.strength {
    min-height: auto;
    position: relative;
    padding-bottom: 1rem;
    padding-top: 150px;
    background-color: var(--color-2);
}

.strength .image-container {
    width: 100%;
    max-width: 400px;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.strength .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 1150px) {
    .strength .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 0.5fr);
    }

    .strength .container-wrapper {
        background-color: var(--color-1);
        color: var(--color-2);
        padding: 0 20px;
        border-radius: 4px;
        text-align: center;
    }

    .strength .image-container {
        display: none;
    }
}

@media screen and (max-width: 870px) {
    .strength h3 {
        text-align: center;
        margin-top: 2rem;
    }

    .strength .row {
        display: flex;
        flex-direction: column; 
        align-items: center;
    }

    .strength .three.columns {
        width: 100%; 
        max-width: 500px; 
        margin-bottom: 20px; 
        text-align: center;
    }

    .strength .image-container {
        width: 100%;
        max-width: 300px; 
        height: auto; 
    }
}


@media screen and (max-width: 610px) {
    .strength .row {
        display: flex;
        flex-direction: column; 
        align-items: center;
    }

    .strength .three.columns {
        width: 100%; 
        margin-bottom: 20px; 
        text-align: center;
    }

    .strength .image-container {
        width: 100%;
        max-width: 300px; 
        height: auto; 
    }

    .strength h3 {
        font-size: 4rem;
        margin-top: 2rem;
    }

    .strength p {
        text-align: center;
    }

    .strength button {
        margin: 0 auto;
        display: block;
    }
}




/**                Strength End                  **/





/**                Client Start                  **/

.client {
    min-height: auto;
    position: relative;
    padding: 150px 0;
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-2);
}

.client .container {
    max-width: 1200px; 
    width: 100%;
    
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-item {
    min-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
    width: 100%; 
}

.carousel-item p {
    max-width: 700px;
    word-wrap: break-word; 
    margin: 0 auto;
    line-height: 1.6;
}


.star-rating {
    display: flex;
    gap: 5px;
}

.star {
    font-size: 24px;
    color: var(--color-5);
}

#empty {
    color: #ddd;
}


.client .profile {
    display: flex;
    align-items: center;
    margin-top: 5em;
}

.client .profile img {
    width: 50px;
    height: 50px; 
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.client .profile p {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.controls {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.control-button {
    margin: 10px 20px;
}

.control-button:hover {
    background-color: var(--color-4);
}


/**                Client End                  **/





/**                Footer Start                  **/

.footer {
    background-color: var(--color-1);
    height: 350px;
}

.footer h5 {
    color: var(--color-4);
    font-weight: bold;
    margin-top: 70px;
}

.footer p {
    margin-bottom: 1rem;
    color: white;
}

.footer p:hover {
    color: var(--color-4);
}

.footer a {
    text-decoration: none;
    display: block;
}

/**                Footer End                  **/





/**                Copyright Start                  **/

.copyright {
    background-color: var(--color-1);
    color: var(--color-2);
    height: 100px;
}

.copyright-logo {
    height: 50px;
}


/**                Copyright End                  **/





/**                Ueber Start                  **/

.about-2 {
    background-color: var(--color-1);
    color: var(--color-2);
}

.about-1,
.about-2,
.about-3,
.about-4 {
    margin-top: 7rem;
    margin-bottom: 7rem;
    padding-top: 5rem;
    padding-bottom: 7rem;
}

.about-1 img,
.about-2 img,
.about-3 img,
.about-4 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.about-1 h3,
.about-2 h3,
.about-3 h3,
.about-4 h3 {
    font-size: 4rem;
}

.img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    display: block;
    border-radius: 5px; 
}


.about-1 .row,
.about-2 .row,
.about-3 .row,
.about-4 .row {
    display: flex;
    align-items: center; 
}

@media screen and (max-width: 870px) {
    .img-wrapper {
        display: none;
    }

    .about-1 .six.columns,
    .about-2 .six.columns,
    .about-3 .six.columns,
    .about-4 .six.columns {
        width: 100%;
        margin: 0 auto;
    }
    
    .about-1 .row,
    .about-2 .row,
    .about-3 .row,
    .about-4 .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/**                Ueber End                  **/





/**                Contact Start                  **/                                     

.contact-page {
    padding: 150px 0;
}

.contact-details {
    list-style: none;
    padding: 0;
}

.contact-details li {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px; 
}

.notfall {
    color: var(--color-3);
}

@media screen and (max-width: 1000px) {
    .contact-page .img-wrapper {
        display: none;
    }

    .contact-page .six.columns {
        width: 100%;
        margin: 0 auto;
    }

    .contact-page .row {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/**                Contact End                  **/





/**                Schäden Start                  **/ 

.wasserschaden .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 9rem;
}

.wasserschaden .eight.columns {
    margin: 0;
}

.wasserschaden .three.columns {
    margin-left: 0;
    height: 100%;
}
.wasserschaden i {
    display: flex;
    font-size: 50px;
    color: var(--color-3);
}


/**                Schäden End                  **/





/**                Impressum Start                  **/ 
.impressum {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.impressum h1,
.impressum h3  {
    font-weight: bold;
}

.impressum .container {
    padding-bottom: 8rem;
    padding-top: 5rem;
}

.impressum p {
    margin: 0;
}