/* * -----------------------------
 * Slide in menu
 * ----------------------------- */
.small-toolbar,
.small-toolbar-scrollable {
    height: 5rem;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    left: 0;
    right: 0;
    z-index: 90;

    /* border-bottom-left-radius: 1rem */
    /* border-bottom-right-radius: 1rem */
}

.small-toolbar {
    background-color: var(--white);
    position: fixed;
    box-shadow: 0px 1px 2px 0px var(--linegrey);
}

.small-toolbar-scrollable {
    position: fixed;
}

/* * -----------------------------
 * Header Scroll Behavior
 * ----------------------------- */
header.main-menu {
    height: 5rem;

    /* Default height - GSAP will override during animation */
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;

    /* transition: ease 0.4s; */
    z-index: 80;
}

header.main-menu.is-hidden {
    top: -5rem;
}

header.main-menu.is-hidden .pr-nav__list li {
    transition: ease 0.15s;
    visibility: hidden;
}

header.main-menu.is-sticky::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5rem;

    /* Extends beyond the navbar height for fade effect */
    background-color: rgba(255, 255, 255, 0.8);

    /* 30% white background */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    /* mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 100%); */
    z-index: -1;

    /* box-shadow: 0 0 20px rgba(0,0,0,0.1); */
    /* background-color: var(--accent); */
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    box-shadow: 0px 1px 2px 0px var(--linegrey);
}

header.main-menu.is-at-top {
    /* height: 5rem; - REMOVED: Conflicted with GSAP animation */
    background: transparent;
}

header.main-menu.is-at-top .pr-nav__list li {
    transition: ease 0.15s;
    visibility: visible;
}

/* Header-specific grid to avoid conflicts with global grid-main */
.header-grid-main {
    height: 5rem;

    /* Match header height */
    align-items: center;

    /* Ensure vertical centering */
    transition: none !important;

    /* Prevent CSS transitions from interfering with GSAP */
}

.pr-header__logo {
    grid-column: 1 / 3;
    height: 100%;
    display: flex;
    align-items: center;
    top: 0.17rem;
    position: relative;
}

.logo-size {
    width: 8rem;
    top: -0.07rem;
    position: relative;
}

.pr-nav {
    grid-column: 7 / 13;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.pr-nav__list {
    list-style: none;
    display: flex;
    width: 100%;
    position: relative;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.pr-nav__item {
    position: relative;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    cursor: pointer;
    touch-action: manipulation;
}

.pr-nav__link {
    color: var(--dark);
    text-decoration: none;

    /* padding: 0.1rem 0 */
    transition: font-variation-settings 0.3s ease-in-out;
    display: inline-block;

    /* font-variation-settings: "wght" 500 */
    cursor: pointer;
    letter-spacing: -0.018em;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    touch-action: manipulation;

    /* height: 100% */
}

/* .pr-nav__link:hover {

    font-variation-settings: "wght" 700;
} */
.pr-nav__link--active {
   /*  color: var(--dark);
    border: 1px solid var(--dark);
    border-radius: 4px;
    padding: 0.875rem 1.1875rem;
    transition: all 0.3s ease; */
}

.pr-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;

    /* border: 1px solid var(--dark) */
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    color: var(--dark);

    /* Square padding for icons */
    padding: 0.625rem;
}

.pr-nav__icon:hover {
    background-color: var(--dark);
    color: var(--white);
}

.pr-nav__icon:hover svg {
    color: var(--white);
}

.pr-nav__icon-search {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    cursor: pointer;
    touch-action: manipulation;
}

.pr-nav__icon-collection {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    cursor: pointer;
    touch-action: manipulation;
}

.pr-nav__icon-language {
    /* align-self: start */
    /* display: flex */
    /* justify-content: flex-end */
}

.pr-nav__active-line {
    position: absolute;
    bottom: 0;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

.pr-header__menu {
    /* grid-column: 12 / 13 */
    /* width: 24px */
    /* height: 24px */
    /* justify-self: end */
}

.pr-header__icon {
    width: 1rem;
    height: 1rem;
}

.is-stoolbar {
    right: -0.4rem;
}

.rd-hamburger {
    position: relative;
}

.hero-header__position {
    display: flex;
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    justify-content: end;
    align-items: stretch;
}

.hero-header__wrapper {
    grid-area: 1 / 1 / 2 / 6;
    position: relative;
    top: -1rem;
    max-width: 48ch;

    /* left: 2rem */
}

.scrolldown-indicator-wrap {
    grid-area: 1 / 12 / 2 / 13;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    right: -0.9rem;
    bottom: -0.9rem;
    position: relative;

    /* padding-bottom: 1rem */
    /* padding-right: 2rem */
}

.scrolldown-indicator-wrap svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* .pr-nav-right-nav-wrap styles no longer needed - items are now direct children of .pr-nav__list */
/* Fix Kontakt button height stretching - Updated for new structure */
.pr-nav__list a[cms-site-link-post="kontakt"] {
    align-self: center;
}

.pr-nav__list a[cms-site-link-post="kontakt"] button {
    /* height: auto */
}
