/* Google Fonts Import - MUST be at the very top */
@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@200;300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hanken Grotesk', sans-serif;
    background-color: #ffffff;
    color: #0a0a0d;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 300;
}

/* Headlines use Space Grotesk */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
}

/* Focus Outline - Schwarz statt Browser-Blau */
*:focus {
    outline: 2px solid #0a0a0d;
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 2px solid #0a0a0d;
    outline-offset: 2px;
}

/* Privacy Panel - Immer weiße Outline (schwarzer Hintergrund) */
.privacy-settings-panel *:focus,
.privacy-settings-panel *:focus-visible {
    outline-color: #ffffff !important;
}

/* Wrapper für Content um Footer nach unten zu drücken */
#header-placeholder,
main {
    flex-shrink: 0;
}

#footer-placeholder {
    margin-top: auto;
}

/* Header Navigation */
header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

header.header-sticky {
    position: fixed;
    top: 0;
}

header.header-hidden {
    transform: translateY(-100%);
}

nav {
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.logo {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #0a0a0d;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.6;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin-right: 55px;
}

.nav-links a {
    text-decoration: none;
    color: #0a0a0d;
    font-size: 16px;
    font-weight: 200;
    transition: opacity 0.3s;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Active State Indicator - 2px Strich unter dem aktiven Link */
.nav-links a.active {
    border-bottom: 2px solid #0a0a0d;
}

.cv-link {
    text-decoration: none;
    color: #0a0a0d;
    font-size: 16px;
    font-weight: 200;
    transition: opacity 0.3s;
}

.cv-link:hover {
    opacity: 0.6;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.icon-link {
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.icon-link:hover {
    opacity: 0.6;
}

.header-icon {
    height: 18px;
    width: auto;
}

.header-icon[alt="Email"] {
    height: 12px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    width: 40px;
    height: 16px;
    position: relative;
}

.mobile-menu-btn::before,
.mobile-menu-btn::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 40px;
    height: 1px;
    background-color: #0a0a0d;
    transition-property: top, bottom, transform;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

.mobile-menu-btn::before {
    top: 0px;
    transform: rotate(0deg);
}

.mobile-menu-btn::after {
    bottom: 0px;
    transform: rotate(0deg);
}

/* Animated X state */
.mobile-menu-btn.active::before {
    top: 7.5px;
    transform: rotate(45deg);
}

.mobile-menu-btn.active::after {
    bottom: 7.5px;
    transform: rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 999; /* Below header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px; /* Space for header */
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-menu-overlay .nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    list-style: none;
    text-align: center;
    margin-bottom: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -35px;
    width: 100%;
}

.mobile-menu-overlay .nav-links a {
    font-size: 30px;
    font-weight: 200;
    color: #0a0a0d;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay .nav-links a:hover {
    opacity: 0.6;
}

/* Footer area with gray background */
.mobile-menu-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #DCDCDC;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-social-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.mobile-social-links a {
    display: block;
    transition: opacity 0.3s;
}

.mobile-social-links a:hover {
    opacity: 0.6;
}

.mobile-linkedin-icon,
.mobile-mail-icon {
    display: block;
    width: auto;
    height: auto;
}

.mobile-menu-close {
    display: none;
}

/* Main Content */
main#work {
    padding: 140px 40px 60px 40px;
}

/* Hero Section */
.hero {
    margin-bottom: 80px;
}

.hero h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #0a0a0d;
    max-width: 900px;
}

.hero p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #0a0a0d;
    max-width: 900px;
}

/* Content Section (für Imprint, Contact etc.) */
main.content-page {
    padding: 140px 40px 80px 40px;
}

.content-section {
    max-width: 900px;
}

.content-section h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #0a0a0d;
}

.content-section p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #0a0a0d;
    margin-bottom: 20px;
}

.content-section a {
    color: #0a0a0d;
    text-decoration: none;
    transition: opacity 0.3s;
}

.content-section a:hover {
    opacity: 0.6;
}

/* Contact Page Specific */
#contact {
    min-height: auto;
    display: block;
    padding: 140px 40px 80px 40px;
}

.contact-header {
    margin-bottom: 53px;
}

.contact-image-section {
    margin-bottom: 20px;
}

.contact-image-wrapper {
    max-width: 600px;
}

.contact-image-wrapper img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.contact-info-section a {
    color: #0a0a0d;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-info-section a:hover {
    opacity: 0.6;
}

.contact-hero {
    margin-bottom: 60px;
    max-width: 900px;
}

.contact-hero h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    color: #0a0a0d;
    margin: 0;
}

.contact-info {
    max-width: 600px;
}

.contact-info h2 {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #0a0a0d;
}

.contact-info p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #0a0a0d;
    margin-bottom: 20px;
}

.contact-info a {
    color: #0a0a0d;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-info a:hover {
    opacity: 0.6;
}

.download-cv {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #0a0a0d;
    color: #0a0a0d;
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 10px;
}

.download-cv:hover {
    background: #0a0a0d;
    color: #fff;
    opacity: 1;
}

/* Project Detail Page */
#project-detail {
    padding: 140px 40px 60px 40px;
}

.project-header {
    max-width: 65%;
    margin-bottom: 80px;
}

.project-header h1 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #0a0a0d;
}

.project-meta {
    margin-bottom: 40px;
}

.project-meta p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #0a0a0d;
    margin-bottom: 5px;
}

.project-intro {
    max-width: 65%;
    margin-bottom: 80px;
}

.project-intro h2,
.project-content h2 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 30px;
    padding-bottom: 20px;
    color: #0a0a0d;
    position: relative;
}

.project-intro h2::after,
.project-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 1px;
    background-color: #0a0a0d;
}

.project-intro p:first-of-type,
.project-content p:first-of-type {
    margin-top: 0;
}

.project-intro p,
.project-content p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #0a0a0d;
    margin-bottom: 20px;
}

.project-image {
    width: 100%;
    margin-bottom: 80px;
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-content {
    max-width: 65%;
    margin-bottom: 80px;
}

/* Description List Styles für Key Contributions */
.contributions-list {
    margin-top: 0;
}

.contributions-list dt {
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 5px;
    color: #0a0a0d;
    font-size: 16px;
}

.contributions-list dt:first-of-type {
    margin-top: 0;
}

.contributions-list dd {
    margin-left: 0;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #0a0a0d;
}

/* Responsibilities List Styles */
.responsibilities-list {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
}

.responsibilities-list li {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #0a0a0d;
    margin-bottom: 20px;
    padding-left: 25px;
    position: relative;
}

.responsibilities-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: #0a0a0d;
}

.responsibilities-list li:last-child {
    margin-bottom: 0;
}

/* Two Column Layout */
.project-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.project-column {
}

.project-column h2 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 30px;
    padding-bottom: 20px;
    color: #0a0a0d;
    position: relative;
}

.project-column h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 1px;
    background-color: #0a0a0d;
}

.project-column p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #0a0a0d;
    margin-bottom: 20px;
}

.project-column p:first-of-type {
    margin-top: 0;
}

/* Two Images Side by Side */
.project-two-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

.project-image-half {
    width: 100%;
}

.project-image-half img {
    width: 100%;
    height: auto;
    display: block;
}

/* Four Images in a Row */
.project-four-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
    width: 100%;
}

.project-image-quarter {
    width: 100%;
}

.project-image-quarter img {
    width: 100%;
    height: auto;
    display: block;
}

/* Project CTA Buttons */
.project-cta-buttons {
    display: flex;
    gap: 30px;
    margin-top: 80px;
    margin-bottom: 80px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #0a0a0d;
    background: #0a0a0d;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.cta-button:hover {
    background: transparent;
    color: #0a0a0d;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.portfolio-item img,
.portfolio-video {
    width: 100%;
    height: auto;
    aspect-ratio: 1400/1094;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.portfolio-item:hover img,
.portfolio-item:hover .portfolio-video {
    transform: scale(1.05);
}

.portfolio-item h3 {
    margin-top: 15px;
    font-size: 18px;
    font-weight: 300;
    color: #0a0a0d;
}

/* Back to Top */
.back-to-top {
    text-align: center;
    margin: 60px 0;
}

.back-to-top a {
    text-decoration: none;
    color: #0a0a0d;
    font-size: 16px;
    font-weight: 300;
    transition: opacity 0.3s;
}

.back-to-top a:hover {
    opacity: 0.6;
}

/* Footer */
footer {
    background: #ffffff;
    padding: 40px 40px;
    text-align: center;
    border-top: none;
    margin: 0 auto;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-size: 14px;
    font-weight: 300;
    color: #0a0a0d;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

footer a {
    color: #0a0a0d;
    font-size: 14px;
    font-weight: 300;
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.6;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px 40px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner p {
    font-size: 16px;
    font-weight: 300;
    color: #0a0a0d;
    margin-right: 20px;
}

.cookie-banner a,
.cookie-banner-content a {
    color: #0a0a0d;
    text-decoration: underline;
}

.cookie-banner a:hover,
.cookie-banner-content a:hover {
    opacity: 0.6;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-buttons button {
    padding: 10px 25px;
    border: 1px solid #0a0a0d;
    background: #fff;
    color: #0a0a0d;
    cursor: pointer;
    font-size: 16px;
    font-weight: 300;
    font-family: 'Hanken Grotesk', sans-serif;
    transition: all 0.3s;
}

.cookie-buttons button:first-child {
    background: #0a0a0d;
    color: #fff;
}

.cookie-buttons button:hover {
    opacity: 0.8;
}

/* Animation Classes */
.animate-fade {
    opacity: 0 !important;
    transition: opacity 1s ease-out;
}

.animate-fade.visible {
    opacity: 1 !important;
}

.animate-slide-left {
    opacity: 0 !important;
    transform: translateX(-80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-left.visible {
    opacity: 1 !important;
    transform: translateX(0);
}

.animate-slide-right {
    opacity: 0 !important;
    transform: translateX(80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-right.visible {
    opacity: 1 !important;
    transform: translateX(0);
}

.animate-slide-up {
    opacity: 0 !important;
    transform: translateX(-80px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-slide-up.visible {
    opacity: 1 !important;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    nav {
        padding: 20px 30px;
    }

    main {
        padding: 140px 30px 60px 30px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .portfolio-grid {
        gap: 30px;
    }

    /* Two Columns stapeln auf Tablet */
    .project-two-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Two Images stapeln auf Tablet */
    .project-two-images {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Privacy Grid stapeln auf Tablet */
    .privacy-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-right {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h1 {
        font-size: 44px;
        line-height: 1.15;
    }
    
    .hero p {
        font-size: 18px;
    }

    main,
    main#work {
        padding: 120px 20px 40px 20px;
    }

    nav {
        padding: 20px;
    }

    footer {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .footer-links {
        gap: 15px;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .cookie-banner p {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }

    /* Privacy Settings Panel Mobile */
    .privacy-settings-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .privacy-header h2 {
        font-size: 24px;
    }
    
    .privacy-close {
        font-size: 16px;
        padding: 5px 10px;
    }
    
    .privacy-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-box {
        padding: 20px;
    }
    
    .toggle-switch {
        bottom: 20px;
        right: 20px;
    }

    /* Contact Page Mobile */
    #contact,
    #imprint {
        padding: 140px 20px 60px 20px;
    }

    .contact-hero h1 {
        font-size: 44px;
        line-height: 1.15;
    }
    
    .content-section h1 {
        font-size: 44px;
        line-height: 1.15;
    }

    .contact-info h2 {
        font-size: 28px;
    }
    
    .contact-info p,
    .content-section p {
        font-size: 18px;
    }

    /* Project Detail Mobile */
    #project-detail {
        padding: 120px 20px 40px 20px;
    }
    
    /* Content Page Mobile */
    main.content-page {
        padding: 140px 20px 80px 20px;
    }

    .project-header {
        max-width: 100%;
        margin-bottom: 60px;
    }

    .project-header h1 {
        font-size: 44px;
        line-height: 1.15;
    }

    .project-intro {
        max-width: 100%;
        margin-bottom: 60px;
    }

    .project-intro h2,
    .project-content h2 {
        font-size: 16px;
        padding-bottom: 15px;
    }

    .project-intro p,
    .project-content p {
        font-size: 18px;
    }
    
    .project-column h2,
    .project-column p {
        font-size: 18px;
    }
    
    .project-column h2 {
        padding-bottom: 15px;
    }

    .project-image {
        margin-bottom: 60px;
    }

    .project-content {
        max-width: 100%;
        margin-bottom: 60px;
    }

    /* Two Columns auf Mobile stapeln */
    .project-two-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Two Images auf Mobile stapeln */
    .project-two-images {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Four Images auf Mobile: 2x2 Grid */
    .project-four-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* CTA Buttons Mobile */
    .project-cta-buttons {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 44px;
        line-height: 1.15;
    }

    .hero p {
        font-size: 18px;
    }

    .portfolio-grid {
        gap: 30px;
    }
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #0a0a0d;
        color: #ffffff;
    }
    
    /* Header */
    header {
        background: #0a0a0d;
    }
    
    .logo,
    .nav-links a,
    .cv-link {
        color: #ffffff;
    }
    
    /* Active State - Weiß im Dark Mode */
    .nav-links a.active {
        border-bottom-color: #ffffff;
    }
    
    .mobile-menu-header .logo {
        color: #ffffff;
    }
    
    .header-icon {
        filter: invert(1) brightness(100);
    }
    
    .mobile-menu-btn::before,
    .mobile-menu-btn::after {
        background-color: #ffffff;
    }
    
    /* Mobile Menu */
    .mobile-menu-overlay {
        background: #0a0a0d;
    }
    
    .mobile-menu-overlay .nav-links a {
        color: #ffffff;
    }
    
    .mobile-menu-footer {
        background: #1a1a1d;
    }
    
    /* Main Content */
    .hero h1,
    .hero p,
    .content-section h1,
    .content-section p,
    .content-section a {
        color: #ffffff;
    }
    
    /* Portfolio */
    .portfolio-item h3 {
        color: #ffffff;
    }
    
    /* Project Detail */
    .project-header h1,
    .project-meta p,
    .project-intro h2,
    .project-intro p,
    .project-content h2,
    .project-content p,
    .project-column h2,
    .project-column p {
        color: #ffffff;
    }
    
    .project-intro h2::after,
    .project-content h2::after,
    .project-column h2::after {
        background-color: #ffffff;
    }
    
    /* Contact Page */
    .contact-hero h1,
    .contact-info h2,
    .contact-info p,
    .contact-info a,
    .contact-info-section a {
        color: #ffffff;
    }
    
    .download-cv {
        border-color: #ffffff;
        color: #ffffff;
    }
    
    .download-cv:hover {
        background: #ffffff;
        color: #0a0a0d;
    }
    
    .cta-button {
        border-color: #ffffff;
        background: #ffffff;
        color: #0a0a0d;
    }
    
    .cta-button:hover {
        background: transparent;
        color: #ffffff;
    }
    
    /* Contributions List Dark Mode */
    .contributions-list dt,
    .contributions-list dd {
        color: #ffffff;
    }
    
    /* Responsibilities List Dark Mode */
    .responsibilities-list li,
    .responsibilities-list li::before {
        color: #ffffff;
    }
    
    /* Footer */
    footer {
        background: #0a0a0d;
    }
    
    footer p,
    footer a {
        color: #ffffff;
    }
    
    /* Cookie Banner Dark Mode */
    .cookie-banner {
        background: #0a0a0d;
        border-top: 1px solid #333;
    }
    
    .cookie-banner p {
        color: #ffffff;
    }
    
    .cookie-buttons button {
        border-color: #ffffff;
        background: #0a0a0d;
        color: #ffffff;
    }
    
    .cookie-buttons button:first-child {
        background: #ffffff;
        color: #0a0a0d;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0a0a0d !important;
    color: #ffffff !important;
    padding: 30px 40px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cookie-banner-content p {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    flex: 1;
    color: #ffffff !important;
}

.cookie-banner a,
.cookie-banner-content a {
    color: #ffffff !important;
    text-decoration: underline;
}

.cookie-banner a:hover,
.cookie-banner-content a:hover {
    opacity: 0.8;
}

.cookie-banner-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #ffffff !important;
    background: none;
}

.cookie-btn-accept {
    background-color: #ffffff !important;
    color: #0a0a0d !important;
}

.cookie-btn-accept:hover {
    background-color: transparent !important;
    color: #ffffff !important;
}

.cookie-btn-decline {
    background-color: transparent !important;
    color: #ffffff !important;
}

.cookie-btn-decline:hover {
    background-color: #ffffff !important;
    color: #0a0a0d !important;
}

/* Cookie Banner Dark Mode */
@media (prefers-color-scheme: dark) {
    .cookie-banner {
        background-color: #ffffff;
        color: #0a0a0d;
    }
    
    .cookie-banner-content p {
        color: #0a0a0d;
    }
    
    .cookie-btn {
        border-color: #0a0a0d;
    }
    
    .cookie-btn-accept {
        background-color: #0a0a0d;
        color: #ffffff;
    }
    
    .cookie-btn-accept:hover {
        background-color: transparent;
        color: #0a0a0d;
    }
    
    .cookie-btn-decline {
        color: #0a0a0d;
    }
    
    .cookie-btn-decline:hover {
        background-color: #0a0a0d;
        color: #ffffff;
    }
}

/* Cookie Banner Mobile */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* Privacy Settings Panel Page */
.privacy-settings-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #0a0a0d !important;
    color: #ffffff !important;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    padding: 40px 0;
}

.privacy-settings-panel.visible {
    transform: translateY(0);
}

.privacy-settings-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.privacy-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    width: 1180px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.privacy-settings-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 31px;
    font-weight: 500;
    line-height: 40px;
    margin: 0;
    color: #ffffff !important;
}

.privacy-settings-close {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #ffffff !important;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: opacity 0.3s;
    padding: 0;
}

.privacy-settings-close:hover {
    opacity: 0.6;
}

.privacy-settings-close .material-symbols-outlined {
    font-size: 20px;
}

.privacy-settings-cards {
    display: grid;
    grid-template-columns: 570px 570px;
    gap: 40px;
    margin-bottom: 40px;
    justify-content: center;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

@media (max-width: 1200px) {
    .privacy-settings-cards {
        grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
        gap: 30px;
        padding: 0 20px;
    }
    
    .privacy-settings-header {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .privacy-settings-buttons {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
}

.privacy-settings-card {
    border: 2px solid #ffffff !important;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.privacy-card-content {
    flex: 1;
}

.privacy-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 28px;
    margin: 0 0 10px 0;
    color: #ffffff !important;
}

.privacy-card-text {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    margin: 0;
    color: #ffffff !important;
}

.privacy-card-link {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.3s;
}

.privacy-card-link:hover {
    opacity: 0.6;
}

.privacy-toggle {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: 5px;
}

.privacy-toggle .toggle-icon {
    width: 40px;
    height: auto;
    display: block;
    transition: all 0.3s;
}

.privacy-toggle:hover .toggle-icon {
    opacity: 0.8;
}

.privacy-toggle-blocked {
    flex-shrink: 0;
    margin-top: 5px;
    opacity: 0.5;
}

.privacy-toggle-blocked .toggle-icon {
    width: 40px;
    height: auto;
    display: block;
}

.privacy-settings-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    width: 1180px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.privacy-btn {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 23px;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #ffffff !important;
}

.privacy-btn-cancel {
    background-color: transparent !important;
    color: #ffffff !important;
}

.privacy-btn-cancel:hover {
    background-color: #ffffff !important;
    color: #0a0a0d !important;
}

.privacy-btn-save {
    background-color: #ffffff !important;
    color: #0a0a0d !important;
}

.privacy-btn-save:hover:not(:disabled) {
    background-color: transparent !important;
    color: #ffffff !important;
}

.privacy-btn-save:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Privacy Settings Dark Mode */
@media (prefers-color-scheme: dark) {
    /* Focus Outline - Weiß im Dark Mode */
    *:focus {
        outline-color: #ffffff;
    }
    
    *:focus-visible {
        outline-color: #ffffff;
    }
    
    .privacy-settings-panel {
        background-color: #ffffff;
        color: #0a0a0d;
    }
    
    .privacy-settings-title,
    .privacy-card-title,
    .privacy-card-text {
        color: #0a0a0d;
    }
    
    .privacy-settings-close {
        color: #0a0a0d;
    }
    
    .privacy-settings-card {
        border-color: #0a0a0d;
    }
    
    .privacy-card-link {
        color: #0a0a0d;
    }
    
    .privacy-btn {
        border-color: #0a0a0d;
    }
    
    .privacy-btn-cancel {
        color: #0a0a0d;
    }
    
    .privacy-btn-cancel:hover {
        background-color: #0a0a0d;
        color: #ffffff;
    }
    
    .privacy-btn-save {
        background-color: #0a0a0d;
        color: #ffffff;
    }
    
    .privacy-btn-save:hover:not(:disabled) {
        background-color: transparent;
        color: #0a0a0d;
    }
}

/* Privacy Settings Mobile */
@media (max-width: 768px) {
    .privacy-settings-panel {
        padding: 30px 0;
    }
    
    .privacy-settings-container {
        padding: 30px 20px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .privacy-settings-title {
        font-size: 24px;
        line-height: 32px;
    }
    
    .privacy-settings-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .privacy-settings-card {
        padding: 15px 20px;
    }
    
    .privacy-card-title {
        font-size: 18px;
    }
    
    .privacy-card-text {
        font-size: 14px;
        line-height: 19px;
    }
    
    .privacy-settings-buttons {
        flex-direction: column-reverse;
        gap: 15px;
        width: 100%;
    }
    
    .privacy-btn {
        width: 100%;
        text-align: center;
        white-space: normal;
        min-height: 48px;
        padding: 12px 20px;
    }
}