/* HENX3D - Ocean Theme: DEEP SEA */

/* SCOPED Variables - nur aktiv wenn theme-ocean */
.theme-ocean {
    --ocean-teal: #00bfa5;
    --ocean-teal-light: #4dd0c5;
    --ocean-cyan: #00e5ff;
    --ocean-deep: #0d1b2a;
    --ocean-mid: #1b2838;
    --ocean-surface: #2d3e50;
    --ocean-coral: #ff6b6b;
    --ocean-text: #e0f2f1;
    --ocean-text-dim: #80cbc4;
    --ocean-border: rgba(0, 191, 165, 0.2);


    
    /* Customer Dashboard Kompatibilität */
    --card-bg: #0c4a6e;
    --text-color: #e0f2fe;
    --text-muted: #7dd3fc;
    --border-color: rgba(14, 165, 233, 0.2);
    --light-bg: rgba(14, 165, 233, 0.1);
    --primary-color: #0ea5e9;
    --color-primary: #0ea5e9;

    background: var(--ocean-deep);
    color: var(--ocean-text);
    font-family: "Outfit", "Inter", system-ui, sans-serif;
    position: relative;
    overflow-x: hidden;
}

/* UNDERWATER GRADIENT MESH */
.theme-ocean::before {
    content: "";
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 10% 90%, rgba(0, 191, 165, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0, 191, 165, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: underwaterGlow 10s ease-in-out infinite alternate;
}

@keyframes underwaterGlow {
    0% { opacity: 0.7; filter: hue-rotate(0deg); }
    100% { opacity: 1; filter: hue-rotate(15deg); }
}

/* BUBBLES */
.theme-ocean::after {
    content: "○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○ ○";
    position: fixed;
    bottom: -20px;
    left: 0;
    width: 200%;
    font-size: 12px;
    color: rgba(0, 191, 165, 0.3);
    letter-spacing: 60px;
    animation: bubbles 15s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes bubbles {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(-50px); opacity: 0; }
}

.theme-ocean main {
    background-color: transparent !important;
    position: relative;
    z-index: 2;
}

/* TYPOGRAPHY */
.theme-ocean h1, .theme-ocean h2, .theme-ocean h3 {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.theme-ocean .section-subtitle {
    font-family: "Outfit", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ocean-teal-light);
}

/* HERO */
.theme-ocean .hero-title {
    background: linear-gradient(135deg, var(--ocean-text) 0%, var(--ocean-teal-light) 50%, var(--ocean-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: oceanFlow 4s ease-in-out infinite alternate;
}

@keyframes oceanFlow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

/* CARDS - Fluid Glass */
.theme-ocean .card, .theme-ocean .service-card, .theme-ocean .feature-card {
    background: linear-gradient(145deg, rgba(27, 40, 56, 0.7) 0%, rgba(13, 27, 42, 0.8) 100%);
    border: 1px solid var(--ocean-border);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.theme-ocean .card::before, .theme-ocean .service-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 191, 165, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.theme-ocean .card:hover, .theme-ocean .service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--ocean-teal);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 191, 165, 0.2);
}

.theme-ocean .card:hover::before, .theme-ocean .service-card:hover::before {
    opacity: 1;
}

/* BUTTONS - Organic Shapes */
.theme-ocean .btn-primary, .theme-ocean .cta-btn {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    background: linear-gradient(135deg, var(--ocean-teal) 0%, var(--ocean-teal-light) 100%);
    color: var(--ocean-deep);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 191, 165, 0.3);
}

.theme-ocean .btn-primary:hover, .theme-ocean .cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 191, 165, 0.4);
    background: linear-gradient(135deg, var(--ocean-cyan) 0%, var(--ocean-teal-light) 100%);
}

.theme-ocean .btn-secondary, .theme-ocean .btn-outline {
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    background: transparent;
    color: var(--ocean-teal-light);
    border: 2px solid var(--ocean-teal);
    border-radius: 50px;
    transition: all 0.4s ease;
}

.theme-ocean .btn-secondary:hover, .theme-ocean .btn-outline:hover {
    background: rgba(0, 191, 165, 0.15);
    box-shadow: 0 0 25px rgba(0, 191, 165, 0.3);
    transform: scale(1.05);
}

/* NAVIGATION */
.theme-ocean .nav-link {
    font-family: "Outfit", sans-serif;
    font-weight: 500;
    color: var(--ocean-text-dim);
    border: 1px solid transparent;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.theme-ocean .nav-link:hover {
    color: var(--ocean-text);
    background: rgba(0, 191, 165, 0.1);
    border-color: var(--ocean-border);
}

.theme-ocean .nav-link.active {
    color: var(--ocean-deep);
    background: var(--ocean-teal);
}

/* FORMS */
.theme-ocean input, .theme-ocean textarea, .theme-ocean select {
    font-family: "Outfit", sans-serif;
    background: rgba(13, 27, 42, 0.6);
    border: 2px solid var(--ocean-border);
    border-radius: 15px;
    color: var(--ocean-text);
}

.theme-ocean input:focus, .theme-ocean textarea:focus {
    border-color: var(--ocean-teal);
    box-shadow: 0 0 0 4px rgba(0, 191, 165, 0.15);
}

/* STATS */
.theme-ocean .stat-number {
    font-family: "Outfit", sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--ocean-teal-light);
    text-shadow: 0 0 40px rgba(0, 191, 165, 0.5);
}

/* FOOTER */
.theme-ocean .site-footer {
    background: var(--ocean-mid);
    border-top: 1px solid var(--ocean-border);
}

/* SCROLLBAR */
.theme-ocean::-webkit-scrollbar { width: 10px; }
.theme-ocean::-webkit-scrollbar-track { background: var(--ocean-deep); }
.theme-ocean::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--ocean-teal), var(--ocean-mid)); border-radius: 10px; }
.theme-ocean::-webkit-scrollbar-thumb:hover { background: var(--ocean-teal-light); }

@media (prefers-reduced-motion: reduce) {
    .theme-ocean::before, .theme-ocean::after, .theme-ocean .hero-title { animation: none; }
}
