@font-face {
    font-family: 'FormaleGrotesque';
    src: url('/assets/fonts/WOFF2/FormaleGrotesque-L4.woff2')format('woff2'),
    url('/assets/fonts/WOFF/FormaleGrotesque-L4.woff') format('woff');
    font-weight: 300; /* light */
    font-style: normal;
}

@font-face {
    font-family: 'FormaleGrotesque';
    src: url('/assets/fonts/WOFF2/FormaleGrotesque-N1.woff2')format('woff2'),
    url('/assets/fonts/WOFF/FormaleGrotesque-N1.woff') format('woff');
    font-weight: 400; /* normal */
    font-style: normal;
    }

@font-face {
    font-family: 'FormaleGrotesque';
    src: url('/assets/fonts/WOFF2/FormaleGrotesque-N4.woff2')format('woff2'),
    url('/assets/fonts/WOFF/FormaleGrotesque-N4.woff') format('woff');
    font-weight: 700; /* bold */ 
    font-style: normal;
    }

/* --- GENERAL --- */
:root {
    --black: #000;
    --green: #00CC89;
    --orange: #FF6A00;
    --lilac: #ADAFFF;
    --white: #fff;

    --my-transition: 0.2s ease-out all;

    --help-color: #ff0000;
}

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

html, body {
    height: 100%;
    width: 100%;
    color: var(--black);
    hyphens: auto;
    scroll-behavior: smooth;
    /* background-color: var(--help-color); */
}

.wrapper {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    /* background-color: yellow; */
}

.bg-black {
    background: var(--black);
}

.bg-green {
    background: var(--green);
}

.bg-orange {
    background: var(--orange);
}

.bg-lilac {
    background: var(--lilac);
}

.hr {
    border: 0;
    width: 100%;
}

.hr--l {
    height: 16px;
}

.hr--s {
    height: 2px;
}
.hr--nav {
    margin-bottom: 0rem;
}

.hr--anchor-link-section {
    margin-top: 3rem;
    margin-bottom: -1rem;
}

.hr--referenz {
    margin-bottom: -3rem;
}

.anchor-link-section .hr--impressum {
    margin-top: 0.5rem;
    margin-bottom: 0.6rem;
}

.logo-font {
    font-family: 'FormaleGrotesque', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 4rem; /* 48pt */
    line-height: 100%;
    margin-top: 0rem;
    margin-bottom: 2.6rem;
    
}

h1, .headline-large {
    font-family: 'FormaleGrotesque', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 2.5rem;
    line-height: 100%;
    margin-top: .6875rem;
    margin-bottom: .9375rem;
}

h2 {
    font-family: 'FormaleGrotesque', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 120%;
    margin-top: .75rem;
    margin-bottom: .75rem;
    /* background-color: var(--help-color); */
}

h3 {
    font-family: 'FormaleGrotesque', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 120%;
    margin-top: 1.6rem;
    /* background-color: var(--help-color); */
}

.anchor-link-section h3 {
    margin-bottom: -1rem;
}

.anchor-link-section hr {
    /*margin-top: 4rem;
    margin-bottom: -3rem;*/
    margin-top: 2rem;
    margin-bottom: -1rem;
}

/*
.h3--anchor-link-section {
    margin-top: 2.5rem;
    margin-bottom: -3rem;
}

.p--anchor-link-section {
    margin-top: 3rem;
    color: red;
}
*/

p, figcaption {
    font-family: 'FormaleGrotesque', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 120%;
    margin-top: 0rem;
    margin-bottom: 1rem;
    /* background-color: var(--help-color); */
}

.p--referenz {
    margin-top: 0.75rem;
    margin-bottom: -0.75rem;
}

.p--footer {
    margin-bottom: .5rem;
}


ul {
    margin-right: 2em;
}

li {
        
    /*
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    */

    font-family: 'FormaleGrotesque', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 120%;
    
    margin-left: 1.5rem;
    
    list-style: none;

}

li::before {

    
    content: url(/assets/icons/circle.svg);
    
        /* 
        display: inline-block;
        vertical-align: middle; 
        white-space: nowrap;
        */

    margin-right: .4rem;
    margin-left: -1.5rem;
    position: relative;
    top: -1px;

    
}

li:last-child {
    margin-bottom: 1.2rem;
}

/*
ul .list-bullet::marker {
    content: url(/assets/icons/circle.svg);
}
*/

.margin-top-1rem {
    margin-top: 1rem;
}

.link--anchor {
    font-family: 'FormaleGrotesque', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 140%;
}

.anchor-links {
    margin-top: 1rem;
    margin-bottom: 2rem;
    cursor: pointer;
    margin-left: -0.7rem
}

.anchor-links .list-bullet::before {
    content: url(/assets/icons/triangle_down.svg);;
}

.anchor-links a {
    margin-left: .4rem;   
}

.list-item-space {
    position: relative;
    left: 8px;
}

a {
    cursor: pointer;
    color: var(--black);
    text-decoration: underline 0.075em rgba(0, 0, 0, 1);
    -webkit-text-decoration-line: underline;
    text-underline-offset: 0.15em;
    -webkit-text-decoration-color: rgba(0, 0, 0, 1);
    transition: text-decoration-color 0.2s, text-underline-offset 0.2s;

}

@media (hover: hover) {
    a:hover{
      text-decoration-color: rgba(0, 0, 0, 0);     
    }
  }


.link {
    font-family: 'FormaleGrotesque', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 120%;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    cursor: pointer;
}

.link--list {
        text-decoration: none;
        color: var(--black);
        cursor: pointer;
        border-bottom: 0px solid transparent;
}

.link-icon--desktop {
    margin-right: 8px;
    cursor: pointer;
}

.link-icon--mobile {
    display: none;
}

.link-back {
    margin-top: .5rem;
}

.hr--back {
    margin-top: 2rem;
}



.link_underline {
    color: var(--black);
    text-decoration: underline 0.05em rgb(0, 0, 0, 1);
    -webkit-text-decoration-line: underline;
    text-underline-offset: 0.15em;
    -webkit-text-decoration-color: rgb(0, 0, 0, 1);
    transition: text-decoration-color 0.2s, text-underline-offset 0.2s;
}

@media (hover: hover) {
    .link_underline:hover {
      text-decoration-color: rgba(0, 0, 0, 0);      
    }
  }





/* default link look at a */

.link__underline--green, .green{
    color: var(--black);
    text-decoration: underline 0.075em rgba(0, 204, 137, 1);
    -webkit-text-decoration-line: underline;
    text-underline-offset: 0.15em;
    -webkit-text-decoration-color: rgba(0, 204, 137, 1);
    transition: text-decoration-color 0.2s, text-underline-offset 0.2s;
}

@media (hover: hover) {
    .link__underline--green:hover, .green:hover{
      text-decoration-color: rgba(0, 204, 137, 0);     
    }
  }

.link__underline--orange, .orange {
    color: var(--black);
    text-decoration: underline 0.075em rgba(255, 106, 0, 1);
    -webkit-text-decoration-line: underline;
    text-underline-offset: 0.15em;
    -webkit-text-decoration-color: rgba(255, 106, 0, 1);
    transition: text-decoration-color 0.2s, text-underline-offset 0.2s;
}

@media (hover: hover) {
    .link__underline--orange:hover, .orange:hover {
      text-decoration-color: rgba(255, 106, 0, 0);      
    }
  }

.link__underline--lilac, .lilac{
    color: var(--black);
    text-decoration: underline 0.075em rgba(173, 175, 255, 1);
    -webkit-text-decoration-line: underline;
    text-underline-offset: 0.15em;
    -webkit-text-decoration-color: rgba(173, 175, 255, 1);
    transition: text-decoration-color 0.2s, text-underline-offset 0.2s;
}

@media (hover: hover) {
    .link__underline--lilac:hover, .lilac:hover {
      text-decoration-color: rgba(173, 175, 255, 0);      
    }
  }


/* Link in Textbox mit Triangle */

.link-text-triangle {
    margin-left: 1.5rem;
    color: var(--black);
    text-decoration: none;
    white-space: pre;
    pointer-events: none; 
    cursor: default; 
}

.link-text-triangle::before {
    content: url(/assets/icons/triangle_right.svg);
    margin-right: 0.4rem;
    margin-left: -1.25rem;
    position: relative;
    top: 1px;
}


.link-black {
    margin-left: 1.5rem;
    color: var(--black);
    text-decoration: underline 0.075em rgb(0, 0, 0, 1);
    -webkit-text-decoration-line: underline;
    text-underline-offset: 0.15em;
    -webkit-text-decoration-color: rgba(0, 0, 0, 1);
    transition: text-decoration-color 0.2s, text-underline-offset 0.2s;
    white-space: pre;
}

.link-black::before {
    content: url(/assets/icons/triangle_right.svg);
    margin-right: 0.4rem;
    margin-left: -1.5rem;
    position: relative;
    top: 1px;
}

@media (hover: hover) {
    .link-black:hover {
      text-decoration-color: rgba(0, 0, 0, 0);      
    }
  }


.link-green {
    margin-left: 1.5rem;
    color: var(--black);
    text-decoration: underline 0.075em rgba(0, 204, 137, 1);
    -webkit-text-decoration-line: underline;
    text-underline-offset: 0.15em;
    -webkit-text-decoration-color: rgba(0, 204, 137, 1);
    transition: text-decoration-color 0.2s, text-underline-offset 0.2s;
    white-space: pre;
}

.link-green::before {
    content: url(/assets/icons/triangle_right.svg);
    margin-right: 0.4rem;
    margin-left: -1.5rem;
    position: relative;
    top: 1px;
}

@media (hover: hover) {
    .link-green:hover {
      text-decoration-color: rgba(0, 204, 137, 0);      
    }
  }



.link-lilac {
    margin-left: 1.5rem;
    color: var(--black);
    text-decoration: underline 0.075em rgba(173, 175, 255, 1);
    -webkit-text-decoration-line: underline;
    text-underline-offset: 0.15em;
    -webkit-text-decoration-color: rgba(173, 175, 255, 1);
    transition: text-decoration-color 0.2s, text-underline-offset 0.2s;
    white-space: pre;
}

.link-lilac::before {
    content: url(/assets/icons/triangle_right.svg);
    margin-right: 0.4rem;
    margin-left: -1.5rem;
    position: relative;
    top: 1px;
}

@media (hover: hover) {
    .link-lilac:hover {
      text-decoration-color: rgba(173, 175, 255, 0);      
    }
  }


  .link-orange {
    margin-left: 1.5rem;
    color: var(--black);
    text-decoration: underline 0.075em rgba(255, 106, 0, 1);
    -webkit-text-decoration-line: underline;
    text-underline-offset: 0.15em;
    -webkit-text-decoration-color: rgba(255, 106, 0, 1);
    transition: text-decoration-color 0.2s, text-underline-offset 0.2s;
    white-space: pre;
}

.link-orange::before {
    content: url(/assets/icons/triangle_right.svg);
    margin-right: 0.4rem;
    margin-left: -1.5rem;
    position: relative;
    top: 1px;
}

@media (hover: hover) {
    .link-orange:hover {
      text-decoration-color: rgba(255, 106, 0, 0);      
    }
  }

/*


.link__underline--orange {
    color: inherit;
    text-underline-offset: var(--offset, 0.125em);
    text-decoration: underline var(--orange) 0.0625em;
    transition: --offset 400ms, text-decoration-color 400ms;
}

.link__underline--lilac {
    color: inherit;
    text-underline-offset: var(--offset, 0.125em);
    text-decoration: underline var(--lilac) 0.0625em;
    transition: --offset 400ms, text-decoration-color 400ms;}
*/








.link__underline--black {
    border-bottom: 2px solid var(--black);
}



.link__no_underline {
    text-decoration: none;
    color: var(--black);
    border-bottom: 0px solid transparent;
}


/* --- HEADER & NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    padding-top: .5rem;
}

/* Hamburger Icon */ 
.hamburger {
    display: block;
    cursor: pointer;
    margin-top: .5rem;
}

.logo--desktop {
    margin-top: 1rem; /* because of .bar margin 1.1rem */
    margin-bottom: 2.5rem;
    /* z-index: 2;  to sit above the overlay */
    width: 19.5rem;
    height: auto;
}

.logo-nav--desktop {
    margin-top: 1rem;
    width: 19.5rem;
}

.logo--mobile, .logo-nav--mobile {
    display: none;
}

.nav--logo_btn {
    margin-bottom: -10.7rem;
    margin-left: 2rem;
}

.bar {
    display: block;
    width: 36px;
    height: 4px;
    margin: 0.5rem auto;
    background-color: var(--black);

    /* for X animation 
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    */
}

/* The Overlay (background) */
.overlay {
    height: 0%;
    max-width: 800px;
    width: 100%;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 0;
    padding-left: 15px;
    padding-right: 15px;
    transform: translate(-50%, 0);
    background-color: rgb(255, 255, 255);
    overflow-x: hidden;
    transition: 0.5s ease-out;
}

 /* Hide scrollbar for Chrome, Safari and Opera */
 .overlay::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
  .overlay {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  } 




/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 11.05rem;
    width: 100%;
    list-style-type: none;
}

/** Mozilla Firefox **/
    @supports (-moz-appearance:none) {
        .overlay-content {
            position: relative;
            top: 11.13rem;
            width: 100%;
            list-style-type: none;
        } 
    }

/** Safari 7.1+ **/
_::-webkit-full-page-media, _:future, :root .overlay-content {
    position: relative;
    top: 11rem;
    width: 100%;
    list-style-type: none;
  }



/* The navigation links inside the overlay */
.overlay a {
    text-decoration: none;
    color: var(--black);
    display: block; /* Display block instead of inline */
    font-family: 'FormaleGrotesque', Arial, Helvetica, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 2.5rem;
    line-height: 100%;
    margin-top: .5rem;
    margin-bottom: 2rem;
    margin-left: -2rem; /* to compansate GENERAL -> li */
    transition: 0.3s; /* Transition effects on hover (color) */
}

.nav--link {
    margin-left: .75rem;
}

.nav--link a {
    margin-left: -0.8rem;
    margin-top: .7rem;
    margin-bottom: 1rem;
}

#nav--link--a {
    margin-top: 0rem;
}

.overlay-content li::before {
    content: none;
}

/* active Page */
.overlay-content .is-active {
    position: relative;
    margin-left: 1.5rem;
}

.is-active::before {
    content: url(/assets/icons/circle_nav.svg);
    position: absolute;
    top: 0rem;
    margin-left: -2rem;
}



/* When you mouse over the navigation links, change their color 
.overlay a:hover, .overlay a:focus {
    color: #ff0000;
}
*/

/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: -8px;
    right: 1rem;
    font-size: 68px;
}

.minimize-margin-bottom {
    margin-bottom: -1rem;
}



/* --- MAIN --- */

.referenz {
    margin-top: 1.6rem;
}

.referenz-label {
    margin: 0;
    padding: 0;
}

.referenz-titel {
    margin: 0;
    padding: 0;
}

/* single image */
.gallery {
    margin-top: 1.6rem;
    text-align: center;
    margin-bottom: -.5rem;
}

.gallery > ul {
    margin-right: 0rem;
}

.gallery > img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
    object-position: center;
    vertical-align: middle;
}

.fig-caption {
    margin-left: -.1rem;
    text-decoration: none;
    white-space: pre;
    pointer-events: none; 
    cursor: default; 
}


/* --- Slider --- */

/* Slideshow container */
.slideshow-container {
    width: auto;
    max-width: 100%;
    position: relative;
    margin: auto;
    margin-top: 1.6rem;
}

.image--slide {
    width: 100%
}

/* Hide the images by default */
.mySlides {
    display: none;
    margin-bottom: 1.6rem;
  }


/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
    width: 3rem;
    height: 3rem;
  }



/* --- FOOTER --- */
.footer {
    margin-top: 0rem;
    padding-bottom: 4rem;
    padding-top: 1rem;
}

.hr--footer {
    margin-top: 3rem;
}






.link--test {
    color: purple;
}



/* --- MOBILE --- */

/* --- Der Mobile Code ist mit meinen Anpassungen nicht mehr nötig, weil alle Schriften für Desktop und Mobile passen. Der Code liegt hier: assets/css/styles_mobile_temp.css */

@media only screen and (max-width: 600px) {
    
    /* --- Header --- */
    .logo-nav--mobile {
        margin-top: 1rem;
        width: 18rem;
        margin-bottom: 2.25rem;
    }

    .logo--desktop, .logo-nav--desktop, .desktop {
        display: none;
    }

    .logo--mobile, .logo-nav--mobile {
        display: block;
        width: 15rem;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        padding-top: 1rem;
        padding-bottom: 2.5rem;
    }
    
    .hamburger {
        margin-top: -.25rem;
    }

    .bar {
        width: 26px;
        height: 2px;
        margin: 0.4rem auto;
    }

    .overlay .closebtn {
        position: absolute;
        top: 0;
        right: 1rem;
        font-size: 50px;
    }

    .overlay a {
        /*
        text-decoration: none;
        color: var(--black);
        display: block; /* Display block instead of inline */
        /*
        font-family: 'FormaleGrotesque', Arial, Helvetica, sans-serif;
        font-style: normal;
        font-weight: 300;
        line-height: 100%;
        */
        font-size: 2.25rem;
        margin-top: .75rem;
        margin-bottom: .75rem;
        transition: 0.3s; /* Transition effects on hover (color) */
    }

    .overlay .closebtn {
        top: -15px;
        right: 15px;
      }

      /* active Page */
      .is-active::before {
        content: url(/assets/icons/circle_nav_mobile.svg);
        top: -.25rem;
        margin-left: -2rem;
    }
    
    
    /* --- General --- */

    /* alle Einheiten auf 75% der Desktop-Werte */
    .hr--l {
    height: 12px;
    }
    
    .logo-font {
        font-size: 2.75rem;
        margin-top: 1.125rem;
        margin-bottom: 1.5rem;
    }






    h1, .headline-large {
        font-size: 2.25rem;
        margin-top: 0.75rem;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.125rem;
        margin-top: .5rem;
        margin-bottom: .75rem;
    }

    h3 {
        font-size: 1.125rem;
        margin-top: 2.5rem;
    }

    p, figcaption {
        font-size: 1.125rem;
        margin-top: 1rem;
        margin-bottom: .75rem;
    }

    li {
        font-size: 1.125rem;
        margin-left: 1.25rem;

    }

    li::before {
        content: url(/assets/icons/circle_mobile.svg);
        margin-left: -1rem;

    }

    li:last-child {
        margin-bottom: -.75rem;
    }

    .link--anchor {
        font-size: 1.125rem;
    }

    .link {
        font-size: 1.125rem;
        margin-top: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .link--test {
        color: var(--help-color)
    }

    a.link--previous::before{
        content: url(/assets/icons/circle.svg);
        margin-right: .5rem;
        margin-left: -.75rem;
    }

    .link-back {
        margin-top: .5rem;
    }
    
    .hr--back {
        margin-top: 2rem;
    }



    /* Ende alle Einheiten auf 75% der Desktop-Werte */


    .minimize-margin-bottom {
        margin-bottom: -2rem;
    }

    .anchor-link-section hr {
        /*margin-top: 4rem;
        margin-bottom: -3rem;*/
        margin-top: 2rem;
        margin-bottom: -2rem;
    }
    /*
    ul .list-bullet::marker {
        content: url(/assets/icons/circle_mobile.svg);
    }

    .anchor-links .list-bullet::marker {
        content: url(/assets/icons/triangle_down_mobile.svg);
    }
*/
    .list-item-space {
        left: 6px;
      }

    .link-icon--mobile {
        display: block;
        margin-right: 6px;
    }
    
    .link-icon--desktop {
        display: none;
    }

    .link-lilac::before,
    .link-green::before,
    .link-orange::before,
    .link-black::before,
    .link-text-triangle::before {
        content: url(/assets/icons/triangle_right_mobile.svg);
        margin-right: 0.4rem;
        margin-left: -1.5rem;
        position: relative;
        top: 1px;
    }
}


/*
@media screen and (max-height: 450px) {

     HEADER & NAVIGATION 
    .overlay {overflow-y: auto;}
    .overlay a {font-size: 20px}
  }
*/





/* --- HELP --- */
.help-background-red {
    background: var(--help-color);
}

/*
* {
    border: 1px solid saddlebrown;
}

*/