:root {
    --color-black: #000;
    --color-white: #fff;
    --color-turquoise: #3babb4;
}

@font-face {
    font-family: "ITCConduitProBold";
    src: url("fonts/ITCConduitProBold/font.woff2") format("woff2"),
        url("webFonts/ITCConduitProBold/font.woff") format("woff");
}
@font-face {
    font-family: "ITCConduitProLight";
    src: url("fonts/ITCConduitProLight/font.woff2") format("woff2"),
        url("webFonts/ITCConduitProLight/font.woff") format("woff");
}
@font-face {
    font-family: "ITCConduitProMedium";
    src: url("fonts/ITCConduitProMedium/font.woff2") format("woff2"),
        url("webFonts/ITCConduitProMedium/font.woff") format("woff");
}

html {
    font-size: 62.5%;
    font-weight: normal;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, sans-serif;
    background: var(--color-black);
    color: var(--color-white);
}

main {
    overflow: hidden;
}

h2 {
    font-family: "ITCConduitProMedium";
    font-weight: normal;
    color: var(--color-black);
    font-size: 5rem;
    line-height: 1;
    margin: 0 0 4rem;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
}

h3,
p,
.contact {
    font-family: "ITCConduitProLight";
    font-size: 2.8rem;
    line-height: 3.6rem;
    margin: 4rem 0;
}

strong {
    font-family: "ITCConduitProBold";
    font-weight: normal;
}

.header {
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    z-index: 999;
}
.brand {
    display: flex;
}

section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hero {
    padding-top: 21.5rem;
    background: var(--color-black);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.hero h1 {
    margin: 0;
    position: relative;
    z-index: 2;
}

.hero-slogan-image {
    display: block;
}

.mail-btn {
    position: absolute;
    top: 8rem;
    right: 1.5rem;
}

.mail-btn img:nth-child(2) {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity, 0.25s;
}

.mail-btn:hover img:nth-child(2) {
    opacity: 1;
}

.main-nav {
    display: none;
}

.main-nav a {
    color: var(--color-white);
    transition: color, 0.2s;
}

.main-nav a:focus,
.main-nav a:hover {
    color: var(--color-turquoise);
}

#play-video {
    display: none;
}

.overlay {
    color: var(--color-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
}

.overlay button {
    display: none;
    position: absolute;
    background: none;
    color: var(--color-turquoise);
    border: none;
    cursor: pointer;
}

.overlay .mail-btn {
    display: none;
}

.clock {
    margin-bottom: 3rem;
}

#clock-time {
    font-family: "ITCConduitProMedium";
    font-size: 8.8rem;
    line-height: 1;
    display: block;
    color: var(--color-turquoise);
    margin-bottom: -1rem;
}

#clock-zone {
    font-family: "ITCConduitProLight";
    font-size: 2.5rem;
    line-height: 3.5rem;
}

#scroll-down-btn {
    display: none;
}

.content {
    background: var(--color-white);
    color: var(--color-black);
    padding-top: 5rem;
}

.fokus-content {
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
}

.line {
    display: block;
    height: 0.3rem;
    width: 8rem;
    min-width: 8rem;
    background-color: var(--color-turquoise);
}

.content .contact-link {
    font-family: "ITCConduitProLight";
    color: var(--color-turquoise);
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 3.3rem;
    line-height: 3.3rem;
    margin-bottom: 0;
}

.contact-area {
    background: var(--color-white);
    color: #222;
}
.contact-bar {
    margin: 0 -1.5rem 4rem;
    padding: 2.5rem 1.5rem;
    background: var(--color-turquoise);
}
.contact-bar .mail-btn {
    position: relative;
    right: 0;
    top: 0;
    display: block;
    width: 9.7rem;
    margin-left: auto;
}
.contacts {
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
}
.contacts > div {
    flex: 1;
}

.contact {
    margin-top: 0;
    text-transform: uppercase;
}

.contact a {
    color: var(--color-black);
    text-decoration: none;
    text-transform: none;
    transition: color, 0.2s;
}

.contact a:hover {
    color: var(--color-turquoise);
}

.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 4rem 1.5rem 3rem;
    position: relative;
}

.footer > * {
    position: relative;
    z-index: 2;
}

.footer h2 {
    color: var(--color-turquoise);
}

.footer-text {
    margin-top: 8rem;
}

.impressum-text p {
    font-size: 1.6rem;
    line-height: 2rem;
    margin: 2rem 0;
}

.adresse-text p {
    color: var(--color-turquoise);
    font-size: 3rem;
    line-height: 1;
}

.adresse-text p a {
    text-decoration: none;
    color: var(--color-turquoise);
}

.footer p strong {
    display: block;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5rem;
}

.footer-nav a {
    color: var(--color-turquoise);
    text-decoration: none;
    transition: color, 0.2s;
}

.footer-nav nav a {
    display: block;
    font-family: "ITCConduitProLight";
    font-size: 2.5rem;
    line-height: 4.5rem;
}

.footer-nav nav a:hover {
    color: var(--color-white);
}

.footer-nav .mail-btn {
    position: relative;
    top: 0;
    right: 0;
}

/* Utility */
video#dampf-video,
video#dampf-video-footer {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 100%;
    z-index: 1;
    background-color: var(--color-black);
    display: none;
    /* opacity: 0;
    visibility: hidden;
    transition-property: opacity, visibility;
    transition-duration: 0.2s; */
}

@media screen and (min-width: 768px) {
    video#dampf-video,
    video#dampf-video-footer {
        display: block;
    }
}

.visually-hidden {
    opacity: 0;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Datenschutz-Seite */
#datenschutz {
    background-color: var(--color-white);
    color: var(--color-black);
}

#datenschutz h1 {
    font-size: 5rem;
    line-height: 1;
    font-family: "ITCConduitProMedium";
    margin-top: 8rem;
    font-weight: normal;
}

#datenschutz h1 .slim {
    font-family: "ITCConduitProLight";
}

.datenschutz-main {
    display: flex;
    flex-direction: column-reverse;
    min-height: calc(100vh - 33.9rem);
}

.datenschutz-home-link {
    text-align: right;
    margin-top: 6rem;
}

.datenschutz-home-link a {
    font-family: "ITCConduitProBold";
    font-size: 6rem;
    line-height: 8rem;
    text-decoration: none;
    color: var(--color-turquoise);
}

.datenschutz-block {
    margin: 4rem 0;
}

h3 {
    font-family: "ITCConduitProBold";
    margin: 0;
}

h3 + p {
    margin-top: 0;
}

#datenschutz-footer {
    background-color: var(--color-turquoise);
    padding: 3rem 1.5rem;
}

#datenschutz .content .contact-link {
    margin: 0 0 3rem;
}

#datenschutz-footer .footer-nav {
    margin-top: 0;
}

#footer-nav-home {
    color: var(--color-white);
    font-size: 2.5rem;
    font-family: "ITCConduitProLight";
}

/* Responsive */
@media screen and (min-width: 1024px) and (orientation: landscape) {
    p,
    .contact {
        font-size: 3rem;
        line-height: 3.8rem;
    }
    section,
    .footer {
        padding-left: 12rem;
        padding-right: 12rem;
    }

    .footer {
        padding-top: 8rem;
    }

    .hero {
        height: 100vh;
        padding-top: 0;
    }

    .hero h1 {
        height: calc(100% - 8rem);
        padding: 4rem 0;
    }

    .hero h1 img {
        height: 100%;
    }

    .hero .mail-btn {
        display: none;
    }

    .main-nav {
        display: block;
        position: absolute;
        right: 12rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 4;
    }

    .main-nav a {
        display: block;
        font-family: "ITCConduitProBold";
        text-transform: uppercase;
        font-size: 6rem;
        line-height: 5rem;
        text-align: right;
        text-decoration: none;
    }

    #nav-impressum {
        font-family: "ITCConduitProLight";
        font-size: 2.8rem;
        line-height: 1;
        margin-top: 4rem;
    }

    .overlay {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.9);
        z-index: 10;
        padding: 4rem 24rem;
        justify-content: space-between;
        opacity: 0;
        visibility: hidden;
        transition-property: opacity, visibility;
        transition-duration: 0.2s;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
        display: flex;
    }

    .overlay p {
        font-size: 3.5rem;
        line-height: 4rem;
    }

    .overlay button {
        display: block;
        top: 4rem;
        right: 4rem;
        width: 4rem;
        height: 4rem;
        padding: 0;
    }

    .overlay button img:nth-child(2) {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
        transition: opacity, 0.25s;
    }

    .overlay button:hover img:nth-child(2) {
        opacity: 1;
    }

    .overlay .mail-btn {
        position: relative;
        display: block;
        top: 0;
        left: 0;
        align-self: self-start;
    }

    .clock {
        align-self: flex-start;
        margin-bottom: 0;
    }

    .fokus-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .line {
        margin-right: 6rem;
    }

    .fokus-content p {
        flex: 1 1 calc(100% - 14rem);
        margin: -1rem 0 4rem;
    }

    .fokus-content .contact-link {
        margin-left: auto;
        max-width: 33rem;
    }

    .contact-bar {
        margin-left: -12rem;
        margin-right: -12rem;
        margin-bottom: 5rem;
    }

    .contact-bar .mail-btn {
        right: 34rem;
    }

    .adresse-text p {
        font-size: 4rem;
    }

    .datenschutz-main {
        flex-direction: row;
        gap: 12rem;
    }

    .datenschutz-block {
        max-width: 82rem;
    }

    .datenschutz-home-link {
        margin-top: 36rem;
    }

    #datenschutz-footer {
        padding-left: 12rem;
        padding-right: 12rem;
    }

    #scroll-down-btn {
        display: flex;
        position: fixed;
        bottom: 8rem;
        right: -3rem;
        z-index: 5;
        color: var(--color-turquoise);
        background: none;
        border: none;
        transform: rotate(90deg);
        cursor: pointer;
    }

    #scroll-down-btn span {
        display: block;
        font-family: "ITCConduitProLight";
        font-size: 2.8rem;
        line-height: 2.2rem;
        text-transform: uppercase;
        margin-top: 0.7rem;
        margin-right: 1rem;
    }

    #scroll-down-btn img {
        transform: rotate(-90deg);
    }

    #datenschutz h1 {
        font-size: 8rem;
    }
}

@media screen and (max-width: 1023px) {
    .tel span,
    .mail span {
        display: none;
    }
}

@media screen and (min-width: 1440px) {
    h2 {
        font-size: 8rem;
    }

    section,
    .footer {
        padding-left: 14rem;
        padding-right: 14rem;
    }

    .main-nav {
        right: 14rem;
    }

    .main-nav a {
        font-size: 9rem;
        line-height: 8rem;
    }

    #nav-impressum {
        font-size: 3rem;
    }

    .overlay {
        padding: 4rem 28rem;
    }

    .overlay p {
        font-size: 4.5rem;
        line-height: 5rem;
    }

    .fokus-content {
        padding-bottom: 3rem;
    }

    .contact-bar {
        margin-left: -14rem;
        margin-right: -14rem;
    }

    .contact-bar .mail-btn {
        right: 36rem;
    }

    .contacts-wrapper {
        display: flex;
        padding: 4rem 0 8rem;
    }

    .contacts {
        flex-direction: row;
        margin-top: -1rem;
    }

    .contacts > div {
        white-space: nowrap;
    }

    .contact {
        margin-right: 6rem;
    }

    /* footer shall have height: 100vh */
    .footer {
        min-height: calc(100vh - 11rem);
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding-right: 7rem;
    }
    .footer > h2 {
        margin-bottom: 0;
    }
    /* footer shall have height: 100vh ends here*/

    .footer-text-wrapper {
        display: flex;
        gap: 14rem;
        /* align-items: flex-start; */
        margin-top: 8rem;
    }

    .footer-text-wrapper span {
        flex: 1 1 auto;
        /* max-width: 60%; */
    }

    .footer-text {
        margin-top: 0;
        min-width: 40rem;
    }

    .adresse-text p:last-child {
        margin-bottom: 0;
    }

    .impressum-text p:first-child {
        margin-top: 0;
    }

    .footer-nav {
        margin-top: 6rem;
    }

    .footer-nav nav {
        display: flex;
        gap: 4rem;
    }

    .footer-nav .mail-btn {
        right: 30.5rem;
    }

    .datenschutz-content-wrapper {
        display: flex;
        flex-wrap: wrap;
    }

    .datenschutz-content-wrapper > h1 {
        flex: 0 0 100%;
    }

    .datenschutz-content {
        flex: 0 0 calc(100% - 14rem);
    }

    .datenschutz-content .datenschutz-block:first-child {
        margin-top: -1rem;
    }

    #datenschutz-footer {
        padding-left: 14rem;
        padding-right: 14rem;
        min-height: 0;
    }

    #datenschutz .content .contact-link {
        margin-left: auto;
        max-width: 33rem;
    }
}

@media screen and (min-width: 1600px) {
    .overlay p {
        font-size: 6rem;
        line-height: 6.5rem;
    }

    #fokus {
        padding-left: 28rem;
        padding-top: 9rem;
    }

    .fokus-content {
        flex-wrap: nowrap;
    }

    .fokus-content p {
        padding-right: 12rem;
        margin-bottom: 8rem;
    }

    .fokus-content .contact-link {
        align-self: flex-end;
    }

    #kontakt {
        padding-left: 28rem;
        padding-right: 28rem;
    }

    .contact-bar {
        margin-left: -28rem;
        margin-right: -28rem;
        margin-bottom: 9rem;
    }

    .contact-bar .mail-btn {
        right: 48.5rem;
    }

    #kontakt h2 {
        max-width: 80%;
    }

    .footer {
        padding-right: 14rem;
    }

    .footer h2 {
        margin-left: 14rem;
    }

    .footer-text {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-width: 45rem;
    }

    .footer-nav {
        padding: 0 14rem;
    }

    .footer-nav .mail-btn {
        right: 22rem;
    }

    #datenschutz section {
        padding-left: 28rem;
    }

    #datenschutz-footer .footer-nav .mail-btn {
        right: 10rem;
    }
}
