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

body {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: radial-gradient(circle at top right, #2a3447, #151b2b, #0b0f19);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    color: #e2e8f0;
}

.top-nav {
    display: flex;
    align-items: center;
    background: rgba(20, 27, 45, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    gap: 10px;
    z-index: 10;
    flex-shrink: 0;
}

.nav-logo {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    flex: 1;
}

.nav-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
    height: 36px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.content-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 10px;
    overflow: hidden;
}

.card {
    position: relative;
    background: rgba(45, 55, 75, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%; 
    max-width: none; 
    height: 100%; 
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.tab-content {
    display: none; 
    width: 100%;
    height: 100%;
    position: relative;
}

.tab-content.active {
    display: flex; 
    flex-direction: column;
}

.slider-viewport {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    scroll-snap-type: y mandatory; 
    scroll-behavior: smooth;
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.slider-viewport::-webkit-scrollbar { 
    display: none; 
}

.slide-item {
    width: 100%;
    height: 100%;
    scroll-snap-align: start; 
    display: flex;
    align-items: center;
    padding: 40px 90px 40px 70px; 
    gap: 60px;
    flex-shrink: 0;
}

.info-slide-item {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.info-text-centered {
    max-width: 700px;
    text-align: center;
    align-items: center;
}

.card-image-wrapper {
    flex: 1.1;
    height: 82%;
    max-height: 520px; 
    background: rgba(20, 27, 45, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Zoom-Effekt für Bilder */
.zoomable-img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.zoomable-img.zoomed {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.4);
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    z-index: 9999;
    cursor: zoom-out;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    padding: 10px;
}

.card-text-wrapper {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-text-wrapper h2 {
    font-size: 2.2rem;
    letter-spacing: 1.5px;
    color: #ffffff;
    font-weight: 800;
}

.card-text-wrapper p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cbd5e1;
}

.card-text-wrapper strong {
    color: #ffffff;
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.btn-buy, .btn-manual {
    display: inline-block;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn-buy {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-buy:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-manual {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-manual:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
}

.slider-indicator {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 130px;
    justify-content: space-between;
    pointer-events: auto;
}

.indicator-line {
    position: absolute;
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    z-index: 1;
    border-radius: 2px;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    z-index: 2;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    width: 16px;
    height: 16px;
    background: #ffffff;
    border: 3px solid #3b82f6;
    box-shadow: 0 0 12px #3b82f6;
}

.hidden-checkbox {
    display: none;
}

.taskbar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); 
    width: calc(100% - 20px); 
    max-width: 500px; 
    height: 38px;
    background-color: #1e293b; 
    color: #cbd5e1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    z-index: 100; 
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s, color 0.3s;
}

.taskbar:hover {
    background-color: #334155;
    color: #ffffff;
}

.imprint-panel,
.privacy-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background-color: rgba(15, 23, 42, 0.96); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transform: translateY(100%); 
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.imprint-panel {
    z-index: 99;
}
.privacy-panel {
    z-index: 105; 
}

#imprint-toggle:checked ~ .imprint-panel {
    transform: translateY(0);
}
#privacy-toggle:checked ~ .privacy-panel {
    transform: translateY(0);
}

.panel-content {
    max-width: 800px;
    width: 100%;
    max-height: 85vh; 
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto; 
    padding: 30px;
    background-color: #0f172a;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.panel-content::-webkit-scrollbar {
    width: 6px;
}
.panel-content::-webkit-scrollbar-thumb {
    background-color: #475569;
    border-radius: 3px;
}

.panel-content h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
    color: #ffffff;
}

.panel-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: #94a3b8;
}

.scroll-text {
    text-align: left;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin: 5px 0;
}

.btn-wrapper {
    margin-top: 10px;
}

.btn-action {
    display: inline-block;
    background-color: #ffffff;
    color: #0f172a;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    border: none;
}

.btn-action:hover {
    background-color: #e2e8f0;
    transform: scale(1.05);
}

.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-modal-content {
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    color: #ffffff;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    padding: 30px;
    background-color: #0f172a;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    position: relative;
}

.contact-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s;
}

.contact-close-btn:hover {
    color: #ffffff;
}

.contact-modal-content h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 10px;
    color: #ffffff;
    letter-spacing: 1px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 600;
}

#modal-title-label {
    font-size: 1.1rem;
    color: #3b82f6;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.contact-modal-content .btn-wrapper {
    text-align: center;
    margin-top: 10px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 40px; 
    }

    .content-container {
        padding: 4px; 
    }

    .card {
        height: 100%; 
        border-radius: 8px;
    }

    .slider-viewport {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
    }

    .slide-item {
        flex-direction: column;
        padding: 10px 14px;
        gap: 10px;
        justify-content: flex-start;
        min-width: 100%;
        height: 100%;
    }

    .card-image-wrapper {
        height: auto;
        flex: 0 0 160px;
        width: 100%;
        max-height: none;
    }

    .card-text-wrapper {
        flex: 1;
        gap: 6px;
        overflow-y: auto;
        max-height: calc(100% - 170px);
    }

    .card-text-wrapper h2 {
        font-size: 1.15rem;
        text-align: center;
    }

    .card-text-wrapper p {
        font-size: 0.82rem;
        text-align: center;
        line-height: 1.4;
    }

    .action-buttons {
        flex-direction: column; 
        width: 100%;
        gap: 6px;
        margin-top: auto;
        padding-bottom: 5px;
    }

    .btn-buy, .btn-manual {
        width: 100%;
        padding: 8px;
        font-size: 0.85rem;
    }

    .slider-indicator {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        width: 100%;
        height: 25px;
        justify-content: center;
        gap: 12px;
        background: rgba(15, 23, 42, 0.4);
        flex-shrink: 0;
    }

    .indicator-line {
        display: none; 
    }

    .indicator-dot {
        width: 8px;
        height: 8px;
    }

    .indicator-dot.active {
        width: 12px;
        height: 12px;
    }

    .nav-tabs .tab-btn {
        padding: 6px 10px;
        font-size: 0.62rem;
        letter-spacing: 0.5px;
        height: 36px;
    }
}
