/* 1. Noto Sans Normal (400) definieren */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/noto-sans-regular.woff2') format('woff2');
}

/* 2. Noto Sans Fett (700) definieren */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/noto-sans-bold.woff2') format('woff2');
}


:root {
    --grey: #303e47;
    --grey-accent:#9a9896;
    --orange:#e76119;
    --orange-accent: #ea7735;
    --text: #000000;
    --text-accent: #e6e6e6;
    --font-family: "Noto Sans", system-ui, sans-serif;
    --bg: whitesmoke;
    
    --xxx-large: 2.5rem;
    --xx-large: 2.25rem;
    --x-large:  2rem;
    --large: 1.8rem;
    --subtitle: 1.4rem;
    --text-size: 1.125rem;
    --small: 1rem;
    --x-small: 0.9375rem;
    --xx-small:  0.875rem;
}
::selection {
  color: var(--orange); 
  background: var(--grey);
}

* {
    padding: 0;
    margin: 0;
    
}


html {
    font-family: var(--font-family);
    background-color: var(--bg);
    scroll-behavior: smooth;
    overflow-x: hidden;
    hyphens: auto;
}

main {
    view-transition-name: page-content;
    min-height: 100vh;
    background-color: var(--bg);
}


.header {
    display: grid;
    grid-template-rows: 1fr 3fr 1fr;
}


.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    display: flex;
    flex-direction: row-reverse;
    background-color: var(--bg);
    color: var(--orange);
    box-sizing: border-box;
    padding: 0.25rem;
}

.top-header > a {
    align-items: center;
    color: inherit;          
    text-decoration: none; 
    /*font-size: calc(var(--text-size) / 1.0);  */
    font-size: var(--text-size);
    display: grid;
    grid-template-columns: auto auto;
}
.top-header > a:last-child{
    margin-right:  0.5rem;
}
.top-header > a:hover > div{
    text-decoration: underline; 
}
.top-header > a > svg{
    height: 1.35rem;
    fill: var(--orange);
}
.top-header > a > b{
    font-weight: normal;
}

.top-header > *:nth-child(1){
    order: 5;
}
.top-header > *:nth-child(2){
    order: 2;
}
.top-header > *:nth-child(3){
    order: 3;
}
.top-header > *:nth-child(4){
    order: 4;
}
.top-header > *:nth-child(5){
    order: 1;
}
.top-header > .placeholder{
    margin: 0 0.4rem;
}
.balken {
    background: var(--grey-accent);
    height: 20px;
    top: 0;
}


.screen {
    display: grid;
    grid-template-columns: 1fr 3fr;
    background-color: white;
    padding: 1rem;
    padding-left: 4rem;
    position: fixed;
    top:2rem;
    left: 0;
    width: 100%;
    z-index: 10;
    box-shadow: -5px 6px 30px 5px rgba(0,0,0,0.15);
    border-bottom: 0.5rem solid var(--white);
    border-top: 0.5rem solid var(--white);    
}


.screen > a > .logo {
    height: 5rem;
}



.screen > div:not(.top-header) > a {
    font-size: var(--xxx-large);
    text-decoration: none;
    color: var(--orange);
    position: relative;
    text-align: center;
}



.screen > .top-header > p > a {
    font-size: var(--text-size);
    color: var(--orange);
}


.screen > .nav-container {
    text-align: right;
    display: grid;  
    grid-template-columns: 2fr 2fr 2fr 2fr 1fr 1fr;
    align-items: center;
}

.screen > .nav-container > a::after {
    content: "";
    width: 0;
    height: 3px;
    background: var(--orange);
    position: absolute;
    left:50%;
    bottom: -10px;
    transition: 0.5s cubic-bezier(1,.05,.61,.99);
}

.screen > .nav-container > a:hover::after {
    width: 100%;
    left:0;
}

.screen > svg {
    width: 50px;
    display: none;
    fill: var(--orange);
}


iframe {
    width: 100%;
    height: 100vh;
}

.cta {
    display: grid;
    background-color: var(--orange);
    color: var(--bg);
    height: max-content;
    overflow: hidden;
    text-align: center;
    position: relative;
    padding: 3rem;
    
       
}
.cta h1 {
    font-size: var(--x-large);
    margin: 0;
}

footer {
    background-color: var(--grey);
    display: grid;
    grid-template-columns: 3fr 1fr 3fr;
    margin-top: 2rem;
    color: var(--text-accent);
    padding: 2rem;
    position: relative;
}

.footer-container {
    display: grid;
    font-size: var(--text-size);
    text-align: left;
    padding: 2.6rem;
    min-height: 242px;
}
.footer-container > a {
    color: var(--text-accent);
    text-decoration: none;
    position: relative;
    display: grid;
   
}
.footer-container > a > h3{
    position: absolute;
    top: 0;
    width: 100%;
    text-align: right;
    line-height: 100%;
}

.footer-container > a:not(.adresse-link) > h3::after{
    position: absolute;
    right: 0;
    top:110%;
    width: 0;
    height: 3px;
    content: "";
    background: white;
    transition: all 0.35s ease-in;
}

.footer-container > a:first-child:hover > h3::after{
    width: 391px;
}
.footer-container > a:nth-child(2):hover > h3::after{
    width: 260px;
}
.footer-container > a:nth-child(3):hover > h3::after{
    width: 142.5px;
}
.footer-container > a:nth-child(4):hover > h3::after{
    width: 117.5px;
}
.footer-container > a > h3 > img {
    transform: translateY(25%);
}


.footer-container > img{
    width: 50%;
    justify-self: right;
    display: none;
    transform: translateY(50%);
}

.footer-container > p > a {
    color: inherit;          
    text-decoration: none;  
}




.footer-container-up{
    display: grid;
    font-size: var(--text-size);
    text-align: center;
    padding: 0.5rem;
    align-content: center;
    display: grid;
    position: relative;
}

.footer-container-up > img{
    position: absolute;
    width: 100%;
    scale: 2;
    transform: translateY(1.5rem);
}

.footer-container-up > a > img{
    transform: translateY(50%);
    transition: all 0.25s ease-in-out;
    scale: 2;
}

.footer-container-up > a:not(.folgen){
    color: var(--orange);
    text-decoration: none;
    border-radius: 1.5px;
    height: 60px;
    width: 30px;
    transform: translateY(50%);
    transition: all 0.25s ease-in-out;
    margin: auto;
    border-bottom: 4px solid var(--orange);
}


.grey{
    color: var(--grey) !important;
    background-color: var(--grey) !important;
}
.grey::selection{
    color: var(--grey) !important;
    background-color: var(--grey) !important;
}





.adresse {
    text-align: left !important;
}

.folgen {
    transform: translateY(50%);
    color: var(--orange);
    text-decoration: none;
    border-radius: 50%;
    border: 2px solid var(--grey-accent);
    height: 40px;
    width: 40px;
    transition: all 0.25s ease-in-out;
    margin: auto;
    display: none;
}


.copy {
    position: absolute;
    transition: all 0.5s ease-in;
    width: 4rem;
    height: 4rem;
    left: 25%;
    top: 50%; 
    transform: translateY(-50%);
}

.copy:hover > .tooltip{
    visibility: visible;
    opacity: 1;
}


.tooltip{
    visibility: hidden;
    width: 7rem;
    background-color: #555;
    color: #fff !important;
    text-align: center;
    border-radius: 6px;
    font-size: var(--small);
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 120%;
    left: 80%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
    hyphens: none !important;
}
.tooltip_maps {
    visibility: hidden;
    width: 7rem;
    background-color: #555;
    color: #fff !important;
    text-align: center;
    border-radius: 6px;
    font-size: var(--small);
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 120%;
    left: 80%;
    margin-left: -75px;
    opacity: 0;
    transition: 0.3s ease-in opacity;
    hyphens: none !important;
}

.tooltip-up{
    visibility: hidden;
    width: 7rem;
    background-color: #555;
    color: #fff !important;
    text-align: center;
    border-radius: 6px;
    font-size: var(--small);
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 90%;
    left: 80%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
    hyphens: none !important;
}
.footer-container-up>a:not(.folgen):hover .tooltip-up{
    visibility: visible;
    opacity: 1;
}

.adresse-link {
    position: relative;
}

.maps {
    position: absolute;
    left: 25%;
    top: 20%;
    
}
.maps > a > img {
    width: 100%;
}
.maps > a {
    position: absolute;
    --border: 1px;
    width: 3rem;
    height: 3rem;
    background-color: #e9e9ed;
    padding: calc(0.5rem - var(--border));
    border-radius: 5px;
    border: gray solid var(--border);
}
.maps> a:hover{
    border-radius: 0;
    --border: 2px;
}

.maps:hover .tooltip_maps{
    visibility: visible;
    opacity: 1;
}

.mobile {
    display: none;
}

.opened b{
    color: var(--grey);
}
.opened::after{
    background: var(--grey) !important;

}

@media(max-width: 1670px) {
:root {
    --xxx-large: 2.375rem;
    --xx-large: 2.1375rem;
    --x-large:  1.9rem;
    --large: 1.71rem;
    --subtitle: 1.33rem;
    --text-size: 1.125rem;
    --small: 1rem;
    --x-small: 0.9375rem;
    --xx-small:  0.875rem;
    }
}



@media(max-width: 1400px) {
    :root {
    --xxx-large: 2.25rem;
    --xx-large: 2.025rem;
    --x-large:  1.8rem;
    --large: 1.62rem;
    --subtitle: 1.26rem;
    --text-size: 1rem;
    --small: 0.95rem;
    --x-small: 0.9375rem;
    --xx-small:  0.875rem;
    }
   
    .footer-container > h3 {
        font-weight: 900;
    }
    .footer-container > a:first-child:hover > h3::after{
    width: 291px;
    }
    .footer-container > a:nth-child(2):hover > h3::after{
    width: 195px;
    }
    .footer-container > a:nth-child(3):hover > h3::after{
    width: 110.5px;
    }
    .footer-container > a:last-child:hover > h3::after{
    width: 93.5px;
    }
}
@media(max-width:1300px){
    :root {
    --xxx-large: 2.0rem;
    --xx-large: 1.845rem;
    --x-large:  1.64rem;
    --large: 1.476rem;
    --subtitle: 1.148rem;
    --text-size: 1rem;
    --small: 0.95rem;
    --x-small: 0.9375rem;
    --xx-small:  0.875rem;
    }
    .footer-container-up > img {
      scale: 1.5;
        
    }

    .maps {
        left: 30%;
    }
    .copy {
        left: 30%;
    }
}


@media(max-width: 1100px) {
    :root {
    --xxx-large: 1.925rem;
    --xx-large: 1.6875rem;
    --x-large:  1.5rem;
    --large: 1.35rem;
    --subtitle: 1.10rem;
    --text-size: 1rem;
    --small: 0.95rem;
    --x-small: 0.9375rem;
    --xx-small:  0.875rem;
    }
    .footer-container > img{
        justify-self: center;
        display: block;
    }
    .footer-container-up > img {
        display: none;
        
    }
    .footer-container > a > h3,
    .footer-container {
        text-align: center !important;
    }
    .footer-container-up {
        position: fixed;
        right:10px;
        bottom: 40px;
        z-index: 5;
    }
    .footer-container > a > h3::after{
        right: 50% !important;
        transform: translateX(50%);
    }
    footer {
        grid-template-columns: 1fr 1fr;
    }
    .footer-container-up > a{
        background-color: var(--grey);
        scale: 0.75;
        width: 60px !important;
        border-radius: 30px !important;
        border: 2px solid var(--grey-accent) !important;
        align-items: center;
    }
    .footer-container-up > a > img{
        transform: translateY(30%);
    }
    .mobile {
        display: block;
    }
    .close {
        fill: var(--orange);
        width: 50px;
    }
    .screen > svg {
        display: block;
        transform: translateX(-50%);
    }
    .screen {
        grid-template-columns: 1fr 10fr;
        align-items: center;
        position: fixed;
        top: 0;
        padding-top: 2rem;
    }
    
    .mobilenav {
        transform: translateX(-100%);
        transition: 0.3s all ease-in;
        position: fixed;
        top: 0;
        left: 0;
        width: max-content;
        height: 100vh;
        z-index: 15;
        background-color: var(--grey);
        padding: 0.75rem;
        overflow: hidden;
    }
    .mobilenav > div {
        display: grid;
        min-width: 40vh;
        
    }
    .mobilenav > div > a{
        padding: 0.5rem;
        font-size: x-large;
        width: 100%;
        text-decoration: none;
        color: var(--orange);
        position: relative;
    }
    .mobilenav > div > .opened > b{
        color: var(--text-accent);
    }
    .mobilenav > div > a::after {
    content: "";
    width: 0;
    height: 3px;
    background: var(--orange);
    position: absolute;
    left:0;
    bottom: -1px;
    transition: 0.5s cubic-bezier(1,.05,.61,.99);
    }
    .mobilenav > div > .opened::after {
        background: var(--text-accent) !important;
    }
    .mobilenav > div > a:hover::after {
    width: 90%;
    }
    .nav-open {
        transform: translateX(0);
    }
    .screen > .nav-container {
        display: none;
    }
    .maps{
        left: 40%;
        top: 20%;
    }
    .copy {
        left: 40%;
        transform: translateY(-50%);
    }
    
}

@media(max-width: 1000px) {
    :root {
    --xxx-large: 1.70rem;
    --xx-large: 1.5rem;
    --x-large:  1.35rem;
    --large: 1.2rem;
    --subtitle: 1.10rem;
    --text-size: 1rem;
    --small: 0.95rem;
    --x-small: 0.9375rem;
    --xx-small:  0.875rem;
    }

}


@media(max-width:930px) {
    footer{
        grid-template-columns:  1fr;
    }
    .maps{
        left: 75%;
        top: 11%;

    }
    .copy {
        left: 75%;
        transform: translateY(-330%);
    }
    .footer-container > a {
        min-height: 3rem;
    }
}

@media(max-width:700px){
    .top-header > .placeholder{
        opacity: 0;
        position: absolute;
    }
    .top-header{
        flex-direction: column;
        background-color: white;
    }
    .top-header > a{
        opacity: 1 !important;
        position: static;
        margin-right: 2rem;
    }
    .screen{
        padding-top: 0;
        top: 0;
    }
    .screen > a{
        background-color: white;
        z-index: 110;
        width: max-content;
        display: block;
    }
    .top-header{
        flex-direction: row;
    }
    .top-header > a > *:not(svg){
        display: none;
        width: 1.5rem;
        height: 1.5rem;
        position: absolute;
        /*font-size: 3rem !important;*/
    }
    .top-header > a > svg {
        width: 3rem;
        height: 3rem;
        position: absolute;
        
        
        top: 100%;
    }
    .top-header > a:first-child > svg{
        right: 20%;
    }
    .top-header > a:nth-child(3) > svg{
        right: 12.5%;
    }
    .top-header > a:last-child > svg{
        right: 5%;
    }
    .maps{
        left: 75%;
        top: 11%;

    }
    .copy {
        left: 75%;
        transform: translateY(-310%);
    }
}
@media(max-width:600px){
    :root {
        --xxx-large: 1.50rem;
        --xx-large: 1.35rem;
        --x-large:  1.2rem;
        --large: 1.1rem;
        --subtitle: 1.05rem;
        --text-size: 1rem;
        --small: 0.95rem;
        --x-small: 0.9375rem;
        --xx-small:  0.875rem;
    }

    .maps{
        left: 82.5%;
        top: 10%;

    }
    .copy {
        left: 82.5%;
        transform: translateY(-370%);
        
    }

    .top-header > a > svg{
        width: 2rem;
    }
    .footer-container > img{
        width: 80%;
    }
    .footer-container > a {
        min-height: 4rem;
    }
}
@media(max-width:450px){
    .screen > a > .logo{
        height: 3rem;
    }
    
    .top-header > a > svg {
        transform: translateX(0);
    }

    .top-header > a:first-child > svg {
        right: 20%;
    }

    .top-header > a:nth-child(3) > svg {
        right: 12%;
    }

    .top-header > a:last-child > svg {
        right: 3%;
    }
    .maps{
        left: 82.5%;
    }
    .copy{
        left: 82.5%;
        transform: translateY(-360%);
    }

}