* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", serif;
    font-style: normal;
    font-weight: 400;
}

:root {
    /*color-scheme: light dark;*/
    --bg-color: #fff;
    --sec-bg-color: #F8FAFF;
    --trz-bg-color: #EAF2FC;
    --button-color: #212121;
    --headline-color: #374151;
    --sub-headline-color: #3F86B2;
    --text-color: #A6ADBE;
    --navitem-color: #5E5E5E;
}

section .content {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.subHeadline {
    font-size: 32px;
    font-weight: 500;
    color: var(--headline-color);
}

.downloadBadges {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.downloadBadges img {
    height: 50px;
    border-radius: 8px;
}

.material-symbols-outlined {
    user-select: none;
}

/********************** Header ********************/

header {
    width: 100%;
    height: 65px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 35px;
    background-color: var(--bg-color);
    transition: box-shadow .4s;
}

header.noShadow {
    box-shadow: rgba(149, 157, 165, 0) 0px 8px 24px;
}

header #logo {
    width: 70px;
    height: 70px;
    transform: translateY(18px);
}

header #logo img {
    width: 100%;
    height: 100%;
}

header #nav {
    display: flex;
    align-items: center;
    gap: 70px;
}

header .navItem {
    position: relative;
}

header .navItem:not(.loslegenButton)::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sub-headline-color);
    transition: all 0.2s;
}

header .navItem:hover::after {
    width: 100%;
}

header #nav a {
    color: var(--navitem-color);
    font-size: 16px;
    padding: 15px 0;
}

.loslegenButton {
    background-color: var(--button-color);
    border-radius: 10px;
}

.loslegenButton a {
    color: #fff !important;
    padding: 12px 20px !important;
    display: block;
}

header #nav .navbarBtn {
    cursor: pointer;
    color: var(--button-color);
    font-size: 24px;
    display: none;
    padding: 10px;
    transition: all .4s;
}

/*************** Navbar *******************/

#navbar {
    position: fixed;
    z-index: 998;
    top: 65px;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    padding: 50px 35px 40px 35px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    overflow: hidden;
    transition: all .4s;
    display: none;
}

#navbar.retracted {
    top: -100%;
}

#navbar .navbarItem:not(.loslegenButton) {
    padding: 15px 20px 15px 20px;
    border-bottom: 1px solid #DADADA;
    transition: all .2s;
}

#navbar .navbarItem:not(.loslegenButton):active {
    transform: scale(0.98);
}

#navbar .navbarItem a:not(#navbar .loslegenButton a) {
    color: var(--navitem-color);
    font-size: 16px;
    display: block;
    width: 100%;
}

#navbar .loslegenButton {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px 0 20px;
}

#navbar .loslegenButton a {
    color: #fff; 
}

#navbar .navbarItem.last {
    border-bottom: 0;
    margin-bottom: 38px;
}

/********************** Banner **************************/

#notificationBanner {
    position: fixed;
    z-index: 997;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3F86B2;
    gap: 35px;
    padding: 0 20px;
}

#notificationBanner p {
    color: #fff;
    font-size: 16px;
    padding: 14px 0;
}

#notificationBanner #understoodBtn {
    color: #fff;
    padding: 5px 20px;
    background-color: #559ecc;
    border-radius: 5px;
    cursor: pointer;
}

#notificationBanner #understoodBtn:hover {
    background-color: #66b2e0;
}

@media screen and (max-width: 575px) {
    #notificationBanner {
        flex-direction: column;
        gap: 10px;
        padding-bottom: 20px;
    }
    #notificationBanner p {
        text-align: center;
    }
    #notificationBanner #understoodBtn {
        width: 100%;
        text-align: center;
    }
}

/********************** Hero Section ********************/

#hero {
    padding-top: 65px;
}

#hero .wrapper {
    max-width: 100%;
    display: flex;
    align-items: center;
    height: 575px;
}

#hero #overlay {
    max-height: 576px;
    padding-top: 20px;
}

#hero #handyOverlay {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    width: 100%;
    height: 100%;
}

#hero #handyOverlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: visible;
    z-index: -1;
    object-position: calc(50% + 90px);
}

#hero #interface {
    width: 382px;
    flex-shrink: 0;
}

#hero #interface h1 {
    font-size: 45px;
    font-weight: 600;
    color: var(--headline-color);
    line-height: 52px;
    margin-bottom: 90px;
}

#hero #interface #buttons {
    display: flex;
    gap: 15px;
}

#hero #interface #buttons .btn {
    font-size: 18px;
    border-radius: 10px;
    font-weight: 600;
    transition: all .2s;
}

#hero #interface #buttons .btn:hover {
    transform: scale(1.04);
}

#hero #interface #buttons .btn:active {
    transform: scale(0.96);
}

#hero #loslegenButton {
    position: relative;
    height: 63px;
    width: 190px;
    justify-content: center;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: 0;
    border-radius: 20px;
}

#hero #loslegenButton #btnContent {
    background-color: var(--button-color); 
    color: #fff;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border-radius: 10px;
}

#hero #loslegenButton::before {
    position: absolute;
    content: ' ';
    display: block;
    width: 60px;
    height: 200px;
    background: linear-gradient(90deg, transparent, #ff6666, #66ff7a, #66c2ff, #c266ff, transparent);
    animation: fade-in-out 6000ms infinite linear;
    z-index: 1;
}

@keyframes fade-in-out {
    0% {
        opacity: 0;
        transform: rotateZ(0deg);
    }
    50% {
        opacity: 0;
    }
    65%, 80% {
        opacity: 1;
    }
    95% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: rotateZ(-360deg);
    }
}

#hero #umschauenButton {
    border: 2px solid var(--button-color);
    padding: 17px 34px;
}

#hero #umschauenButton {
    color: var(--button-color);
}

/********************** About Section ********************/

#about {
    background-color: var(--sec-bg-color);
    padding: 62px 0 90px 0;
    text-align: center;
    position: relative;
}

#about #buttonTrigger {
    position: absolute;
    top: 180px;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: transparent;
    pointer-events: none;
}

#about .wrapper {
    margin-top: 80px;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

#about .wrapper .feature {
    max-width: 33%;
    width: 250px;
    transition: all .3s;
}

#about .wrapper .feature img {
    width: 100px;
    height: 100px;
    margin-bottom: 26px;
    user-select: none;
}

#about .wrapper .feature h3 {
    font-size: 32px;
    font-weight: 500;
    color: var(--sub-headline-color);
    margin-bottom: 26px;
}

#about .wrapper .feature p {
    font-size: 16px;
    color: var(--text-color);
}

#about .wrapper .feature.hidden {
    transform: translateY(50px);
    opacity: 0.5;
}

#about .wrapper .feature.shown {
    transform: translateY(0px);
    opacity: 1;
}

/********************** Nutzerstimmen **********************/

#nutzerstimmen {
    padding-top: 150px; 
}

#nutzerstimmen .subHeadline {
    margin-bottom: 80px;
}

#nutzerstimmen #rezisionen {
    columns: 15rem 3;
    column-gap: 25px;
    padding-bottom: 100px;
}

#nutzerstimmen .card {
    padding: 30px 20px 20px 20px;
    background-color: var(--sec-bg-color);
    border-radius: 15px;
    margin-bottom: 25px;
    transition: transform .2s, opacity .3s ease-in-out;
    break-inside: avoid;
}

#nutzerstimmen .card .quotation {
    margin-bottom: 15px;
}

#nutzerstimmen .card h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--sub-headline-color);
    margin-bottom: 20px;
}

#nutzerstimmen .card p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
}

#nutzerstimmen .card .author {
    font-size: 16px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

#nutzerstimmen .card .author .marker {
    display: block;
    height: 1px;
    width: 8px;
    background-color: var(--text-color);
}

#nutzerstimmen .card.hidden {
    transform: scale(1.1);
    opacity: 0.5;
    transition-delay: 100ms; 
}

#nutzerstimmen .card.shown {
    transform: scale(1);
    opacity: 1;
}

/********************** FAQ *****************/

#faq {
    padding: 150px 0;
}

#faq .subHeadline {
    margin-bottom: 80px;
}

#faq .frage {
    padding: 20px 22px;
    background-color: var(--sec-bg-color);
    border-radius: 12px;
    margin-bottom: 5px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: background-color .1s, transform .3s, opacity .3s;
}

#faq .frage.hidden {
    transform: translateY(30px);
    opacity: 0.5;
}

#faq .frage.shown {
    transform: translateY(0);
    opacity: 1;
}

#faq .frage:hover {
    background-color: #f3f6ff;
}

#faq .frage:active {
    background-color: var(--trz-bg-color);
}

#faq .frage h3 {
    font-size: 18px;
    color: var(--sub-headline-color);
    padding-right: 20px;
    font-weight: 400;
}

#faq .frage p {
    margin-top: 14px;
    font-size: 16px;
    color: var(--text-color);
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    transition: all .3s ease-in-out;
}

#faq .frage .arrow {
    position: absolute;
    top: 22px;
    right: 22px;
    font-size: 16px;
    color: var(--text-color);
    transform: rotate(90deg);
    transition: transform .15s;
}

#faq .frage.expanded .arrow {
    transform: rotate(-90deg);
}

/*********************** Download *******************/

#download {
    background-color: var(--sec-bg-color);
}

#download .wrapper {
    display: flex;
    justify-content: space-between;
    align-self: stretch;
}

#download #text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

#download .subHeadline {
    padding-bottom: 35px;
}

#download .downloadBadges {
    animation: breathe 2000ms ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes breathe {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.06);
    }
}


#download #overlays {
    height: 100%;
    position: relative;
    width: 470px;
    height: 534px;
    overflow: hidden;
    padding-top: 90px;
    flex-shrink: 0;
}

#download #overlays .handy {
    position: absolute;
    transition: all .5s;
}

#download #overlays .handy.hidden {
    transform: translateY(100px);
}

#download #overlays .handy.shown {
    transform: translateY(0);
}

#download #overlays #handy1 {
    width: 285px;
    height: 570px;
    bottom: -126px;
    right: 0;
}

#download #overlays #handy2 {
    width: 246px;
    height: 492px;
    bottom: -243px;
    left: 0;
    z-index: 2;
}

#download #overlays img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: top;
    user-select: none;
    pointer-events: none;
}

#download #overlays img.template {
    z-index: 1;
}

#download #overlays img.content {
    width: 93%;
    height:  98%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 30px;
}

/************************** Footer ***********************/

#footer {
    background-color: var(--trz-bg-color);
    padding: 40px 0 15px 0;
}

#footer .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 0 35px;
    margin-bottom: 25px;
    color: var(--text-color);
}

#footer #logo {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 18px;
}

#footer #logo img {
    width: 55px;
    height: 55px;   
}

#footer .container {
    width: 100%;
    max-width: 166px;
}

#footer h3 {
    font-size: 18px;
    font-weight: 400;
    color: var(--sub-headline-color);
}

#footer ul {
    list-style-type: none;
    margin-top: 20px;
}

#footer ul li {
    cursor: pointer;
}

#footer a {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 10px;
    display: block;
}

#footer ul li:last-child a {
    margin-bottom: 0;
}

#footer hr {
    width: 100%;
    height: 1px;
    border: 0;
    background-color: #B9D6FA;
}

.botWarapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding: 0 65px;
}

.botWarapper > * {
    width: 100%;
    max-width: 170px;
}

.botWarapper p {
    text-align: center;
    color: var(--text-color);
    font-size: 16px;
}

.botWarapper #social {
    display: flex;
    gap: 30px;
}

.botWarapper #social img {
    width: 16px;
    height: 16px;
}

/****************** Attribution-Window *************/

#screenOverlay {
    display: none;
    opacity: 0;
    transition: all .3s;

    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100lvh;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

#attribution {
    display: none;
    opacity: 0;
    transition: all .3s;

    width: 600px;
    max-width: 90vw;
    max-height: 90svh;
    position: fixed;
    z-index: 1001;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--sec-bg-color);
    padding: 26px 32px;
    border-radius: 15px;
    overflow: auto;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    scrollbar-width: none;
}

#attribution h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--sub-headline-color);
    margin-bottom: 60px;
    margin-top: 10px;
}

#attribution .closeBtn {
    position: absolute;
    top: 33px;
    right: 38px;
    width: 30px;
    height: 30px;
    background-color: var(--trz-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--sub-headline-color);
    border-radius: 15px;
    cursor: pointer;
    transition: all .1s;
}

#attribution .closeBtn:hover {
    background-color: #e3f0ff;
}

#attribution .closeBtn:active {
    transform: scale(0.95);
}

#attribution .item {
    display: flex;
    gap: 20px;
    padding: 0 10px 15px 10px;
    border-bottom: 1px solid #E4EBFC;
    margin-bottom: 15px;
}

#attribution .item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

#attribution img {
    width: 85px;
    height: auto;
}

#attribution h3 {
    font-size: 18px;
    font-weight: 400;
    color: var(--sub-headline-color);
    margin-bottom: 10px;
}

#attribution a {
    font-size: 16px;
    color: var(--text-color);
}

/********************** Impressum / Datenschutz ********************/

.impressum {
    padding: 134px 0 150px 0;
}

.impressum h1 {
    font-size: 45px;
    font-weight: 600;
    color: var(--headline-color);
    line-height: 52px;
    margin-bottom: 52px;
    word-break: break-word;
}

.impressum h2 {
    font-size: 20px;
    font-weight: 500;
    color: var(--sub-headline-color);
    margin-bottom: 21px;
    margin-top: 28px;
}

.impressum h3 {
    font-size: 18px;
    font-weight: 400;
    color: var(--sub-headline-color);
    margin-bottom: 10px;
    margin-top: 20px;
}

.impressum p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 12px;
}

.impressum a {
    color: #6A8BDD;
    text-decoration: underline;
    word-break: break-word;
}

.impressum ul {
    margin-bottom: 12px;
    padding-left: 25px;
}

.impressum ul li {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.impressum strong {
    color: #7D818B;
}

/********************************* Responsive styles **************************/

@media screen and (max-width: 1000px) {
    header #nav {
        gap: 5vw;
    }
}

@media screen and (max-width: 920px) and (min-width: 760px) {
    #download .wrapper {
        position: relative;
        justify-content: end;
    }
    #download #text {
        position: absolute;
        top: 100px;
        left: 5vw;
        width: 400px;
    }
}

@media screen and (max-width: 759px) {
    #download .wrapper {
        flex-direction: column;
        padding-top: 90px;
        align-items: center;
    }
    #download #overlays {
        padding-top: 0;
        margin-top: -30px;
    }
    #download .subHeadline {
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 730px) {
    header .navItem:not(header #nav .loslegenButton) {
        display: none;
    }
    header #nav .navbarBtn {
        display: block;
    }
    header #nav {
        gap: 35px;
    }
    #about .wrapper .feature {
        width: 190px;
    }
    #about .wrapper .feature h3 {
        word-break: break-word;
    }
    #about .wrapper {
        gap: 20px;
    }
    #footer .wrapper {
        padding: 0;
    }
    #footer .container {
        width: 140px;
    }
    .botWarapper {
        flex-direction: column-reverse;
        gap: 20px;
    }
    .botWarapper > * {
        max-width: unset;
        width: unset;
    }
    #navbar {
        display: block;
    }
    header #nav .loslegenButton {
        display: none;
    }
}

@media screen and (max-width: 636px) {
    #hero #interface {
        width: unset;
        flex-shrink: 1;
    }
    #hero #interface #buttons {
        flex-direction: column;
        gap: 5px;
        width: 186px;
    }
    #hero #umschauenButton {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #hero #interface h1 {
        margin-bottom: 20px;
    }
    #hero #handyOverlay img {
        object-position: calc(50% + 70px);
    }
    #hero #interface {
        padding-bottom: 50px;
    }
    #footer .wrapper {
        flex-wrap: wrap;
        gap: 10px;
        row-gap: 30px;
    }
}

@media screen and (max-width: 560px) {
    /****    Handy Design    ****/

    #about .wrapper {
        flex-direction: column;
        gap: 60px;
    }
    #about .wrapper .feature {
        width: 100%;
        max-width: unset;
    }
    #about .wrapper .feature h3 {
        margin-bottom: 10px;
    }
    #hero .wrapper {
        flex-direction: column;
        height: unset;
        text-align: center;
        padding-top: 66px;
    }
    #hero #interface #buttons {
        flex-direction: row;
        align-items: center;
        gap: 1vw;
        position: fixed;
        z-index: 990;
        bottom: 0;
        left: 0;
        width: 100%;
        justify-content: center;
        padding-bottom: 25px;
        transition: bottom .5s ease-in-out;
    }
    #hero #interface #buttons.hide {
        bottom: -400px;
    }
    #hero #interface #buttons.hide::after {
        bottom: -200px;
    }
    #hero #interface #buttons::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: calc(100% + 120px);
        background: rgb(255,255,255);
        background: linear-gradient(0deg, rgba(255,255,255,1) 44%, rgba(255,255,255,0) 100%);
        z-index: -1;
    }
    #hero #interface {
        padding-bottom: 0;
    }
    #hero #interface h1 {
        margin-bottom: 0;
        line-height: 103%;
    }
    #hero #handyOverlay img {
        max-height: unset;
        height: 650px;
        object-position: calc(50% + 88px);
    }
    #hero #handyOverlay {
        margin-top: -55px;
    }
}

@media screen and (max-width: 520px) {
    #download #overlays {
        width: 100%;
    }
    #attribution .item {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 400px) {
    #hero #umschauenButton {
        height: 60px;
        padding: 0;
    }
    #hero #interface #buttons {
        padding: 0 20px 25px 20px;
    }
    #umschauenAnkhor {
        width: 100%;
    }
    #download #overlays #handy1 {
        width: 250px;
        height: 499px;
    }
    #download #overlays #handy2 {
        width: 215px;
        height: 429px;
    }
    #download #overlays {
        height: 450px;
    }
}

@media screen and (max-width: 360px) {
    .downloadBadges {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .downloadBadges img {
        width: 160px;
        height: unset;
    }
    #hero #loslegenButton {
        width: 170px;
    }
    #download #overlays #handy1 {
        width: 207px;
        height: 413px;
    }
    #download #overlays #handy2 {
        width: 179px;
        height: 357px;
    }
    #download #overlays {
        height: 350px;
    }
    #download #overlays img.content {
        border-radius: 20px;
    }
}