@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto; /* Startet mit normalem Scrolling */
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    transition: scroll-behavior 0.2s ease;
    /* Prevent browser scroll restoration */
    overscroll-behavior: none;
}

/* Webkit Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    transition: background 0.3s ease;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #FFFFFF;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(96%, 1382px);
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.5rem;
    background: #FFFFFF;
    border-bottom: 1px solid transparent;
    border-radius: 15px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInFromTop 0.8s ease-out forwards;
}

.nav.scrolled {
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: #ffffffc9;
    backdrop-filter: blur(50%);
}

.nav__logo {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: #000000;
    white-space: nowrap;
    position: absolute;
    left: 1.5rem;
}

.nav__bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav__bar_item {
    font-weight: 600;
    font-size: 0.875rem;
    color: #000000;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: visible;
}

.nav__bar_item::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #000000;
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav__bar_item.active::after {
    width: calc(100% - 2rem);
    background: #000000;
}

.nav__button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: #000000;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: absolute;
    right: 1.5rem;
    overflow: hidden;
}
.nav__button i {
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.nav__mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    color: #000000;
    position: absolute;
    right: 1.5rem;
}

.page_home {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(180deg, rgba(253, 253, 253, 0.85) 0%, #FFFFFF 69.28%), url("./img/black_rect.png");
    background-size: 1%, 1%;
    background-repeat: repeat, repeat;
    background-position: 0 0, 0 0;
    position: relative;
}

.page_home__header {
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 3.5rem);
    line-height: 1.2;
    color: #000000;
    margin-bottom: 1rem;
    max-width: 100%;
}

.page_home__header2 {
    font-weight: 700;
    font-size: clamp(1.25rem, 4vw, 2rem);
    line-height: 1.3;
    color: #32324E;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.page_home__text {
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.5;
    color: #475569;
    margin-bottom: 3rem;
    max-width: 661px;
}

.home_interact_buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 396px;
}

.home_interact_buttons_portfolio,
.home_interact_buttons_kontakt {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    cursor: pointer;
    flex: 1;
    min-width: 180px;
    max-width: 192px;
}

.home_interact_buttons_portfolio {
    background: #0D0D0D;
    color: #FFFFFF;
}

.home_interact_buttons_kontakt {
    background: transparent;
    color: #000000;
    border: 1px solid #000000;
}

.page_home .home_socials {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 2vw, 2px);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: clamp(220px, 25vh, 230px);
}

.page_home .home_socials .home_socials_item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000000;
    transition: all 0.2s ease;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
}

.page_home .home_socials .home_socials_item .fab {
    font-size: clamp(16px, 3vw, 18px);
    color: #000000;
    transition: all 0.2s ease;
    padding: 0.5rem;
}

.page_home .scroll_down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 2vw, 14px);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: clamp(40px, 8vh, 0px);
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.page_home .scroll_down span {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(12px, 2.5vw, 14px);
    color: #000000;
    text-align: center;
    white-space: nowrap;
    animation: bounce 2s infinite;
}

.page_home #scroll_down_icon {
    font-size: clamp(14px, 3vw, 18px);
    color: #000000;
    animation: bounce 2s infinite;
}

.page_über-mich {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(180deg, rgba(249, 249, 249, 0.37) 0%, rgba(255, 255, 255, 0.37) 100%), radial-gradient(32.28% 32.28% at 70.49% 50%, rgba(255, 255, 255, 0.83) 0%, #FFFFFF 100%), url("./img/black_rect.png");
    background-size: 2%, 100%;
    background-repeat: repeat, repeat;
    background-position: 0 0, 0 0;
    position: relative;
    /* Add floating animation for about page rectangles */
    animation: floatingRectanglesAbout 30s ease-in-out infinite;
    will-change: transform, background-position;
}

.page_über-mich_content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    gap: 200px;
    position: absolute;
    width: 988px;
    height: 671px;
    left: calc(50% - 988px/2);
    top: calc(50% - 671px/2 + 36.5px);
}

.page_über-mich_content_timeline {
    position: relative;
    width: 402px;
    height: 671px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.page_über-mich_timestamp {
    position: absolute;
    width: 402px;
    height: 671px;
    left: 0;
    top: 0;
}

.page_über-mich_timestamp_strich {
    position: absolute;
    width: 2px;
    height: 671px;
    left: calc(50% - 2px/2);
    top: 0;
    background: #e0e0e0;
    overflow: hidden;
}

.page_über-mich_timestamp_strich::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, #000000 0%, #333333 100%);
    /* Animation wird per JavaScript gestartet */
}

.page_über-mich_timestamp_strich.animate-timeline::before {
    animation: timelineLoad 2.5s ease-out forwards;
}

.page_über-mich_timestamp_stamps {
    position: absolute;
    width: 172px;
    height: 559px;
    left: calc(50% - 172px/2);
    top: calc(50% - 559px/2);
}

.page_über-mich_timestamp_stamps_2024 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5px 20px;
    gap: 10px;
    position: absolute;
    width: 68px;
    height: 28px;
    left: calc(50% - 68px/2 + 52px);
    top: calc(50% - 28px/2 + 265.5px);
    background: #000000;
    border-radius: 4px 10px 10px 4px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    line-height: 17px;
    display: flex;
    align-items: flex-end;
    text-align: center;
    color: #ffffffd0;
    
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.4s ease-out;
}

.page_über-mich_timestamp_stamps_2024.animate-timestamp {
    opacity: 1;
    transform: translateX(0);
}

.page_über-mich_timestamp_stamps_2023 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5px 20px;
    gap: 10px;
    position: absolute;
    width: 68px;
    height: 28px;
    left: calc(50% - 68px/2 - 52px);
    top: calc(50% - 28px/2 + 83.5px);
    background: #000000;
    border-radius: 10px 4px 4px 10px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    line-height: 17px;
    display: flex;
    align-items: flex-end;
    text-align: center;
    color: #ffffffd0;
    
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease-out;
}

.page_über-mich_timestamp_stamps_2023.animate-timestamp {
    opacity: 1;
    transform: translateX(0);
}

.page_über-mich_timestamp_stamps_2022 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5px 20px;
    gap: 10px;
    position: absolute;
    width: 68px;
    height: 28px;
    left: calc(50% - 68px/2 + 52px);
    top: calc(50% - 28px/2 - 83.5px);
    background: #000000;
    border-radius: 4px 10px 10px 4px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    line-height: 17px;
    display: flex;
    align-items: flex-end;
    text-align: center;
    color: #ffffffd0;
    
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.4s ease-out;
}

.page_über-mich_timestamp_stamps_2022.animate-timestamp {
    opacity: 1;
    transform: translateX(0);
}

.page_über-mich_timestamp_stamps_2021 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 5px 20px;
    gap: 10px;
    position: absolute;
    width: 68px;
    height: 28px;
    left: calc(50% - 68px/2 - 52px);
    top: calc(50% - 28px/2 - 265.5px);
    background: #000000;
    border-radius: 10px 4px 4px 10px;

    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 11px;
    line-height: 17px;
    display: flex;
    align-items: flex-end;
    text-align: center;
    color: #ffffffd0;
    
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease-out;
}

.page_über-mich_timestamp_stamps_2021.animate-timestamp {
    opacity: 1;
    transform: translateX(0);
}

.page_über-mich_content_punkte {
    position: absolute;
    width: 14px;
    height: 545px;
    left: calc(50% - 14px/2);
    top: calc(50% - 545px/2);
    z-index: 2;
}

.page_über-mich_content_punkte_1 {
    box-sizing: border-box;
    position: absolute;
    width: 14px;
    height: 14px;
    left: calc(50% - 14px/2);
    top: calc(50% - 14px/2 - 265.5px);
    background: #FFFFFF;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
}

.page_über-mich_content_punkte_1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #000000;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease-out;
}

.page_über-mich_content_punkte_1.animate-fill::before {
    transform: translate(-50%, -50%) scale(1);
}

.page_über-mich_content_punkte_1.animate-fill {
    border-color: #000000;
}

.page_über-mich_content_punkte_2 {
    box-sizing: border-box;
    position: absolute;
    width: 14px;
    height: 14px;
    left: calc(50% - 14px/2);
    top: calc(50% - 14px/2 - 83.5px);
    background: #FFFFFF;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
}

.page_über-mich_content_punkte_2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #000000;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease-out;
}

.page_über-mich_content_punkte_2.animate-fill::before {
    transform: translate(-50%, -50%) scale(1);
}

.page_über-mich_content_punkte_2.animate-fill {
    border-color: #000000;
}

.page_über-mich_content_punkte_3 {
    box-sizing: border-box;
    position: absolute;
    width: 14px;
    height: 14px;
    left: calc(50% - 14px/2);
    top: calc(50% - 14px/2 + 83.5px);
    background: #FFFFFF;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
}

.page_über-mich_content_punkte_3::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #000000;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease-out;
}

.page_über-mich_content_punkte_3.animate-fill::before {
    transform: translate(-50%, -50%) scale(1);
}

.page_über-mich_content_punkte_3.animate-fill {
    border-color: #000000;
}

.page_über-mich_content_punkte_4 {
    box-sizing: border-box;
    position: absolute;
    width: 14px;
    height: 14px;
    left: calc(50% - 14px/2);
    top: calc(50% - 14px/2 + 265.5px);
    background: #FFFFFF;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
}

.page_über-mich_content_punkte_4::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #000000;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease-out;
}

.page_über-mich_content_punkte_4.animate-fill::before {
    transform: translate(-50%, -50%) scale(1);
}

.page_über-mich_content_punkte_4.animate-fill {
    border-color: #000000;
}

.page_über-mich_content_punkte_4.animate-in {
    border-color: #000000;
    transform: scale(1);
}

.page_über-mich_content_cards {
    position: absolute;
    width: 402px;
    height: 671px;
    left: 0;
    top: 0;
}

.page_über-mich_content_cards_1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 19px 17px;
    position: absolute;
    width: 200px;
    height: 140px;
    left: 202px;
    top: calc(50% - 140px/2 - 265.5px);
    background: #FFFFFF;
    box-shadow: 0px 0px 14.5px rgba(0, 0, 0, 0.07);
    border-radius: 0px 10px 10px 0px;
}

.page_über-mich_content_cards_1_header {
    width: 166px;
    height: 21px;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000000;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.page_über-mich_content_cards_1_text {
    width: 166px;
    height: 80px;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #475569;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.page_über-mich_content_cards_2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 17px;
    position: absolute;
    width: 200px;
    height: 140px;
    left: calc(50% - 200px/2 - 101px);
    top: calc(50% - 140px/2 - 83.5px);
    background: #FFFFFF;
    box-shadow: 0px 0px 14.5px rgba(0, 0, 0, 0.07);
    border-radius: 10px 0px 0px 10px;
}

.page_über-mich_content_cards_3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 19px 17px;
    position: absolute;
    width: 200px;
    height: 140px;
    left: 202px;
    top: calc(50% - 140px/2 + 83.5px);
    background: #FFFFFF;
    box-shadow: 0px 0px 14.5px rgba(0, 0, 0, 0.07);
    border-radius: 0px 10px 10px 0px;
}

.page_über-mich_content_cards_4 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 19px 17px;
    position: absolute;
    width: 200px;
    height: 140px;
    left: calc(50% - 200px/2 - 101px);
    top: calc(50% - 140px/2 + 265.5px);
    background: #FFFFFF;
    box-shadow: 0px 0px 14.5px rgba(0, 0, 0, 0.07);
    border-radius: 10px 0px 0px 10px;
}

.page_über-mich_content_header {
    position: relative;
    width: 459px;
    height: 289px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.page_über-mich_content_header_1 {
    position: absolute;
    width: 434px;
    height: 61px;
    left: calc(50% - 434px/2 - 12.5px);
    top: calc(50% - 61px/2 - 114px);
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 46px;
    line-height: 61px;
    display: flex;
    align-items: center;
    color: #000000;
}

.page_über-mich_content_header_strich {
    position: absolute;
    width: 316px;
    height: 2px;
    left: calc(50% - 316px/2 - 71.5px);
    top: calc(50% - 2px/2 - 83.5px);
    background: #000000;
}

.page_über-mich_content_header_2 {
    position: absolute;
    width: 459px;
    height: 132px;
    left: calc(50% - 459px/2);
    top: calc(50% - 132px/2 - 2.5px);
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    text-align: left;
    color: #3E4B5E;
}

.page_über-mich_content_header_button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 25px;
    gap: 16px;
    position: absolute;
    width: 200px;
    height: 48px;
    left: calc(50% - 200px/2 - 129.5px);
    top: calc(50% - 48px/2 + 120.5px);
    background: #000000;
    border-radius: 10px;

    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Partikel Container */
.page_über-mich_content_header_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
        radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.6) 1px, transparent 1px),
        radial-gradient(circle at 35% 80%, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
        radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 50px 50px, 40px 40px, 45px 45px, 35px 35px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

/* Icon Transition */
.page_über-mich_content_header_button i {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: rotate(0deg);
}

.page_über-mich_content_header_button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Partikel Animation on Hover */
.page_über-mich_content_header_button:hover::before {
    opacity: 1;
    animation: floatingParticles 3s ease-in-out infinite;
}

/* Icon Rotation on Hover */
.page_über-mich_content_header_button:hover i {
    transform: rotate(90deg);
}

.page_über-mich_content_header_button:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Floating Partikel Animation */
@keyframes floatingParticles {
    0% {
        background-position: 0px 0px, 0px 0px, 0px 0px, 0px 0px;
        opacity: 0.8;
    }
    25% {
        background-position: 4px -3px, -3px 5px, 2px 4px, -4px -2px;
        opacity: 1;
    }
    50% {
        background-position: 2px -6px, -6px 2px, 5px 3px, -2px -5px;
        opacity: 0.6;
    }
    75% {
        background-position: -2px -4px, -4px -3px, 3px -2px, 4px 3px;
        opacity: 1;
    }
    100% {
        background-position: 0px 0px, 0px 0px, 0px 0px, 0px 0px;
        opacity: 0.8;
    }
}

.page_portfolio {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: radial-gradient(34.28% 34.28% at 50% 63%, rgba(249, 249, 249, 0.89) 0%, #FAFAFA 100%), url("./img/black_rect.png");
    background-size: 100%, 0.9%;
    background-repeat: repeat, repeat;
    background-position: 0 0, 0 0;
    position: relative;
    /* Add floating animation for portfolio page rectangles */
    animation: floatingRectanglesPortfolio 20s ease-in-out infinite;
    will-change: transform, background-position;
}

.page_portfolio h1 {
    position: absolute;
    width: 229px;
    height: 43px;
    left: calc(50% - 229px/2 - 0.5px);
    top: calc(50% - 43px/2 - 221.5px);
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 43px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #000000;
}

.page_portfolio_strich {
    position: absolute;
    width: 158px;
    height: 2px;
    left: calc(50% - 158px/2 - 0.5px);
    top: calc(50% - 2px/2 - 188px);
    background: #000000;
}

.page_portfolio_text {
    position: absolute;
    width: 253px;
    height: 19px;
    left: calc(50% - 253px/2 - 0.5px);
    top: calc(50% - 19px/2 - 160px);
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #000000;
}

.page_portfolio_catbar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 26px;
    position: absolute;
    width: 508px;
    height: 50px;
    left: calc(50% - 508px/2 - 9px);
    top: calc(50% - 50px/2 - 105px);
}

.page_portfolio_catbar_item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 14px;
    gap: 10px;
    background: #ffffff1c;
    border-radius: 5px;

    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.page_portfolio_catbar_item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.page_portfolio_catbar_item.active {
    background: #000000;
    color: #FFFFFF;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page_portfolio_items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    padding: 11px 10px;
    gap: 16px;
    position: absolute;
    width: 832px;
    height: 358px;
    left: calc(50% - 832px/2);
    top: calc(50% - 358px/2 + 130px);
}

.page_portfolio_items_card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 10px;
    gap: 10px;
    width: 260px;
    height: 160px;
    background: #FFFFFF;
    box-shadow: 0px 0px 14.5px rgba(0, 0, 0, 0.144);
    border-radius: 10px;
    flex: none;
    order: 0;
    flex-grow: 0;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;

}

.page_portfolio_items_card.fade-out {
    opacity: 0;

}

.page_portfolio_items_card.fade-in {
    opacity: 1;

}

.page_portfolio_items_card_image {
    position: relative;
    width: 240px;
    height: 143px;
    background: #FAFAFA;
    border-radius: 10px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Leere Portfolio Card Styling */
.page_portfolio_items_card_image:empty {
    border: 2px dashed #e0e0e0;
    background: #f8f8f8;
}

.empty-card-icon {
    transition: all 0.3s ease;
}

.page_portfolio_items_card_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.page_portfolio_items_card_content {
    text-align: center;
    color: white;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.page_portfolio_items_card_client {
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 15px 0;
    color: #FFFFFF;
}

.page_portfolio_items_card_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: #000000;
    padding: 9px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
}

.page_kontakt {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(180deg, rgba(249, 249, 249, 0.37) 0%, rgba(255, 255, 255, 0.37) 100%), radial-gradient(32.28% 32.28% at 50% 50%, rgba(255, 255, 255, 0.897) 0%, #FFFFFF 100%), url("./img/black_rect.png");
    background-size: 1%, 100%;
    background-repeat: repeat, repeat;
    background-position: 0 0, 0 0;
    position: relative;
}

.page_kontakt h1 {
    position: absolute;
    width: 425px;
    height: 43px;
    left: calc(50% - 425px/2 - 0.5px);
    top: calc(50% - 43px/2 - 263.5px);
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000000;
}

.page_kontakt_strich {
    position: absolute;
    width: 101px;
    height: 2px;
    left: calc(50% - 101px/2 - 0.5px);
    top: calc(50% - 2px/2 - 241px);
    background: #000000;
}

.page_kontakt_text {
    position: absolute;
    width: 320px;
    height: 19px;
    left: calc(50% - 320px/2 - 1px);
    top: calc(50% - 19px/2 - 221.5px);

    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #000000;
}

.page_kontakt_forms {
    position: absolute;
    width: 811px;
    height: 442px;
    left: calc(50% - 811px/2 - 0.5px);
    top: calc(50% - 442px/2 + 89px);
}

.page_kontakt_form_info {
    position: absolute;
    width: 396px;
    height: 120px;
    left: calc(50% - 396px/2 - 206.5px);
    top: calc(50% - 120px/2 + 161px);
    background: #FFFFFF;
    box-shadow: 0px 0px 14.5px rgba(0, 0, 0, 0.13);
    border-radius: 6px;
}

.page_kontakt_form_info_inner {
    position: absolute;
    width: 380px;
    height: 104px;
    left: 8px;
    top: 8px;
    background: #FBFBFB;
    border-radius: 4px;
}

.page_kontakt_form_info_inner_text {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    position: absolute;
    width: 380px;
    height: 85px;
    left: calc(50% - 380px/2);
    top: calc(50% - 85px/2 - 2.5px);
}

.page_kontakt_form_info_inner_text p {
    width: 380px;
    height: 23px;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000000;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.page_kontakt_form_info_inner_text p2 {
    width: 352px;
    height: 62px;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: rgba(0, 0, 0, 0.46);
    flex: none;
    order: 1;
    flex-grow: 0;
}

.page_kontakt_form_daten {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 19px;
    gap: 8px;
    position: absolute;
    width: 397px;
    height: 307px;
    left: calc(50% - 397px/2 - 207px);
    top: calc(50% - 307px/2 - 67.5px);
    background: #FFFFFF;
    box-shadow: 0px 0px 14.5px rgba(0, 0, 0, 0.07);
    border-radius: 6px;
}

.page_kontakt_form_daten_item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px;
    gap: 17px;
    width: 362px;
    height: 86px;
    background: #FFFFFF;
    box-shadow: 0px 0px 14.5px rgba(0, 0, 0, 0.07);
    border-radius: 4px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.page_kontakt_form_daten_item_icon_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 21px 15px;
    gap: 10px;
    width: 62px;
    height: 62px;
    background: #ececec;
    border-radius: 4px;
    flex: none;
    order: 0;
    flex-grow: 0;
    color: rgba(0, 0, 0, 0.59);
    font-size: 24px;
}

.page_kontakt_form_daten_item_texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 1px 0px;
    width: 275px;
    height: 42px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.page_kontakt_form_daten_item_texts p {
    width: 275px;
    height: 24px;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    display: flex;
    align-items: center;
    color: rgba(0, 0, 0, 0.46);
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    margin: -5px 0px;
}

.page_kontakt_form_daten_item_texts p2 {
    width: 275px;
    height: 24px;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    display: flex;
    align-items: center;
    color: #000000;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.page_kontakt_forms_message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px 19px;
    gap: 8px;
    position: absolute;
    width: 400px;
    height: 442px;
    left: calc(50% - 400px/2 + 205.5px);
    top: calc(50% - 442px/2);
    background: #FFFFFF;
    box-shadow: 0px 0px 14.5px rgba(0, 0, 0, 0.07);
    border-radius: 6px;
}

.page_kontakt_forms_message_name,
.page_kontakt_forms_message_mail,
.page_kontakt_forms_message_betreff {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px;
    gap: 10px;
    width: 362px;
    height: 59px;
    background: #FFFFFF;
    box-shadow: 0px 0px 14.5px rgba(0, 0, 0, 0.07);
    border-radius: 4px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.page_kontakt_forms_message_name {
    order: 0;
}
.page_kontakt_forms_message_email {
    order: 1;
}
.page_kontakt_forms_message_betreff {
    order: 2;
}
.page_kontakt_forms_message_nachricht {
    order: 3;
}

.page_kontakt_forms_message_nachricht {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px;
    gap: 10px;
    width: 362px;
    height: 135px;
    background: #FFFFFF;
    box-shadow: 0px 0px 14.5px rgba(0, 0, 0, 0.116);
    border-radius: 4px;
    flex: none;
    order: 3;
    align-self: stretch;
    flex-grow: 0;
}

#kontakt_name,
#kontakt_email,
#kontakt_betreff {
    width: 346px;
    height: 43px;
    background: #FBFBFB;
    border-radius: 4px;
    flex: none;
    order: 0;
    flex-grow: 0;
    outline: none;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    display: flex;
    align-items: center;
    text-align: center;
    color: rgb(0, 0, 0);
    border: none;
}

#kontakt_nachricht {
    width: 346px;
    height: 119px;
    background: #FBFBFB;
    border-radius: 4px;
    flex: none;
    order: 0;
    flex-grow: 0;
    border: none;
    outline: none;
    padding: 12px;
    resize: none;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;

    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    text-align: left;
    color: rgba(0, 0, 0, 0.46);
}

.page_kontakt_forms_message_button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 18px 32px;
    gap: 12px;
    width: 362px;
    height: 64px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    flex: none;
    order: 4;
    align-self: stretch;
    flex-grow: 0;

    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    text-align: center;
    color: #FFFFFF;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page_kontakt_forms_message_button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 248, 248, 0.98) 100%);
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    backdrop-filter: blur(25px) saturate(1.8);
}

.page_kontakt_forms_message_button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    transition: left 0.8s ease;
    z-index: 3;
}

.page_kontakt_forms_message_button:active {
    transform: translateY(0) scale(0.99);
    transition: all 0.1s ease;
}

.page_kontakt_forms_message_button i,
.page_kontakt_forms_message_button span {
    position: relative;
    z-index: 4;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.page_kontakt_forms_message_button i {
    font-size: 18px;
    opacity: 0.9;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.page_kontakt_forms_message_button .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    z-index: 2;
}

.page_kontakt_forms_message_button.loading {
    pointer-events: none;
    background: linear-gradient(135deg, #666666 0%, #888888 100%);
}

.page_kontakt_forms_message_button.loading::before {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(248, 248, 248, 0.4) 100%);
    left: 0;
}

.page_kontakt_forms_message_button.loading i {
    animation: spin 1s linear infinite;
}

.page_kontakt_forms_message_button.success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.page_kontakt_forms_message_button.success::before {
    background: linear-gradient(135deg, 
        rgba(240, 253, 244, 0.95) 0%, 
        rgba(220, 252, 231, 0.98) 100%);
}

.contact-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    min-width: 300px;
    max-width: 400px;
    border-radius: 12px;
    font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.15);
    animation: slideInFromRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-message-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.contact-message-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.footer {
    width: 100%;
    position: relative;
    color: #ffffff;
    padding: 1.5rem 0 0.8rem;
    margin-top: 2rem;
    overflow: hidden;
}

.footer__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer__background iframe {
    width: 120%;
    height: 120%;
    border: none;
    pointer-events: all;
    position: absolute;
    top: -10%;
    left: -10%;
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
}

.footer__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.1rem;
}

.footer__divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    margin: 0.5rem 0 1rem 0;
    border-radius: 1px;
}

.footer__logo {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 0;
    letter-spacing: -0.02em;
    position: relative;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer__logo-text {
    display: inline-block;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    white-space: nowrap;
}

.footer__logo-text.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.footer__logo-text.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.footer__logo-text.slide-up-out {
    opacity: 0;
    transform: translateY(-30px);
}

.footer__logo-text.slide-down-in {
    opacity: 1;
    transform: translateY(0);
}

.footer__socials {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.footer__social::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.footer__main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 600px;
    gap: 4rem;
    margin: 1rem 0;
}

.footer__center {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    flex: 1;
}

.footer__nav-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.5rem;
    align-items: center;
    justify-items: center;
}

.footer__link {
    color: #cccccc;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.footer__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #ffffff;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.footer__right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    flex: 1;
    text-align: center;
}

.footer__contact-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.footer__contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
}

.footer__contact-info p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #cccccc;
    justify-content: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer__contact-info i {
    font-size: 1rem;
    color: #ffffff;
    width: 18px;
    text-align: center;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 1rem auto 0 auto;
    max-width: 600px;
    width: 100%;
}

.footer__copyright {
    font-size: 0.8rem;
    color: #cccccc;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.footer__legal {
    display: flex;
    gap: 2rem;
}

.footer__legal-link {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    position: relative;
}

.footer__legal-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #ffffff;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}