:root {
    --bysigneddarkblue: #121720;
    --bysignedlightblue: #95CAD3;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    background-color: var(--bysigneddarkblue);
    color: #ffffff;
    font-family: "Helvetica Neue", "HelveticaNeue", "Helvetica Neue Light", Helvetica, Arial, "Arial Narrow", "Lucida Grande", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    line-height: 32px;
}

.bg-bysignedlightblue {
    background-color: var(--bysignedlightblue);
}

.bg-bysignedlightblue .headline {
    color: var(--bysigneddarkblue);
}

.full-screen-image {
    background-image: url('/assets/img/chris-kursikowski-hPepkX6U778-unsplash.jpg');
    background-size: cover;
    background-position: center center;
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: -1;
}

.full-screen-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 23, 33, 0.6); /* Schwarz mit 50% Transparenz */
    z-index: 1; /* Sicherstellen, dass das Overlay über dem Bild liegt */
}

.navbar.bg-transparent {
    background-color: rgba(17, 23, 33, 0.8) !important; /* Oder jede gewünschte Farbe */
}

.navbar-scrolled {
    transition: background-color 0.5s ease-in-out, padding 0.5s ease-in-out;
    background-color: rgba(17, 23, 33, 0.8) !important; /* Oder jede gewünschte Farbe */
}

.logo-small {
    width: 600px; /* Oder gewünschte Größe */
    transition: all 0.5s ease-in-out;
}

.logo-initial {
    width: 600px; /* Oder gewünschte Größe */
    transition: all 0.5s ease-in-out;
}



.image-container .headline {
    font-size: 45px;
    line-height: 50px;
    text-align: center;
}

section {
    padding-top: 5%;
    padding-bottom: 5%;
}

#rechtliches {
    background-color: #fff;
    color: var(--bysigneddarkblue);
}

footer {
    padding-top: 5%;
    font-size: 16px;
}



.abstand {
    padding-top: 100px;
}

.background-image-container {
    position: relative;
    height: 100vh;
    background-image: url('/assets/img/chris-kursikowski-hPepkX6U778-unsplash.jpg');
    background-size: cover;
    background-position: center center;
}

.background-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(18, 23, 32, 0.5); /* Schwarz mit 50% Transparenz */
    z-index: 1;
}

/* Die folgende Regel stellt sicher, dass der Inhalt über dem Overlay sichtbar ist */
.background-image-container > * {
    z-index: 2;
    position: relative;
}

.headline {
    font-family: "atrament-web", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: var(--bysignedlightblue);
    text-transform: uppercase;
}

.hidden {
    display: none;
}

a {
    color: #000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.trennen {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

#map-container {
    width: 100%;
    height: 400px; /* Sie können die Höhe nach Belieben anpassen */
    overflow: hidden;
}
#map-container iframe {
    width: 100%;
    height: 100%;
    border: none; /* Entfernen Sie den Standardrahmen */
}

.icon-rund {
    display: inline-block;
    background-color: var(--bysignedlightblue);
    color: var(--bysigneddarkblue);
    border-radius: 50%; /* Macht den Hintergrund kreisförmig */
    width: 40px; /* Breite des Kreises */
    height: 40px; /* Höhe des Kreises */
    text-align: center; /* Zentriert das Icon horizontal */
    line-height: 40px; /* Zentriert das Icon vertikal */
    transition: background-color 0.3s; /* Sanfter Übergang für den Hover-Effekt */
}

.icon-rund:hover {
    color: var(--bysignedlightblue);
    background-color: var(--bysigneddarkblue);
}


#leistungen .image-section {
    overflow: hidden; /* Verhindert, dass vergrößerte Elemente über den Rand hinausgehen */
}

#leistungen .image-container {
    position: relative;
    transition: transform 0.5s; /* Glatter Übergang für die Skalierung */
}

#leistungen .image-container:hover {
    transform: scale(1.1); /* Vergrößert das Element um 10% beim Überfahren */
    z-index: 1; /* Stellt sicher, dass das vergrößerte Element über den anderen liegt */
}

#leistungen .image-container:not(:hover) {
    transform: scale(0.95); /* Verkleinert die anderen Elemente um 5% */
    z-index: 0;
}

#leistungen .image-container img {
    width: 100%;
    display: block;
    transition: transform 0.5s; /* Glatter Übergang für die Skalierung */
}


#leistungen .centered-text {
    position: absolute;
    top: 10%; /* Positioniert den Text in der vertikalen Mitte */
    left: 50%; /* Positioniert den Text in der horizontalen Mitte */
    transform: translate(-50%, -50%); /* Verschiebt den Text genau in die Mitte */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Gibt dem Text einen Schatten, um ihn besser lesbar zu machen */
}


section.images div.grid:after {
    content: '';
    display: block;
    clear: both;
}

@media screen and (max-width: 768px) {
    section.images div.grid-sizer,
    section.images div.grid-item {
        width: 100%;
    }
}

@media screen and (min-width: 768px ) {
    section.images div.grid-sizer,
    section.images div.grid-item {
        width: 50%;
    }
}

@media screen and (min-width: 978px) {
    section.images div.grid-sizer,
    section.images div.grid-item {
        width: 33.333%;
    }
}


section.images div.grid-item {
    float: left;
    padding: 5px;
}

section.images div.grid-item img {
    display: block;
    max-width: 100%;
    border-radius: 4px;
}
