:root {
    --accent-orange: #e87625;

}





/* open-sans-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/open-sans-v43-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/open-sans-v43-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/open-sans-v43-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/open-sans-v43-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/open-sans-v43-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/open-sans-v43-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif, Arial;
    background-color: #f8f9fa;
    min-height: 100vh;

    /*PRIORITY!!!!!!!!!!!!!!*/
    margin-left: 2rem;
    margin-right: 2rem;
}


/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
    background: #ffe6d1;
    color: #b95a1e;
    padding: .5rem 1rem;
    border-radius: 4px;
    font-weight: bold;
    transition: left 0.3s;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    width: auto;
    height: auto;
    outline: 2px solid #b95a1e;
}



.title {

    color: var(--accent-orange);
    padding-left: 0;
    /*letter-spacing: 1px;*/
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* (MIN, PREFERRED, MAX); */
    font-size: clamp(1.8rem, 5.2vw, 3.2rem);
    margin-bottom: 0.5rem;
    font-weight: 400;

}


/*abstand logo to nav*/
.justify-content-between {
    margin-bottom: -0.5rem;
}


/*PRIORITY!!!!!!!!!!!ANKER Abstand zu header
check body tag data-bs-offset="150" */
section {
    scroll-margin-top: 170px;
    padding-bottom: 40px;
}



.main-wrapper {
    max-width: 950px;
    margin: 0 auto;
    /*PRIORITY! Abstand cont zu browser*/
    margin-top: clamp(0.5rem, 2.5vw, 2rem);
    background-color: white;
    padding-right: clamp(0.8rem, 3vw, 2.5rem);
    padding-left: clamp(0.8rem, 3vw, 2.5rem);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}



.container.hip-header {
    /*PRIORITY!!!!!!!!!!!!!!*/
    margin-top: 2rem;
    margin-bottom: 0.8rem;

}



/*Schatten unter Sticky Header */
#mainNavbar.sticky-top::after {
    content: "";
    border-top: 1.5px solid #eaeaea;
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0;
    height: 0;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.1);
    pointer-events: none;
    box-sizing: unset;
}




.container.bg-white {
    /*ABSTAND ZU FOOTER!*/
    padding-bottom: 2rem;
    padding-top: 1.8rem;
}




/* //////////////////NAVIGATION HEADER FULL*/

.navbar-nav {
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    margin-top: 0rem;
}




.nav-link {
    font-size: 1rem;
    color: #939393;
    font-weight: 600;
    transition: color .2s;
    cursor: pointer;
}


.nav-link.active,
.nav-link:hover,
.nav-link:focus {
    text-decoration: underline;
    text-underline-offset: 6px;
}



/*PRIORITY!!!!!!!!!!!!!!NAV PADDING */
#mainNavbar .navbar-nav .nav-link {
    padding-left: 0.2rem;
    padding-right: 1.2rem;
    padding-top: 0.2rem;
}


/* //////////////////TYPE*/
h3 {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    font-weight: 700;
    /*    border-bottom: 1.5px solid #f3ece8;
    border-top: 1.5px solid #f3ece8;
    padding-top: .2rem;
    padding-bottom: .2rem;
    margin-bottom: .4rem;*/
    margin-bottom: .2rem;
    color: var(--accent-orange);
    text-transform: uppercase;

}



h2 {
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #333333;
}


/*headlines over pictures more distance*/
.image-headline {
    margin-bottom: 1.5rem;
    /*1.5rem= mb-4-24px*/

}

/*headlines below pictures more distance*/
.image-headline-top {
    margin-top: 3rem;
    /*3rem= mt-5-48px*/

}


p {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: #626262;
    margin-bottom: 3rem;
    /*3rem= mb-5-48px*/
    line-height: 1.6;
}



a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4rem;
}

a:hover,
a:focus {
    color: #cc6600;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}




/* //////////////////THUMBNAILS */

.thumbnail-border {
    border: 2px solid #ccc;
    /* hellgrau */
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

.thumbnail-border:hover {
    border-color: #999;
    /* dunkleres Grau bei Hover */
}






/* //////////////////CONTAINER */


img.img-fluid {
    max-width: 100%;
    height: auto;
    /*border-radius: 6px;*/
    margin-bottom: 2.4rem;
    margin-bottom: 1.6rem;
}



.custom-image {}

.custom-image:hover {
    /*transform: scale(1.01);*/
}





/*///VIMEO CONTAINER*/
.ratio {
    overflow: hidden;
    border: 1px solid #eee;
    margin-bottom: 4rem;
}


.content-100 {
    width: 100%;
    margin-left: 0;
    text-align: left;
}

.content-80 {
    width: 83.3333333%;
    margin-left: 0;
    text-align: left;
}

.content-60 {
    width: 66.666%;
    margin-left: 0;
    text-align: left;
}


/* //////////////////MEDIA QUERRIES */

/* //change to mobile menue */
@media (max-width: 992px) {

    /*change vert. distance to logo*/
    #navbarContent {
        margin-top: 1rem;
    }

    /*center h1 with menue*/
    h1.title {
        margin-bottom: 0;
    }

}



/* //change to small header */
@media (max-width: 768px) {

    .content-80 {
        width: 100%;
    }

    .content-60 {
        width: 100%;
        margin: 0;
    }

    section {
        scroll-margin-top: 100px;
    }

    .main-wrapper {
        margin-top: 0;
    }

    .container.hip-header {
        /*PRIORITY!!!!!!!!!!!!!!*/
        margin-top: 0.6rem;
        margin-bottom: 0.8rem;
    }

    .container.bg-white {
        /*ABSTAND ZU content to header*/
        padding-top: 1rem;
    }

    body {
        margin-left: 0;
        margin-right: 0;
    }

    p {
        margin-bottom: 2rem;
    }
}



/* //////////////////MOBILE MENUE TOGGLER */
.navbar-toggler {
    /* hält Toggle immer ganz rechts */
    margin-left: auto;
    /*border-radius: 0;*/
    font-size: 0.8rem;
    /* Skalierung des Icon-Elements */
    border: 3px solid #888;
    padding: clamp(0.1rem, 1vw, 0.4rem) clamp(0.2rem, 1.5vw, 0.6rem);

}


.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
    border: 3px solid #999;
}

.navbar {
    /* verhindert Animation beim Aufklappen */
    transition: none !important;
}





/* //////////////////FOOTER */
footer {
    background: #f8f9fa;
    font-size: 1rem;
}




/* //////////////////COOKIE POP UP */
#cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: 100%;
    max-width: 950px;
    background: #f0f0f0;
    color: #333;
    padding: 1rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cookie-banner p {
    text-align: center;
    margin: 1.5rem 0 1rem 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons button {
    padding: 0.2rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#cookie-accept {
    background-color: var(--accent-orange);
    color: #fff;
}

#cookie-decline {
    background-color: #ddd;
    color: #333;
}

.language-toggle {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
}

.lang-btn {
    background: transparent;
    border: none;
    font-weight: bold;
    margin-left: 0.5rem;
    cursor: pointer;
    color: #666;
}

.lang-btn.active {
    color: #000;
    text-decoration: underline;
}




/* //////////////////LIGHTBOX */
.glightbox-container .gslide-image img {
    width: auto;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

/*beschreibung entfernen*/
.glightbox-container .gdesc,
.glightbox-container .gslide-description {
    display: none !important;
}

/*pfeile entfernen*/
/*.glightbox-container .gprev,
.glightbox-container .gnext {
    display: none !important;
}*/

.glightbox-container img {
    pointer-events: none;
    touch-action: none;
    user-select: none;
}