/* ==========================================================================
   WEBFONTS
   ========================================================================== */

@font-face {
    font-family: 'headline';
	font-style: normal;
	font-weight: normal;
	src: url('../Fonts/Unit-Bold.woff2') format('woff2'),
		 url('../Fonts/Unit-Bold.woff') format('woff'),
		 url('../Fonts/Unit-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'regular';
	font-style: normal;
	font-weight: 300;
	src: url('../Fonts/Unit-Medium.woff2') format('woff2'),
		 url('../Fonts/Unit-Medium.woff') format('woff'),
	     url('../Fonts/Unit-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'light';
	font-style: normal;
	font-weight: 300;
	src: url('../Fonts/UnitOT.woff') format('woff');
}

@font-face {
    font-family: 'icon';
	font-style: normal;
	font-weight: 300;
    font-display: block;
	src: url('../Fonts/icon.woff') format('woff');
}



/* ==========================================================================
   NORMALIZE
   ========================================================================== */
button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}

html { -webkit-box-sizing: border-box;box-sizing: border-box; }
*, *:before, *:after { box-sizing: border-box; }


/* ==========================================================================
   NATIVE
   ========================================================================== */

:root {
	
    /* COLORS */
	--color_pos: #FFF;
    --color_neg: #222;
    --color_ci_1: #3CAA88;  /* sea green */
    --color_ci_2: #003C76;  /* dark blue */
    --color_ci_3: #5A80B4;  /* light blue */
    --color_ci_4: #108131;  /* dark green */
	--color_special: #E30613; /* red */ 
    --color_special2: #0B8861; /* bright green '/

    /* FONT-FAMILIES */
	--regular: 'regular', Arial, sans-serif, Helvetica;
	
    /* FONT-SIZE */
	--sizeBase: 15px;
    
    --size4XL: 2.5rem;
    --size3XL: 2rem;
    --sizeXXL: 1.6rem;
    --sizeXL:  1.3rem;
    --sizeL:   1.4rem;
    --sizeM:   1.2rem;
    --sizeS:   1.1rem;
    --sizeXS:  1rem;   
    
    
    @media (orientation: landscape) and (width >= 992px) {
    --size4XL: 6rem; /*110px;*/
    --size3XL: 4rem; /*80px;*/
    --sizeXXL: 2rem; /*40px;*/
    --sizeXL:  1.8rem; /*35px;*/
    --sizeL:   1.6rem; /*30px;*/
    --sizeM:   1.4rem; /*25px;*/
    --sizeS:   1.2rem; /*20px;*/
    --sizeXS:  1rem; /*18px;*/
    }
    
    @media (orientation: landscape) and (width >= 1900px) {
    --size4XL: 7.3rem; /*110px;*/
    --size3XL: 5.3rem; /*80px;*/
    --sizeXXL: 2.6rem; /*40px;*/
    --sizeXL:  2.3rem; /*35px;*/
    --sizeL:   2rem; /*30px;*/
    --sizeM:   1.6rem; /*25px;*/
    --sizeS:   1.3rem; /*20px;*/
    --sizeXS:  1.2rem; /*18px;*/    
    }
}


/* ==========================================================================
   BASE HTML
   ========================================================================== */
html {
    scroll-behavior: smooth !important;
    -webkit-text-size-adjust: 100%;
    font-size: var(--sizeBase);
    font-family: 'light';
    position: relative;
    min-height: 100%;
}

body {
    overflow-x: hidden;
}

figure {
    margin: 0;
    line-height: 0;
}

img {
    width: 100%;
    height: auto;
    line-height: 0;
}

a { text-decoration: none;color: var(--color_special);}
a:hover:not([class^="icon-"]) {text-decoration: underline;}

body:not(.p1) p:not(.headline) {
    font-size: var(--sizeM);
    line-height: 1.4;
}

body:not(.p1) main li {
    font-size: var(--sizeM);
    line-height: 1.4;
}

body main.page70x0 li {
    margin-bottom: 1rem;
}



body:not(.p1) p:not(.headline) a.large span {
    @media (orientation: landscape) and (width >= 992px) {
        font-size: var(--sizeXL);
    }
}

a.btn.left {
    @media (orientation: landscape) and (width >= 992px) {
        float: left;
    }
}

hr {
    height: 2rem;
    border: 0;   
}

/* ==========================================================================
   BASE classes
   ========================================================================== */

    .right { text-align: right;}

@media (orientation: landscape) and (width >= 992px) {
    .text-end { text-align: right;}
}

[class^="icon-"], [class*=" icon-"] {
  font-family: 'icon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-logo:before {
  content: "\e901";
}
.icon-drop:before {
  content: "\e900";
}
.icon-next:before {
  content: "\e902";
}
.icon-top:before {
  content: "\e903";
}
.icon-linkedin:before {
  content: "\e905";
}
.icon-instagram:before {
  content: "\e904";
}

div.top {    
    a {
        display: inline-block;
        width: 3rem;
        height: 2rem;
        background: var(--color_ci_1);
        @media (orientation: landscape) and (width >= 992px) {         
            background: rgba(0,0,0,0);
        }
        position: relative;
        top: -1rem;
        right: -7rem;
        i { 
            display: block;
            text-align:center;
        }
        i::before {
            content:'\e903';
            font-family: icon;
            font-style: normal;
            font-size: var(--sizeL);
            color: var(--color_pos);
            @media (orientation: landscape) and (width >= 992px) {  
                color: var(--color_ci_1);
            }
        }
        &:hover {
            text-decoration: none;
            i::before {
                /* color: var(--color_pos); */
                color: var(--color_special);
            }
        }
    }
}

div.sticky.top {
    position: fixed;
    bottom: -5rem;
    right: 0;
    @media (orientation: landscape) and (width >= 992px) {
        right: -1rem
        @media (orientation: landscape) and (width >= 1900px) {
        right: 2rem;
        }        

    }
    z-index: 5;
    
    a {
        top: 0;
        right: 0;
        @media (orientation: landscape) and (width >= 992px) {
            right: 3rem;
        }
    }
    -webkit-transition: all .25s ease-out;
    transition: all .25s ease-out;    
}

.down div.sticky.top {
    bottom: 1rem;
    
    a {
        pointer-events: initial;
    }

    @media (orientation: landscape) and (width >= 992px) {
        bottom: .5rem;
    }
}

.scroll-end.down div.sticky.top {
    @media (orientation: landscape) and (width >= 992px) {        
        bottom: 12rem;
    }    
}

.col-lg-8 .ce-image.ce-center.ce-above {
  max-width: 760px;
  margin: 0 auto;
}

a.scroll-down {
    display: none;
	position: absolute;
	bottom: 2rem;
	width: 100%;
	animation: MoveUpDown 2s linear infinite;
		-webkit-animation-delay:0s;
		animation-delay:0s;	
	z-index: 2;
    color: var(--color_ci_1);
    
    span {
        display: block;        
        margin: 0 auto;
        cursor: pointer;
        pointer-events: initial;
        transform: rotate(180deg);
        width: 3.5rem;
        height: 2rem;
        text-align: center;        
        
        &::after {
            content: '\e903';
            font-family: icon;
            font-style: normal;
            
            font-size: var(--sizeL);            
        }
    }
    &:hover {
        text-decoration: none;
        color: var(--color_special);
    }
}


@keyframes MoveUpDown {
  0%, 100% {
    bottom: 2rem;
  }
  50% {
    bottom: 2.5rem;
  }
}

.down a.scroll-down {
    opacity: 0;
    pointer-events: none;
}


/* ==========================================================================
   HEADER
   ========================================================================== */
header {
    position: fixed;
    width: 100%;
    z-index: 1;
    top:0;
    
    img {
        -webkit-transition: all .25s ease-out;
        transition: all .25s ease-out;        
        margin-top: 4rem;
        width: 100%;
    }
    
    img.pos {
        display: none;
    }
    
    .hamburger {
        display: inline-block;
        -webkit-transition: all .25s ease-out;
        transition: all .25s ease-out;
        cursor: pointer;
        top: 4rem;
        position: relative;
        z-index: 10;
        
        span {
            -webkit-transition: all .25s ease-out;
            transition: all .25s ease-out;
            background: var(--color_pos);
            display: block;
            width: 4rem;
            height: .4rem;
            margin: .8rem 0;
        }
    }
    .hamburger::after,
    .hamburger::before {
        -webkit-transition: all .25s ease-out;
        transition: all .25s ease-out;
        content: '';
        background: var(--color_pos);
        display: block;
        width: 4rem;
        height: .4rem;        
    }
    
    .hamburger:hover {
        transform: scale(1.1);
    }
}

.main-nav-active .hamburger span {
	width: 0;
	opacity: 0;    
}

.main-nav-active .hamburger::before {
	transform: rotate(45deg);
    background: var(--color_ci_2);    
}

.main-nav-active .hamburger::after {
	transform: rotate(-45deg);
    background: var(--color_ci_2);
    /* margin-top: -2.25rem;     */
    position: absolute;
    top: 0;
}

.main-nav-active header {
    img.neg {
        display: none;
    }
    img.pos {
        margin: 2rem 0 0 1rem;
        display: block;
        max-width: 300px;
        @media (orientation: landscape) and (width >= 1200px) { 
            margin: 4rem 0 0 0;
        }
    }   
}

body.main-nav-active {
    overflow: hidden;
}

nav.main {
    background: rgba(255,255,255,0.95);
    width: 100%;
    height: 100vh;
    position: fixed;
    top: -100vh;
    z-index: 10;
    overflow: hidden;
    overflow-y: hidden;
    overflow-y: auto;
    text-align: center;
    font-size: calc(var(--size3XL)*0.8);
    font-family: headline;
    -webkit-transition: all .25s ease-out;
    transition: all .25s ease-out;  

    ul {
        padding: 0;
        margin: 8rem 0 0 0;      
        @media (orientation: landscape) and (width >= 1200px) {
            margin:4rem 0 0 0;
        }
    }

    li {
      position: relative;
      z-index: 12;
      list-style-type: none;
    }


        a {
            display: block;
            padding: 1rem;
            border-bottom: 2px solid var(--color_ci_2);
            
        @media (orientation: landscape) and (width >= 1200px) {            
            display: inline-block;
            text-align: left;
            color: var(--color_ci_2);
            margin: 2rem 0 2rem 3rem;
            text-decoration: none;
            position: relative;
            padding: initial;
            border: 0;
          
            span {
                display:inline-block;
                position: relative;
                width: auto;
            }
          
            b {
                display: inline-block;
                position: relative;
                background: var(--color_pos);
                line-height: 1;
                padding: .5rem 2rem .5rem 2rem;
                z-index: 2;
                font-weight: 300;
            }
            i {
                display: block;
                position: absolute;
                width: 100%;
                height: 100%;
                z-index: 0;
                background: var(--color_special);
                transform: rotate(-4deg);
                top: 0;
                left: -.75rem;
                transition: all .25s ease-out;
                padding: 1rem 0;
                z-index: 1;
            }
            &:hover i {
                transform: rotate(4deg);    
            }
        }
        
        
    }

    .close {
        position: fixed;
        top: 2rem;
        right: 2rem;
        width: 4rem;
        height: 4rem;
        background: rgba(0,0,0,0);
        opacity: 0;
        pointer-events:none;               
        span {
            width: 100%;
            height: 100%; 
            cursor: pointer;            
        }
        i {
            display: block;
            position: relative;
            top: 2rem;
            width: 100%;
            height: 100%;            
        }
        i::before,i::after {
            display: inline-block;
            position: absolute;
            content: '';
            width: 4rem;
            height: .3rem;
            background: var(--color_ci_2);
            transform: rotate(45deg);
            top: 0;
            left: 0            
        }
        i::after {
           transform: rotate(-45deg); 
        }
    }


        
        .meta {
            font-size: var(--sizeXXL);
            @media (orientation: landscape) and (width >= 1200px) {            
                position: absolute;
                bottom: 0;
                font-size: var(--sizeM);
                width: 100%;
                opacity:0;
                pointer-events: none;
            }
        }
    
}

.main-nav-active nav.main {
    top: 0;
    .meta {
      opacity:1;
      pointer-events: initial;        
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */  
footer {
    width: 100%;
    margin: 20vh 0 0 0;
    @media (orientation: landscape) and (width >= 992px) {
        margin: 50vh 0 0 0;
    }
    padding: 2rem 0 1rem;
    background: var(--color_ci_2);
    color: var(--color_pos);
    position: relative; 

    img { max-width: 310px; }

    a {
        color: var(--color_pos);
        font-size: var(--sizeS);
        margin:0 2rem;
        margin-right: 0;     
    }

    [class^="icon-"], [class*=" icon-"] {
        /* font-size: 40px; */
        font-size: calc(var(--sizeBase)*2.7);
        &:hover {  color: var(--color_ci_1);}
    }

    nav.legal { margin: 2rem 0 0; }
    
    nav.social {
        margin: 2rem 0 0 0;
        @media (orientation: landscape) and (width >= 992px) {
        margin:0;
        }
    }
  
}

footer::before {
    content: '';
    width: 100%;
    height: 2rem;
    background: var(--color_ci_2);
    clip-path: polygon(0 2rem, 100% 0, 100% 100%, 0% 100%);
    position: absolute;
    top: calc(-2rem + 2px);
}

.p1 footer {
    margin: 25vh 0 0 0;
}


footer .right {
    text-align: left;
    @media (orientation: landscape) and (width >= 992px) {
        text-align: right;      
    }
}

/* ==========================================================================
   CONTENT
   ========================================================================== */ 
   
.breadcrumb {
    position: relative;
    ol {
        padding: 0 0 0 1.1rem;
        @media (orientation: landscape) and (width >= 992px) { 
            padding: 0 0 0 .25rem;
        }
        list-style-type: none;
        font-family: headline;
        font-size: var(--sizeXS);
        
        li {
            display: inline-block;
            color: var(--color_ci_4);
            line-height: unset;
        }
        a {
            color: var(--color_ci_4);
        }
        
        a:hover {
            text-decoration: none;
            color: var(--color_special);
        }
        
        a::after {
            content: '\e902';
            font-family: icon;
            padding: 0 .25rem;
            font-size: calc(var(--sizeXS) * .8);
            color: var(--color_ci_2);
        }
    }
    li:first-of-type::before {
        content: '';
        background: url('../Images/gfx_droplet_dark.svg') no-repeat;
        background-size: contain;
        width: 1rem;
        height: 2rem;
        position: absolute;
        top: 1rem;
        left: .5rem;
        @media (orientation: landscape) and (width >= 992px) { 
            left: -.75rem;
        }
    }
}

main {
  position: relative; 
  z-index: 2;
  pointer-events: none;
}
    

main.article div.header,
main.overview p.header,
main.overview > section > .box > .container + .container > .facts > p.header,
main .frame-header1 div.header {
    font-size: var(--size3XL);
    font-family: headline;    
    color: var(--color_ci_2);
    line-height: 1;
    margin: 0;
    @media (orientation: landscape) and (width >= 992px) {
        margin: 3rem 0;
    }
    
    span {
        display: block;
        margin: 0 0 .5rem 0.25rem;
        font-size: var(--sizeXL);
        text-transform: uppercase;
    }
}

.headline {
    font-size: var(--sizeL);
    font-family: headline;
    color: var(--color_ci_2);
}

main.article .headline {    
    margin: .5rem 0 0 0;
    @media (orientation: landscape) and (width >= 992px) {
        margin: 1.7rem 0;
    }
}

/* big header */
.frame-type-menu_subpages .headline {
    font-size: var(--size3XL);
}


section {
    /* padding-top: 35vh; */
    padding-top: 14vh;
    .box {
        background: var(--color_pos);
        clip-path: polygon(0 2rem, 100% 0, 100.00% calc(100% - 2rem), 0 100%);
        position: relative;
        width: 95%;
        max-width: 1820px;
        left: 50%;
        transform: translateX(-50%);
        padding: 2rem 0 1rem; 
        @media (orientation: landscape) and (width >= 992px) {
            padding: 4rem 0 8rem;      
        }
    }
    div {
        pointer-events: initial;
    }
}

section:first-of-type {
  padding-top: 60vh;
}

body:not(.p1) section:first-of-type {
    margin-top: 20vh;
    @media (orientation: landscape) and (width >= 992px) {
        margin-top: 60vh;
    }    
    padding: 0;
}

a.btn {
    display:inline-block;
    position: relative;
    margin: 1rem 0 2rem .5rem;
    @media (orientation: landscape) and (width >= 992px) {
        margin: 0 0 0 .5rem;
    }
    /* top: -3rem; */

    span {
        position: relative;
        background: var(--color_pos);
        /* padding: .5rem 0 .5rem 1rem; */
        padding: 0 0 .5rem 1rem;
        z-index: 1;
        font-size: var(--sizeS);
        font-family: headline;
        color: var(--color_special);
        text-transform: initial;
        letter-spacing: .05rem;
        &::after {
            content: '\e902';
            font-family: icon;
            padding: 0 0 0 .25rem;
            font-size: calc(var(--sizeXS) * .8);
        }
    }
    
    &.large span::after {
        font-size: calc(var(--sizeM) * .8);
    }
    
    i {
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 0;
        background: var(--color_special);
        transform: rotate(-4deg);
        top: 0;
        left: -.25rem;
        transition: all .25s ease-out;
        padding: 1rem 0;
    }
    &:hover {
        text-decoration:none;
        span {
            color: var(--color_ci_2);
        }
        i {
            transform: rotate(4deg);
        }
    }
}


main .menu {
    
    p.header {
        font-size: var(--sizeXL);
        font-family: headline;
        color: var(--color_ci_2);
        margin: 1.5rem 0 0 0;
        @media (orientation: landscape) and (width >= 992px) {
            margin: 0 0 2rem 0;
        }
    }    
        
    a.btn {
        padding: .5rem 0 .5rem;
        margin: 0;
        @media (orientation: landscape) and (width >= 992px) {
            margin: 1rem 0 0 .5rem;
        }        
        span {
            padding: .25rem .2rem .25rem 1rem;
        }
    }
    
    p.header + a.btn {
        margin: 1rem 0 2rem;
        @media (orientation: landscape) and (width >= 992px) {
            margin: 1rem 0 0 .5rem;
        }
    }
    
    .teaser {
        font-size: var(--sizeM);
        line-height: 1.4;
    }
    
    .row {
        margin: 2rem 0 2rem 0;
        @media (orientation: landscape) and (width >= 992px) {
            margin: 4rem 0 0 0;
        }
    }
    

    figure.image {
        background: var(--color_neg);
        img {
            opacity: .95;
        }
    }

}

main .menu-section,
.menu-section.clone {
    -webkit-transition: all .25s ease-out;
    transition: all .25s ease-out;    
    background: var(--color_ci_2);
    color: var(--color_pos);
    padding: 2rem 1rem 1rem 2rem;
}

main.page70x0 .frame,
main.overview .frame,
main .menu-section,
.menu-section.clone {
    ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }
    li {
        margin: 0 0 1rem;
        padding: 0 0 0 1.75rem;
        position: relative;
        line-height: 0;
        a {
        font-size: var(--sizeS);
        color: var(--color_pos);
        line-height: 0;
        span { line-height: 1.2 !important;}           
        }      
        &::before {
            content: '';
            background: url('../Images/gfx_droplet.svg') no-repeat;
            background-size: contain;
            width: 1rem;
            height:2rem;
            position: absolute;
            top: 0;
            left:0;
        }
    }
}

main.page70x0 .frame,
main.overview .frame {
    li {
        line-height: 1.4;
        margin-bottom: 1rem;
    }
}

@media (orientation: landscape) and (width >= 992px) {
    .text-media figure {
      margin: 1.8rem 0 0 3rem;
    }
}

@media (orientation: landscape) and (width >= 992px) {

    .menu-section.clone {
        position: fixed;
        top: -100vh;
        right: 10.5rem;
        z-index: 2;
        max-width: 520px;
    }

    .show-menu main .menu-section {
        top: -100vh;
    }

    .show-menu .menu-section.clone {
        top:0;
    }

    .show-menu.scroll-end .menu-section.clone {
        top:-100vh;
    }

}


.frame-type-menu_section {
    display:none;
    @media (orientation: landscape) and (width >= 992px) {
        display:block;
    }
}

@media (orientation: landscape) and (width < 1900px) {
    .menu-section.clone {
        display: none;
    }
}


.page-background {
    position: fixed;
    z-index: -1;
    top:0;
    left:0;
    width:100%;
    height: 100vh;
    overflow:hidden;
    background-size: cover;
}

.page-background div {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.1);
}


.facts .grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;    
    @media (orientation: landscape) and (width >= 992px) {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
    padding: 1rem 0 1.5rem 0;

    .item {
        background: var(--color_ci_2);
        color: var(--color_pos);
        position: relative;
        padding: 2rem 1rem 0 1rem;
        @media (orientation: landscape) and (width >= 992px) {
            padding: 2rem;
        }
        .title {
            position: absolute;
            display: inline-block;
            width: auto;
            transform: rotate(-1deg);
            top: 1rem;
            left: -.5rem;
            padding: .5rem 1rem;
            @media (orientation: landscape) and (width >= 992px) {
                top: 2rem;
                left: -1rem;
                /* padding: 1.75rem 3rem 1.75rem 2.7rem; */
                padding: .5rem 0.5rem .5rem 2rem;
            }
            background: var(--color_pos);
            border: .2rem solid var(--color_ci_2);
            /* box-shadow: 5px 5px var(--color_ci_3); */
            box-shadow: 2px 1px 0 5px var(--color_pos);
            color: var(--color_ci_2);
            text-transform: uppercase;
            /* font-size: var(--sizeXL); */
            font-size: var(--sizeL);
            /* line-height: 0; */
            line-height: 1;
            font-family: headline;
        }
        .text {
            padding: 2rem 0 0 0;
            @media (orientation: landscape) and (width >= 992px) {
                padding: 4rem 0 0 0;
            }
            line-height: 1.6;
            font-size:var(--sizeS);
            
        }
        &.even {
            background: var(--color_ci_4);
            .title {
                border: .2rem solid var(--color_ci_4);
                color: var(--color_ci_4);
                /* box-shadow: 5px 5px var(--color_ci_1); */
                box-shadow: 2px 1px 0 5px var(--color_pos);
            }
        }
        a {
          color: var(--color_pos);
          text-decoration: underline;
        }        
    }
}


   
/* HOMEPAGE */

body.p1 header {
    z-index: 2;
}

body.p1.main-nav-active header,
body.main-nav-active header {
    z-index: 11;  
    pointer-events: none;
}

body.p1.main-nav-active header a,
body.main-nav-active header a,
body.p1.main-nav-active header .hamburger,
body.main-nav-active header .hamburger {
    pointer-events: initial;
}

body.p1 main {
    pointer-events: none;
}

body.p1 main .container {
    pointer-events: initial;    
}

.p1 section {
    
    /* padding-top: 20vh; */
    /* padding-top: 10vh; */
    /* min-height: 30vh;     */
    
    @media (orientation: landscape) and (width >= 992px) {
        /* padding-top: 24vh; */
        /* padding-top: 12vh; */
        /* min-height: 100vh; */
    }

    .box { padding: 0; }

    .box figure.image {
        position: relative;
    }
    
    .box figure.image img {
        position: absolute;
        left: -13rem;
        width: calc(100% + 13rem);        
        @media (orientation: landscape) and (width >= 1900px) {
            left: -8rem;
            width: calc(100% + 8rem);
        }
    }
    
    .header {
        font-size: var(--size4XL);
        font-family: headline;
        text-transform: uppercase;
        color: var(--color_ci_2);
        line-height: 1;
        margin: 3rem 0 0rem;
        @media (orientation: landscape) and (width >= 992px) {
            margin: 4rem 0;
        }
        @media (orientation: landscape) and (width >= 1900px) {
            margin: 12rem 0 8rem;
        }        
        span {
            display: block;
            font-size: var(--sizeXXL);
            margin: 0 0 0 .25rem;
        }
        a.btn {
            top:0;
            @media (orientation: landscape) and (width >= 992px) {
                top: -3rem;
            }
            span {
                font-size: var(--sizeS);
                padding: .5rem 0 .5rem 1rem;
            }
        }
    }
}

    @media (orientation: landscape) and (width >= 992px) {
        .p1 section#media {
        /* padding-top: 20vh; */
        /* padding-top: 10vh; */
        }
        .p1 section#faq {
        /* padding-top: 30vh; */
        /* padding-top: 15vh; */
        }        
    }

.p1 #intro {
    /* height: 100vh; */
    height: 75vh;
    position: relative;
    
    .box {
        position: relative;
        width: 95%;
        margin: 0 2.5%;
        color: var(--color_pos);
        font-size: var(--sizeL);
        font-family: regular;
        
        .container {
            position:relative;
            top: 20vh;
            @media (orientation: landscape) and (width >= 992px) {
                top:43vh;
            }
            z-index: 3;
            font-size: var(--sizeL);
            p { max-width: 1160px; }
            
            ul {
                list-style-type: none;
                padding: 0 0 1rem 0;
                li { 
                    display: inline-block;
                    font-size: var(--sizeS);
                    font-family: light;
                    position: relative;
                    padding: 0 0 0 1rem;
                    
                    &::before {
                        content: '';
                        background: var(--color_ci_3);
                        width: .4rem;
                        height:100%;
                        position: absolute;
                        left:0;
                        top:0;
                    }
                    
                    strong {
                        font-size: var(--sizeL);
                        font-family: regular;
                        font-weight: 300;
                        text-transform: uppercase;
                        display: block;
                        border-bottom: .2rem solid var(--color_ci_2);
                    }
                    i {
                        font-style: normal;
                        &::after {
                            font-family: 'icon';
                            content: '\e902';
                            color: var(--color_ci_1);
                            font-size: calc(var(--sizeXS) * .7);
                            padding: 0 0 0 .4rem;
                        }
                    }
                    a { color: var(--color_pos); }
                    a:hover { text-decoration: none; }
                    a:hover strong { border-bottom: .2rem solid var(--color_pos); }                    
                }               
                /* li:first-of-type { margin: 0;} */
            }
            ul.grid {
                display: flex;
                flex-wrap: wrap;
                gap: 4rem;
                column-gap: 4rem;
                row-gap: 2rem;
            }
        }
        
        .bg1, .bg2 {
            position: absolute;
            background: var(--color_ci_2);
            top: 20vh;
            @media (orientation: landscape) and (width >= 992px) {
                top: 43vh;
            }
            transform: rotate(-1deg);
            width: 100%;
            height: 100%;
            z-index: 2;
        }
        .bg2 {
            background: var(--color_ci_1);
            transform: rotate(1deg);
            width: 95%;
            z-index: 1;
            margin: 0 2.5%;
        }        
    }
}

.p1 #news .box {
    background: var(--color_pos);

    .container {
        padding: 2rem 0;
        /* max-width: none; */
    }
    @media (orientation: portrait) and (width < 768px) {
        .flockler-grid-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);    
        }
    }
    @media (orientation: landscape) and (width >= 1330px) {
        .flockler-grid-item {
            padding: 0;
        }
        .flockler-grid-items {
            /*
            white-space: nowrap;
            overflow-y: hidden;
            overflow-x: auto;            
            */
            display: grid;
            grid-template-columns: repeat(4, 1fr);  
            gap: 2rem;
            padding: 1rem 0;
        }
    }
    
    
    
    .flockler-grid-items[data-container-width=">=1200"] .flockler-grid-item,
    .flockler-grid-items[data-container-width=">=1500"] .flockler-grid-item,
    .flockler-grid-items[data-container-width=">=1800"] .flockler-grid-item {
        width: 100%;
    }
    
}

.flockler-embed-popup-open section#news .box {
    clip-path: none;
    margin: 0 0 0 2.5%;
    left: auto;
    transform: none;
}

.p1 section#media {
    .box#gallery figure.image img {
        position: absolute;
        left: auto;
        right: -7.1rem;
        width: calc(100% + 8.6rem);
    }

    
        .box#video {
            /* margin-top: 22vh; */
            /* margin-top: 11vh; */
            @media (orientation: landscape) and (width >= 992px) {
                margin-top: -2rem;
            }
        }
    }
}

.p1 #faq .header span,
.p1 #facts .header span {
    max-width: 675px;
    text-transform: none;
}

.p1 #faq, 
.p1 #facts {
    
    @media (orientation: landscape) and (width >= 992px) {
        .box {
            background: linear-gradient(to right, var(--color_pos) 0%,var(--color_pos) 79%,var(--color_ci_2) 79%,var(--color_ci_2) 100%);   
        } 
    }
    .col-md-5,.col-lg-5 {
        background: var(--color_ci_2);
        color: var(--color_pos);
        font-size: var(--sizeL);
        font-family: 'light';       
        
        ul {
            list-style-type: none;
            padding: 0;            
            margin: 7rem 2rem 0 4rem;      
            li {
                padding: 0 0 1rem 2.5rem;
                position: relative;
                &::before {
                    content: '';
                    background: url('../Images/gfx_droplet.svg') no-repeat;
                    background-size: contain;
                    width: 1.5rem;
                    height:2.5rem;
                    position: absolute;
                    top: 0;
                    left:0;
                }
                a {
                    color: var(--color_pos);
                }
            }
        }
    }
}

.p1 #facts {
    .col-md-5,.col-lg-5 {
        font-size: var(--sizeM);        
        p {
            text-align: justify;
            margin: 4rem 2rem 0 2rem;
            @media (orientation: landscape) and (width >= 1900px) {
                margin: 9rem 2rem 0 8rem;
            }
            max-width: 500px;
            line-height: 1.5;
            position: relative;
            strong {
                font-size: var(--sizeXL);
                line-height: 1;
            }
            &::after {
                content: '';
                background: url('../Images/gfx_droplet.svg') no-repeat;
                background-size: contain;
                width: 8rem;
                height: 10rem;
                position: absolute;
                bottom: -3rem;
                right: -9rem;              
            }
        }
    }
}

.p1 #faq {
    .col-md-5,.col-lg-5 {
        font-size: var(--sizeXL);        
        ul {
            margin: 3rem 0 2rem 2rem;
            @media (orientation: landscape) and (width >= 1900px) {            
                margin: 9rem 0 0 6rem;
            }
        }
        li {
            padding: 0 0 1rem 2.5rem !important;
            @media (orientation: landscape) and (width >= 1900px) { 
                padding: 0 0 2rem 2.5rem !important;
            }
        }
    }
    .header em {
        font-style: normal;
        &::before {
            content: '.';
            margin: 0 .25rem 0 0rem;
        }
        &::after {
            content: '.';
            margin: 0 .25rem 0 .5rem;
        }        
    }  
}


.p1 section {
    padding-top: 0;
    @media (orientation: landscape) { 
        padding-top: 7rem;
    }
}


.p1 #intro {
    height: auto;
    @media (orientation: portrait) { 
        .box .container {
            background: var(--color_ci_2);
            margin-top: 12rem;
            margin-bottom: 2rem;
            top: auto;
            
        }
        .bg1, .bg2 { display: none; }
    }
    @media (orientation: landscape) {         
      /* height: 45rem; */
      height: 35rem;
      .box .container,
      .box .bg1,
      .box .bg2  {
          top: 19rem;
      }
    }
}

.p1 section:first-of-type {
  @media (orientation: landscape) { 
    padding-top: 8rem;
  }
}

.p1 footer {
  margin-top: 9rem;
}

.p1.down header img {
  width: 50%;
  margin-top: 3rem;
}

body.p1 main .container.top {
  display: none;
}

/* FAQ */

.frame-faq {

    p:not(.headline) {
        font-size: var(--sizeM);
        line-height: 1.4;
    }

    p:last-of-type {
        margin-bottom: 2rem;
        @media (orientation: landscape) and (width >= 992px) {
            margin-bottom: 4rem;
        }
    }
    
    ul {
      padding: 0 0 0 1rem;
    }    

    /*
    a {
        background: var(--color_special2);
        color: var(--color_pos);
        padding: .25rem .5rem;
        
        &:hover {
            background: var(--color_special);
            text-decoration: none;
        }
    }*/
}

/* GALLERY */

.gallery {
    
    .col-12 {
        padding: 0;
    }    
    
    .grid {
        display: grid;
        margin: 1rem 0;
        grid-template-columns: repeat(2, 1fr);
        @media (orientation: landscape) and (width >= 992px) {
            margin: 0;
            grid-template-columns: repeat(3, 1fr);
        }
        gap: .5rem;  
    }
    figure {
        overflow: hidden;
        background: var(--color_ci_2);
        position: relative;
        figcaption {
            opacity: 0;
            pointer-events:none;
            position: absolute;
            width: 100%;
            padding: 2rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: var(--sizeL);
            text-align: center;
            color: var(--color_pos);
            line-height: 1.2;            
        }
        img {
            -webkit-transition: all .25s ease-out;
            transition: all .25s ease-out;
        }
        a:hover figcaption {
            opacity: 1;
        }
        a:hover img {
            transform: scale(1.15);
            opacity: .2;
        }
    }
}

.vbox-container img {
    max-height: 91vh;
}

/* VIDEOS */

.ce-image .videos .col-12 {
    padding: 0;
}

.videos {
    .grid {
        display: grid;
        margin: 2rem 0;
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;  
        @media (orientation: landscape) and (width >= 992px) {
            margin: 0;
            grid-template-columns: repeat(3, 1fr);
            gap: 3rem;  
        }
        
    }

    figure {
        overflow: hidden;
        background: var(--color_ci_2);
        position: relative;        
        figcaption {
            opacity: 0;
            pointer-events:none;
            position: absolute;
            width: 100%;
            padding: 2rem;
            top: 50%;
            transform: translateY(-50%);
            font-size: var(--sizeL);
            text-align: center;
            color: var(--color_pos);
            line-height: 1.2;            
        }        
        img {
            -webkit-transition: all .25s ease-out;
            transition: all .25s ease-out;
        }
        a:hover figcaption {
            opacity: 1;
        }
        a:hover img {
            transform: scale(1.15);
            opacity: .2;
        }        
        /*
        a {
            position: relative;
            b {
                position: absolute;
                bottom: 0;
                display: block;
                background: rgba(0,0,0,.9);
                width: 100%;
                color: #fff;
                padding: .5rem 1rem;
                line-height: 1.2;
                font-size: var(--sizeXS);
                font-weight: 300;
            }
        }
        */
    }  
}

/* ARTICLE [Project/Study] */


.article 
    .teaser p {
        font-weight: 900;
    }
    .aside {
        figure {
            position: relative;
            figcaption {
                position: absolute;
                right: 1rem;
                bottom: 2rem;                
                @media (orientation: landscape) and (width >= 992px) {
                    right: .5rem;
                    bottom: 3rem;
                }
                color: var(--color_pos);
                font-size: var(--sizeXS);
            }
        }
        img {
            margin: 1.5rem 0;
        }
    }
    figure.image figcaption.image-caption {
      line-height: 1.2;
      text-align: center;
    }    
}



.row.frame-col2 {
    p.headline {
        font-size: var(--sizeM);
        margin: 1.5rem 0;
    }    
}

.frame-indent0 figure {
      max-width: 810px;
}

main.page70x30 ul.grid,
main.page70x0 ul.grid {
    padding: 0;
    list-style-type: none;
    @media (orientation: landscape) and (width >= 992px) {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;        
           
        width: 100%;
        &.col3 {
         grid-template-columns: repeat(3, 1fr);   
        }    
        &.col4 {
         grid-template-columns: repeat(4, 1fr);   
        }
    }
    li {
        background: var(--color_ci_2);
        &:nth-child(odd) {
        /* background: var(--color_ci_4);    */
        }
        color: var(--color_pos);
        padding: 1rem;
        font-size: var(--sizeS) !important;
    }
}


p.lead {
    font-weight: 900;
    max-width: 1320px;
}

main.campaign {
    @media (orientation: landscape) and (width >= 992px) {
        
        section:first-of-type {
            margin-top: 30vh;
        }   
        
        .teaser {
            p.lead {
                margin: 0 0 3rem;
            }
            .header {
                margin: 0;
            }
                
        }
        .facts .grid .title {
            font-size: calc(var(--sizeL)*.9);
        }
        
        .text-media .headline {
            margin: 2rem 0 0 0;
        }
    }
}

@media (orientation: landscape) and (width >= 992px) {
    main.campaign + .sticky + .page-background + footer {
        margin-top: 5rem;
    }
}

.p49 main.campaign .facts .grid {
        @media (orientation: landscape) and (width >= 992px) {
        .item:nth-of-type(1) .title {
            max-width: 470px;
        }
        .item:nth-of-type(2) .title {
            max-width: 440px;
        }
        .item:nth-of-type(4) .title {
            max-width: 410px;
        }        
    }
}

@media (orientation: landscape) and (width >= 992px) {
    .p49 #c109 img {    
        max-width: 350px;
    }
    .p49 #c105 {
        margin-top: 1.5rem;
    }
    .p49 #c116 .header {
        margin: 5rem 0 2rem 0;
    }
    
}

.p49 {
  main .frame-header1 div.header {
      color: #D37F01;
  }
  .headline {
      color: #202022;
    }
}


.matomo {
  background: var(--color_ci_2);
  padding: .5rem 1rem .5rem 5rem;
  color: var(--color_pos);
  border-radius: 9px;
  font-size: var(--sizeS);
  position: relative;
  
  strong {
      font-weight: 300;
  }
  input {
    transform: scale(3);
    position: absolute;
    top: 1.5rem;
    left: 2rem;    
  }
  label {

  }
}