:root {
    --main-orange-color: rgb(249, 164, 75);
    --second-orange-color: #f19215;
    --headings-text-color: #000000;
    --gray-color2: #5d5d5d;
    --gray-color3: #111;
    --dark-text-color: #333;
    --light-text-color: white;
    --navbar-text-color: white;

    font-family: 'Barlow';
}

header {
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    /*rechts noch komisch*/
    z-index: 100;
}

#logoimage {
    padding: 5px 12px !important;
}

#logoimage img {
    height: 35px;
}

#navbar-smallscreen {
    display: none;
}

#logo-smallscreen {
    display: none;
}

#navbar-smallscreen ul {
    display: none;
}

#navbar-widescreen ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: var(--gray-color2);
}

#navbar-widescreen ul li {
    float: left;
}

#navbar-widescreen ul li a {
    display: block;
    color: var(--navbar-text-color);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

#navbar-widescreen ul li a:hover {
    background-color: var(--gray-color3);
}

.activenav {
    background-color: var(--second-orange-color);
}

/*#logo {
    width: 200px;
    padding: 0px 0px;
}*/

h1 {
    text-align: center;
    margin-top: 45px;
    font-size: 40px;
    color: var(--headings-text-color);
}

h2 {
    color: var(--headings-text-color);
}

#titelbild {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 500px;
    margin-top: -20px;
    margin-bottom: -45px;
}

.imgbox {
    width: 100%;
    height: 80px;
    background: url("../Images-webp/LichtWaermeLuft.webp") no-repeat;
    background-size: contain;
    background-position: center;
    background-color: var(--second-orange-color);
    left: 0;
}

#infobereich {
    margin-top: 20px;
    margin-bottom: 50px;
}

.impressumbereich {
    margin-top: 20px;
    margin-bottom: 50px;
    width: 70%;
    margin-left: 15%;
}

#infobereich-kontakt {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(10%, 60vh));
    grid-template-rows: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 25px;*/
    justify-content: space-evenly;
    margin: 0px 50px 50px 50px;
    grid-auto-flow: column;
}

#kontakt {
    padding: 5px 10px 0px 10px;
    height: fit-content;
    width: fit-content;
    justify-self: center;
    margin-bottom: 25px;
    font-size: 24px;
    margin-top: 20%;
}

#karteSection {
    width: auto;
}

#karte {
    width: 100%;
    height: 100%;
    max-width: 70vh;
    max-height: 70vh;
    object-fit: cover;
}

#anzeigengrid {
    display: grid;
    width: auto;
    height: auto;
    grid-template-columns: repeat(auto-fit, minmax(300px, 50vh));
    grid-template-rows: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 25px;
    justify-content: center;
    justify-items: center;
    margin: 50px 125px 100px 125px;
}

.anzeigeItem {
    background-color: var(--headings-text-color);
    min-height: fit-content;
    min-width: 300px;
    max-width: 800px;
    text-decoration: none;
    border-radius: 2%;
}

.anzeigeItem:hover {
    transition: all .2s ease-in-out;
    transform: scale(1.025);
}

.anzeigeTitelfeld {
    margin: 2px 2px 2px 2px;
}

.anzeigeTitelfeld h2 {
    color: white;
    text-align: center;
}

.anzeigeTextfeld {
    margin: 2px 10px 2px 10px;
}

.anzeigeTextfeld p {
    color: white;
    text-align: justify;
}

main {
    padding-top: 25px;
    /*, 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;*/
    min-height: calc(100vh - 213.3px);
    /*Hier nochmal schauen*/
}

h2 {
    font-size: 30px;
    /*text-align: center;*/
}

.textbereich {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    padding-left: 10px;
    padding-right: 10px;
    width: fit-content;
    max-width: 50%;
    text-align: justify;
    font-size: 18px;
}

.textblock {
    display: block;
    margin-bottom: 25px;
    padding-left: 10px;
    padding-right: 10px;
    width: fit-content;
    text-align: justify;
    font-size: 18px;
}

.textbereich ul {
    text-align: left;
}

.textbereich ul li {
    text-align: left;
}

.textbereich h2 {
    text-align: center;
}

#fuhrparkImg,.fuhrparkImg {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    width: 100vh;
}

#btnMailLink {
    text-decoration: none;
    color: white;
}

#btnMail {
    margin-top: 15px;
    margin-bottom: -20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--headings-text-color);
    font-size: 25px;
    color: white;
    padding: 5px 5px 5px 5px;
    transition: .1s ease-in-out;
    border-style: none;
    border-radius: 5px;
    cursor: pointer;
}

#btnMail:hover {
    background-color: var(--second-orange-color);
}

footer {
    position: absolute;
    width: 100%;
    left: 0;
    color: var(--light-text-color);
}

.footer-list {
    list-style-type: none;
    padding-left: 0px;
    line-height: 1.35;
    font-size: 1.1em;
}

#restfooter {
    display: flex;
    background-color: var(--gray-color2);
    justify-content: space-around;
}

#impressum {
    font-size: 12px;
    padding: 0px 10px 10px 10px;
    list-style-type: none;
    width: 250px;
}

#impressum li a {
    text-decoration: none;
    color: var(--light-text-color);
    transition: .2s ease-in-out;
}

#impressum li a:hover {
    text-decoration: none;
    padding-left: 5px;
}

#unterseiten {
    padding: 0px 10px 10px 10px;
    font-size: 12px;
    list-style-type: none;
    width: 150px;
}

#unterseiten li a {
    text-decoration: none;
    color: var(--light-text-color);
    transition: .2s ease-in-out;
}

#unterseiten li a:hover {
    text-decoration: none;
    padding-left: 5px;
}

#kontakt-impressum {
    padding: 0px 10px 10px 10px;
    font-size: 12px;
    list-style-type: none;
}

/*Slideshow*/

body {
    margin: 0;
}

.mySlides {
    display: none
}

.imgSlideShow {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    max-height: 550px;
}

.slideshow-container {
    max-width: 800px;
    position: relative;
    margin: auto;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: var(--headings-text-color);
    font-weight: bold;
    font-size: 18px;
    transition: 0.2s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: var(--headings-text-color);
    color: var(--second-orange-color);
}

.text {
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.numbertext {
    color: var(--headings-text-color);
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: var(--gray-color2);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.active,
.dot:hover {
    background-color: var(--gray-color3);
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

.main-elements {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-left: 15%;
    width: 70%;
}

.small-column {
    width: 30%;
}

.large-column {
    width: 65%;
}

.element {
    min-width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 10px;
    background-color: var(--gray-color2);
    text-align: center;
    border-radius: 8px;
}

.joblisting {
    min-width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 10px;
    padding-bottom: 40px;
    background-color: var(--gray-color2);
    color: #fff;
    text-align: center;
    border-radius: 3px;
}

.element img {
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.element h3 {
    margin: 15px 0;
}

.element p {
    margin: 10px 0;
    font-size: 1.5em;
    color: white;
}

.view-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: var(--second-orange-color);
    color: var(--dark-text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: 500;
    font-size: 1.3em;
}

#angebotAnfordern {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: var(--second-orange-color);
    color: var(--dark-text-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 30px;
    text-align: center;
    font-weight: 600;
}

.view-more:hover,
#angebotAnfordern:hover {
    background-color: var(--gray-color3);
    color: var(--light-text-color);
}

#angebotAnfordern:hover img {
    filter: invert(1);
}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container h3 {
    position: absolute;
    top: 10px;
    left: 10px;
    margin: 0;
    padding: 5px;
    border-radius: 5px;
    font-size: 1.5em;
}

.image-container img {
    display: block;
    width: 100%;
    height: auto;
}

.column {
    width: 50%;
}

.leftline {
    border-left: 3px solid;
}

.middle-text {
    margin-top: 20%;
}

.top-text {
    margin-top: 5%;
}

.border {
    border: 2px solid black;
    padding: 15px;
    margin: 15px;
}

ul li {
    margin-top: 5px;
}

.top-banner {
    background: var(--second-orange-color);
    /*padding-left: 25%;
    padding-right: 25%;*/
    margin-top: 20px;
}

.top-banner-wrapper {
    background: var(--second-orange-color);
}

.desktop-hidden {
    display: none;
}

.p-text {
    font-size: 3vh
}

.column .p-right {
    margin-left: 3vh;
}

.about-us-img {
    margin-top: 40px;
    width: 100%;
}

.column-60 {
    width: 60%;

}

.column-36 {
    width: 36%;
    font-size: 24px;
}

#request-offer {
    font-size: 30px;
    font-weight: 500;
}

.desktop-left-margin {
    margin-left: 6%;
}

.desktop-top-padding {
    padding-top: 6%;
}

.column-desktop-35 {
    width: 35%;
}

.desktop-large-font {
    font-size: 1.1em;
}

.privacy-section {
    margin-left: 15%;
    width: 70%;
}

.opening-times-column {
    width: 20%;
}

.indexpage-infotext {
    font-size: 1.8em;
}