.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header__inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.logo {
    width: 70px;
}

.burgermenu__button {
    all: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.burgermenu__button:focus-visible {
    outline: 3px solid var(--color-highlight);
    outline-offset: 4px;
}

.burgermenu__button:hover {
    padding: 0;
}

.burgermenu__button:active {
    padding: 0;
    background-color: transparent;
}

.burgermenu {
    width: 40px;
    overflow: visible;
    cursor: pointer;
}

.burgermenu__line {
    transform-box: fill-box;
    transform-origin: center;
}

.burgermenu__button .burgermenu__line--top {
    animation: burgerTopOut 220ms ease-out both;
}

.burgermenu__button.is-open .burgermenu__line--top {
    animation: burgerTopIn 220ms ease-out both;
}

.burgermenu__button .burgermenu__line--middle {
    animation: burgerMiddleOut 220ms ease-out both;
}

.burgermenu__button.is-open .burgermenu__line--middle {
    animation: burgerMiddleIn 220ms ease-out both;
}

.burgermenu__button .burgermenu__line--bottom {
    animation: burgerBottomOut 220ms ease-out both;
}

.burgermenu__button.is-open .burgermenu__line--bottom {
    animation: burgerBottomIn 220ms ease-out both;
}

.language__toogle {
    border: 0;
    margin: 0;
    padding: 0;
    min-inline-size: auto;
    display: flex;
    gap: 6px;
}

.language__toogle--dialog {
    display: none;
}

.language__box {
    padding: 3px 6px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 100ms ease-in-out;
}

.language__box.active,
.language__box:has(.language__radio:checked) {
    border: 2px solid var(--color-highlight);
    cursor: default;
}

.language__box:has(.language__radio:focus-visible) {
    outline: 2px solid var(--color-highlight);
    outline-offset: 2px;
}

.language {
    margin-top: 2px;
}

.language__line {
    width: 18px;
}

.language__line path {
    stroke: transparent;
}

.language__box:hover .language__line path{
    stroke: var(--color-text);
}

.language__box.active:hover .language__line path,
.language__box:has(.language__radio:checked):hover .language__line path{
    stroke: transparent;
}

.language__box:active{
    border: 2px solid var(--color-text);
}

.language__box.active:active,
.language__box:has(.language__radio:checked):active{
    border: 2px solid var(--color-highlight);
}

.language__box:active .language__line path{
    stroke: transparent;
}

main {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
}

.hero {
    line-height: 1.0;
    letter-spacing: -2.5%;
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 12px;
}

.hero__content {
    width: fit-content;
    display: inline-flex;
    flex-direction: column;
}

.hero__headline {
    text-align: center;
    display: inline-block;
}

.hero__headline span {
    display: block;
}

.hero__subheader {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero__line {
    min-width: 0;
    height: 3px;
    display: block;
    flex: 1 1 auto;
}

.hero__subheadline {
    font-family: "Overpass", Arial, Helvetica, sans-serif;
    margin-top: 8px;
    color: var(--color-highlight);
    flex-shrink: 0;
}

.hero__mail {
    left: 0;
    top: calc(100vh - 16px);
    color: var(--color-text);
    transform: translateY(-100%) rotate(180deg);
    writing-mode: vertical-rl;
    text-decoration: none;
}

.hero__scrolldown {
    bottom: 16px;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
}

.hero__arrow {
    height: 163px;
    padding: 10px;
    overflow: hidden;
    animation: scrollArrow 2s infinite linear;
}

.hero__arrow--text {
    z-index: 10;
}

.hero__arrow--text span {
    display: block;
}

.about {
    padding: 112px 0 0;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.about__profile {
    display: flex;
    justify-content: space-between;
}

.profile__text {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.about__profile--attributes {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.about__profile--info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.about__profile--icon {
    height: 40px;
}

.about__profile--infotext {
    margin-top: 6px;
}

.about__profile-button--link {
    width: fit-content;
    align-self: center;
}

.about__profile-button {
    align-self: center;
}

.profile__img-wrap {
    position: relative;
    width: 45%;
    aspect-ratio: 1/1;
}

.profile__img-wrap::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    aspect-ratio: 1/1;
    border: 4px solid var(--color-text);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: all 100ms ease-in-out;
}

.profile__img-wrap:hover::after {
    opacity: 1;
}

.profile__img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: 50% 45%;
}

.arrow {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    z-index: 999;
}

.arrow__right {
    display: flex;
    justify-content: flex-end;
}

.arrow__right--icon {
    display: block;
    overflow: visible;
}

.arrow__right--head {
    transform: translate(0, 0);
}

.arrow__right--shaft {
    stroke-dasharray: 70 30;
    transform: translate(0, 0);
}

.arrow__left {
    display: flex;
    justify-content: flex-start;
}

.arrow__left--icon {
    display: block;
    overflow: visible;
    transform: scaleX(-1);
}

.arrow__left--head {
    transform: translate(0, 0);
}

.arrow__left--shaft {
    stroke-dasharray: 70 30;
    transform: translate(0, 0);
}

.arrow.is-in-view .arrow__right--head {
    animation: arrowRightHeadSlide 1s ease-out forwards;
}

.arrow.is-in-view .arrow__right--shaft {
    animation: arrowRightShaftStretch 1s ease-out forwards;
}

.arrow.is-in-view .arrow__left--head {
    animation: arrowLeftHeadSlide 1s ease-out forwards;
}

.arrow.is-in-view .arrow__left--shaft {
    animation: arrowLeftShaftStretch 1s ease-out forwards;
}