:root {
    --contentWidth: 94%;
    --headerHeight: 5rem;
    --footerHeight: 72px;
    --headerBg: rgba(255,255,255,1);
    --menuFontSize: 1.5rem;
    --menuLinkPad: 1rem;
    --black: #101010;
    --gray: #f2f2f2;
    --green: #95c11f;
    --red: #e94e1b;
    --cyan: #36a9e1;
    --yellow: #ffed00;
    --lkBlue: #313a8c;
    --lkYellow: #fecd00;
    --white: #ffffff;
    --contactPrm: var(--red);
    --contactSek: #0a4b78;
    --primaryColor: var(--contactSek);
}

* {box-sizing:border-box}

html {
    font-family: Montserrat, sans-serif;
    font-variation-settings: "wght" 375;
    color: #333333;
}

main {
    padding: var(--headerHeight) 0 0;
}

h3 {
    font-size: 1.75rem
}

p, ul li {
    line-height: 1.6575em;
}

ul {
    padding: 0;
    list-style-position: inside;
}

a {
    color: #333333;
}

a:hover {
    color: #0a4b78;
}

.siteTitle {
    text-align: center;
    padding: 1rem 0 1rem;
}

.siteTitle h1 {
    font-size: 2rem;
    margin: 0;
}

.bgBlack {
    background-color: #333333;
    color: #fff;
}

.bgGray {
    background-color: #f2f2f2;
}

.bgBlue {
    background-color: #0a4b78;
    color: #fff;
}

.wd50 {
    width: 49%;
}

.wd100 {
    width: 100%;
}

.container.w900 {
    max-width: 900px;
}

.flCol {
    flex-direction: column;
}

/*----- Kontakt-Box -----*/

.contact {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
}

.contact h2 {
    width: 100%;
    margin: 0;
}

.contactDescription {
    width: 100%;
    font-size: 16px;
    line-height: 28px;
    margin: 1.5rem 0 3rem;
}

.inputBox {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 15px;
}

label {
    display: none;
    width: 100%;
    font-size: 1.4rem;
    line-height: 3rem;
    font-variation-settings: "wght" 500;
    text-transform: uppercase;
}

input, textarea {
    width: 100%;
    font-size: 1rem;
    padding: 1rem;
    border-radius: 0.2rem;
    color: #797979;
    border: 1px solid #e5e5e5;
}

textarea {
    height: 150px;
}

.terms {
    margin-bottom: 20px;
}

.terms a {
    color: var(--contactSek);
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

.btnBox {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btnBox input[type="submit"] {
    background: #101010;
    width: auto;
    border: none;
    cursor: pointer;
    color: var(--white);
    padding: 12px 40px;
    border-radius: 3px;
    font-size: 16px;
    text-transform: uppercase;
    font-variation-settings: "wght" 500;
}

.btnBox input[type="submit"]:hover {
    background: var(--contactSek);
    color: var(--white);
}

#mailMessage {
    text-align: center;
}

#mailMessage span {
    border: solid;
    padding: 0.5rem 1rem;
}

#mailMessage.ok {
    color: var(--green);
}

#mailMessage.error {
    color: var(--red);
}

/** BREADCRUMBS */

#crumbs {
    font-size: 0.8rem;
    padding-top: 0.5rem;
}

#crumbs a {
    color: #fff;
    text-decoration: none;
}

#crumbs a:hover {
    color: #a1bbcc;
}

.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

.breadcrumb-item {
    display: inline-block;
}

.breadcrumb-item + .breadcrumb-item:before {
    content: "/";
    margin: 0 0.25rem;
}

.breadcrumb-item a {
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/** PORTFOLIO - EINZELSEITEN */

.description {
    text-align: center;
    font-size: 18px;
    line-height: 36px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;  /* Abstand zwischen den Bildern*/
}

.gallery-item {
    display: flex;
    justify-content: center; /* Horizontale Ausrichtung */
    align-items: center; /* Vertikale Ausrichtung */
    height: 200px; /* Definieren Sie hier die Höhe, die Sie möchten */
    overflow: hidden; /* Versteckt das, was über die Grenzen des Elements hinausgeht */
    cursor: pointer;
}

.gallery-item img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

/* LIGHTBOX */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
}

.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

.mySlides {
    display: none;
    justify-content: center;
}

.mySlides img {
    max-width: 100%;
    max-height: 70vh;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.caption-container {
    text-align: center;
    background-color: black;
    padding: 2px 16px;
    color: white;
}

img.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
}

.hover-shadow:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#mailMessage {
    display: flex;
    justify-content: center;
    padding: 1rem 0 0;
}

.galleryBox {
    padding-top: 0;
}