:root {
    /*Colors*/
    --black: #080914;
    --darkgrey: #3B3A37;
    --white: #ffffff;
    /* --focusBlue: #0056b3; */
}

/* Reset und Grundlagen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    padding-top: 5rem;
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: "Noto Sans", sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 140%;
    color: var(--black);
    background-color: var(--white);
    height: 100%;
    /* position: relative; */
}

/* Headlings */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Noto Serif", sans-serif;
    font-weight: 600;
    font-size: 24px;
    font-style: italic;
}

h1,
h2 {
    font-size: 2.25rem;
    line-height: 150%;
}

h2 {
    margin-bottom: 1rem;
}

h3 {
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
    font-style: normal;
    line-height: 140%;
    margin-bottom: 1rem;
}

h4 {
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
    font-style: normal;
    line-height: 120%;
    margin-bottom: .5rem;
    font-size: 20px;
}

/* Headings - Mobile */
@media (max-width: 768px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 20px;
    }

    h1,
    h2 {
        font-size: 28px;
        line-height: 150%;
    }
}

/* Buttons, Links die wie Buttons aussehen */
button {
    border: none;
    font-family: "Noto Sans", sans-serif;
}

.btn {
    text-align: center;
    cursor: pointer;
}

.btn-cta,
.btn-cta-icon {
    color: var(--white);
    background-color: var(--black);
    border: 1px solid var(--black);
    padding: 16px 24px;
    text-decoration: none;
    font-weight: 800;
    font-style: italic;
    font-size: 20px;
}

.btn-cta:hover,
.btn-cta:active,
.btn-cta:focus,
.btn-cta-icon:hover,
.btn-cta-icon:active,
.btn-cta-icon:focus {
    color: var(--black);
    background-color: var(--white);
}

.btn-cta-icon {
    display: flex;
    align-items: center;
}

 .btn-cta-icon::before {
     content: "";
     width: 24px;
     height: 24px;
     display: inline-block;
     background-image: url("../images/contacts/phone_white-8bac1b232a0dcf88666aab238108dc8b.svg");
     background-position: bottom 0 right 0;
     background-repeat: no-repeat;
     margin-right: .5rem;
 }

 .btn-cta-icon:hover::before,
 .btn-cta-icon:active::before,
 .btn-cta-icon:focus::before {
     background-image: url("../images/contacts/phone_black-6ca150f90c562177bae9e8723da83f91.svg");
 }

.btn-basic {
    color: var(--black);
    background-color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border: 1px solid var(--black);
}

.btn-basic:hover,
.btn-basic:active,
.btn-basic:focus {
    color: var(--white);
    background-color: var(--black);
}

/* Buttons - Mobile */
@media (max-width: 768px) {

    .btn-cta,
    .btn-cta-icon {
        font-size: 16px;
        padding: 8px 16px;
    }

    .btn-basic {
        padding: 4px 8px;
    }
}

/* Links */
a {
    color: var(--black);
}

/* Forms */
label {
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: .5rem;
}

label a {
    text-decoration: underline;
    font-style: italic;
    font-weight: 400;
}

input,
select,
select option,
textArea {
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
    font-size: 18px;
    padding: 8px 16px;
    border: 1px solid var(--black);
    border-radius: 0;
    background-color: var(--white);
}

input::placeholder,
select::placeholder,
textArea::placeholder {
    color: var(--darkgrey);
    font-weight: 300;
}

 select {
     padding-right: 36px;
     appearance: none;
     -moz-appearance: none !important;
     background: transparent url("../images/chevron_black-f8231c62db7949b49d5a45e702592a5e.svg") right center no-repeat !important;
     background-position: calc(100% - 5px) center !important;
     min-height: 42px;
 }

textArea {
    min-height: 12rem;
}

/* ✅ Custom Checkbox ✅ START*/

/* The container */
label.checkbox-custom {
    display: block;
    position: relative;
    top: unset;
    left: unset;
    padding-left: 50px;
    margin-right: 1rem;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox behind the custom one - Needs to be behind it to get focus border, which is why opacity is set to 1 */
label.checkbox-custom input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 1;
    cursor: pointer;
    height: 32px;
    width: 32px;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 32px;
    width: 32px;
    background-color: var(--white);
    border: 1px solid var(--black);
}

/* On mouse-over, add a parchment background color */
label.checkbox-custom:hover input~.checkmark {
    background-color: var(--white);
}

/* add this class if checkbox is selected via tab key to highlight the checkbox - Accessibilty*/
.checkmark.active,
.checkmark.focus {
    background-color: var(--darkgrey);
}

/* When the checkbox is checked, add a blue background */
label.checkbox-custom input:checked~.checkmark {
    background-color: var(--white);
    border: 1px solid var(--black);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
label.checkbox-custom input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
label.checkbox-custom .checkmark:after {
    left: 10px;
    top: 5px;
    width: 8px;
    height: 16px;
    border: solid var(--black);
    border-width: 0 1px 1px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* ✅ Custom Checkbox ✅ END*/

/* 🔘 Custom Radiobox 🔘 START*/
/* The container */
label.radio-custom {
    display: block;
    position: relative;
    top: unset;
    left: unset;
    padding-left: 40px;
    margin-right: 1rem;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--grey-darkest);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
label.radio-custom input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom radio button */
.radiomark {
    position: absolute;
    top: 0;
    left: 0;
    height: 32px;
    width: 32px;
    background-color: var(--grey-light);
    border: 2px solid var(--red-mid);
    border-radius: 45px;
}

/* On mouse-over, add a grey background color */
label.radio-custom:hover input~.radiomark {
    background-color: var(--parchment-light);
}

/* add this class if checkbox is selected via tab key to highlight the checkbox - Accessibilty*/
.radiomark.active {
    background-color: var(--parchment-light);
}

/* When the radio button is checked, add a blue background */
label.radio-custom input:checked~.radiomark {
    background-color: var(--grey-light);
    border: 2px solid var(--red-mid);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.radiomark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
label.radio-custom input:checked~.radiomark:after {
    display: block;
}

/* Style the indicator (dot/circle) */
label.radio-custom .radiomark:after {
    left: 6px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 20px;
    background-color: var(--red-mid);
}

/* 🔘 Custom Radiobox 🔘 END */

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group,
.checkbox-group {
    margin-bottom: 2rem;
}


/* Helferklassen - Styling*/
.text-center {
    text-align: center;
}

.text-center-max-lg {
    text-align: left;
}

@media (max-width: 1200px) {
    .text-center-max-lg {
        text-align: center;
    }
}

.text-light {
    font-weight: 300;
}

.text-regular {
    font-weight: 400;
}

.text-medium {
    font-weight: 500;
}

.text-semibold {
    font-weight: 600 !important;
}

.text-bold {
    font-weight: 700 !important;
}

.text-extrabold {
    font-weight: 800;
}

.text-black {
    font-weight: 900;
}

.text-italic {
    font-style: italic;
}

.font-size-24 {
    font-size: 24px !important;
}

.word-break-all {
    word-break: break-all;
}

.m-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mt-5 {
    margin-top: 5rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.mb-5 {
    margin-bottom: 5rem;
}

.me-1 {
    margin-right: 1rem;
}

.me-2 {
    margin-right: 2rem;
}

.pt-1 {
    padding-top: 1rem;
}

.pt-2 {
    padding-top: 2rem;
}

.pt-3 {
    padding-top: 3rem;
}

.pb-1 {
    padding-bottom: 1rem;
}

.display-none {
    display: none !important;
}

.position-relative {
    position: relative;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* Helferklassen - Layout */
/* Flex */
.display-flex {
    display: flex;
}

.flex-direction-row,
.flex-direction-row-max-sm,
.flex-direction-row-max-md {
    flex-direction: row;
}


.flex-direction-col {
    flex-direction: column;
}

.justify-content-start {
    justify-content: start;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-start {
    align-items: start;
}

.align-items-center {
    align-items: center;
}

.gap-24 {
    gap: 24px;
}

.gap-48 {
    gap: 48px;
}

.gap-96 {
    gap: 96px;
}

/* Helferklassen - Layout */
/* Flex - Mobile  */
@media (max-width: 768px) {
    .flex-direction-row-max-md {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .flex-direction-row-max-sm {
        flex-direction: column;
    }
}

/* Helferklassen - Layout */
/* Grid */
.display-grid {
    display: grid;
}

.grid-col-2 {
    grid-template-columns: 1fr 1fr;
}

.grid-col-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.justify-items-center {
    justify-items: center;
}

.justify-items-stretch {
    justify-items: stretch;
}

/* Helferklassen - Layout */
/* Grid - Mobile  */
@media (max-width: 1200px) {
    .grid-col-2 {
        grid-template-columns: 1fr;
    }

    .grid-col-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {

    .grid-col-3 {
        grid-template-columns: 1fr;
    }
}


/* Skip-Link für Screenreader */
.skip-link {
    position: absolute;
    top: -45px;
    left: 6px;
    background: var(--black);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* Header */
header {
    background-color: var(--white);
    border-bottom: 1px solid var(--black);
    padding: 2rem 0 0 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 576px) {
    header {
        padding: 2rem 0 .5rem 0;
    }

    .header-container {
        align-items: flex-start;
    }
}

/* Mobile header-container*/
@media (max-width: 1200px) {
    .header-container {
        position: relative;
        flex-direction: column;
    }
}

.logo {
    font-family: "Noto Serif", sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 1.5rem;
    color: var(--black);
    text-decoration: none;
    margin-bottom: -2.9rem;
    z-index: 999;
}

.logo:hover,
.logo:focus {
    /* color: var(--focusBlue); */
    /* outline: 2px solid var(--focusBlue); */
    /* outline-offset: 2px; */
}

.logo img {
    max-width: 100%;
}

@media (max-width: 576px) {
    .logo img {
        width: 250px
    }
}

/* Versteckter Checkbox Input */
.menu-toggle {
    display: none;
}

 /* Hamburger Button */
 .hamburger {
     width: 48px;
     height: 48px;
     cursor: pointer;
     display: none;
     background-image: url("../images/hamburger-a2a56d35c622e61405d6f087cb56725d.svg");
 }

/* Navigation */
nav.main-navigation {
    display: block;
}

.nav-menu {
    list-style: none;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.menu-toggle:checked~nav.main-navigation {
    /* das Menü öffnet beim Betätigen des Checkbox-Burgermenü */
    display: block;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    font-family: "Noto Sans", sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    color: var(--black);
    text-decoration: none;
    padding: 1rem .8rem;
    transition: background-color 0.3s ease;
}


.nav-link.active {
    font-weight: 800;
}

.nav-link:hover,
.nav-link:focus {
    background-color: var(--black);
    color: var(--white);
    outline: none;
}

.nav-link.home-btn {
    padding-top: 0;
    padding-bottom: 0;
}

 .nav-link.home-btn::after {
     content: "";
     width: 40px;
     height: 51px;
     display: inline-block;
     background-image: url("../images/home_light-1698da93a03cb7a864883e9f47e63f99.svg");
     background-position: bottom 4px right 4px;
     background-repeat: no-repeat;
 }

 .nav-link.active.home-btn::after {
     background-image: url("../images/home_bold-253135829ed43ee9438140af2818deca.svg");
     background-position: bottom 4px right 4px;
 }

 .nav-link.home-btn:hover::after,
 .nav-link.home-btn:active::after,
 .nav-link.home-btn:focus::after {
     background-image: url("../images/home_white_light-cd35d37e6edb7b4c1bed2f9331bdc3f4.svg");
 }

 .nav-link.active.home-btn:hover::after,
 .nav-link.active.home-btn:active::after,
 .nav-link.active.home-btn:focus::after {
     background-image: url("../images/home_white_bold-ac44bee69a15802e0cdb632e1ebad64b.svg");
 }

/* Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--black);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu .nav-link {
    color: var(--black);
    border-bottom: 1px solid var(--black);
}

.dropdown-menu .nav-link:hover,
.dropdown-menu .nav-link:focus {
    background-color: var(--black);
    color: var(--white);
}

.dropdown-menu .nav-item:last-child .nav-link {
    border-bottom: none;
}

/* Pfeil-Indikatoren */
.has-dropdown {
    position: relative;
    padding-right: 1.5rem;
}

 .has-dropdown::after {
     content: "";
     transition: transform 0.3s ease;
     background-image: url("../images/chevron_black-f8231c62db7949b49d5a45e702592a5e.svg");
     width: 24px;
     height: 24px;
     position: absolute;
     top: 1rem;
     right: 0;
 }

 .dropdown:hover .has-dropdown::after,
 .dropdown:active .has-dropdown::after,
 .dropdown:focus .has-dropdown::after,
 .dropdown:focus-within .has-dropdown::after {
     /* transform: rotate(180deg); */
     /* Muss noch herausfinden wie ich den schwarz werden lassen, wenn man im Dropdown hovert, aber nicht mehr im Obermenüpunkt - Lasse es vorerst immer schwarz*/
     background-image: url("../images/chevron_black-f8231c62db7949b49d5a45e702592a5e.svg");
 }

/* Mobile Navigation */
@media (max-width: 1200px) {

    /* Hamburger Button */
    .hamburger {
        position: absolute;
        top: 0;
        right: 20px;
        z-index: 999;
        display: block;
    }

    nav.main-navigation {
        /* das Menü standartnmäßig verstecken */
        display: none;
        width: 100%;
        padding-top: 3.5rem;
    }

    .nav-menu {
        list-style: none;
        align-items: center;
        flex-direction: column;
    }

    .nav-item {
        width: 100%;
        color: var(--black);
        border-bottom: 1px solid var(--black);
        padding-left: 0;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    /* Menü-Dropdown im Mobilen scrollbar machen */
    .menu-toggle:checked~nav.main-navigation {
        overflow: scroll;
        max-height: 80vh;
    }

    /* Dropdown Styling */
    .dropdown {
        position: static;
    }

    .dropdown-menu {
        position: static;
        display: block;
        list-style: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        z-index: 1000;
        border: none;
    }

    .has-dropdown {
        border-bottom: 1px solid var(--black);
    }

    /* .dropdown:hover .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    } */

    .dropdown-menu .nav-link {
        color: var(--black);
        border-bottom: none;
        padding-left: 2rem;
    }

    .dropdown-menu .nav-link::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 18px;
        height: 58px;
        background: var(--black);
    }

    /* .dropdown-menu .nav-link:hover, */
    .dropdown-menu .nav-link:focus {
        background-color: var(--black);
        color: var(--white);
    }

    .dropdown-menu .nav-item:last-child .nav-link {
        border-bottom: none;
    }
}

/* Navigation Breadcrumb */
nav.nav-breadcrumb {
    margin-bottom: 3rem;
}

.breadcrumb {
    display: flex;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
}

.breadcrumb>li>a,
.breadcrumb>li>span {
    text-decoration: none;
    position: relative;
    padding-right: 1.5rem;
}

 .breadcrumb>li>a::after,
 .breadcrumb>li>span::after {
     content: "";
     background-image: url("../images/chevron_black-f8231c62db7949b49d5a45e702592a5e.svg");
     background-repeat: no-repeat;
     position: absolute;
     top: -2px;
     right: 0;
     width: 24px;
     height: 24px;
     transform: rotate(-90deg);
 }

.breadcrumb>li>span.current-page::after {
    background-image: none;
}

.breadcrumb>li>a:hover,
.breadcrumb>li>a:active,
.breadcrumb>li>a:focus {
    text-decoration: underline;
}

.breadcrumb>li>span {
    color: var(--darkgrey);
}

/* Main Content */
main {
    margin: 0 auto;
    width: 100%;
    min-height: 100%;
}

.content-section {
    margin-top: 7rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--black);
}

.content-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-section-inner-md {
    max-width: 1200px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.content-section-inner-sm {
    max-width: 750px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

main .content-section:last-child {
    border-bottom: none;
}

/* Main Content */
/* Mobile */
@media (max-width: 1200px) {
    .content-section-inner-md {
        max-width: 750px;
    }
}

@media (max-width: 768px) {
    .content-section {
        margin-top: 5rem;
    }
}

.content-title {
    position: relative;
    margin-bottom: 4rem;
    color: var(--black);
}

.content-title::after {
    content: "";
    position: absolute;
    bottom: -.5rem;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: var(--black);
}

.content-text p {
    margin-bottom: 1.2rem;
}

.content-text-lg {
    font-size: 24px;
    line-height: 140%;
}

.content-text-lg p {
    font-size: 24px;
    line-height: 140%;
    margin-bottom: 2rem;
}

/* Links im Content */
.content a {
    color: var(--black);
    text-decoration: underline;
    font-style: italic;
}

.content a:hover,
.content a:focus {
    color: var(--black);
    outline: 2px solid var(--black);
    outline-offset: 2px;
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
}

.footer-container {
    padding: 2rem 0 1rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    align-items: row;
    justify-content: space-between;
}

.footer-contact-info {
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-contact-label {
    font-weight: bold;
    display: inline-block;
    width: 5.5rem;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-section ul>ul {
    padding-left: 0;
    padding-right: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
    margin-right: 2rem;
}

.footer-section ul>ul li {
    margin-right: 1rem;
}

.footer-section ul>ul li:last-child {
    margin-right: 0;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
}

.footer-section a:hover,
.footer-section a:focus {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 16px;
    border-top: 1px solid #495057;
    padding-top: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
    }
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

footer hr {
    height: 1px;
    border: none;
    background-color: var(--white);
}


@media (max-width: 992px) {
    .footer-section {
        flex-direction: column;
    }

    .footer-contact-info {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-contact-label {
        font-weight: 300;
        display: inline-block;
        width: unset;
    }

    .footer-section ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer-section li {
        margin-right: 0;
    }

    .footer-section ul>ul {
        margin-top: 1rem;
        flex-direction: row;
        margin-right: 0;
    }

    .footer-section ul>ul li {
        margin-right: .5rem;
        margin-left: .5rem;
    }
}

/* Focus-Indikatoren für bessere Accessibility */
*:focus {
    /* outline: 2px solid var(--focusBlue); */
    /* outline-offset: 2px; */
}

/* Hoher Kontrast für alle Texte (WCAG AAA) */
.high-contrast {
    background-color: #000000;
    color: #ffffff;
}

/* Components */
/* Boxes - Service */
.box-service {
    width: 267px;
}

/* FAQ */
/* Den Default-Pfeil verstecken, geht weil es ein ::marker ist, also ein Pseudoelement eines Listenelements */
details {
    font-size: 18px;
    padding: 1rem 3rem 1rem 1rem;
    border: 1px solid var(--black);
    margin-bottom: 1rem;
}

details summary h2,
details summary h3 {
    font-size: 18px;
    margin-bottom: 0;
}

details summary {
    list-style: none;
    position: relative;
    font-weight: 600;
    cursor: pointer;
}

 details summary::after {
     content: "";
     width: 24px;
     height: 24px;
     background-image: url("../images/chevron_black-f8231c62db7949b49d5a45e702592a5e.svg");
     background-repeat: no-repeat;
     background-size: 32px;
     background-position: top -4px right -4px;
     position: absolute;
     top: 0;
     right: -2rem;
 }

details[open] summary::after {
    transform: rotate(-180deg);
}

details ul {
    margin-left: 0;
}

/* Boxes - People */
.box-people {
    width: 267px;
}

.box-people img {
    border: 1px solid var(--black);
    margin-bottom: 1rem;
}

/* Alles Inklusive-Schild */
/* Content Title anpassen */
.content-title.with-flag {
    position: static;
}

.content-title.with-flag::after {
    display: none;
}

/* Die Flagge */
.all-inkl-flag-container {
    /* position: absolute;
    top: 62px;
    left: 0; */
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--black);
    margin-top: .5rem;
}

.all-inkl-flag {
    position: relative;
    background-color: var(--black);
    color: var(--white);
    width: 275px;
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

 .all-inkl-flag::before,
 .all-inkl-flag::after {
     content: "";
     width: 140px;
     height: 30px;
     background-image: url("../images/flag_black-b440ddfd91dc5a230ddb90ba1fbad78a.svg");
     background-repeat: no-repeat;
     position: absolute;
     bottom: -29px;
     left: 0;
 }

.all-inkl-flag::after {
    position: absolute;
    left: unset;
    right: 0;
    transform: scaleX(-1)
}

.all-inkl-flag .flag-head,
.all-inkl-flag .flag-subhead {
    font-size: 32px;
    line-height: 120%;
    font-weight: 900;
    margin-bottom: .5rem;
}

.all-inkl-flag .flag-subhead {
    font-size: 24px;
}

.all-inkl-flag .flag-text {
    font-family: "Noto Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
}

/* Lightbox Slider */
/* Slider 3 images */
.slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    /* quadratisch */
    object-fit: cover;
    /* immer das Quadrat füllen */
    cursor: pointer;
}


.slide {
    min-width: 31.33%;
    box-sizing: border-box;
    margin: 12px;
    border: 1px solid var(--black);
}

/* Neu: */
.slide.with-service-info {
    position: relative;
}

.slide.with-service-info>div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--white);
    background-color: var(--black);
}

.slide.with-service-info h3 {
    font-family: "Noto Serif", sans-serif;
    font-style: italic;
    font-size: 32px;
    line-height: 120%;
    font-weight: 900;
    margin-bottom: .5rem;
}

.slide.with-service-info .flag-subhead {
    font-family: "Noto Serif", sans-serif;
    font-style: italic;
    font-size: 24px;
    line-height: 120%;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

@media (max-width: 1200px) {
    .slide.with-service-info .flag-text {
        display: none;
    }
}

@media (max-width: 992px) {
    .slide.with-service-info h3 {
        font-size: 16px;
    }

    .slide.with-service-info .flag-subhead {
        font-size: 16px;
    }

    .slide.with-service-info p {
        font-size: 14px;
    }
}


/* Navigation */
.slider-controls {
    /* Container absolut zum äußeren container positionieren */
    position: absolute;
    top: 50%;
    bottom: unset;
    left: 0;
    width: 100%;
}

.slider-controls-inner {
    /* Container der Controls */
    position: relative;
}

 .prev,
 .next {
     /* Controls absolut zum Container der Controls setzen */
     position: absolute;
     top: -46px;
     color: var(--black);
     border: none;
     cursor: pointer;
     width: 46px;
     height: 46px;
     display: flex;
     justify-content: center;
     align-items: center;
     background-image: url("../images/controls/slider_arrow_big_inactive-f4546ccf2c3ee557ebc3a4cc1ab9109e.svg");
     background-repeat: no-repeat;
     background-color: transparent;
     border: none;
 }

.prev {
    /*margin-right: 150px;*/
    /*margin-top:5px;*/
    left: -60px;
    transform: rotate(-180deg);
}

 .prev:hover,
 .prev:active,
 .prev:focus {
     background-image: url("../images/controls/slider_arrow_big_active-c1f4dfa20d045762af06f5146eae00b5.svg");
 }

.next {
    /*margin-left: 150px;*/
    /*margin-top:5px;*/
    right: -60px;
}

.header-slider {
    .prev {
        margin-right: 150px;
        margin-top:5px;
        left: unset;
        top: unset;
    }
    .next {
        margin-left: 150px;
        margin-top:5px;
        right: unset;
        top: unset;
    }
}
 .next:hover,
 .next:active,
 .next:focus {
     background-image: url("../images/controls/slider_arrow_big_active-c1f4dfa20d045762af06f5146eae00b5.svg");
 }


/* Punkte (Indikatoren) */
.dots,
.header-dots {
    text-align: center;
    margin-top: 3.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot,
.header-dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: var(--white);
    border: 1px solid var(--black);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active,
.header-dot.active {
    height: 14px;
    width: 14px;
    background-color: var(--black);
}

/* Slider 3 images - mobile */
@media (max-width: 1300px) {
    .slider-controls {
        /* Container absolut zum äußeren container positionieren */
        position: absolute;
        top: unset;
        bottom: -1rem;
        left: 0;
        width: 100%;
    }

    .prev {
        left: 0;
    }

    .next {
        right: 0;
    }

    .dots {
        margin-top: 2rem;
    }
}

@media (max-width: 1200px) {
    .slide.with-tag::after {
        transform: scale(.7);
        bottom: -42px;
    }
}

@media (max-width: 992px) {
    .slide.with-tag::after {
        transform: scale(.6);
        bottom: -51px;
        right: -39px;
    }

    .dots {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .slide.with-tag::after {
        transform: scale(.4);
        bottom: -69px;
        right: -45px;
    }
}

/* Slider single image */
.slider-single-image .content-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 1rem;
}

.slider-single-image .content-title::after {
    display: none;
}

.slider-single-image .slide {
    min-width: 100%;
    box-sizing: border-box;
    margin: 0;
    /* border: none; */
}

.slider-single-image .prev,
.slider-single-image .next {
    /* Controls absolut zum Container der Controls setzen */
    position: static;
    top: unset;
    background-size: 28px;
    width: 32px;
    height: 32px;
}

.slider-single-image .prev {
    left: unset;
    margin-right: .7rem;
    transform: rotate(-180deg);
}

.slider-single-image .next {
    right: unset;
    margin-left: .7rem;
}

/* Slider single image - mobile */
/* code here - not needed */

 /* Slider header */
.header-slider {
    position: relative;
    height: 92vh;
    width: 100%;
    overflow: hidden;
    background: var(--darkgrey); /* fallback color */
    /* entferne falls vorhanden ein background-image, damit Video sichtbar wird */
    background-image: none !important;
}

/* Hintergrundvideo: füllt den Container vollständig */
.header-slider .bg-video {
    position: absolute;
    inset: 0;                 /* top:0; right:0; bottom:0; left:0; */
    width: 100%;
    height: 100%;
    object-fit: cover;        /* skaliert sauber */
    object-position: center;
    z-index: 0;               /* hinter dem Inhalt */
    pointer-events: none;     /* Klicks passieren das Video */
    display: block;
}

/* optional: leichter dunkler Overlay, damit Text besser lesbar ist */
.header-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25); /* anpassen oder entfernen */
    z-index: 1;
}

/* Inhalt über dem Video */
.header-slides,
.header-dots,
.skip-button-container {
    position: relative;
    z-index: 2; /* über Video und Overlay */
}

/* Slide Layout (behalte deine Regeln, aber sorge für z-index/position) */
.header-slider .header-slides {
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.header-slider .header-slides-content {
    height: 100%;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.header-slider .header-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 100%;
    /*flex-shrink: 0;*/
    box-sizing: border-box;
    padding: 1rem;
}

/* Slide Inhalt: ggf. halbtransparent machen, damit Video durchscheint */
.header-slider .header-slide .header-slide-inner {
    background-color: rgba(255,255,255,0.9); /* oder var(--white) */
    border: 1px solid var(--black);
    text-align: center;
    max-width: 36rem;
    box-sizing: border-box;
    padding: 1rem;
}

/* Typografie */
.header-slider h1,
.header-slider h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 120%;
    margin-bottom: .7rem;
}

.header-slider p {
    font-size: 36px;
    font-style: italic;
    font-weight: 400;
    line-height: 120%;
}

/* Navigation (kleine Anpassung damit Buttons sichtbar bleiben) */
.header-slider .prev,
.header-slider .next {
    width: 46px;
    height: 46px;
    z-index: 3;
}

/* Mobile-Optimierung: Video evtl. abschalten für Performance */
@media (max-width: 768px) {
    /*.header-slider .bg-video {*/
        /*display: none; !* oder: display:block mit lower-res video *!*/
    /*}*/
    .header-slider .header-slide .header-slide-inner {
        background-color: var(--white); /* damit Text mobil klar lesbar ist */
    }
}

/* Punkte (Indikatoren) */
.header-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 10rem;
    left: 0;
    width: 100%;
}

/* Skip-Button für Header-Slider */
.skip-button-container {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
}

 .skip-button {
     background-image: url("../images/controls/scroll_down-f63740862fd32fd6b47befc93c936576.svg");
     background-repeat: no-repeat;
     width: 68px;
     height: 68px;
 }


/* Slider header - mobile */
@media (max-width: 768px) {
    .header-slider {
        height: 40vh;
    }

    .header-slider .header-slide {
        align-items: flex-start;
        padding-top: 3.7rem;
    }

    .header-slider h1,
    .header-slider h2 {
        font-size: 24px;
    }

    .header-slider p {
        font-size: 20px;
    }

    .header-dots {
        bottom: 4rem;
    }

    .header-slider .prev,
    .header-slider .next {
        background-size: 30px;
        width: 30px;
        height: 34px;
    }

    .skip-button-container {
        bottom: .5rem;
    }

    .skip-button {
        background-size: 40px 40px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .header-slider .header-slide {
        padding-top: 2.5rem;
    }

    .header-slider .header-slide .header-slide-inner {
        padding: .5rem;
    }
}

/* Slider Controls to the sides for landscapes */
@media only screen and (min-width: 768px) and (max-width: 1600px) {
    .header-slider {
        height: 81vh;
    }

    .header-dots {
        width: auto;
        left: unset;
        transform: rotate(90deg);
        top: unset;
        right: -3rem;
        bottom: 9rem;
        margin-top: 0;
    }

    .skip-button-container {
        width: auto;
        left: 1rem;
        bottom: 4rem;
    }
}

/* Non-Slider Lightbox Tiles - References Images*/
.references-container {
    grid-template-columns: 1fr 1fr 1fr;
}

.references-container img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    /* quadratisch */
    object-fit: cover;
    /* immer das Quadrat füllen */
    cursor: pointer;
    border: 1px solid var(--black);
}

/* Non-Slider Lightbox Tiles - References Images - mobile*/
@media (max-width: 1200px) {

    .references-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {

    .references-container {
        grid-template-columns: 1fr;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
}

.lightbox img {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    z-index: 1000;
    position: relative;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

@media only screen and (min-width: 768px) and (max-width: 1600px) {
    .header-dots {
        right: 0;
    }
}

.slide {
    min-width: 31.33%;
}

@media (max-width: 1200px) {
    .slide {
        min-width: 30%;
    }
}

@media (max-width: 697px) {
    .slide {
        min-width: 29%;
    }
}

@media (max-width: 576px) {
    .slide {
        min-width: 28.33%;
    }
}

@media (max-width: 447px) {
    .slide {
        min-width: 26.33%;
    }
}

.contentMain {
    min-height: calc(100% - 266px - 7rem);
}

@media (max-width: 576px) {
    header {
        padding: 2.4rem 0 .8rem 0;
    }

    .logo {
        margin-bottom: -3rem;
    }
    .logo img {
        width: 235px;
    }
}

@media (max-width: 576px) {
    .slide.with-service-info h3 {
        font-size: 12px;
        margin-top: 1rem;
    }
    .slide.with-service-info .flag-subhead {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .slider-single-image video {
        max-width: 100%;
        height: fit-content;
    }
}

.slider-single-image video {
    display: block;
    margin: 0 auto;
}
