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

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    overflow-x: hidden;
    color: #ffffff;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    background-color: #000000;
}

body {
    animation: pageLoad 0.5s cubic-bezier(0.1, 0.5, 0.45, 0.95) forwards;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Purple Gradient Overlay - stronger on left, weaker on right */
.overlay {
    position: fixed;
    opacity: 80%;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #1f0fff;
    background: linear-gradient(145deg, rgba(31, 15, 255, 1) 0%, rgba(149, 0, 255, 0.75) 25%, rgba(111, 0, 255, 0.5) 50%, rgba(191, 0, 255, 0) 75%);
}

.black-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: rgba(0, 0, 0, 0.8);
}

/* Diamond Pattern Overlay */
.pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: url('data:image/svg+xml,<svg width="60" height="80" xmlns="http://www.w3.org/2000/svg"><path d="M 30,0 L 60,40 L 30,80 L 0,40 Z" fill="rgba(255, 255, 255, 0.12)"/></svg>');
    background-size: 30px 40px;
    mask-image: linear-gradient(145deg,rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0) 60%);
    /*-webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.2) 100%);*/
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 2rem;
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);*/
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Navigation */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);*/
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-link {
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.nav-container {
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #a68b51, #c4a76a);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: #a68b51;
}

.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    background: linear-gradient(135deg, #a68b51 0%, #8a7243 100%);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cta:hover {
    background: linear-gradient(135deg, #c4a76a 0%, #a68b51 100%);
    transform: translateY(-2px);
}

.nav-cta svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .main-nav {
        padding: 1rem;
    }

    .nav-container {
        gap: 1rem;
    }

    .nav-logo img {
        height: 40px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 1rem;
    }

    .nav-cta {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }

    .nav-cta svg {
        width: 16px;
        height: 16px;
    }
}

/* Sections */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

.section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-home {
    position: relative;
}

.home-content {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.section-jobs {
    position: relative;
    background: #000000;
}

.section-jobs .container {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(166, 139, 81, 0.5) rgba(0, 0, 0, 0.3);
}

.section-jobs .container::-webkit-scrollbar {
    width: 8px;
}

.section-jobs .container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.section-jobs .container::-webkit-scrollbar-thumb {
    background: rgba(166, 139, 81, 0.5);
    border-radius: 4px;
}

.section-jobs .container::-webkit-scrollbar-thumb:hover {
    background: rgba(166, 139, 81, 0.7);
}

.section-impressum {
    position: relative;
    background: #000000;
}

.section-impressum .container {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(166, 139, 81, 0.5) rgba(0, 0, 0, 0.3);
}

.section-impressum .container::-webkit-scrollbar {
    width: 8px;
}

.section-impressum .container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.section-impressum .container::-webkit-scrollbar-thumb {
    background: rgba(166, 139, 81, 0.5);
    border-radius: 4px;
}

.section-impressum .container::-webkit-scrollbar-thumb:hover {
    background: rgba(166, 139, 81, 0.7);
}

/* Main Container */
.container {
    position: relative;
    width: 100%;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

/* Header */
header {
    padding: 1rem 0;
}

.logo svg {
    filter: drop-shadow(0 4px 12px rgba(147, 51, 234, 0.5));
    transition: transform 0.3s ease;
}

.logo svg:hover {
    transform: scale(1.1);
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.content {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.title {
    font-size: clamp(3rem, 8vw, 4rem);
    font-weight: 800;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line {
    background: linear-gradient(to bottom, #cfc09f 27%, #ffecb3 40%, #3a2c0f 78%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
    position: relative;
}

.title-line::after {
    background: none;
    content: attr(data-heading) / "";
    left: 0;
    top: 0;
    z-index: -1;
    position: absolute;
    text-shadow:
            -1px 0 1px #c6bb9f,
            0 1px 1px #c6bb9f,
            5px 5px 10px rgba(0, 0, 0, 0.4),
            -5px -5px 10px rgba(0, 0, 0, 0.4);
}

/*.title-line {*/
/*    display: block;*/
/*    background: linear-gradient(135deg, #FFD700 0%, #FFED4E 25%, #C5A028 50%, #FFD700 75%, #FFED4E 100%);*/
/*    -webkit-background-clip: text;*/
/*    -webkit-text-fill-color: transparent;*/
/*    background-clip: text;*/
/*}*/

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: #e9d5ff;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.countdown-value {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.subtitle span {
    background: linear-gradient(135deg, #a68b51 0%, #c4a76a 25%, #8a7243 50%, #a68b51 75%, #c4a76a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.countdown-label {
    font-size: 0.875rem;
    color: #fff;
}

/* Scroll Indicator */
.scroll-indicator {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 1s ease-out 1s both;
}

.scroll-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.scroll-link:hover {
    color: #ffffff;
    transform: translateY(5px);
}

.scroll-link svg {
    animation: bounce 2s infinite;
}

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

/* CTA Link */
.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #a68b51;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1rem 2rem;
    background: rgba(166, 139, 81, 0.1);
    border: 2px solid rgba(166, 139, 81, 0.3);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.cta-link:hover {
    background: rgba(166, 139, 81, 0.2);
    border-color: rgba(166, 139, 81, 0.6);
    transform: translateX(5px);
}

.cta-link svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-link:hover svg {
    transform: translateX(5px);
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    animation: fadeIn 1s ease-out 1s both;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.social-link {
    color: #e9d5ff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #9333ea, #c084fc);
    transition: width 0.3s ease;
}

.social-link:hover {
    color: #ffffff;
}

.social-link:hover::after {
    width: 100%;
}

.copyright {
    color: rgba(233, 213, 255, 0.6);
    font-size: 0.875rem;
}

/* Job Section */
.job-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 0;
}

.job-title {
    font-family: 'Inter', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #a68b51 0%, #c4a76a 25%, #8a7243 50%, #a68b51 75%, #c4a76a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.job-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(166, 139, 81, 0.2);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 30px rgba(166, 139, 81, 0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(166, 139, 81, 0.2);
}

.job-header h3 {
    font-family: 'Inter', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.job-type {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #a68b51 0%, #8a7243 100%);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000000;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.job-section h4 {
    font-family: 'Inter', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #a68b51;
    margin-bottom: 1rem;
}

.job-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.job-section ul {
    list-style: none;
    padding: 0;
}

.job-section ul li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
}

.job-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #a68b51;
    font-weight: bold;
}

.job-apply {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(166, 139, 81, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-contact {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin: 0;
}

.job-company {
    color: #a68b51;
    font-size: 1.125rem;
    margin: 0;
}

.apply-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, #a68b51 0%, #8a7243 100%);
    color: #000000;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(166, 139, 81, 0.4);
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(166, 139, 81, 0.6);
    background: linear-gradient(135deg, #c4a76a 0%, #a68b51 100%);
}

.scroll-to-next {
    text-align: center;
    margin-top: 3rem;
}

.back-to-top {
    text-align: center;
    margin-top: 3rem;
}

.back-to-top .scroll-link {
    flex-direction: column-reverse;
}

.back-to-top .scroll-link svg {
    animation: bounceUp 2s infinite;
}

@keyframes bounceUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Impressum Section */
.impressum-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 0;
}

.impressum-title {
    font-family: 'Inter', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #a68b51 0%, #c4a76a 25%, #8a7243 50%, #a68b51 75%, #c4a76a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impressum-card {
    background: rgba(17, 24, 39, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(166, 139, 81, 0.2);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 30px rgba(166, 139, 81, 0.1);
}

.impressum-section {
    margin-bottom: 2.5rem;
}

.impressum-section:last-child {
    margin-bottom: 0;
}

.impressum-section h3 {
    font-family: 'Inter', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #a68b51;
    margin-bottom: 1rem;
}

.impressum-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.impressum-section p:last-child {
    margin-bottom: 0;
}

.impressum-section strong {
    color: #ffffff;
    font-weight: 600;
}

/* Animations */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: scale(1.05);
        transform-origin: center center;
    }
    to {
        opacity: 1;
        transform: scale(1);
        transform-origin: center center;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-content {
        padding: 1.5rem;
    }

    .container {
        padding: 1.5rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .overlay {
        background: linear-gradient(to bottom,
            rgba(55, 15, 85, 0.95) 0%,
            rgba(75, 25, 140, 0.90) 25%,
            rgba(88, 28, 135, 0.85) 50%,
            rgba(109, 40, 217, 0.80) 75%,
            rgba(124, 58, 237, 0.70) 100%
        );
    }

    .job-card {
        padding: 2rem 1.5rem;
    }

    .job-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .job-header h3 {
        font-size: 1.5rem;
    }

    .impressum-card {
        padding: 2rem 1.5rem;
    }

    .impressum-section h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .home-content {
        padding: 1rem;
    }

    .container {
        padding: 1rem;
    }

    .title {
        margin-bottom: 1.5rem;
    }

    .subtitle {
        margin-bottom: 2rem;
    }

    .pattern {
        opacity: 0.12;
    }

    .countdown {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .countdown-item {
        padding: 1rem 1.25rem;
        min-width: calc(50% - 0.75rem);
    }

    .countdown-separator {
        display: none;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
