:root {
    --bg-color: #000000;
    --surface-color: #0a0a0a;
    --surface-color-elevated: #141414;
    --surface-color-hover: #1a1a1a;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --accent-color: #0071e3;
    --accent-glow: rgba(0, 113, 227, 0.4);
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    
    --container-width: 1200px;
    --border-radius-lg: 28px;
    --border-radius-md: 18px;
    --border-radius-sm: 12px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset für fixed navbar + extra Abstand */
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-stack);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* Typography */
h1, h2, h3 { font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.section-title { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 2rem; }
.badge { 
    display: inline-block; 
    color: var(--accent-color); 
    font-weight: 500; 
    font-size: 0.875rem; 
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem; 
}

/* Layout */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 120px 0; }

/* Glass Effect */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
}

.glass-pill {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.glass-pill:hover {
    background: rgba(255,255,255,0.15);
    color: var(--text-primary);
}

/* ================== NAVBAR ================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 60px;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 600; font-size: 1.1rem; color: var(--text-primary); text-decoration: none; align-self: flex-start; padding-top: 6px; }

/* Small site logo placed top-left inside navbar */
.site-logo {
    display: block;
    max-height: 36px; /* much smaller so it fits inside the navbar */
    width: auto;
    height: auto;
}
.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: var(--transition-fast); }
.nav-links a:hover { color: var(--text-primary); }

/* Social section styles */
.contact-social { display: flex; gap: 12px; position: absolute; left: 50%; transform: translateX(-50%); bottom: 18px; }
.contact-social .social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.04); transition: transform 0.16s ease; }
.contact-social .social-link:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.45); }
/* size social images/svg inside the link */
.contact-social .social-link svg { width: 24px; height: 24px; display: block; }
.contact-social .social-link img.social-img { height: 24px; width: auto; display: block; object-fit: contain; }

/* Hamburger Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* Hamburger Animation when open */
.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    
    .nav-links a {
        display: block;
        padding: 20px 40px;
        font-size: 1.5rem;
        font-weight: 500;
        color: var(--text-primary);
    }
    
    .nav-links a:hover {
        color: var(--accent-color);
    }
}

/* Mobile: place social icons below contact card and center them */
@media (max-width: 720px) {
    .contact-social {
        position: static;
        left: auto;
        transform: none;
        bottom: auto;
        margin-top: 20px;
        justify-content: center;
        pointer-events: auto;
    }
    .contact-social .social-link { margin: 0 8px; }
    .contact-wrapper { padding-bottom: 40px; }
}

/* ================== HERO (Home) ================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.9) 80%, #000 100%);
}

.hero-content { position: relative; z-index: 2; padding-top: 60px; }

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-sub { font-size: clamp(1rem, 2.5vw, 1.5rem); color: var(--text-secondary); max-width: 600px; margin: 0 auto 3rem; font-weight: 400; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: 100px; text-decoration: none;
    font-weight: 500; font-size: 1rem; transition: var(--transition-smooth);
    border: none; cursor: pointer;
}

.btn-primary { background: var(--text-primary); color: #000; }
.btn-primary:hover { transform: scale(1.03); box-shadow: 0 10px 30px rgba(255,255,255,0.2); }

.btn-secondary { background: transparent; color: var(--text-primary); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

/* ================== BENTO GRID (Home Services) ================== */
.bento-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* center rows and last line */
    align-items: flex-start;
}

.service-card {
    background: var(--surface-color-elevated);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
    text-decoration: none;
    color: inherit;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
    min-height: 280px;
    flex: 0 0 340px; /* fixed card basis for flex layout */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.service-card:hover::before { opacity: 1; }

.icon-placeholder {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
    border: 1px solid var(--glass-border);
}

.service-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-card > p { color: var(--text-secondary); font-size: 1rem; line-height: 1.6; flex-grow: 1; }

.card-arrow {
    position: absolute;
    bottom: 28px; right: 28px;
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-smooth);
    color: var(--accent-color);
}

.service-card:hover .card-arrow { opacity: 1; transform: translateX(0); }

/* About */
.about-card {
    background: var(--surface-color-elevated);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    border: 1px solid var(--glass-border);
}

.text-content { font-size: 1.35rem; color: var(--text-secondary); line-height: 1.7; max-width: 800px; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Career job list styles */
.job-list { display: grid; gap: 14px; }
.job-item { background: var(--surface-color-elevated); padding: 18px; border-radius: 14px; border: 1px solid var(--glass-border); }
.job-item .job-title { font-size: 1.125rem; margin-bottom: 8px; cursor: pointer; }
.job-desc { margin-top: 8px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.5; }
.job-desc p { margin: 0 0 8px 0; }
.job-desc em { color: var(--text-primary); font-style: normal; font-weight: 600; }

/* Job card summary & expectations */
.job-card { display: flex; flex-direction: column; gap: 10px; }
.job-badges { display: flex; gap: 8px; margin-top: 6px; }
.job-summary { color: var(--text-secondary); font-size: 1rem; margin-top: 4px; }
.job-expectations { margin: 6px 0 12px 1.1rem; color: var(--text-secondary); }
.job-expectations li { margin-bottom: 6px; }

.contact-wrapper {
    background: var(--surface-color-elevated);
    border-radius: var(--border-radius-lg);
    padding: 60px 60px 92px;
    text-align: center;
    border: 1px solid var(--glass-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; font-size: 1.25rem; }
.contact-details a { color: var(--text-primary); text-decoration: none; transition: var(--transition-fast); }
.contact-details a:hover { color: var(--accent-color); }
.contact-details p { color: var(--text-secondary); }

/* Google Maps Styling */
.contact-map-wrapper {
    background: var(--surface-color-elevated);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    height: 100%;
    min-height: 450px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    background: var(--surface-color);
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: var(--border-radius-md) !important;
    display: block !important;
    /* Dark mode filter - macht Google Maps dunkel */
    filter: invert(0.92) hue-rotate(180deg) contrast(0.85) saturate(0.7) brightness(0.95) !important;
    transition: all 0.4s ease !important;
}

.map-container iframe:hover {
    filter: invert(0.92) hue-rotate(180deg) contrast(0.95) saturate(0.85) brightness(1) !important;
}

/* Eleganter Rahmen um die Karte */
.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    border-radius: var(--border-radius-md);
    border: 2px solid var(--glass-border);
    z-index: 1;
}

/* Subtiler Glow-Effekt */
.map-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    pointer-events: none;
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, 
        rgba(0, 113, 227, 0.1) 0%, 
        transparent 50%, 
        rgba(0, 113, 227, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.contact-map-wrapper:hover .map-container::after {
    opacity: 1;
}

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--glass-border); color: var(--text-secondary); font-size: 0.9rem; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: var(--transition-fast); }
.footer-links a:hover { color: var(--text-primary); }

/* ================== SERVICE SUBPAGE ================== */

/* Fullscreen Hero */
.service-hero-fullscreen {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.service-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0.6) 50%,
        rgba(0,0,0,0.95) 90%,
        #000 100%
    );
    z-index: 1;
}

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 80px;
}

.service-hero-content .back-link {
    margin-bottom: 40px;
    display: inline-block;
}

.service-hero-icon {
    width: 100px; height: 100px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    margin: 0 auto 32px;
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
    backdrop-filter: blur(20px);
}

.service-main-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero-sub {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px; height: 24px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    margin: 8px auto 0;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Bento Detail Layout */
.service-bento {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-main {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
    background: var(--surface-color-elevated);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    border: 1px solid var(--glass-border);
}

.service-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.bento-image {
    grid-column: 8 / 13;
    grid-row: 1 / 3;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

.bento-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bento-image:hover img { transform: scale(1.05); }

/* ================== IMAGE CAROUSEL ================== */
.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-wrapper:hover .carousel-slide.active img {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-wrapper:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 16px;
}

.carousel-next {
    right: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}

.carousel-dot.active {
    background: var(--text-primary);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.bento-features {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
    background: var(--surface-color-elevated);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    border: 1px solid var(--glass-border);
}

.bento-features h3 { font-size: 1.25rem; margin-bottom: 20px; color: var(--text-primary); }

.bento-features ul { list-style: none; }

.bento-features li {
    padding: 14px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.bento-features li:last-child { border-bottom: none; }
.bento-features li:hover { color: var(--text-primary); padding-left: 8px; }

.bento-features li::before {
    content: "→";
    color: var(--accent-color);
    margin-right: 12px;
    font-weight: bold;
}

.bento-cta {
    grid-column: 5 / 8;
    grid-row: 2 / 3;
    background: linear-gradient(135deg, var(--accent-color), #005bb5);
    border-radius: var(--border-radius-lg);
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bento-cta p { font-size: 1.1rem; margin-bottom: 20px; color: rgba(255,255,255,0.9); }
.bento-cta .btn-primary { background: #fff; color: var(--accent-color); }
.bento-cta .btn-primary:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* Other Services */
.other-services { background: var(--surface-color); }
.other-services .section-title { text-align: center; margin-bottom: 48px; }

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

/* Back-link placement under Other Services */
.back-link-container {
    text-align: center;
    margin-top: 36px;
}
.back-link-container .back-link {
    display: inline-block;
    margin: 0 auto;
    padding: 8px 18px;
}

.other-service-card {
    background: var(--surface-color-elevated);
    border-radius: var(--border-radius-md);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.other-service-card:hover {
    background: var(--surface-color-hover);
    transform: translateY(-4px);
    border-color: var(--accent-color);
}

.other-service-icon { font-size: 2rem; margin-bottom: 12px; }
.other-service-card h4 { font-size: 1rem; font-weight: 500; }

/* ================== EASTER EGGS - PREMIUM ================== */

.easter-egg-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Light - Spotlight Following Mouse */
.spotlight-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.spotlight {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.1s ease-out;
    mix-blend-mode: screen;
}

/* ================== COOKIE BANNER ================== */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 20px;
    z-index: 99999; /* ensure banner sits above other content */
    display: flex;
    justify-content: center;
    pointer-events: none;
}
.cookie-banner[aria-hidden="false"] { pointer-events: auto; }

.cookie-inner {
    background: linear-gradient(180deg, rgba(10,10,10,0.95), rgba(12,12,12,0.95));
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 18px;
    border-radius: 14px;
    max-width: 1100px;
    width: 100%;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: 0 18px 60px rgba(0,0,0,0.6);
}

.cookie-text { flex: 1 1 60%; }
.cookie-text h3 { margin-bottom: 6px; font-size: 1.1rem; }
.cookie-text p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 8px; }
.cookie-text a { color: var(--accent-color); text-decoration: underline; }
.cookie-link { background: none; border: none; color: var(--text-secondary); text-decoration: underline; font-size: 0.95rem; cursor: pointer; }

.cookie-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 14px; border-radius: 10px; }

.cookie-settings { display: none; margin-top: 12px; border-top: 1px dashed rgba(255,255,255,0.04); padding-top: 12px; }
.cookie-settings[aria-hidden="false"] { display: block; }
.cookie-settings h4 { margin-bottom: 8px; }
.cookie-settings label { display: block; margin: 8px 0; color: var(--text-secondary); font-size: 0.95rem; }
.cookie-settings input[type="checkbox"] { margin-right: 8px; }
.cookie-settings-actions { display: flex; gap: 8px; margin-top: 12px; }

@media (max-width: 720px) {
    .cookie-inner { flex-direction: column; align-items: stretch; padding: 14px; }
    .cookie-actions { justify-content: flex-end; }
}

.spotlight-1 {
    background: radial-gradient(circle, rgba(255,100,100,0.15) 0%, transparent 60%);
}

.spotlight-2 {
    background: radial-gradient(circle, rgba(100,100,255,0.15) 0%, transparent 60%);
}

.spotlight-3 {
    background: radial-gradient(circle, rgba(100,255,150,0.12) 0%, transparent 60%);
}

/* Sound - Waveform */
.waveform-container {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 200px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    opacity: 0.15;
}

.wave-bar {
    width: 4px;
    background: linear-gradient(to top, var(--accent-color), var(--text-primary));
    border-radius: 2px;
    transition: height 0.15s ease;
}

/* Stage - Grid */
.stage-grid {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform-origin: center;
    transition: transform 0.1s ease-out;
}

/* Video - Scanlines */
.scanlines {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.1) 2px,
        rgba(0,0,0,0.1) 4px
    );
    animation: scanline-move 8s linear infinite;
    opacity: 0.5;
}

@keyframes scanline-move {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

/* Fun - Confetti */
.confetti-piece {
    position: absolute;
    width: 10px; height: 10px;
    opacity: 0.6;
}

/* Furniture - Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float-around 20s infinite ease-in-out;
}

@keyframes float-around {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(0, -50px) rotate(180deg); }
    75% { transform: translate(-30px, -30px) rotate(270deg); }
}

/* ================== LEGAL PAGE ================== */

.legal-page { padding-top: 120px; }

.legal-page .back-link { display: inline-block; margin-bottom: 40px; }

.legal-card {
    background: var(--surface-color-elevated);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    border: 1px solid var(--glass-border);
    max-width: 900px;
}

.legal-main-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.legal-body h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-body h3 {
    font-size: 1.2rem;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-body p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ================== MOBILE ================== */
@media (max-width: 900px) {
    .service-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .bento-main, .bento-image, .bento-features, .bento-cta {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    
    .bento-image { min-height: 300px; }
}

@media (max-width: 768px) {
    /* ===== LAYOUT & TYPOGRAPHY ===== */
    .container { padding: 0 16px; }
    .section-padding { padding: 80px 0; }
    .section-title { font-size: 1.75rem; }
    
    /* ===== NAVBAR ===== */
    .navbar { height: 56px; }
    /* keep .nav-links visible for mobile via the mobile-nav styles above */
    .nav-links { display: flex; }
    .logo { font-size: 1rem; }
    
    /* ===== HERO ===== */
    .hero { min-height: 100svh; } /* svh für mobile Browser */
    .hero-content { padding: 80px 16px 40px; }
    .hero h1 { 
        font-size: 2.5rem; 
        margin-bottom: 1rem;
        line-height: 1.1;
    }
    .hero-sub { 
        font-size: 1rem; 
        margin-bottom: 2rem;
        padding: 0 8px;
    }
    .hero-buttons { 
        flex-direction: column; 
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    .btn {
        padding: 16px 24px;
        font-size: 0.95rem;
        width: 100%;
    }
    
    /* ===== SERVICES GRID ===== */
    .bento-grid { 
        grid-template-columns: 1fr; 
        gap: 16px;
    }
    .service-card {
        padding: 28px;
        min-height: auto;
        border-radius: 20px;
    }
    .service-card h3 { font-size: 1.3rem; }
    .service-card > p { font-size: 0.95rem; }
    .icon-placeholder {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        margin-bottom: 16px;
    }
    .card-arrow { bottom: 20px; right: 20px; }
    
    /* ===== ABOUT ===== */
    .about-card { 
        padding: 28px; 
        border-radius: 20px;
    }
    .text-content { font-size: 1.1rem; }
    
    /* ===== CONTACT ===== */
    .contact-grid { 
        grid-template-columns: 1fr; 
        gap: 16px;
    }
    .contact-wrapper { 
        padding: 28px;
        border-radius: 20px;
    }
    .contact-details { 
        font-size: 1rem; 
        gap: 12px;
    }
    .contact-map-wrapper { 
        min-height: 280px;
        padding: 16px;
        border-radius: 20px;
    }
    .map-container { min-height: 250px; }
    
    /* ===== FOOTER ===== */
    .footer { padding: 24px 0; }
    .footer-content { 
        flex-direction: column; 
        gap: 16px; 
        text-align: center; 
    }
    .footer-links { gap: 16px; }
    
    /* ===== SERVICE SUBPAGE ===== */
    .service-hero-fullscreen { min-height: 100svh; }
    .service-hero-content { 
        padding: 100px 16px 60px;
    }
    .service-hero-content .back-link {
        margin-bottom: 24px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .service-hero-icon {
        width: 72px;
        height: 72px;
        font-size: 2rem;
        border-radius: 20px;
        margin-bottom: 20px;
    }
    .service-main-title { font-size: 2rem; }
    .service-hero-sub { 
        font-size: 0.95rem;
        padding: 0 8px;
    }
    .scroll-indicator { 
        bottom: 24px;
        font-size: 0.75rem;
    }
    .scroll-arrow {
        width: 18px;
        height: 18px;
    }
    
    /* ===== BENTO DETAIL (Service Page) ===== */
    .service-detail { padding: 60px 0; }
    .bento-main {
        padding: 24px;
        border-radius: 20px;
    }
    .service-description { font-size: 1rem; }
    .bento-image { 
        min-height: 220px;
        border-radius: 20px;
    }
    .bento-features {
        padding: 24px;
        border-radius: 20px;
    }
    .bento-features h3 { font-size: 1.1rem; }
    .bento-features li {
        padding: 12px 0;
        font-size: 0.9rem;
    }
    .bento-cta {
        padding: 28px;
        border-radius: 20px;
    }
    .bento-cta p { font-size: 1rem; }
    
    /* ===== CAROUSEL ===== */
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
        opacity: 1; /* Immer sichtbar auf Mobile */
    }
    .carousel-prev { left: 8px; }
    .carousel-next { right: 8px; }
    .carousel-dots { bottom: 12px; }
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    /* ===== OTHER SERVICES ===== */
    .other-services { padding: 60px 0; }
    .other-services .section-title { 
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    .other-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .other-service-card {
        padding: 16px;
        border-radius: 16px;
    }
    .other-service-icon { font-size: 1.5rem; margin-bottom: 8px; }
    .other-service-card h4 { font-size: 0.85rem; }
    
    /* ===== LEGAL PAGE ===== */
    .legal-page { padding-top: 80px; }
    .legal-card { 
        padding: 24px; 
        border-radius: 20px;
    }
    .legal-main-title { 
        font-size: 1.75rem;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    .legal-body h2 { 
        font-size: 1.25rem;
        margin-top: 28px;
    }
    .legal-body h3 { font-size: 1.05rem; }
    .legal-body p { font-size: 0.9rem; }
}

/* ===== EXTRA SMALL DEVICES (< 400px) ===== */
@media (max-width: 400px) {
    .hero h1 { font-size: 2rem; }
    .hero-sub { font-size: 0.9rem; }
    .btn { padding: 14px 20px; font-size: 0.9rem; }
    .service-card { padding: 20px; }
    .service-card h3 { font-size: 1.15rem; }
    .other-services-grid { grid-template-columns: 1fr; }
    .service-main-title { font-size: 1.75rem; }
    .bento-main, .bento-features, .bento-cta { padding: 20px; }
    .contact-wrapper { padding: 20px; }
}

/* Career page styles */
.career-header { text-align: center; padding-top: 40px; margin-bottom: 24px; }
.career-slogan { color: var(--text-secondary); margin-top: 8px; max-width: 800px; margin-left: auto; margin-right: auto; }
.career-hero-fullscreen {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.career-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../assets/images/crafter.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.career-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.95) 100%);
    z-index: 1;
}

.career-hero-content { position: relative; z-index: 2; text-align: center; padding-top: 80px; }

.career-section { display: flex; justify-content: center; padding: 80px 0; }
.career-card { width: 100%; max-width: 1100px; border-radius: var(--border-radius-lg); padding: 56px; display: flex; flex-direction: column; gap: 24px; margin: 0; position: relative; z-index: 3; box-shadow: 0 36px 80px rgba(0,0,0,0.65); margin-top: -120px; min-height: 320px; }
.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface-color-elevated); padding: 18px; border-radius: var(--border-radius-md); border: 1px solid var(--glass-border); transition: transform 0.25s cubic-bezier(.2,.9,.2,1), box-shadow 0.25s ease, background 0.2s; transform-origin: center; }

/* Badges inside career card (attributes like Ab Sofort, Vollzeit etc.) */
.job-badges { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; justify-content: center; align-items: center; }
.badge-mini { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); color: var(--text-primary); font-size: 1rem; }
.badge-mini:hover { background: rgba(255,255,255,0.06); transform: translateY(-2px); transition: transform 160ms ease; }

.job-item .job-info { display: flex; flex-direction: column; gap: 6px; }

/* job-desc removed per user request */

/* Mobile adjustments for career layout to avoid excessive overlap */
@media (max-width: 768px) {
    .career-hero-fullscreen { min-height: 60vh; }
    .career-hero-content { padding-top: 40px; }
    .career-card {
        max-width: 96%;
        padding: 20px;
        margin-top: -40px; /* less overlap on mobile */
        box-shadow: 0 18px 40px rgba(0,0,0,0.5);
        min-height: auto;
        border-radius: 16px;
    }

    .job-item { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; }
    .job-info { margin-bottom: 6px; }
    /* job-desc removed per user request */
    .job-meta { opacity: 1; max-height: 48px; }
    .job-item .btn { width: 100%; align-self: stretch; }
    .career-hero-bg { transform: scale(1.02); }
}
.job-item:hover, .job-item:focus-within { transform: translateY(-6px) scale(1.03); box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
.job-info h3 { margin-bottom: 6px; }
.job-meta { color: var(--text-secondary); font-size: 0.95rem; opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.2s ease, max-height 0.25s ease; margin: 0; }
.job-item:hover .job-meta, .job-item:focus-within .job-meta { opacity: 1; max-height: 48px; }

@media (max-width: 768px) {
    .job-item { flex-direction: column; align-items: flex-start; }

    /* Career form responsive adjustments (mobile) */
    .career-form { grid-template-columns: 1fr; gap: 12px; }
}

/* Career form styles */
.career-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}
.career-form input[type="text"],
.career-form input[type="email"],
.career-form select,
.career-form textarea,
.career-form input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.02);
    color: var(--text-primary);
    font-size: 0.98rem;
    outline: none;
    transition: box-shadow 0.15s ease, transform 0.08s ease;
}
.career-form select {
    /* Ensure the select control and its dropdown are dark with readable text */
    background: rgba(255,255,255,0.02);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 12px 40px 12px 14px;
    border-radius: 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.35) 50%), linear-gradient(135deg, rgba(255,255,255,0.35) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 13px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}
.career-form select:focus { box-shadow: 0 6px 20px rgba(0,113,227,0.12); border-color: rgba(0,113,227,0.25); }
.career-form select option {
    background: var(--surface-color);
    color: var(--text-primary);
}

/* Fallback for IE/Edge arrow */
.career-form select::-ms-expand { display: none; }
.career-form textarea { min-height: 140px; resize: vertical; grid-column: 1 / -1; }
.career-form label { display: block; color: var(--text-secondary); font-size: 0.95rem; }
.career-form .file-label { display: flex; flex-direction: column; gap: 8px; }
.career-form input[type="file"] { padding: 8px; }
.career-form input:focus, .career-form select:focus, .career-form textarea:focus { box-shadow: 0 6px 20px rgba(0,113,227,0.12); border-color: rgba(0,113,227,0.25); }
.career-form button[type="submit"] {
    grid-column: 1 / -1;
    justify-self: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    background: linear-gradient(90deg, var(--accent-color), #005bb5);
    border: none;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0,87,180,0.18);
    cursor: pointer;
}
.career-form button[type="submit"]:hover { transform: translateY(-3px); }

/* Make the first two inputs sit side-by-side on desktop */
.career-form input[name="name"], .career-form input[name="email"] { width: 100%; }

/* Ensure file label looks neat */
.career-form .file-info { font-size: 0.9rem; color: var(--text-secondary); }

/* GDPR note under application form */
.gdpr-note {
    grid-column: 1 / -1;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 6px;
}
.gdpr-note a { color: var(--accent-color); text-decoration: underline; }

    .job-item .btn { align-self: stretch; text-align: center; }
    /* On small screens we show the meta always so users can see availability */
    .job-meta { opacity: 1; max-height: 48px; }



/* Button hover animation for career apply buttons */
.job-item .btn {
    transition: transform 0.18s cubic-bezier(.2,.9,.2,1), box-shadow 0.18s ease, background-color 0.18s ease;
}
.job-item .btn:hover,
.job-item .btn:focus {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.55);
}
.job-item .btn:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
}

/* ensure good contrast on hover for primary buttons */
.job-item .btn-primary:hover {
    background: #ffffff; color: #000000;
}
/* Ensure inner container accepts pointer events when banner visible */
.cookie-inner { pointer-events: auto; }