:root {
    --bluefontcolor: #c0b9ff;
    --whitefontcolor: #bebebe;
    --mymaincolor: #191d28;
    --framecolor-default: #1e2438;
    --framecolor-active: #39456b;
}

@font-face {
    font-family: "Voltaire";
    src: url("Voltaire-Regular.ttf") format("truetype");
    font-family: "Quicksand";
    src: url("Quicksand-VariableFont_wght.ttf") format("truetype");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}   

body, h1, h2, h3, h4, h5, h6 {
    font-family: Quicksand, sans-serif;
}
html {
    scroll-behavior: smooth;
}
body, html {
    height: 100%;
    font-size: 18px;
    margin: 0;
    padding: 0;
    color: var(--whitefontcolor);
    background-color: #111111;
}

    body h1 {
        font-size: 2.2rem;
        margin-left: 6vw;
        margin-top: 0.5em;
        margin-bottom: 2em;
        font-weight: 700;
        hyphens: manual;
    }
    body h2 {
        margin-top: 0.5em;
        color: var(--bluefontcolor);
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 0.6em;
    }
    body h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5em;
    }
    body h4 {
        color: var(--bluefontcolor);
        font-size: 1.5rem;
        font-weight: 400;
        margin-bottom: 0.6em;
    }
    body a {
        color: rgba( 190, 190, 190, 1);
    }
    body a:hover {
        color: rgba( 190, 190, 190, 0.7);
    }
    body strong {
        display: inline-block;
        margin-bottom: 0.3em;
        font-size: 1.2rem;
    }
.catch-phrase {
    display: block;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2em;
}
.container {
    display: flex;
    flex-direction: row;
}
.sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 20%;
    height: 100vh;
    background-color: var(--mymaincolor);
    padding-top: 3em;
    padding-left: 3vw;
    padding-right: 3vw;
    overflow-y: auto;
}
.content {
    margin: 2em 2em 2em calc(20% + 2em);
    padding: 2em;
    width: 100%;
    border-radius: 0.5em;
    background-color: var(--mymaincolor);
    background-image: url("bg_top.jpg");
    background-blend-mode: color-dodge;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: auto;   
}
.mainlogo {
    max-width: 18em;
    width: 100%;
    height: auto;
}
.site-title {
    display: block;
    margin-top: 0.5em;
    max-width: 18em;
    text-decoration: none;
    color: var(--bluefontcolor);
    font-size: 1.5rem;
    font-weight: 700;
}
.site-description {
    display: block;
    margin-top: 0.5em;
    max-width: 18em;
    color: var(--whitefontcolor);
    font-size: 1rem;
    opacity: 0.7;
}

.menu {
    display:block;
    max-width: 18em;
    padding-top: 6em;
    color: white;
    font-size: 0.9rem;
    line-height: 1.2rem;
    opacity: 0.8;
}

    .menu a {
        color: white;
        text-decoration: none;
        display: block;
        margin: 10px 0;
        cursor: pointer;
    }
    .menu ul {
        list-style: none;
        padding: 0px;
    }
    .menu li {
        border-top: 1px solid rgba(190, 190, 190, 0.1);
    }

button#hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.icon .line1, .icon .line2, .icon .line3 {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

button.open .line1 {
    transform: translateX(11px) rotate(45deg);
}

button.open .line2 {
    opacity: 0;
}

button.open .line3 {
    transform: translateX(-10px) translateY(10px) rotate(-45deg);
}

.scroll-to-top {
    position: fixed;
    bottom: 5em;
    right: 3em;
    width: 2em;
    height: 2em;
    background-color: transparent;
    color: var(--whitefontcolor);
    border: solid var(--whitefontcolor);
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    padding-top: 0.1em;
    opacity: 0.5;
}
    .scroll-to-top:hover {
        background-color: var(--whitefontcolor);
        color: black;
        opacity: 1;
    }

.content-block {
    position: relative;
    padding-left: 6em;
}
.content-image {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.3em;
    border: 2px solid #666;
    border-radius: 0.5em;
    filter: invert(1) brightness(0.8);
}
.content-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    text-align: center;
    font-size: 1.1em;
}
.content-image-menu {
    display: block;
    margin: 1em auto 0.2em auto;
    filter: invert(1) brightness(0.8);
}
.content-text {
    font-size: 1.1em;
    line-height: 1.6em;
    text-align: justify;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
.news-block {
    display: flex;
    flex-direction: row;
}
.news-image {
    width: 150px;
    height: 150px;
    margin-right: 2em;
    object-fit:cover;
    flex-shrink:0;
}
.news-text {
    flex: 1;
    text-align: left;
    line-height: 1.6;
}
.split-paragraph {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2%;
}
.image-text {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20em, 1fr));
    gap: 3em;
}
.image-float-text {
    width: 50%;
    float: right;
    margin-left: 3em;
    margin-bottom: 1em;
}
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.space_0_5 {
    margin-top: 0.5em;
}
     .space_1 {
        margin-top: 1em;
    }
    .space_2 {
        margin-top: 2em;
    }
    .space_3 {
        margin-top: 3em;
    }
.space_4 {
    margin-top: 4em;
}
.big-button {
    cursor: pointer;
    display: block;
    box-sizing: border-box;
    padding: 0.8em;
    border-radius: 0.5em;
    background-color: var(--framecolor-default);
    width: 100%;
    height: fit-content;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    vertical-align: baseline;
    transition: transform 0.2s;
}
    .big-button:hover {
        background-color: var(--framecolor-active);
        color: white;
        transform: scale(1.01);
    }
.small-button {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.6em;
    font-weight: 400;
    border-radius: 0.5em;
    border: 1px solid;
    padding: 0.6em 1.6em;
    vertical-align: baseline;
    background: transparent none;
    color: var(--whitefontcolor);
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
    .small-button:hover {
        color:white;
    }
.button {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: 700;
    border-radius: 0.5em;
    border: 2px solid;
    padding: 0.8em 1.6em;
    vertical-align: baseline;
    background: transparent none;
    color: white;
    margin-top: 0.5em;
}
    .big-block {
        padding: 2em;
        background: var(--framecolor-default);
        box-shadow: 0px 0px 20px 0px black;
        margin-left: -3em;
        margin-right: -3em;
        margin-bottom: 3em;
        border-radius: 1em;
    }
.svg-btn {
    cursor: pointer;
    margin-right: 0.5em;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s;
}
    .svg-btn:hover {
        transform: scale(1.2);
    }
.big-image {
    width: 100%;
    height:auto;
    border-radius: 0.5em;
}
.poster-left, .poster-right {
    box-shadow: 6px 6px 20px 3px black;
    height: auto;
    max-width: 50%;
}
.poster-left {
    float: left;
    margin-right: 2em;
    transform: rotate(-3deg);
    margin-left: -2em;
    margin-bottom: 1em;
}
.poster-right {
    float: right;
    margin-right: -1em;
    transform: rotate(3deg);
    margin-left: 2em;
    margin-bottom: 1em;
}

/* Slider */
.css-slider {
    overflow-x: hidden;
}
.slider-radio {
    cursor: pointer;  
}
.slider-elements {
    list-style: none;
    position: relative;
    left: 0;
    width: 400%;
    margin-bottom: .8em;
    padding: 0;
    -webkit-transition: left .8s ease-in-out;
    -moz-transition: left .8s ease-in-out;
    -o-transition: left .8s ease-in-out;
    transition: left .8s ease-in-out;
}
    .slider-elements > li {
        float: left;
        width: 25%;
        position: relative;
    }

#slide02:checked ~ .slider-elements {
    left: -100%;
}

#slide03:checked ~ .slider-elements {
    left: -200%;
}
.slider-elements:after {
    content: ".";
    display: block;
    height: .1px;
    clear: both;
    visibility: hidden;
    font-size: 0;
    overflow: hidden;
}
.slider-elements img {
    width: 100%;
    height: auto;
}


.slider-container {
    margin-bottom: -1em;
    width: 100%;
    height: fit-content;
}
.slider {
    position: relative;
    border-radius: 0.5em;
    overflow: hidden;
}
.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slides {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.dots-container {
    text-align: center;
    margin-top: 0.5em;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .dot.active {
        background-color: #333;
    }

    /* Unsichtbare Klickflächen */
    .left-half, .right-half {
        position: absolute;
        top: 0;
        width: 50%;
        height: 100%;
        cursor: pointer;
    }

    /* Linke Hälfte des Sliders */
    .left-half {
        left: 0;
    }

    /* Rechte Hälfte des Sliders */
    .right-half {
        right: 0;
    }

.referenz-gallery {
    margin-top: 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: white;
    border-radius: 0.5em;
}

    .referenz-gallery img {
        width: auto;
        max-width: 33%;
        height: auto;
        object-fit: contain;
        padding: 2em;
    }

    .facebook-button {
    display: inline-flex;
    align-items: center;
    padding: 0.3em 1em 0.3em 0.3em;
    background-color: #1877f2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s, background-color 0.3s;
}

    .facebook-button:hover {
        background-color: #145dbf;
        color: #ffffff;
        transform: scale(1.1);
    }

.facebook-icon {
    background-color: transparent;
    fill: white;
    padding-right: 8px;
    width: auto;
    height: auto;
}

#cb-div {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--mymaincolor);
    color: #fff;
    padding: 10px 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -6px 8px #111111;
}

    #cb-div a {
        color: var(--bluefontcolor);
        font-weight: 700;
        text-decoration: none;
        margin-left: 5px;
    }

        #cb-div a:hover {
            text-decoration: underline;
        }

#close-btn {
    cursor: pointer;
    background-color: #1c7ccc;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    transition: all 0.3s ease;
}
    #close-btn:hover {
        background-color: #1e90ff;
    }

/* Media Query für kleine Bildschirme */
@media (max-width: 1200px) {
    body, html {
        font-size: 16px;
    }
}

@media (max-width: 1020px) {
    body, html {
        font-size: inherit;
    }

        body h1 {
            margin-left: inherit;
        }

    .container {
        flex-direction: column;
    }


    .sidebar {
        width: 100%;
        height: auto;
        position: inherit;
        overflow-y: inherit;
        text-align: center;
        padding-top: 1em;
        padding-left: 0px;
        padding-right: 0px;
    }

    .content {
        margin: 0;
        padding: 1em;
        border-radius: 0px;
        background-image: none;
    }

    .big-block {
        margin-left: -1em;
        margin-right: -1em;
        border-radius: 0;
        padding: 1.5em;
    }

    .poster-left, .poster-right {
        display: block;
        float:none;
        width: 100%;
        height: auto;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-shadow: none;
        transform: none;
    }

    .menu, .site-title, .site-description {
        max-width: 100%;
    }

    button#hamburger {
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index:1;
    }

    .menu {
        padding: 0.5em;
        display: none;
        height: auto;
        background-color: #333;
        z-index: 1;
    }

        .menu.show {
            box-sizing: border-box;
            display: flex;
            position: fixed;
            top:0;
            left:0;
            margin: 1em;
            width: auto;
            text-align:left;
        }
    .slides {
        min-height: 30vh;
    }
}
@media (max-width: 550px) {
    .scroll-to-top {
        display: none;
    }
    .image-float-text {
        width: 100%;
        float: none;
        margin-left: 0;
    }
    .referenz-gallery img {
        max-width: 50%;
    }
    .content-block {
        padding-left: 0;
        padding-top: 4em;
    }

    .content-image-menu {
        display: block;
        margin: 1em auto 0.2em auto;
        filter: invert(1) brightness(0.8);
    }
    
}
